Try this, it should work.
//Get the file from the remote location
function getFile($host, $resource, $port)
{
??? $hdr = '';
??? $file_cont = '';
??? $fh = fsockopen($host, $port, $errno, $errstr, 300);
???
??? if(! $fh)
??? {
??? ??? return error;
??? } else {
??? ??? $hdr .= GET /$resource
Hi,
Try this:
$str = 'HTMLFiles/MenuDisplay.php?var=Thai%20ImageItem=1797Action=add';
$str = preg_replace(/(\Item.*)$/,REPLACEMENT STRING, $str);
this should work.
Cheers,
V
-Original Message-
From: Johny Burns [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thu, 24
2 matches
Mail list logo