Things to define in PHP.INI when doing FORMS

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 12
Joined: Sun Jan 19, 2003 8:35 pm
Location: Canteen

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

User avatar
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Fri Jan 31, 2003 1:21 am

register_globals ... 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

an undefined variable $variable can be defined in the url

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?

Post Reply