Re: Why wouldn't a simple script work on my server that works on other servers?

From: Date: Wed, 30 Jul 2003 06:59:47 +0000
Subject: Re: Why wouldn't a simple script work on my server that works on other servers?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157491@lists.php.net to get a copy of this message
Look;s like he has short_open_tags = on in php.ini, BUT, as I understand it, this is a supplemental setting, meaning that it does not disable the use of the (proper) <?php tags, it simply ADDS the use of <? to your options. Thus, I don't think it's because of the tags that the script won't run on your server, it must be something else. Have you checked that the xxx.php file has execute permissions on your server? Also, what (if any) errors does PHP/Browser report? On Wed, 2003-07-30 at 08:45, Dan Anderson wrote: > I have a client who had me upload a relatively simple script to his > server. Oddly, it does not work there but works every where else I test > it. AND he has other PHP scripts running on his server. > > So I checked out his server and all scripts are of the form: > > <? start_session() ?> > > // HTML HERE > > <? > // some functionality > > ?> > > versus my scripts as > > <?php > > ?> > > Why would this affect things? > > -Dan >

« previous php.general (#157491) next »