php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43430 Parser seems not to like to see "select from" on posted items
Submitted: 2007-11-27 17:40 UTC Modified: 2007-11-27 18:39 UTC
From: ajoliveira at acutron dot net Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.4.7 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ajoliveira at acutron dot net
New email:
PHP Version: OS:

 

 [2007-11-27 17:40 UTC] ajoliveira at acutron dot net
Description:
------------
Error:

"Forbidden access to /trash/mail.php on acutron.net"

this error is reproducible under 4.4.7, but not under 4.3.11

Reproduce code:
---------------
Hi

I'm using 4.4.7

on the same directory I put the following files (in fact those are on the air at http://acutron.net/trash):

1. trash1.html
*************************************************
<html>
<head>
</head>
<body background="jpg/rock.jpg">
<FORM action="mail.php" method="post">
<INPUT TYPE="submit" VALUE="Correio">
<input type="hidden" name="sellit" value="SELECT FRAM">
</form> 

</body></html>
*************************************************

2. trash2.html
*************************************************
<html>
<head>
</head>
<body background="jpg/rock.jpg">
<FORM action="mail.php" method="post">
<INPUT TYPE="submit" VALUE="Correio">
<input type="hidden" name="sellit" value="SELECT FROM">
</form> 
</body></html>
*************************************************

any one of the previous files calls main.php, which...does nothing.

diff btw the 2 files is that one posts "selected fram" and the other "select from". try the difference

3. main.php
do-nothing script...
********************************************
<html>
<head>
</head>
<body>
<?php
//echo stripslashes ($_POST['sel']).'<br>';
?>  
</body></html>
********************************************



Expected result:
----------------
blank screen

Actual result:
--------------
trash1.html does nothing, as expected, but trash2.html results in:

"Forbidden access to /trash/mail.php on acutron.net"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-27 17:51 UTC] ajoliveira at acutron dot net
on http://acutron.net/trash, there is an info.php so that server configuration may be inspected.
 [2007-11-27 18:39 UTC] scottmac@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

http://acutron.net/trash/trash.html?foo=SELECT%20FROM

It's not dependant on PHP so its server related.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 06:00:01 2025 UTC