CGI Script Form Handler

CrashNet

Well-Known Member
Original Poster
Does anyone know of a CGI Script Form Handler that also handles attachments? I particularily looking for one that takes all of the information and saves it on my server, but one that emails the forum results to you will be fine too.

Thanks!:D
 

wdwmagic

Administrator
Moderator
Premium Member
Uploading files from a form will require server side capabilities and specific permissions. Do you have direct control over your server space?

Is it Unix or Windows?
 

CrashNet

Well-Known Member
Original Poster
Originally posted by wdwmagic
Uploading files from a form will require server side capabilities and specific permissions. Do you have direct control over your server space?

Is it Unix or Windows?

The server, as far as I know, is Unix. I have an account on it with direct access to it via CuteFTP. I have unlimited space and bandwidth and cgi and php are allowed. The only thing I can't do is php scripts that require MySQL. Basically I'm looking for just something simple that will handle a form with a few fields and one attachment. Uploading to the server isn't necessary, because I originally planned on using email. Any ideas? Thanks Steve!:D

Oh yeah, its basically like attachments on a forum. I would want gif and jpg compatability.

On a side note, how large are png files in comparison to gif and jpeg? Thanks again!:)
 

MobileBadBoy

Account Suspended
PHP mail forms do not require MySQL (unless it is web-based email, like Hotmail). MySQL is a database, which is for storing information, like this message board does (all the names, posts, topic names, etc are in a database).

If I wasn't so busy, I could throw a PHP script together, but you might try browsing here, for starters. Maybe someone here knows a direct script.

(PHP) http://php.resourceindex.com
(CGI/Perl) http://cgi.resourceindex.com
(MISC.) http://www.hotscripts.com

Those are all complete scripts sites. Anywhere else I know of would be more of a teaching site, and it sounds like you're just looking for a premade script.

The PNG/GIF/JPG question is hard answered one, because all can be saved in varying degrees. If you'd really like to learn about it, I'd try a Google search in all seriousness. For web, I'd stick with jpg or gif, since png is not completely supported yet. For attachments, most mail servers allow about 1 MB for an attachment, and most people save PNG files out really large. Although I've seen PNG's smaller than JPG's.
 

CrashNet

Well-Known Member
Original Poster
Thanks for the help MobileBadBoy. Sorry about the MySQL thing :lol:. I started describing what I could and could not do on the host and got carried away. I have a forum I'm working on at a different host.

The png files are fairly new to me. I noticed that Steve lets us attach png files to our posts, so I figured I'd ask. Thanks for the help! I think I will just stick with gif and jpg files. Thanks again and I will let you know if I find something at those sites!
 

CrashNet

Well-Known Member
Original Poster
Suprise Suprise!!!! After looking forever, I find out that I can actually use a script provided by my host for my forum! :lol:

Boy am I dumb for not looking first.:brick:

I have a new question though: Does anyone know a way to include a form text field with a value that cannot be changed? An example:

Code:
<"INPUT TYPE="text" MAXLENGTH="35" SIZE="37" NAME="FROM" VALUE="CACashon@aol.com">

I do not want my visitors to have to put in an email address, but the script MUST have one in order for the form to work properly. I want to use the value I have above but make it so the input field cannot be changed. Can anyone help? Thanks!:D

EDIT:I had to put the QUOTE mark at the beginning or the actual code would not show up.

EDIT: I would still like an answer to this question, but I just realized I can just make a hidden input field to put the email address in. Thanks in advance for the answer!
 

Register on WDWMAGIC. This sidebar will go away, and you'll see fewer ads.

Back
Top Bottom