Re: apache content negotiation and $_GET

From: Date: Mon, 13 Aug 2007 10:47:16 +0000
Subject: Re: apache content negotiation and $_GET
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260761@lists.php.net to get a copy of this message
On 8/13/07, Per Jessen <per@computer.org> wrote: > All, > > I've got a weird issue concerning $_GET and apaches content negotiation. > > situation one: > > files in htdocs/: > > phpinfo.phtml.en (all it does is call phpinfo()). > phpinfo.html - apache type-map > > if I load URL = https://server/phpinfo?klop=99, I see no _GET > variables > listed. (with the URL, apache will pick the phpinfo.html file, treat > it as a type-map and load phpinfo.phtml.en) > > if instead I skip the content negotation, and use URL = > https://server/phpinfo.phtml.en?klop=99, the $_GET variable is > available. > > Any suggestions? > > > thanks, > Per Jessen, Zurich This has nothing to do with PHP, and there's only a very little chance you get a successfull result here. Your Apache type-map probably just doesn't take the $_GET variables with it, but don't ask me how to fix ;) I can provide a PHP solution for it ;) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

« previous php.general (#260761) next »