0

Hey all,

i've a form with a textinput for links,
but at submit, it won't send any links started with http.

for example:

<form acion="result.php" method="post">
    <input type="text" name="link" />
    <input type="submit" name="submit" value="submit"
</form>

<?php

//---Result.php:
echo $_POST['link'];
// if links start with http:// it won't be there

?>

Any tips?

3
Contributors
4
Replies
18
Views
4 Years
Discussion Span
Last Post by pixelsoul
1

I don't understand the question. Also your submit button is busted. It should be like:

<form acion="result.php" method="post">
    <input type="text" name="link" />
    <input type="submit" name="submit" value="submit" />
</form>
0

<input type="submit" name="submit" value="submit"

there is no ">" at end of submit button.Change it to

<input type="submit" name="submit" value="submit" />

Edited by IIM

1

@martjojo1 - Thanks for letting us know. Make sure to mark the thread as "solved" please :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.