Welcome Guest, Not a member yet? Register   Sign In
question about redirect
#5

[eluser]Dam1an[/eluser]
[quote author="8th wonder" date="1252423602"]yes you can use it!!!!

before redirect just do

Code:
$_SESSION=$_POST;
redirect("example.php");

and in example.php
Code:
$_POST=$_SESSION;
$userid=$_POST['userid'];

have fun dude!!!![/quote]

That's a terrible idea! In the first case you've be overwritting the session array and in the second case, the post array, both of which may contain other data


Messages In This Thread
question about redirect - by El Forum - 09-08-2009, 03:39 AM
question about redirect - by El Forum - 09-08-2009, 04:08 AM
question about redirect - by El Forum - 09-08-2009, 04:13 AM
question about redirect - by El Forum - 09-08-2009, 04:26 AM
question about redirect - by El Forum - 09-08-2009, 04:51 AM
question about redirect - by El Forum - 09-08-2009, 04:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB