Jump to content
xisto Community
Sign in to follow this  
Enter

Help With Some Php Or Maybe Asp help needed

Recommended Posts

Hi Too all first of all I want to say I need 10 posts badly so lets help each other lol!
Ok and now the real part I need some help with php because Im pretty new to it (really im not a big fan of php I like asp more but as asp is an Microsoft protuct its not cheap so have to start liking PHP :) )
I need too include a part of one site in my site that meens i dont need the whole site onlia a smal part. I found the way but it loads very slow so im trying to find an other way. Heres the code maybe you'll understand better what i want when you'll see the code.

<?phpob_start();include 'http://google.co.uk';$content = ob_get_contents();ob_end_clean();echo substr($content, 300, 30);?>

Share this post


Link to post
Share on other sites

Enter,

not sure if I understand your question. It looks like you are trying to load part of Google UK's search engine into your site!

If that is a correct assumtion, are you looking to create a search engine on your web site using google?

Google have the non comercial way of creating your own applications API's here:

Google api's

Not sure if I totally missed the mark on this one. :) if I did state your needs a little clearer and you'll get some more educated answers.

Nils

Share this post


Link to post
Share on other sites

lol, i'm so confused. what are you trying to do? Are you trying to take something out of google...?

Share this post


Link to post
Share on other sites

:) , i'm so confused. what are you trying to do? Are you trying to take something out of google...?

<{POST_SNAPBACK}>


You are confused? How do you think I felt while answering.... I put a bag over my head and typed... :P

 

It would be nice if the questions could be stated clearly, not as a footnote before the code!

 

I think he's trying to take the search bar out and present it as a link (box) on his page. But then again I may be chasing ghosts...

 

Nils

Share this post


Link to post
Share on other sites

It looks like you are trying to include a part of the Google UK search page into your site. I don't know why you are doing that, but your post doesn't state clearly enough to tell us what the problem is and what you want to achieve with PHP/ASP. Perhaps you can explain better of what you need to do.

Notice from pyost:
Was it really necessary to answer this two-and-a-half-year old post? Not to mention that Enter hasn't even visited Xisto during that time period :blink:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.