PHP קוד:
<?php if(isset($_POST['submit'])) { // Get the form value $url = $_POST['url']; // Get the last code $code = end(explode("=", $url)); echo "<h1>". $code . "</h1><br />"; } ?> <html dir="rtl"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=windos-1255"> </head> <body> <form action="" method="post"> הכנס את הURL:<br /> <input type="text" name="url" /><br /> <input type="submit" name="submit" value="שלח" /> </form> </body> </html>
תהנה
__________________
בברכה,
חגי בלוך גדות.
Last edited by Hagaibl; 11-08-10 at 17:10..
|