Doing this allows me to browse web-sites via my cell phone that have a simple WAP function but no real web-browser.scottayy wrote:I don't see a valid reason for doing this.
Search found 5 matches
- Sun Jul 01, 2007 2:12 pm
- Forum: PHP - Code
- Topic: fetch a whole website
- Replies: 5
- Views: 541
- Sun Jul 01, 2007 1:51 pm
- Forum: PHP - Code
- Topic: fetch a whole website
- Replies: 5
- Views: 541
fetch a whole website
How can I fetch whole website and then echo only text and links that site have, excluding all pictures and fancy layout?
So what happens for user is that, he inputs some URL and then see text and links that site contains.
So what happens for user is that, he inputs some URL and then see text and links that site contains.
- Sat Jun 16, 2007 7:10 am
- Forum: PHP - Code
- Topic: socket_read warning?
- Replies: 5
- Views: 1084
- Sat Jun 16, 2007 6:29 am
- Forum: PHP - Code
- Topic: socket_read warning?
- Replies: 5
- Views: 1084
I wonder what value has $socket variable. echo $socket value before that error and tell me what does it output echo $socket; prints this message: Resource id #1 This script worked well on my old webhost, but on this new server it gives right results from that socket connection, but on the bottom of...
- Sat Jun 16, 2007 4:31 am
- Forum: PHP - Code
- Topic: socket_read warning?
- Replies: 5
- Views: 1084
socket_read warning?
I got this warning:
Warning: socket_read(): 1 is not a valid Socket resource in
test.php on line 30
from line 30:
$out = socket_read($socket, 2048, PHP_BINARY_READ);
Exactly same code worked well on other web-server, and now it makes that warning. What's wrong.
Thanks for your help
Warning: socket_read(): 1 is not a valid Socket resource in
test.php on line 30
from line 30:
$out = socket_read($socket, 2048, PHP_BINARY_READ);
Exactly same code worked well on other web-server, and now it makes that warning. What's wrong.
Thanks for your help