Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Help With Some Php Or Maybe Asp, help needed
Enter
post Jan 17 2005, 01:07 PM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 17-January 05
Member No.: 2,187


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 laugh.gif )
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.
CODE
<?php
ob_start();
include 'http://google.co.uk';
$content = ob_get_contents();
ob_end_clean();
echo substr($content, 300, 30);
?>
Go to the top of the page
 
+Quote Post
Enter
post Jan 18 2005, 05:33 PM
Post #2


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 17-January 05
Member No.: 2,187


peopple come on i need help here stop with the java
Go to the top of the page
 
+Quote Post
NilsC
post Jan 18 2005, 05:57 PM
Post #3


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.
com/
Member No.: 1,871


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. smile.gif if I did state your needs a little clearer and you'll get some more educated answers.

Nils
Go to the top of the page
 
+Quote Post
ChronicLoser
post Jan 19 2005, 04:22 AM
Post #4


Premium Member
Group Icon

Group: Members
Posts: 240
Joined: 13-November 04
From: Arizona
Member No.: 1,356


lol, i'm so confused. what are you trying to do? Are you trying to take something out of google...?
Go to the top of the page
 
+Quote Post
NilsC
post Jan 19 2005, 04:28 AM
Post #5


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.
com/
Member No.: 1,871


QUOTE (ChronicLoser @ Jan 18 2005, 11:22 PM)
laugh.gif , i'm so confused. what are you trying to do? Are you trying to take something out of google...?
*


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

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
Go to the top of the page
 
+Quote Post
FirefoxRocks
post Aug 18 2007, 03:16 AM
Post #6


Super Member
Group Icon

Group: [HOSTED]
Posts: 774
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464
myCENTs:42.53


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.

[note=pyost]Was it really necessary to answer this two-and-a-half-year old post? Not to mention that Enter hasn't even visited Astahost during that time period wink.gif[/note]
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: