Re: [PHP] Retrieve pages from an ASP driven site

2012-05-04 Thread tamouse mailing lists
On Wed, May 2, 2012 at 11:37 PM, EPA WC wrote: > Hi List, > > I am trying to write a crawler to go through web pages at > http://www.freebookspot.es/CompactDefault.aspx?Keyword=. But I am not > quite familiar with how asp uses _doPostBack function with the "next" > button below the book list to ad

Re: [PHP] Retrieve pages from an ASP driven site

2012-05-03 Thread EPA WC
Thanks Lester. On Thu, May 3, 2012 at 3:49 AM, Lester Caine wrote: > Terry Ally (Gmail) wrote: >> >> Here is how you would paginate in PHP. > > > Terry - Tom is not trying to create this in PHP, but read existing ASP > pages. > > Tom - I don't think that it's simply a matter of the ASP code here,

Re: [PHP] Retrieve pages from an ASP driven site

2012-05-03 Thread Lester Caine
Terry Ally (Gmail) wrote: Here is how you would paginate in PHP. Terry - Tom is not trying to create this in PHP, but read existing ASP pages. Tom - I don't think that it's simply a matter of the ASP code here, but rather how they have constructed the set of information they are sending back.

Re: [PHP] Retrieve pages from an ASP driven site

2012-05-03 Thread Terry Ally (Gmail)
Tom, Here is how you would paginate in PHP. // // Number of records to show per page: $display = 4; // Determine how many records there are. if (isset($_GET['np'])) { $num_pages = $_GET['np']; } else { $query = "SELECT * FROM mytable"; $query_result = mysql