URL issue -- http://server/page.php?machine.network=one not working
| From: | Glenn MacGregor | Date: | Fri, 28 Jun 2002 18:18:20 +0000 |
| Subject: | URL issue -- http://server/page.php?machine.network=one not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104402@lists.php.net to get a copy of this message | ||
Hi All,
I am having a problem with php4 and a get url. For instance the URL:
http://server/page.php?test1.test.com=debug.
I have a script which does a foreach through all the _GET vars:
foreach ($_GET as $var => $value)
This peice works fine except that when the var (name) has a period in it
that is changed to a _. If the value has a period it is not changed to _.
I have snooped the packets and it is sent to the server as '.' Is this a
server (apache) issue or a php issue. Is there anything I can do.
Thanks
Glenn