URGENT: 80 points for a CGI script

Status
Not open for further replies.

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Hi,

I need a simple cgi script to upload files. I also need to set the allowed file type and size. And the most improtent part is to write an other file with the same name that only has this content.

<?php
$file_include_ip=<<Uploaders IP here>>;
$file_include_downloads=0;// Don't change
$file_include_bandwidth=0;// Don't change
$file_include_size=<<File Size>>;
$file_include_suspened=0;// Don't change
$file_include_reson='';// Don't change
$file_include_reviewed=0;// Don't change
?>

This extra file must be created in the "/info" so that my php upload administration system (That I made) can sycronice with this CGI.

If I'm satisfied I will own the script buy paying you extra 50 points. Till then you can have a link on the bottom of the page.

At the top you must put the title "Chirantha Soft Upload Service"

Thank you,
Chirantha

P.S. I only need to upload one file at a time

P.S. Please tell me to use a premade script that is on the web because extra file is needed.

P.S. Don't tell me to use php even thow I'm a good php programmer because my DC refuses to change the php upload limit because of abuse tat happened.
 

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Its for my non-x10hosted web site (hosted by 2xhosting.net). I need a simple script not a thing were you have to log in. Just go upload. And as I said I need some one to make it
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Edit: I should read next time. Assuming makes an ass of me.
 
Last edited:

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Humm... May I did make to clear...

I am a good php programmer. And I well capable of making an upload script in PHP. But the only problem is that there are PHP limits set by the php.ini. upload_max_size and post_max_size affect the uploading of files. I cannot let users upload a 100MB file when upload_max_size is set to 70MB. So that is why I need a script in CGI because CGI does not have such limitation.

I hope you'll understand
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
If you are really a "good PHP programmer" then you would know how to upload files larger then the limit set within the PHP configuration file.

Try googling it.

If you have no clue, post back.. I'll, err, tell you.

Edit: Also, I just read your post.. Before I just skimmed, so yea, my bad on that for just assuming. If you need a page like that made and all, I can do it for you. Most likely tonight too.. I don't have much to do, besides work on develop.x10hosting.com (You can all look, but no logging in for you :p ;-)

So yea, post back. :)
 
Last edited:

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
NedreN said:
Edit: I should read next time. Assuming makes an ass of me.

LOL! WTF! I didn't call you ass! I'm sorry but I didn't know such word was there. I never call people that. May be in a PM but not in a public topic.


Here is message I wrote

Humm... May I did make to clear...

I am a good php programmer. And I well capable of making an upload script in PHP. But the only problem is that there are PHP limits set by the php.ini. upload_max_size and post_max_size affect the uploading of files. I cannot let users upload a 100MB file ass the upload_max_size is set to 70MB. So that is why I need a script in CGI because CGI does not have such limitation.

I hope you'll understand

Its a simple duble hit of the letter "s" its a mistake. Come On you should have been smart enough to find that out. (If I said ass there would be a vorbe confusion).


And Please Tell me How to make that script.
 

ak007

Member
Messages
216
Reaction score
0
Points
16
I Dont Know But This May Help :

PHP:
<?php
ini_set("upload_max_filesize", "250M");
ini_set("post_max_size",         "250M");
?>
There maybe Some Bugs In PHP 4.xx (Dont Know The Exact Version) Which Will prevent This
 
Last edited:

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Doesn't work it just returns false. Please Some One HELP. I don't think this would take time.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Ini_set() was what I was talking about. :)


It should work fine.. I don't see why it wouldn't. The configuration option is in the list of options that you can edit with that function.. I checked quick.

Using ini_set('upload_max_filesize', 250) doesn't return the old value?!?!?! It should.. The server has 4.3.x installed, and the function is avaliable from PHP 4 up, so yea.. Also, I'm not sure if you need the "M" in there, so yea.. try without if with it doesn't work.

Also, I knowww you didn't call me an ass, I called myself one because I assumed something and made myself look stupid. Haha.
 
Last edited:

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
ini_set does not work on php 4.4.0 for some reaon (May be they edited some setting so I cannot change it)

But never the less I seem to smarter than you.

Code:
php_value upload_max_filesize 500M
php_value post_max_size 800M

I just placed that on the .htaccess and every thing worked grate!
P.S. I don't think it affects subfolders

So your all taken care of?
 
Last edited by a moderator:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
So your all taken care of?

HAHA I edited your post by accident.. My bad..
 
Last edited:
Status
Not open for further replies.
Top