DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

Doubt on PHP functions

By: rekha singh | 09 Mar 2010 5:41 pm

Im having  doubt on these functions.

include :

$_request :

if im right ,  " include "  must be replaced from PHP 5.2  isnt it?

and $_REQUEST ..  is it applicable with 5.2 , 5.3 ..

Please comment.

i just downloaded, and run one  site in my local server (wamp) PHP 5.2, it was coded long back, 
hence i had to replaced include with  require, and having some issues with $_REQUEST, 

with which function i could replace it.

$_REQUEST, will it be compatible with 5.3?

Please comment,

Thanks in advance.

Thank You,

 

Comments

Hai ,

Replace [dot] with an actual .

Request is actually full of the “unsafe” variables.it can take values of
$_POST,$_GET, $_COOKIE

so if there are same variables with same field name then there comes a
trouble with that..

so better use the $_POST instead
 

By: rekha singh | 09 Mar 2010

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move