This is a discussion on Web address in my <textarea> causes permission error. within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I have a problem with one of my form. It is a big form but I narrowed it down ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have a problem with one of my form. It is a big form but I narrowed it down to the text area If I have, (in the file called settings.php, the form is calling itself). // // <form action='settings.php' method='POST'> <textarea rows="4" cols="60" name="description"></textarea> .... submit button.. </form> // // and I enter the following text, with no quotes. "to: admin@example.com" I get a "You don't have permission to access settings.php on this server". What could be wrong? The text normally comes from the database so how can I prevent the user from entering invalid data? Could it be an invalid charset of some sort. Many thanks Simon |
|
|||
|
Simon wrote:
> I get a "You don't have permission to access settings.php on this server". Did you check the error.log if anything related has been logged? Apache doesn't touch/read the HTTP-body. -- Robert |
|
|||
|
> Simon wrote:
>> I get a "You don't have permission to access settings.php on this >> server". > > Did you check the error.log if anything related has been logged? Apache > doesn't touch/read the HTTP-body. > Nope, nothing gets logged apart from the actual permission error. should I create a page so you guys can see? Simon |
|
|||
|
Simon wrote:
>> Simon wrote: >>> I get a "You don't have permission to access settings.php on this >>> server". >> Did you check the error.log if anything related has been logged? Apache >> doesn't touch/read the HTTP-body. >> > > Nope, nothing gets logged apart from the actual permission error. > > should I create a page so you guys can see? > > Simon > > Try looking at the permissions of the file "settings.php" that error is telling you that you do not have permission to run that file. You might set the permissions to 644 and than see if you get that error. Good luck |