Things to define in PHP.INI when doing FORMS

Links for php scripts

Moderators: macek, egami, gesf

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

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

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

Postby Redcircle » 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?

Return to “PHP Scripts”

Who is online

Users browsing this forum: No registered users and 2 guests