Gossamer Forum
Home : Products : DBMan : Customization :

Re: [JPDeni] Help with File Upload (upload graphics mod)

Quote Reply
Re: [JPDeni] Help with File Upload (upload graphics mod) In reply to
I tried to get around the producing output bit by having the validate_upload sub print a bit of html thinking that would satisfy the server gods, but no luck. Then I tried having it call a sub &add_success; but that didn't seem to work either. I'll go back and try it again - you know how it gets after you've modified a script so many times you lose track of all of the little changes. I need to start over fresh.

In the meantime, I copied to whole sub into a separate cgi script and tried to get it to work as a stand alone script (see attached). I can get it to write the file to the server but it comes out "0" in size which tells me it's not really uploading anything.

I've noticed that I'm not getting the values from the input form and I'm not sure why. It works for me locally - I'm sure it's going to be something obvious.

You can see where I was hacking around trying to get variables to print in order to troubleshoot it by "hardcoding" variable values, etc.

Check it out and if you notice anything extremly stoopid let me know. Thanks.
Subject Author Views Date
Thread Help with File Upload (upload graphics mod) Watts 6357 Oct 10, 2005, 9:48 AM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6288 Oct 10, 2005, 10:04 AM
Thread Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6270 Oct 10, 2005, 11:02 AM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6283 Oct 10, 2005, 11:39 AM
Thread Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6231 Oct 11, 2005, 8:22 AM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6216 Oct 11, 2005, 10:55 AM
Thread Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6250 Oct 11, 2005, 12:28 PM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6202 Oct 11, 2005, 2:03 PM
Thread Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6218 Oct 11, 2005, 3:33 PM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6199 Oct 11, 2005, 4:33 PM
Thread Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6222 Oct 12, 2005, 7:32 AM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
Watts 6177 Oct 12, 2005, 1:09 PM
Thread Re: [Watts] Help with File Upload (upload graphics mod)
JPDeni 6175 Oct 12, 2005, 5:04 PM
Post Re: [JPDeni] Help with File Upload (upload graphics mod)
Watts 6169 Oct 13, 2005, 12:33 PM