Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing vars PHP - Perl

Status
Not open for further replies.

audiopro

Programmer
Joined
Apr 1, 2004
Messages
3,165
Location
GB
I am working on an image creation routine and am making use of the GD module. Unfortunately I have to access it via PHP as there does not appear to be any support for Perl GD on this server. Up to now has not been a problem as I simply send my vars up to the PHP script and a processed image comes back. I need to break into this process and get the physical size of the image before I process the main script. I can get the size I require with a PHP script but how do I get the var back into the Perl script?
I am aware of image::magik but the module is not available on the client's server.

Keith
 
Thanks Kevin
I am just exploring which method to use at the moment.
I like the GD module for the type of stuff I am doing and a lot of the donkey work is done.
I may even try doing this process in PHP but I am familiar with Perl and I need to get something working as a demo.
I'll have a quick look into qx// and backticks, I have seen them referred to but know nothing about them.



Keith
 
Have you shell access to the server? If so, you could install the GD modules yourself. If PHP can use GD, the relevant libraries must be already installed.
 
I have no shell access as far as I can tell, the server seems to be nailed down securely. I have worked round the problem by doing all the processing in the PHP script but getting vars back from a PHP script would be useful.

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top