Scripts Compatibility

Started on the old forum in September 2008 · view the original in the archive · old links redirect here

5 replies · 603 views · started 18 years ago · 1 min read

4 participants
chris Junior · 39 posts #2

Yes as long as you set register_globals to 1/on or you recode the script for php5 setup using the $_GET commands etc..

Its not the fact they are txt scripts that makes them not work on php5, just the fact they were coded for php4.x.x

(wappy/chris)

honkytonkman Senior · 252 posts #3

Yes as long as you set register_globals to 1/on or you recode the script for php5 setup using the $_GET commands etc..

Its not the fact they are txt scripts that makes them not work on php5, just the fact they were coded for php4.x.x

(wappy/chris)

to recode the script i think is a long work, maybe the first solution : if i have understood, it must to get in wappy or nochat ,inside the .htaccess file :

"php_value register_globals 1/on"

..right?

doin' this it willwork in php5 without any problems?

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

djlee Developer · 224 posts #6

it doesnt matter whether you can or not .. you;d have to be a complete idiot to want them turned on ... you do realise as soon as you turn register globals on your site is wide open to hackers.. your just asking for it .. the only way to protect with it on is to sanitise every single piece of data.. which simply is silly.. i would strongly recommend you take the time to convert it to a secure method.

on the otherhand. if you cant be arsed and dont mind running the risk of being hacked on a daily basis then use a php flag in htaccess.. unless the free host has set php.ini to ignore any php flags in htaccess it should work

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close