note 53543 added to function.session-start
| From: | ranpaco at cantv dot net | Date: | Sun, 05 Jun 2005 17:19:26 +0000 |
| Subject: | note 53543 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89963@lists.php.net to get a copy of this message | ||
help please
-----------------------pagina1.php-------------------------
<?php
session_start();
if ($_POST['Accion'] == "Insert"){
echo "<script language=\"JavaScript\">";
echo "window.location = \"pagina2.php\";";
echo "</script>";
}
?>
<html>
<head>
</head>
<body>
<form name="form1" method="post" action="pagina1.php">
<input name="Accion" type="hidden" value="Insert">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
-----------------------pagina2.php-------------------------
<?php
session_start();
?>
<html>
<head>
</head>
<body>
<a href="javascript:window.history.go(-1)">forward</a>
</body>
</html>
ok, firt load pagina1.php and click in submit button, that load
Pagina2.php, now when I click in link forward the explorer
end me a error of page not found, whyyyy?????
I realy need you help, thank a lot.
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53543
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53543&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53543&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53543&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53543&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53543&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53543&report=yes
Search -- http://master.php.net/manage/user-notes.php