Re: PHP Apache (GLOBALS) question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Look at this snippet.
$globalize include all variable which will be globalized.
http://www.network-site.de/net/snippets.php?include=0

"Frank Tudor" <frank_tudor@yahoo.com> schrieb im Newsbeitrag
20030919142049.88351.qmail@web11603.mail.yahoo.com">news:20030919142049.88351.qmail@web11603.mail.yahoo.com...
> I have installed Mandrake Linux and it comes standard with
> Apache PHP and MySQL.  You can install all these rpms through
> the server selection....Anyway.
>
> In my test environment it is function city and of course
> register globals were on.
>
> Now I have Taked my PHP.INI-DIST  set the globals to on and
> copied it to my /etc directory.
>
> 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.
>
> 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 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
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux