how to use the method post without submit?
Posted: Thu Sep 13, 2007 3:41 pm
[s]hallo[/s] hello
i ask how i can use data in page [s]thet[/s] that get the data form "$_post"whit out use the submit [s]botten[/s] button
i use now only in "get" method
if i [s]chang[/s] change the the page read in $_post its not work for me and i try [s]chang[/s] change it to -->POST /test2.php?name=john&pass=
i cant [s]chang[/s] change the page test2.php to use the $_get method/
[s]plz[/s] please help me
[s]tnx[/s] thanks and good day
i ask how i can use data in page [s]thet[/s] that get the data form "$_post"whit out use the submit [s]botten[/s] button
i use now only in "get" method
Code: Select all
<?php
$fp = fsockopen("localhost", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET /test2.php?name=john&pass=123&pass2=123&email=john@12323i HTTP/1.1\r\n";
$out .= "Host: localhost\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
fclose($fp);
}
?>i cant [s]chang[/s] change the page test2.php to use the $_get method/
[s]plz[/s] please help me
[s]tnx[/s] thanks and good day
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.