BigBadDave
Programmer
This is my code :
$curreny_match = '(GBP_EUR=)([a-zA-Z_0-9@!%-;&`,\'\+\$\.\n\t\r ]+)';//'
$fp = fopen("$target = @implode( "\n", $fp);
eregi($curreny_match , $target, $match);
$currency_rate = "$match[2]";
fclose($fp);
But i get the following :
Warning: fopen(" - No such file or directory in /usr/home/p/r/prosite/public_html/myshop/menu.php on line 6
Warning: Supplied argument is not a valid File-Handle resource in /usr/home/p/r/prosite/public_html/myshop/menu.php on line 10
How can I open the file for reading?? Regards
Big Bad Dave
davidbyng@hotmail.com
$curreny_match = '(GBP_EUR=)([a-zA-Z_0-9@!%-;&`,\'\+\$\.\n\t\r ]+)';//'
$fp = fopen("$target = @implode( "\n", $fp);
eregi($curreny_match , $target, $match);
$currency_rate = "$match[2]";
fclose($fp);
But i get the following :
Warning: fopen(" - No such file or directory in /usr/home/p/r/prosite/public_html/myshop/menu.php on line 6
Warning: Supplied argument is not a valid File-Handle resource in /usr/home/p/r/prosite/public_html/myshop/menu.php on line 10
How can I open the file for reading?? Regards
Big Bad Dave

davidbyng@hotmail.com