note 70400 deleted from function.include by betz

From: Date: Sun, 15 Oct 2006 09:51:41 +0000
Subject: note 70400 deleted from function.include by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118542@lists.php.net to get a copy of this message
Note Submitter: LoWang ---- Hello, I have a problem - included script does not have the POST data which was sent to the including script! I have script which includes script with a FORM and when I submit the form to the parent script including the other one I want the included one to save the data, but the $_POST is empty there. I tried to set $SERVER["mypostdata"]=$_POST["mypost"] in the parent script and then include the other one hoping that $SERVER["mypostdata"] will containt something, but it's empty again :-\ I don't want to pass the information via GET (like include "http://..../myscript.php?mydata=".$mypostdata), because it can be long.

« previous php.notes (#118542) next »