note 70400 added to function.include

From: Date: Sat, 14 Oct 2006 23:44:41 +0000
Subject: note 70400 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-118534@lists.php.net to get a copy of this message
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. ---- Server IP: 212.24.129.110 Probable Submitter: 62.245.97.167 (proxied: 10.0.0.15) ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/70400 Del: integrated -- https://master.php.net/note/delete/70400/integrated Del: useless -- https://master.php.net/note/delete/70400/useless Del: bad code -- https://master.php.net/note/delete/70400/bad+code Del: spam -- https://master.php.net/note/delete/70400/spam Del: non-english -- https://master.php.net/note/delete/70400/non-english Del: in docs -- https://master.php.net/note/delete/70400/in+docs Del: other reasons-- https://master.php.net/note/delete/70400 Reject -- https://master.php.net/note/reject/70400 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118534) next »