Jump to content

$_GET WORKS BUT NOT $POST


nochlux

Recommended Posts

Suppose on my html page i have this code:

 

 

<map name="example">
<form method="post">
<area shape="" coords=""  href="ex.php?id=0000" >
 
</form>
</map>
 
now on my php pg, 
 
if(!empty($_GET['id']))
{
$id = $_GET['id'];
}
 
if i write this script and run, it works, but if I replace to POST instead of GET, the page will not work, becomes a blank pg.
 
 
Anyone knowing what i'm doing wrong?
 
 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/278115-_get-works-but-not-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.