System text causing 403 forbidden error in PHP

MarioN70

New Member
I have a simple form that is submitting to a post.php file . This form has input fields . If the text written in any of these input field is : \[code\]System something\[/code\] , then I get a 403 forbidden error .However , if I write the same System in quotes i.e \[code\]"System"\[/code\] then it works fine . It seems like that System is being treated as a command here and what I write after that is being treated as the parameter .The code is not even reaching post.php . Even if I delete the post.php file , I still get a 403 error instead of a file not found error . Maybe it is something to do with Apache .Please advise .Below is the form :\[code\]<form action="post.php" method="post" name="form1"> <table cellspacing="0" cellpadding="4" border="0"> <tbody><tr valign="top"> <td>Title</td> <td><input type="text" value="" size="40" id="title" name="title"></td> </tr> <tr valign="top"> <td>Company</td> <td><input type="text" value="" size="40" id="company" name="company"></td> </tr> <tr valign="top"> <td>Responsibilities</td> <td><textarea id="responsibilities" rows="7" cols="55" name="responsibilities"></textarea></td> </tr> <tr valign="top"> <td>Position Requirements</td> <td><textarea id="requirements" rows="7" cols="55" name="requirements"></textarea></td> </tr> <tr valign="top"> <td>Contact</td> <td><textarea id="contact" rows="7" cols="55" name="contact"></textarea></td> </tr> <tr valign="top"> <td>Contact Name </td> <td><input type="text" value="" size="40" id="contact_name" name="contact_name"></td> </tr> <tr valign="top"> <td>Contact Title </td> <td><input type="text" value="" size="40" id="contact_title" name="contact_title"></td> </tr> <tr valign="top"> <td>Address 1</td> <td><input type="text" value="" size="40" id="address1" name="address1"></td> </tr> <tr valign="top"> <td>Address 2</td> <td><input type="text" value="" size="40" id="address2" name="address2"></td> </tr> <tr valign="top"> <td>Contact Phone </td> <td><input type="text" value="" size="40" id="contact_phone" name="contact_phone"></td> </tr> <tr valign="top"> <td>Contact Fax</td> <td><input type="text" value="" size="40" id="contact_fax" name="contact_fax"></td> </tr> <tr valign="top"> <td>Contact Email </td> <td><input type="text" value="" size="40" id="contact_email" name="contact_email"></td> </tr> <tr valign="top"> <td>Contact Website </td> <td><input type="text" value="" size="40" id="contact_website" name="contact_website"></td> </tr> <tr valign="top"> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr valign="top"> <td colspan="2"><input type="submit" value="http://stackoverflow.com/questions/3607823/Add Job" name="Submit"></td> </tr> </tbody></table></form>\[/code\]Here are the HTTP headers sent :\[code\](Request-Line) POST /admin/jobbank/post.php HTTP/1.1User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language en-us,en;q=0.5Accept-Encoding gzip,deflateAccept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive 300Connection keep-aliveReferer jobbank/add.phpCookie PHPSESSID=bc679ded5a7f7650692084042c137d77Content-Type application/x-www-form-urlencodedContent-Length 188\[/code\]The HTTP response received :\[code\](Status-Line) HTTP/1.1 403 ForbiddenDate Tue, 31 Aug 2010 09:52:16 GMTServer Apache/1.3.41 Ben-SSL/1.60 (Unix) mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 mod_throttle/3.1.2 Chili!Soft-ASP/3.6.2 FrontPage/5.0.2.2635 mod_perl/1.30 PHP/4.4.9Keep-Alive timeout=15Connection Keep-AliveTransfer-Encoding chunkedContent-Type text/html; charset=iso-8859-1\[/code\]
 
Back
Top