Re: PHP Apache (GLOBALS) question
| From: | John Nichel | Date: | Fri, 19 Sep 2003 14:56:02 +0000 |
| Subject: | Re: PHP Apache (GLOBALS) question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163148@lists.php.net to get a copy of this message | ||
Frank Tudor wrote:
<snip>
Register globals has nothing to do with making a connection to MySQL. Post your code for the connection please.It worked like a charm....but guess what. I can't create a connection string to my database. Now I have to find a solution to get this website to work with globals on and mysql.
What isn't working for .htaccess? Is Apache configured to allow .htaccess files the ability to override php variables?I have tried adding an .htacess with the php globals override thing php_value "register_globals" "1" Ok this didn't work. So I found the Mysql-PHP RPM on my mandrake cd (of course enabling my php.ini file) and it didn't work. I'm getting closer to a solution but I am stuck. Why won't the htaccess file work? I would like to use my php.ini file but
Not that you should turn globals on, but if this is really what you want to do, enable it in your php.ini file, and restart your webserver.it is not configured for mysql, how could I fix this? Is there anything I can do for either of these two questions to get my globals on?
I swear I will never use functions again if someone helps me. :) Frank -- By-Tor.com It's all about the Rush http://www.by-tor.com