PHP Form with File Upload - php Form

Author Topic: PHP Form with File Upload  (Read 12648 times)

Offline admin

  • Administrator
  • *****
  • Posts: 67
  • Karma: +11/-0
  • Gender: Male
    • View Profile
PHP Form with File Upload
« on: July 16, 2010, 02:43:32 AM »
PHP Form with File Upload

Download Members:

Offline yamaharr1

  • Supporter
  • **
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #1 on: July 16, 2010, 05:40:14 AM »
OK this is what I have been looking for, there is 1 change I would like to make and that is to change the drop down back to text field for the subject.

Would it be easy to change that?

Thanks again.

Offline yamaharr1

  • Supporter
  • **
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #2 on: July 16, 2010, 06:54:04 AM »
Also is there a way to not have everything mandatory?

I don't want the user forced to fill out:
Fax

or have to upload a file

right now both are forced and if they do not then an error is returned "unrecognized format"

Offline admin

  • Administrator
  • *****
  • Posts: 67
  • Karma: +11/-0
  • Gender: Male
    • View Profile
Re: PHP Form with File Upload
« Reply #3 on: July 16, 2010, 07:37:41 AM »
Try with this file (ccform.php)


Offline yamaharr1

  • Supporter
  • **
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #4 on: July 16, 2010, 07:51:05 AM »
Try with this file (ccform.php)

Thank you that worked for the Zip and attachment.

Is there anyway to get the subject as a text filed rather than a drop down? I thought I seen a thread on this for the opposite from a while ago but couldn't find it again.

Thanks again for you help.

Offline yamaharr1

  • Supporter
  • **
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #5 on: July 16, 2010, 11:05:27 AM »
Nevermind it was so simple once I took a closer look thanks again for your great help

Offline boyfrom75

  • VIP
  • ****
  • Posts: 27
  • Karma: +5/-0
    • View Profile
Configure the response.php ????
« Reply #6 on: September 13, 2010, 09:54:13 AM »
I HAVE 3 QUESTIONS..

THE INDICATIONS SAY:

1 = Configure the response.php


But I dont see were to I ca configure the response.php file..?  Wen I open this file I don't see  anything to be configured..

--------Question 2 --------

What is the response.php file anyways....?
 Whe I open,  it has some PHP. I sure the php is there for something ( I dont know) waht about the  HTML in the same file... It writing in some language that I don't understand and it doesn't show in the browser...It looks like a guest book or something..



Offline niko

  • VIP
  • ****
  • Posts: 15
  • Karma: +1/-1
    • View Profile
Re: PHP Form with File Upload
« Reply #7 on: September 13, 2010, 12:00:33 PM »
response.php --> Auto Response to Sender

Offline leony

  • VIP
  • ****
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #8 on: September 13, 2010, 12:40:07 PM »
code can be e.g.
Code: [Select]
<?php
$bodys
='
Thank you for contacting us. We have received your information and we will get back to you as quickly as possible.
'
;
?>

Offline boyfrom75

  • VIP
  • ****
  • Posts: 27
  • Karma: +5/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #9 on: September 17, 2010, 01:23:52 PM »
Ok.. What a idiot I am.. :o

Thanks. a lot !!

I have some PHP scripts for Photogallery and another for a chat room.. May be some more...

Im going to upload here soon to help the community,, ;D

Offline chaoticgemini

  • Supporter
  • **
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #10 on: November 14, 2010, 11:19:25 PM »
Is there supposed to be some PHP in the index file cause....It's blank on my end.

Offline xirnibor

  • Supporter
  • **
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #11 on: November 29, 2010, 04:38:12 PM »
i think this form is pretty cool. i have a couple of questions.

the captcha doesn't appear working for me. if you visit the form current location (www.capefox-cm.com/ccform.php) the image doesn't show up.

would it be possible to add the recaptcha from the advanced contact ccform  form? it has a recaptchalib file with multiple references within the ccform.php, beyond me i think.

please advise, thanks!

Offline alex

  • Global Moderator
  • *****
  • Posts: 77
  • Karma: +20/-0
    • View Profile
PHP Form with File Upload (recaptcha)
« Reply #12 on: November 30, 2010, 01:20:57 AM »
 :)

Offline xirnibor

  • Supporter
  • **
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #13 on: November 30, 2010, 07:35:54 AM »
thanks very much alex, i put my own public/private keys in, but works awesome. thanks again!

Offline technoj

  • Supporter
  • **
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: PHP Form with File Upload
« Reply #14 on: January 03, 2011, 06:55:01 PM »
Hello

I sincerely need help with this script, the question is, can this script send data filled in the form to a database?

if yes, how can one create the tables for the database

and an admin page to view posted data by users?

thank you