Dear Friend,
Please help..
I have very serious issue in HTML form array.
I want to use Code as follows
Code:
<input type="text" name="myname[]">
<input type="text" name="myname[]">
<input type="text" name="myname[]">
array of Text elements in HTML and need to be handled in PHP.
To retrieve values via following PHP code
PHP Code:
<?php print "<pre>"; print_r($_POST); print "</pre>"; ?>
but this works on one sever but not on other
Go Here http://www.shantiwebsolution.com/test.php
Give some input and submit. You will see PHP output
BUT
https://66.223.111.17:8443/siteprevi...e.com/test.php
Give some input and submit. You will not see out put.
Please Advise if any configuration setting are required to be edited.
I have posted complete Code below for above sample urls.
Code:
<?php
print "<pre>";
print_r($_POST);
print "</pre>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<input type="text" name="textfield[]" />
<input type="submit" name="Submit" value="Submit" />
</form>
<p> </p>
<p><a href="phpinfo.php">Click here to see php info</a></p>
</body>
</html>
|