Nick Wilson wrote:

if a script calls antohter like 'include('http://site.com/index.php');

Why would I get a syntax error on line 1 of index.php when it looks like
this:

<?php
// line one above this one


What's the deal there?


Many thanks for any insight ;-)


I've never tried to do an include via HTTP, so maybe I'm clueless, but
it occurs to me that it might be a good idea to try doing a plain old
file include, using exactly the same file. I have the feeling it would
be interesting to know whether that would work or not.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to