Does this even make PHP? -6

Source: Internet
Author: User
Tags php programming

The case of PHP interacting with Web Forms was not picked up more than 10 years ago.

Next step into JS and php interaction ...

<form name= "Form1" method= "Post" action= "info.php" ><textarea name= "a" cols= "" rows= "3" wrap= "soft" > I am using a soft return, I output after no line! </textarea><br><textarea name= "B" cols= "rows=" 3 "wrap=" hard "> I use a stiff return, I output after automatic line! </textarea><br>Sex: <input name= "Sex" type= "Radio" value= "1" checked>male<input name= "Sex" type= "Radio" value= "0" >female<br><table width= "445" cellpadding= "0" cellspacing= "0" > <tr> <td width= "443" height= "All" Al ign= "center" valign= "Top" >Types of books you like:<input type= "checkbox" Name= "mrbook[]" value= "into the category" >into the category<input type= "checkbox" Name= "mrbook[]" value= "Security Class" >Security Class<input type= "checkbox" Name= "mrbook[]" value= "professional Class" >Professional Class</td> </tr></table><br><input type= "file" name= "file" size= "><br><input" Type= "Submit" name= "submit" value= "submit" ></form><a href= "info.php?id=<?php Echo urlencode (" Programming Dictionary "); > ">php Programming Dictionary </a><?phpEcho"The content of the query string you submitted is:".UrlDecode($_get[id]); ? ><?PHPEcho NL2BR($_post[A]). " <br> "; Echo NL2BR($_post[b]); Echo"<br>"; if(($_post[Sex]! =NULL)){        Echo"Your choice of sex is:".$_post["Sex"]; }    if(($_post[Mrbook]! =NULL)){        Echo"The result of your choice is:";  for($i= 0;$i<Count($_post[Mrbook]);$i++)            Echo $_post[Mrbook] [$i]." &nbsp;&nbsp; "; }    Echo"<br>"; if(($_post[file] !=NULL)){        $path= './'; Move_uploaded_file($_files[file],$path); Echo"The file you uploaded is:".$_post["File"]; }?>

Does this even make PHP? -6

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.