Welcome Guest, Not a member yet? Register   Sign In
spaces in URLs converted to _
#39

[eluser]sophistry[/eluser]
@cyang...

thanks for the update on this info. i figured out that this is due to the way that PHP handles variables (or at least used to handle them with register_globals=on). in the olden days of PHP incoming GET and POST variables were automatically assigned to variables in the global namespace. this caused much ruination in the world of PHP and consequently PHP gods changed register_globals=off so this didn't happen.

however, when the dust cleared some of the vestigal variable "managing" remained. specifically, dots and spaces were changed to underscores by PHP if it thought the developer might use the incoming GET or POST data as a variable.

This version of this PHP bug has a nice round number: 40000!
http://bugs.php.net/bug.php?id=40000

your suggestion to try a bunch of different settings to see what works is good.

cheers.


Messages In This Thread
spaces in URLs converted to _ - by El Forum - 04-02-2008, 09:21 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 01:29 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 02:47 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 10:04 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 11:29 AM
spaces in URLs converted to _ - by El Forum - 04-04-2008, 01:21 AM
spaces in URLs converted to _ - by El Forum - 04-04-2008, 09:03 AM
spaces in URLs converted to _ - by El Forum - 06-16-2008, 10:09 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 07:57 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 08:20 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 08:34 AM
spaces in URLs converted to _ - by El Forum - 06-18-2008, 11:30 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 04:54 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 06:59 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 07:08 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:12 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:19 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:24 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:26 AM
spaces in URLs converted to _ - by El Forum - 06-20-2008, 08:01 AM
spaces in URLs converted to _ - by El Forum - 06-20-2008, 01:08 PM
spaces in URLs converted to _ - by El Forum - 06-21-2008, 09:39 AM
spaces in URLs converted to _ - by El Forum - 06-21-2008, 08:52 PM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 07:59 AM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 08:11 AM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 08:26 AM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 12:56 PM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 03:03 PM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 03:14 PM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 09:30 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 09:59 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 10:35 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 11:27 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 02:05 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 10:10 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 10:40 AM
spaces in URLs converted to _ - by El Forum - 10-07-2008, 05:31 AM
spaces in URLs converted to _ - by El Forum - 12-19-2008, 04:42 PM
spaces in URLs converted to _ - by El Forum - 12-19-2008, 05:35 PM
spaces in URLs converted to _ - by El Forum - 01-16-2009, 07:28 AM
spaces in URLs converted to _ - by El Forum - 01-18-2009, 07:21 PM
spaces in URLs converted to _ - by El Forum - 01-18-2009, 11:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB