[PHP] cgi vs. module

2001-04-16 Thread Franklin Hays
RE: PHP as a CGI or Module This has been discussed some but I am interested to see if one is more popular then the other. My experience has been most people run PHP as a apache module but is there a specific benefit to run it as a cgi program? What about very large servers such as web hosts?

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
|But from looking at your output, there is definately something screwy with |their setup. | |In phpinfo, what are the settings for track_vars (if listed) and |global_vars? track_vars is set to ON for local and master. register_globals is set to ON for local and master. there isn't a listing for

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
Hello. The version is php-4.02 built on Sep 22, 2000. |What version of PHP? I ask because a few test functions aren't available on |older versions of PHP4. | |Try this piece of code: | |$arr = get_defined_vars(); | |print_r($arr); This gave me an error on get_defined_var() so I tried print_r($

[PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
I am migrating a site to a new host (westhost.com) and having some issues. PHP was compiled as a cgi instead of a module which is what I have always used. This wasn't really an issue until I realized a lot of my scripts that depended on apaches environment variables ($REQUEST_URI, $HTTP_USER_AG

Re: [PHP] removing slashes from template file

2001-04-12 Thread Franklin Hays
/function.set-magic-quotes-runtime.php Thanks Chris!! //frank On Thu, 12 Apr 2001, Franklin Hays wrote: |Date: Thu, 12 Apr 2001 20:15:32 -0700 (PDT) |From: Franklin Hays <[EMAIL PROTECTED]> |To: [EMAIL PROTECTED] |Subject: [PHP] removing slashes from template file | |Asked this earli

Re: [PHP] removing slashes from template file

2001-04-12 Thread Franklin Hays
Chris, This is correct. The provider has the following: magic_quotes_gpcON ON magic_quotes_runtimeON ON magic_quotes_sybase OFF OFF and I have: magic_quotes_gpcON ON magic_quotes_runtimeOFF OFF magic_quotes_sybase OFF OFF Is there a

[PHP] removing slashes from template file

2001-04-12 Thread Franklin Hays
Asked this earlier but didn't get a response, may have been lost in the volume or I need to clarify things. If the latter please let me know. Some help is greatly appreciated as I am stuck. Experiencing a frustrating problem on this end with slashes being added to my template files. Here are t

[PHP] slashes added to template files

2001-04-11 Thread Franklin Hays
Apologies in advance if this has been discussed before or is a simple fubar on my part. I can only search through the archives for so long... :-) Experiencing a frustrating problem on this end with slashes being added to my template files. Here are the details: Using PHP on a webhost that c