PHP Classes

get2post: Generate links that post forms

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 577 All time: 5,320 This week: 292Up
Version License PHP version Categories
get2post 1.0GNU Lesser Genera...4.0HTML


This class can be used to generate links that post forms.

It generates HTML with Javascript to display a link that when clicked it will submit a form using the POST method.

When the link is clicked it can ask the user to confirm the form submission.

The form input values can be encrypted.

Innovation Award
PHP Programming Innovation award nominee
August 2009
Number 3

Prize: One subscription to the PDF edition of the PHP Architect magazine
When users click on links, the browsers send HTTP GET requests to the Web server. However, sometimes it is necessary to send HTTP requests using the POST method instead of GET.

This class solves that problem by generating HTML with form and JavaScript code to send the request to the link URL via the POST method.

Manuel Lemos
Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 19 packages by
Country: The Netherlands The Netherlands
Age: 56
All time rank: 1674 in The Netherlands The Netherlands
Week rank: 79 Up2 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file class.get2post.php Class main class
Accessible without login Plain text file example.get2post.php Example example of usage

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,320
This week:292Up