Dear Readers,

I have a simple HTML form pointing to a PHP (<form action="xy.php" method="post">), and if I type http:// into an input of the form, it won't run. If I type anything else the form runs. How can I solve this? Maybe somewhere it is interfering with another http:// URL or sth?

Thanks in advance,


Recommended Answers

Try putting the full URL in your action like: "" or use a forward slash like: "/xy.php"

Jump to Post

All 4 Replies

how about providing the relevant form html markup just to have it handy so that we can see what we are working with.

Are you sure that xy.php is in the same directory as the file you are working with?

Be a part of the DaniWeb community

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