My guess is that you have the short_open_tags option on in your PHP3
config, but off in your PHP4 config. If it's off, PHP will only
recognize the <?php...?> tags, not <?...?>. PHP config params can be
set in php.ini, .htaccess, and/or Apache httpd.conf files. Scroll
down to short_open_tag in
http://www.php.net/manual/en/configuration.php#configuration.file
for more info. You can also check your config via the phpinfo() function.
- steve
At 1:45 AM -0400 7/20/01, Jack Sasportas wrote:
>I have some code that runs under php3, but under 4 I get a parse error
>on this specific line, can't figure out how to resolve it.
>
>the code looks like this
><html stuff>
><? } ?>
><more html stuff>
>
>the error is in the middle line which is the end of a condition...
>
>Thanks in advance...
>
>
>--
>___________________________________________________________
>Jack Sasportas
>Innovative Internet Solutions
>Phone 305.665.2500
>Fax 305.665.2551
>www.innovativeinternet.com
>www.web56.net
>
--
+------ Factoid: Of the 100 largest economies in the world, 51 are ------+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- corporations ------ http://www.ips-dc.org/reports/top200text.htm ---+
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]