problem with PHP_SELF
Posted by: mihkel (---.mus.estpak.ee)
Date: January 17, 2006 05:27PM

hi, I'm using form that uses PHP_SELF action, after submitting I'll get :
403 Forbidden
You don't have permission to access /katsetused/< on this server.

I've looked through the server and mysql conf but no use.
Could you tell me where is the problem?

Options: ReplyQuote
Re: problem with PHP_SELF
Posted by: Pepe (80.172.56.---)
Date: January 20, 2006 03:54PM

hi,

try to use "<?=$_SERVER['PHP_SELF']; ?>" whitout blank spaces or use <?php echo $_SERVER['PHP_SELF']; ?>

i had the same problem.

sorry the english

best regards;

Pepe
sandrio@computencial.com
[www.computencial.com]

Options: ReplyQuote
Re: problem with PHP_SELF
Posted by: shikora (---.sbtnvt.adelphia.net)
Date: May 04, 2006 05:29AM

You can make it so you don't need to use <?php style tags (the problem sandrio described) by making a quick edit to your php config file (php.ini.) On or around line 81 there should be something that says "short_open_tag = off". Changing "off" to "on" will allow you to use <? to start your php blocks instead of <?php .

Options: ReplyQuote


Sorry, only registered users may post in this forum.