--- Pablo Zorzoli <[EMAIL PROTECTED]> wrote: > I've tried with the simlpest example: > > --- > output.php > <? > echo "Hello World!"; > ?> > -- > test.php > <html><head><title>tesing!</title></head> > <body> > > <?php > include ('http://***.com/output.php'); > ?> > </body></html> > ------
Actually, I think the simplest example was what you tries earlier: <? include('http://www.google.com/'); ?> Also, as I recall, this was successful. > I spend a lot of time waiting for the response, and i only receive > a blank page with the title testing! (wich is okay), but i don't > get the hello world. > > Any clue? Maybe it times out? Maybe the server where your PHP script is located cannot access the server at ***.com? Maybe the output that output.php generates isn't what you expect? Basically, because you can include Google's home page successfully, the error lies in something else. Try this from the server hosting your PHP script: wget http://***.com/output.php Then type: vi output.php Are the contents what you expect? Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php