GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   email forms with file upload feature (https://gfy.com/showthread.php?t=369608)

betolito 10-09-2004 06:49 PM

email forms with file upload feature
 
Hi, I'd like to thank everyone again for helping me out with that sql dilemma.

I have a new one(dilemma) I need to create an email form with a 'file(picture) upload ' feature. I am actually using DreamWeaver to build the html form of it.

The form could be emailed or stored on a database, doesn't matter.

Thanks to everyone for all the help!


Beto

dexterlab 10-14-2004 05:10 PM

what's your question?
Are you wondering how to upload a file or how to store it?
You'll have to store it in your database as a byte[]
Depending on what db you're using, the type on the column is different. For MySQL, it's type 'text'

On the form, you'd need to encode it like:
ENCTYPE="multipart/form-data"

does that help?

betolito 10-19-2004 05:22 PM

Thanks Dexterlab, I meant I needed a feature that will allow the visitor to upload a file(image) somewhere to my server.

I will try the line of code you pasted on your post.


thanks again,
Beto


All times are GMT -7. The time now is 05:29 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123