Hi there,
I'm a noob in to php/mysql, been running through some examples in the book using a windows server (displaying php). And hit a snag on this line
<a href="<?php echo $_SERVER['REQUEST_URI']; ?>delete.php&do=1">yes</a>
I have googled and searched for posts from other people with the same problem. None of them posted a possible reason why it churns out with a 404 error, let alone fix it.
I have tried also:
<a href="<?php echo $_server['PHP_SELF']; ?>delete.php&do=1">yes</a>
Now I'm guessing it might have something to do with security restrictions with the Plesk set-up. Unfortunately the server administrator weren't too keen in helping. Any alternatives I can try to get the record deleted?
btw hes running php4.3.10
Code:
<p align="center" style="color:#FF0000">
Are you sure you want to delete this <?php
echo $_GET['type']; ?>?<br>
<a href="<?php echo $_SERVER['REQUEST_URI']; ?>delete.php&do=1">yes</a>
or <a href="index.php">Index</a>
</p>