Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Set $php_uploader by post parameter

open
nobody
None
5
2005-11-21
2005-11-21
Anonymous
No

If it is possible, to select an alternate upload2.php
script, this would be better because:

- use non static variable in configuration (header.php)!
- use megaupload from different directories. At the
moment imposible, because all use the same cgin-bin
dir, and the same static configuration.

I test it, and it is nice :)
My inserted code to the upload.cgi file:

@p1 = split(/=/,$qstring[1]);
$php_uploader= $p1[1];

direct after the require("./header.cgi");

Thomas E.

Discussion