Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

Things to define in PHP.INI when doing FORMS

Links for php scripts

Moderators: macek, egami, gesf

Things to define in PHP.INI when doing FORMS

Postby Pakcik_Kantin » Wed Jan 29, 2003 6:18 pm

I heard that there are things to be done before doing <FORM . You have to check the register_globals, magic_quotes and so..
Can anyone tell me more. I cannot find it in books
TQ
Pakcik_Kantin
New php-forum User
New php-forum User
 
Posts: 12
Joined: Sun Jan 19, 2003 8:35 pm
Location: Canteen

Postby Redcircle » Fri Jan 31, 2003 1:21 am

register_globals http://www.php.net/manual/en/security.r ... lobals.php

turning both of them on is basically for lasy programmers who would rather have thier scripts functional rather than being safe.

if register_globals is turned on
example:

an undefined variable $variable can be defined in the url http://blah.com/index.php?vairable=foobar

if register_globals is turned off the undifined variable would be null and the parameter defined in the url would reside in the $_GET['variable'].

get what I mean?
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.