Click to See Complete Forum and Search --> : Need help, can't find proper contact form script...


onyxxxx
May 16th, 2008, 06:02 AM
Hi,

I've searched dozens of sites through google, but didn't find proper script. I need a contact form with one file upload capability. And that one file should be a photo (.jpg, .jpeg, gif, png) and also with file limitation capability.

I found many contact forms and many file upload scripts, but can't find the script that combines these two parts together.

Does anyone know, where can I find such script?

P.S. It should be an AJAX form...

PeejAvery
May 16th, 2008, 08:21 AM
AJAX cannot be used to create forms, only to pass the data. Unfortunately, AJAX cannot pass file uploads. You will have to use a hidden iframe as the target in your <form> tag. Even the ones that say AJAX, are secretly appending an iframe on the scripts execution.

What server-side language are you going to use to process the form? Creating the form in HTML is plain and simple. In fact, you can even search Google for a form creator and get thousands of results. The difficult part is the server-side code.

If your web server is Linux hosting, you will want to use PHP. In that case, you should take a look at handling file uploads (http://us2.php.net/manual/en/features.file-upload.php) from PHP's own site. If you are using IIS, then ASP.NET should be your prefered method. And Google has plenty to say about that (http://www.google.com/search?source=ig&hl=en&rlz=&q=asp.net+file+upload&btnG=Google+Search).

onyxxxx
May 17th, 2008, 07:11 AM
Yes, my site is simple html.

Maybe you know some php example sites, for what I am searching?

Because I am not very good in php yet. I am just a web designer and a litle bit know html.

Thanks

PeejAvery
May 17th, 2008, 08:09 AM
I did mention Google. I would suggest always checking there before posting.

http://www.google.com/search?source=ig&hl=en&rlz=&q=php+form+creator&btnG=Google+Search