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?

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>

<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" />

Sorry, the problem is already solved,
thx anyway!

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.