[web] ModPerl / PHP
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.
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. :)
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. :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement