}
$this->response = fgets($this->connection, 1024);
}
$info = split(" ", $this->response);
$this->first = $info[2];
$this->last = $info[3];
}
--
Ognyan Bankov [EMAIL PROTECTED]
ogre.homelinux.org
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ATCH() and AGAINST().
B) Create a fulltext index only for the content field and use this kind of
select: SELECT * FROM db WHERE author LIKE "%phrase%" OR headline LIKE
"%phrase%" OR MATCH(content) AGAINST(phrase);
C) None of the above ... is there a better way?
Thanks a lot for an
"Steve B." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Nadim,
> It works but not for sites with password window that pops up.
I see.
That is HTTP Basic Authentication
You should use this line:
$filename = 'http://someuser:[EMAIL PROTECTED]/';
instead of:
$filename = "http://som
"Steve B." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How would you get PHP to download a file such as a web page and put it in
a string?
Try this:
http://somesite.com?user=someuser&pwd=somepwd";;
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename)