[PHP] PHP Post method HTTP 404

2005-02-16 Thread Stefan
Hi
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.

I use IIS 5.1

Tnx.
Stefan 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Leif Gregory
Hello Stefan,

Wednesday, February 16, 2005, 12:32:55 AM, you wrote:
S I've a strange problem When I try to send a form with method=POST
S to a php-file I always get an HTTP 404 error. I really don't know
S why, because the file exists on the server.

Can you show us the code for the form?


-- 
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Chris Shiflett
--- Stefan [EMAIL PROTECTED] wrote:
 When I try to send a form with method=POST to a php-file I always
 get an HTTP 404 error.

The action attribute of the form tag is what determines the URL that the
browser requests. When no resource exists at this URL, you get a 404
response after submitting the form.

This is not a PHP question.

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming Soon http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Richard Lynch
Stefan wrote:
 I've a strange problem
 When I try to send a form with method=POST to a php-file I always get an
 HTTP 404 error.
 I really don't know why, because the file exists on the server.

 I use IIS 5.1

If IIS is mis-configured, we can't help you here...

If it's in the PHP code, you'd have to at least show us:
1. The form action= tag
2. The URL that exists that you are POSTing to.

Without at least that much info, we can't say anything useful.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Marek Kilimajer
Stefan wrote:
Hi
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
What are the logs saying? I remember some problems with IIS + php and 
post method, it was due to some setting in IIS. Search the web.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php