![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Forbidden You don't have permission to access Undefined index: ../PHP_SELFCan any one help I'm only starting learning apache I'm trying to submit some data and i keep getting this message
Forbidden You don't have permission to access /manual/database/<br /><b>Notice</b>: Undefined index: ../PHP_SELF in <b>c:/program files/apache group/apache/htdocs/manual/database/searchbyoffice.php</b> on line <b>4</b><br /> on this server. -------------------------------------------------------------------------------- Apache/1.3.27 Server at Hyndman.uusrp.com Port 80 I have read other forums and they suggests that i set the register_globals to on I have check this and it is on alreadly. Here is the code i'm using <form action ="<?php echo $_SERVER['../PHP_SELF']; ?>" method="post"> can any one help |
|
#2
|
||||
|
||||
|
Hello ghyndman,
Try this in your PHP code: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
ThanksThat worked great
Thank you for your help |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The