ציטוט:
נכתב במקור על ידי Snir Shamka
קוד:
<?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=windows-1255">
</head>
<body>
<form action="" method="post">
הכנס את הURL:<br />
<input type="text" name="url" /><br />
<input type="image" src="http://www.noproblem.co.il/Resources/Global/Image/Landing/ProfessionCard/btn.send.jpg" name="submit" />
</form>
</body>
</html>
|
הקוד הזה לא עובד דרך אגב.
לא מתבצע Submit.
__________________
בברכה,
חגי בלוך גדות.
|