En cours

Convert Flash form to PHP function

Need someone to decompile a simple Flash form (approximately six input variables) on a website and create a PHP function that will do a "screen-scrape" and accomplish the same thing.

The Flash form is used to create and download a report and you should create a callable download_report() PHP function that will do the same thing and return the downloaded report as a text string.

You will need to figure out how to automatically login to the site (which uses https) and handle any session parameters. You can use curl functions to handle the interface. I will provide you with the login parameters to the test site and the URL to the report page.

The function you create should be compatible with both PHP4 and PHP5. Normally, the download_report() function will be called from a command line PHP program that is run as a cron job.

Since it is possible for a website connection to timeout, the download_report() function should be written with a "locking" capability to prevent it from being called more than once. If download_report() is called again before a previous attempt has completed, it should return with an error. You can use files in the /tmp directory to handle the locking.

The function interface should be similar to this:

download_report($host, $clientid, $username, $password, $form_vars, $timeout=60);

$host - URL of host (string)

$client - client ID (string)

$username - username (string)

$password - password (string)

$form_var - array of form variables

$timeout - default timeout of 60 seconds (int)

Compétences : Adobe Flash, Formulaires électroniques, Linux, PHP

Voir plus : convert flash form php, session php, program download flash website, php program download, login page create php, create site php, create login page php, php create function, php command, login screen php, function, form php, cron command, session php login, program test php, php connection, php session flash, php download files, flash page program, php text array, php test page, convert line, curl connection, simple function, php url string download

Concernant l'employeur :
( 8 commentaires ) Miami, Costa Rica

N° du projet : #1082928

Décerné à :


I'm ready to start working on this. It's easy to capture data that Flash is sending to the server and then imitate the same with help of cURL. Session cookies also isn't a problem for me.

40 $ USD en 2 jours
(5 Commentaires)

5 freelance ont fait une offre moyenne de 85 $ pour ce travail


Lets do it, please read PM!! Thanks.

150 $ USD en 0 jours
(125 Commentaires)

I can help you

85 $ USD en 2 jours
(7 Commentaires)

I have many excellent experience about this.

100 $ USD en 3 jours
(0 Commentaires)

Please check your private message.

50 $ USD en 1 jour
(0 Commentaires)