Asked 7 years ago
4 Jul 2016
Views 1116
steave ray

steave ray posted

import_request_variables function in php not working for me , why ?

Hi

i am using the following function in the php


@import_request_variables(\"P\", \"\");
@import_request_variables(\"g\", \"\");

but it give me blank page ..

pls help me , i dont kow what i am doing wrong

dilip

dilip
answered Nov 30 '-1 00:00

its only because import_request_variables function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.so it giving error . and server error reporting should be off so it is not showing blank page instead the error.
use below code to make on

// Turn on all error reporting
error_reporting(1);
Post Answer