.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   PHP programmer? Perl? Basic? Awk? (http://forum.shrapnelgames.com/showthread.php?t=23606)

Gandalf Parker April 22nd, 2005 02:12 PM

PHP programmer? Perl? Basic? Awk?
 
I would be interested in a CGI which is the simplest possible for UPLOADING a file to a linux webserver. Such as, if I click it then it goes the full path to "C://program files/dominions 2/mygame/man.2h" and uploads it. No questions, no options, no checks and verifications.

This has the possibility of benefiting the entire Dom2 community.

Oversway April 22nd, 2005 03:42 PM

Re: PHP programmer? Perl? Basic? Awk?
 
I think at the minimum you'll have a dialog asking if its ok to upload... otherwise I could steal all your important files.

silhouette April 22nd, 2005 03:43 PM

Re: PHP programmer? Perl? Basic? Awk?
 
If you have perl5 and CGI.pm it virtually writes itself. Look here: http://www.perlfect.com/articles/upload.shtml

Sill

Gandalf Parker April 22nd, 2005 05:22 PM

Re: PHP programmer? Perl? Basic? Awk?
 
OK now trim it to something like 5 lines and no questions.

Ironhawk April 22nd, 2005 07:44 PM

Re: PHP programmer? Perl? Basic? Awk?
 
Gandalf there are lots of code snippets and librarys and whatnot lying around for just the purpose of file uploading via ASP/PHP. Here is one I found that seems decent and he gives some basic instructions on how to implement as well:

http://scripts.franciscocharrua.com/upload.php

Gandalf Parker April 22nd, 2005 07:50 PM

Re: PHP programmer? Perl? Basic? Awk?
 
Yes Im a champion googler. I have many links like that also. So apparently everyone does what I do. Thanks though.

OK I can ask around in some other forums.


All times are GMT -4. The time now is 12:05 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.