0

Hi,

If i turned OFF in php.ini file
magic_quotes_gpc = Off;

my code is working finely, when by using unserialize.


Problem here:
If i turned ON in php.ini file
magic_quotes_gpc = On;

echo "<br>";
	 echo "<table>";
         echo "<tr><td><b>confirm</b></td><td><a href='test.php?cname=confirm&cid=".base64_encode($id)."&code=".base64_encode($pcode)."&pname=".serialize($name)."'>Confirm</a></td>";
          echo "</table>";

($name is an array).Not unserialised--problem here

$arr=unserialize($_REQUEST['pname']);

unserialize is not happening.please help me out thanks

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by diafol
0

Am facing the following error, if i use clean_slweg()

Fatal error: Call to undefined function clean_slweg() in C:\xampp\htdocs\test.php on line 538

0

I think clean_slweg() is either a typo or a custom function.

@divyakrishnan - where did you get this? Any documentation for it?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.