RE: [PHP] Re: PHP should know my data!
| From: | Chris Hubbard | Date: | Fri, 25 Jul 2003 04:13:14 +0000 |
| Subject: | RE: [PHP] Re: PHP should know my data! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156781@lists.php.net to get a copy of this message | ||
I wrote the code.
Here's what's wrong:
You probably have a misconfigured PHP.ini file (it's really common). You
need to set the variable in your php.ini file to false like this:
register_syntax_checking = "false";
That way PHP won't need to perform any syntax checking on the php code.
I've found that the PHP scripts are roughly 15 times faster.
Mind you, you really have to know what you're doing before you start editing
the php.ini file.
In fact I recommend that you don't change your php.ini file without backing
it up first.
and if you've gotten this far, then please don't change your php.ini file.
-----Original Message-----
From: David Smith [mailto:dsmith@sebc.edu]
Sent: Thursday, July 24, 2003 5:39 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Re: PHP should know my data!
One possibility could be that your register_globals is off...maybe.
David
-----Original Message-----
From: news [mailto:news@main.gmane.org]On Behalf Of J. Cox
Sent: Thursday, July 24, 2003 8:26 PM
To: php-general@lists.php.net
Subject: [PHP] Re: PHP should know my data!
"Chris Hubbard" <chris@wildcharacters.com> wrote in message
news:AMEHIMKKMFIMCOJPPEEEGEENCBAA.chris@wildcharacters.com...
> Hmm. You're right. Maybe something like the following would help:
>
> <?php
> if ($_SESSION["irony"])
> {
> $rs = enjoyJoke($_POST["msg"])
> }else{
> $rs = fixProblem($_POST["msg"])
> }
> echo "<h3>". $rs ."</h3>";
>
> ?>
This isn't working in Windows. Anyone know why?
--
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