Hi,
I have a problem with the hosting site that does not allow GET and POST. Please advise any idea how passing value from HTML to PHP without GET or POST?
Thank You
Are you sure? If so, change your host. It is not worth using a host with such draconian restrictions.
Yes the host does not allowed it. I give an error:
Error 405 Method Not Allowed The requested method POST is not allowed for URL **********.php
I suggest that you report this problem to your host.
did that... still waiting for reply
Just to check:
<?php if (isset($_GET['test'])) { echo $_GET['test']; } else { echo '<a href="' . $_SERVER['PHP_SELF'] . '?test=Okay">Check okay.</a>'; } ?>
What do you get when you run the above PHP script and click on the link?
If I use GET it will show the PHP codes. I tried the codes it only showed the codes.
What do you mean?
Paingiver;10886395 wrote:If I use GET it will show the PHP codes. I tried the codes it only showed the codes.
Does your host, in fact, have PHP installed?
I think so. I just upgrade it to allow PHP. Before the upgrade I get Access Denied.