Re: PHP - browser - ERROR !

From: Date: Sat, 19 Jan 2002 14:46:32 +0000
Subject: Re: PHP - browser - ERROR !
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-81213@lists.php.net to get a copy of this message
Hi again! I tried it and I still get the error. Do you think that this has somthing todo with my PWS server? or the installation of PHP? thanks! Nick Wilson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > * On 19-01-02 at 12:35 > * Dani said.... > > > Hi Nick! > > Thanks for the reply. > > > > here the code: This works on IE but not Netscape (strange!) > > > > session_start(); > > if (!isset($lgname)&&!isset($passw)) > > { > > include("login_input.php"); > > } > > > > else > > > > { > > if ($checkpsw) > > { > > session_register("session_login"); > > $session_login =$lgname; > > include("admin.php"); > > } > > else > > { > > echo"Not a member!"; > > } > > } > > > > thanks! > > > > > > Hi! > > > > > > > > I'm trying to make a user login page and it works fine with Internet > > > > explorer. However when I try it using Netscape 4.5 I get this ERROR > > > > message: > > > > > > > > "HTTP Error 405 > > > > > > > > 405 Method Not Allowed > > > > > > > > The method specified in the Request Line is not allowed for the resource > > > > identified by the request. Please ensure that you have > > > > the proper MIME type set up for the resource you are requesting. > > > > > > > > Please contact the server's administrator if this problem persists." > > Hmmm..... I'm sorry Dani, I can't see *anything* really wrong with it. > I suspect it's a session thing though unless one of your includes is > trying to post data of some kind? > Try taking all the session stuff out and seeing if it still produces the > error and let us know what happens? > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8SVvAHpvrrTa6L5oRAot6AKCixnV+2yD1A80yxgK6Ox8M+jJTyQCgl0t5 > MKXb4aCs6kSIWZoipyvoPvA= > =BLMw > -----END PGP SIGNATURE----- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#81213) next »