On Mon, August 13, 2007 4:45 am, Per Jessen wrote: > 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? PHP pretty much just blindly passes on whatever is in the REQUEST_URI into $_GET. So the GET data isn't surviving the type-map forwarding. So your question boils down to: Why isn't Apache's type-map propagating the GET arguments? This question has no PHP in it; You'll probably find the answer faster/better in an Apache milieu. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php