XUpload - Customizing Post.cgi

Posts: 5
Joined: Sep 26, 2008 9:01 pm

Customizing Post.cgi

#1 Postby metasteve » Sep 27, 2008 4:25 pm

How can I wrap the post.cgi page in my web page template to make this page that returns after the upload look good...

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Oct 06, 2008 10:30 am

Content of post.cgi is not hard to understand.
You can add header part after line:

Code: Select all

print"Content-type: text/html\n\n";

Code: Select all

print"<h1>Upload Results</h1>";
and can print footer part in the end of the program.