View Single Post
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: whois script not working in IE

 
0
  #7
Jul 15th, 2008
Since "_" is an invalid character for a domain, does that mean that you will never have an underscore in the any of the form entity names?

if so, you could try this
  1. foreach($_POST as $key=>$value)
  2. {
  3. $_POST[str_replace("_", ".", $key)] = $value;
  4. }
  5. print_r($_POST);
  6. echo "<br />" . $_POST['.co.uk'];
it does work.
Last edited by R0bb0b; Jul 15th, 2008 at 2:59 pm.
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss

-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
Reply With Quote