0
Php-server
Friends, I have a question I add the php code to the form action and run html on Apache in Ubuntu, but when I submit it gives a Page not found error. Why?
4 ответов
+ 1
The question would be the path. This can be checked if the file is in the same directory as the other . Then its name is enough as a link.
0
JaScript there is no file and it is just a line of code.
<? php echo htmlspecialchars($_SERVER["php_SELF"]); ?>
0
Mostafa Sarmad unfortunately I am not a psychic. Without your attempt code cannot be said anything.
0
By the way this full statement looks like as follows:
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" method="get">