Forgot your password?
Or sign in with one of these services
webgyrl, July 2, 2003 in Scripting Talk
For php you should visit www.php.net and www.phpfreaks.com
On these two site's you should be able to find everything you need to create these forms and their controling structures.
It's a start
Welcome to the TCH family.
My fav php mail form is phormjr
I have a humble demo site for it, here.
there are many others, and Surefire has a very flexiable one, see this thread
Looking at the forms you have on your pages, then the code by Surefire should work well.
1.) Do PHP forms require a "bin" like CGI files do?
2.) Does one have to do some special coding for things that go on the host side as well as generate the code for the form that I design in Dreamweaver formy htm pages.
Yes, basically the php is the code that goes on the host side, which you link to from your html in Dreamweaver. Dreamweaever handles php very well in my opinion.
3.) Will the new pages I create using the PHP script have to end in.php? If so, can anyone with any web browser access and interact with these pages?
In your current html you will need to change the line
I hope that helps, keep asking the questions as you go through each step
Ask away with questions
It is trying to get the document from a directory called form. If you have all your form-mail documents in the same directory then you can delete "/form" and leave the mailit.php like this:
<form action="mailit.php" method="post" enctype="multipart/form-data" name="form1">
Hope that helps...
In your php file you have the check that it is your site, and you have the IP address as '220.127.116.11' which needs changing to '18.104.22.168' otherwise the script is trying to protect you from your site being used to send spam, sucessfully and hence stopping you sending any mail .
Once you have correct that error, the next one is the file which you redirect to (after filling in the form) is http://www.indiemanagers.com/membership_pay.htm which doesn't seem to exist.
Change that though and I think it will be getting close
I downloaded the form script set everything up and tried it. Got the Thank You page,notified by email,Thank you for submitting to other email. Everything works.
So, only one question. Where does it send the uploaded file?
Never mind,Got it. Great script. I'm just learning PHP and the detailed instructions were a great help.
Thanks Thumbs Up
I see my script is getting some use and some good reviews.
I found a small bug (most of you will not encounter difficulties) and I'll fix it as soon as I'm back from the 4th of July.
My first instinct was to agree that it was an issue of propagation. The problem is I could see your site fine and was getting the same error when trying to access the manual.
Your Dreamweaver set up is also fine so I knew that couldn't be the problem.
I did a little experimenting and found that if I created a directory called /manual on my site I got the same error. In looking around a bit more I found that he reason is that /manual is an Alias that will go to the Apache documentation. You will get the same problem if you have a folder called /icons since that is another Alias used by the system.
There are a couple of solutions. One is to create a subdomain called manual. You will then be able to access the file by using manual.indiemanagers.com/manual.php (but will still get an error if you use www.indiemanager.com/manual/manual.php.)
The other, and easier, option is to rename the folder. You could call it manuals or mymanual or anything else and it will work fine as well.
Glad you got it all sorted - it works fine from here now
Opps, you spotted my post before I had read page 2 and edited it - opps
The IP address you have as '22.214.171.124' which needs changing to '126.96.36.199'.
You can post now and register later.
If you have an account, sign in now to post with your account.
Pasted as rich text. Paste as plain text instead
Only 75 emoji are allowed.
Your link has been automatically embedded. Display as a link instead
Your previous content has been restored. Clear editor
You cannot paste images directly. Upload or insert images from URL.