Re: PHP front end triggering async perl scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary Stainburn schreef:
Hi folks.

I've got a need to fire off a background perl script from PHP in apache.

I've got as part of my web site a page used to upload and process data from 3rd parties, most of which I can process within the script iteself.

However, I now have to upload an excel spreadsheet in xml format that is approx 11MB in size and using it to do quite a bit of SQL work.

The idea is that I write the code in perl and then after PHP has completed the file upload, call the perl in the background passing the filename.

Has anyone got any advice or gochas I should know about?

Gary
Hey Gary,

there are multiple ways to execute perl scripts form php:

http://nl3.php.net/manual/nl/function.passthru.php
http://nl3.php.net/manual/nl/function.exec.php
http://nl3.php.net/manual/nl/function.system.php

And some more, but these will do

Mike

--
ATN Networks
Dirk de Derdelaan 215
3132 HE VLAARDINGEN
url: www.atn-networks.nl
mail: mike@xxxxxxxxxxxxxxx
mobiel: 06 - 28 11 49 91

Voor al uw hostinggebonden oplossingen

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux