TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-06-2010, 02:17 AM   #1 (permalink)
The Visitor
 
Join Date: Aug 2010
Posts: 2
Thanks: 1
selva270 is on a distinguished road
Default php href doubt...

source: http://en.support.wordpress.com/spli...tent/nextpage/

Pages: 1 2 3

Page link

http://en.support.wordpress.com/spli...tent/nextpage/
http://en.support.wordpress.com/spli...nt/nextpage/2/
http://en.support.wordpress.com/spli...nt/nextpage/3/

page 2, page 3 it's folder name or 'GET' 'POST' method ?
selva270 is offline  
Reply With Quote
Old 08-06-2010, 12:51 PM   #2 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

The way WordPress does things internally is to take the entire submitted url, deduct the host name and parse the rest as part of a WordPress Query; this might be a bit more specific than what you'd like.

For an easier solution mod_rewrite would employ a rule whereby the last set of digits in a url were changed from being part of the path to $_GET['page'] = X

So, GET, to answer your question; the post method is undesirable for pagination.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
The Following User Says Thank You to Enfernikus For This Useful Post:
selva270 (08-09-2010)
Old 08-09-2010, 07:14 PM   #3 (permalink)
The Visitor
 
Join Date: Aug 2010
Posts: 2
Thanks: 1
selva270 is on a distinguished road
Default

Thank you so much buddy....
selva270 is offline  
Reply With Quote
Old 08-31-2010, 01:33 AM   #4 (permalink)
The Visitor
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
lehua768 is on a distinguished road
Default

The way WordPress does things internally is to take the entire submitted url, deduct the host name and parse the rest as part of a WordPress Query; this might be a bit more specific than what you'd like.For an easier solution mod_rewrite would employ a rule whereby the last set of digits in a url were changed from being part of the path to $_GET['page'] = XSo, GET, to answer your question; the post method is undesirable for pagination.



__________________
Christian Louboutin
Replica Handbags
Replica Handbags
lehua768 is offline  
Reply With Quote
Old 08-31-2010, 01:13 PM   #5 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Just wanted to add, if we follow the RESTful principle the argument could be made that the mechanism that runs the pagination uses a "modifier", where the conical URL is

http://domain.com/stories/tag:dog

The modifier is ?page=2
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get PHP 5. to work? Newbie windows PHP guy DotNetTim Absolute Beginners 11 02-01-2013 11:02 AM
A doubt on PHP Online Quiz skp Absolute Beginners 4 07-20-2009 07:19 AM
10 PHP Myths Dispelled Wildhoney General 9 06-15-2009 06:55 AM
PHP Compressor Kalle Script Giveaway 8 05-28-2008 12:14 AM


All times are GMT. The time now is 05:00 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design