|
Posted by Lennart Anderson on 02/12/07 15:41
"Captain Paralytic" <paul_lautman@yahoo.com> skrev i meddelandet
news:1171293983.056633.220620@j27g2000cwj.googlegroups.com...
> On 12 Feb, 15:13, "Lennart Anderson" <lennart.ander...@tele2.se>
> wrote:
>> "Captain Paralytic" <paul_laut...@yahoo.com> skrev i
>> meddelandetnews:1171292908.022502.97460@s48g2000cws.googlegroups.com...
>>
>>
>>
>> > On 12 Feb, 15:06, "Lennart Anderson" <lennart.ander...@tele2.se>
>> > wrote:
>> >> "Satya" <satya61...@gmail.com> skrev i
>> >> meddelandetnews:1171087978.827105.134470@h3g2000cwc.googlegroups.com...
>>
>> >> > On Feb 8, 3:59 am, "Lennart Anderson" <lennart.ander...@tele2.se>
>> >> > wrote:
>> >> >> I have finally managed to get Apache 2.2.4, PHP 5.2.0 and MySQL to
>> >> >> talk
>> >> >> to
>> >> >> each other. Everything seems to work OK when dealing with databases
>> >> >> but
>> >> >> as
>> >> >> soon as I use a php-script that use $_server the browser will throw
>> >> >> me
>> >> >> away
>> >> >> and give me HTTP 403.
>>
>> >> >> It has worked before but that was before I got the communication to
>> >> >> work
>> >> >> with MySQL
>>
>> >> >> Any ideas or solutions are very much appreciated.
>>
>> >> >> /Lennart
>>
>> >> > ---------------------
>> >> > I see no reason for this.
>> >> > if you are using $_server then use $_SERVER['key'];
>>
>> >> Thats is exactly how I'm doing. Still the browser will through me away
>> >> and
>> >> denies to show the page, just saying HTTP 403.
>> >> /Lennart- Hide quoted text -
>>
>> >> - Show quoted text -
>>
>> > Care to share some of the code?
>>
>> This is the simple test code that causes the HTTP403
>> <form action="<?=$_SERVER['PHP_SELF']?>" method="post">
>> Username: <input type="text" name="username">
>> <br />
>> Password: <input type="password" name="password">
>> <br /><br />
>> <input type="submit" name="submit" value="Sign Up">
>>
>> /Lennart- Hide quoted text -
>>
>> - Show quoted text -
>
> OK, now when you say "I use a php script", when aer you considering it
> to be used?
> Do you get the form displayed but get the error when you press "Sign
> Up" or do you not get the form displayed at all?
>
When ran I get the page and give ensers to the two inputs.
The browser reacts with HTTP 403 when I press the submit-button
/Lennart
[Back to original message]
|