I was using session_id but i needed to send more than one
variable across to another php page. I was trying to create
a link to an xml file and i needed to send the name of the
file to another php document to open the file using DOM or
SimpleXML.
I sent the variable across in the hyperlink and gathered the
variable using the $_POST['$VarName'] command.
This is the code i used:
Page1:
echo"tt<td><a
href="showArticle.php?file=".$title.""
name="$title">View
Article</a></td>n";
Page2:
$file = $_GET["file"];
----
Server IP: 69.147.83.197
Probable Submitter: 196.25.255.214
----
Manual Page --
http://www.php.net/manual/en/function.session-id.php
Edit -- https://master
.php.net/note/edit/78670
Del: integrated -- h
ttps://master.php.net/note/delete/78670/integrated
Del: useless -- http
s://master.php.net/note/delete/78670/useless
Del: bad code -- htt
ps://master.php.net/note/delete/78670/bad+code
Del: spam -- https:/
/master.php.net/note/delete/78670/spam
Del: non-english --
https://master.php.net/note/delete/78670/non-english
Del: in docs -- http
s://master.php.net/note/delete/78670/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78670
Reject -- https://mast
er.php.net/note/reject/78670
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|