GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP help (https://gfy.com/showthread.php?t=878099)

PXN 12-27-2008 07:05 PM

PHP help
 
Ok, I'm installing a script, I was given an instruction to:

set global_vars to on

I can't seem to find anything about global_vars in php. Is global_vars the same as

register_globals ?

I asked my host to set global_vars to on, but they told me they only know register_globals.

:Oh crap Help!

HomerSimpson 12-27-2008 07:10 PM

make php.ini file and put in a folder and put this single line in it
Code:

register_globals = on
PS: scripts that request register_globals in order to run might not be safe (in terms of hacker safe), so take care.

PPS: are you maybee installing Joomla?

PXN 12-27-2008 07:19 PM

Quote:

Originally Posted by HomerSimpson (Post 15251833)
make php.ini file and put in a folder and put this single line in it
Code:

register_globals = on
PS: scripts that request register_globals in order to run might not be safe (in terms of hacker safe), so take care.

PPS: are you maybee installing Joomla?

That's what I thought too setting register_globals to on would be unsafe. But is register_globals the same thing as global_vars? That's what I'm so confuse about.

HorseShit 12-27-2008 08:05 PM

http://us.php.net/manual/en/language...predefined.php

PXN 12-27-2008 10:08 PM

Quote:

Originally Posted by jdavis (Post 15252010)

Thanks, that help. Got the problem solve :thumbsup


All times are GMT -7. The time now is 01:46 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123