Why wouldn't you write some serverside script or client app that does this. pretty strange you would use JavaScript to read html and send it to the server.
Use php to grab the page, read the contents with whatever indexing you are doing and than move onto the next.
I would leave the indexing to a serverside only process and make the future search capability Ajax based.
Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
Why wouldn't you write some serverside script or client app that does this. pretty strange you would use JavaScript to read html and send it to the server.
Use php to grab the page, read the contents with whatever indexing you are doing and than move onto the next.
I would leave the indexing to a serverside only process and make the future search capability Ajax based. :)
I tested and used that successfully, together with AJAX in one of my sites.
I want to make the page redirect incrementally every, let's say 5 seconds.
How would I be able to achieve this?
Once the number reaches 10 and 100 I have to drop a "0" from "page0000". $i represents the number of page to be changed incrementally.
PHP Code:
require_once('class_http.php'); $h = new http(); $i=2; $link = "http://.../new/page0000".$i.".htm"; if (!$h->fetch($link)) { echo "<h2>There is a problem with the http request!</h2>"; echo $h->log; exit(); } $result = $h->body;
Last edited by gilgalbiblewhee; 04-04-2008 at 01:46 AM..