* and then Richard Davey declared....
> Hello Nick,
>
> Friday, January 16, 2004, 2:16:43 PM, you wrote:
>
> NW> if a script calls antohter like
> NW> 'include('http://site.com/index.php');
>
> NW> Why would I get a syntax error on line 1 of index.php when it looks like
> NW> this:
>
> NW> <?php
> NW> // line one above this one
>
> NW> What's the deal there?
>
> Say you've got 2 scripts. a.php and b.php
>
> If in a.php you have the line:
>
> include('http://www.whatever.com/b.php');
>
> Then you have two possible causes for the error.
>
> 1) a.php errors somewhere (i.e. in your code you had a ' infront
> of the include function for some reason).
>
> 2) b.php has an error in it which is being echo'd out by a.php
Problem is, its a well know and well tested script. Is there anything im
my settings that could cause this?
THanks!
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php