RE: [PHP] Syntax Error -> This is WEIRD!
| From: | Jeremy | Date: | Fri, 16 Jan 2004 15:24:29 +0000 |
| Subject: | RE: [PHP] Syntax Error -> This is WEIRD! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174821@lists.php.net to get a copy of this message | ||
Did the script accidently get saved in MS-DOS text format?
-----Original Message-----
From: Donald Tyler [mailto:dtyler@frazerbilt.com]
Sent: Friday, January 16, 2004 8:53 AM
To: php-general@lists.php.net
Subject: [PHP] Syntax Error -> This is WEIRD!
There could be something you're not seeing and assuming it's correct.
But
typing your code into the email we aren't getting the full story.
Can you actually attach your scripts to an email and send that? Copying
and
pasting then into the email won't necessarily provide all the info
needed to
solve your problem.
For example: I once uploaded a PHP script to the server and for some
reason
on the way up extra character were placed in the document that did not
show
up in most text editors. I had to use a very basic terminal text editor
to
see the added characters.
-----Original Message-----
From: Nick Wilson [mailto:nick@stylesheet.org]
Sent: Friday, January 16, 2004 8:17 AM
To: php-general
Subject: [PHP] Syntax Error -> This is WEIRD!
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 ;-)
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php