Re: Help..Parse error

From: Date: Fri, 20 Jul 2001 06:31:40 +0000
Subject: Re: Help..Parse error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-58845@lists.php.net to get a copy of this message
Actually that is the default setting under 4, and the rest of the code works with the short tags, it's definately something code related... I don;t think it likes that code, but can't find anything to help me resolve the problem. I was hoping not to re-write the code just yet... Thanks Steve Edberg wrote: > 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 ---+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ___________________________________________________________ Jack Sasportas Innovative Internet Solutions Phone 305.665.2500 Fax 305.665.2551 www.innovativeinternet.com www.web56.net

« previous php.general (#58845) next »