Re: Help..Parse error
| From: | Steve Edberg | Date: | Fri, 20 Jul 2001 05:59:00 +0000 |
| Subject: | Re: Help..Parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58842@lists.php.net to get a copy of this message | ||
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 | | sbedberg@ucdavis.edu Computer Consultant | | http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ | +--- corporations ------ http://www.ips-dc.org/reports/top200text.htm ---+