View Single Post
Join Date: Oct 2006
Posts: 198
Reputation: MaxMumford is an unknown quantity at this point 
Solved Threads: 1
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster

Re: whois script not working in IE

 
0
  #10
Jul 16th, 2008
Ahhh okay I see so it finds any array's where co_uk is written and converts it to co.uk

- i got a parse error:



  1. Parse error: syntax error, unexpected T_FOREACH, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/economizerz.com/public_html/test/maxwhois/maxWhois.class.php on line 8

  1. <?php
  2.  
  3. class maxWhois{
  4.  
  5. var $serverList;
  6. var $tr = 0;
  7.  
  8. foreach($_POST as 9 = 'co_uk')
  9. {
  10. $_POST[str_replace("_", ".", $key)] = $value;
  11. }
  12. print_r($_POST);
  13.  
  14. echo "<br />" . $_POST['.co.uk'];

possibly my server is using an old version of php or something?
Ill solve somebody's thread someday! xD
Reply With Quote