| | |
PHP - Half the way response and continue PDF processing
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2005
Posts: 5
Reputation:
Solved Threads: 0
Hi All
I have the following requirement to be implemented in PHP & My SQL database with Apache Server.
I have to write a PHP which will get a HTTP request from Client and immediately respond back with a Token # (Random number). Once the Token number has been sent back to Client, PHP should continue processing on the Server side as follows. (back end processing after response)
1) Fire some SQL queries to My SQL
2) Create a PDF with the output
3) Create a directory with Token # and store the PDF.
Client will download the PDF with the URL after some time.
Is there any way of implementing asynchronous handling in PHP i.e send token # half the way and continue generating & storing PDF on the server?
Any pointers will be of great help.
Thanks in advance
Praveen
I have the following requirement to be implemented in PHP & My SQL database with Apache Server.
I have to write a PHP which will get a HTTP request from Client and immediately respond back with a Token # (Random number). Once the Token number has been sent back to Client, PHP should continue processing on the Server side as follows. (back end processing after response)
1) Fire some SQL queries to My SQL
2) Create a PDF with the output
3) Create a directory with Token # and store the PDF.
Client will download the PDF with the URL after some time.
Is there any way of implementing asynchronous handling in PHP i.e send token # half the way and continue generating & storing PDF on the server?
Any pointers will be of great help.
Thanks in advance
Praveen
![]() |
Similar Threads
- PHP FTP Loop (with dynamic inputs) (PHP)
- Generating PDF Using PHP (PHP)
- Calling PHP function on Javascript events e.g onchange (PHP)
- How to Read PDf File Using php (PHP)
- Email FUnction with PHP & PDF pr Word FOrmat (PHP)
- php and pdf? (PHP)
- Open the exixting pdf file Using PHP (PHP)
Other Threads in the PHP Forum
- Previous Thread: Can't get PHP to run ! Please help!
- Next Thread: PHP Editor beta: please take a look
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





