Jump to content
  • Advertisement
Sign in to follow this  
smc

[web] ModPerl / PHP

This topic is 3749 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a somewhat trivial project that merges two files POSTed to a server. I am accustom to using java servlets for this. However, the server does not support this. I only have a choice between CGI, perl or php. I have looked into perl, but the tutorials I have read seem to indicate I must install my 'handlers' in order to use the features of mod_perl? I am LOST with this. All I need to accomplish my task is access to the HTTP headers, stack, hashtable and some sorting routine. Any suggestions. Links to some tutorials.

Share this post


Link to post
Share on other sites
Advertisement
Guest
If it's just about merging two POSTed files, PHP could do just fine.

You have all your POSTed files within the $_FILES variable. Use file_get_contents to read them into a temporary variable, then use file_put_contents.

If you'd like an example script, just ask. :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!