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 Remember, a.php will not actually "include" the b.php code and then run it, it will just request and display the output from b.php - so if that script causes an error, that is what you'll see appear on your page. -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php