Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Passing Data between Scriptsby filmo (Scribe) |
on Jan 05, 2004 at 03:08 UTC ( [id://318751]=perlquestion: print w/replies, xml ) | Need Help?? |
filmo has asked for the wisdom of the Perl Monks concerning the following question:
I have an originating page called "original.html". On it is a form field for file upload, etc. It calls a script called upload.pl When upload.pl is done doing it's thing, I want it to rediret to a different page, final.pl and pass along some structured data. final.pl will read that data and display the results on the users browser. I've been playing with WDDX and can successfully create the packet of info. However, when I send to to the 'final.pl' page via the 'Location: final.pl?wddx=$wddx_packet' It fails for a couple of reasons. (1) WDDX packet is not URI encoded. (I've taken care of that problem with the URI module). (2) Seems like only the first 250 characters or so are passed via the URL. Question: How do I have it so the user starts on 'original.html', the processing is done by upload.pl, but the results and the rest of the html code are shown on final.pl? I'd prefer not to have to build some sort of SOAP solution if possible and I'm sure this must have been done before, so before I reinvent the wheel... -- Filmo the Klown
Back to
Seekers of Perl Wisdom
|
|