cancel
Showing results for 
Search instead for 
Did you mean: 

Website - contact forms for complete beginners...

Newbie
Posts: 2
Registered: ‎31-03-2009

Website - contact forms for complete beginners...

Hi all
I've managed to create a contact form using dreamweaver for my choir's website.
The next step was to create the .php document that told the website what to do with the form.
So I've almost created that using the help of a clever tutorial.
The next question is where does this .php document go - in the normal root directory of the website or the cgi-bin part of the website?
It's not working yet and I'm a complete novice at this, so any help would be great!
Thanks in advance!
Kate
4 REPLIES 4
Rising Star
Posts: 493
Thanks: 26
Registered: ‎30-07-2007

Re: Website - contact forms for complete beginners...

If you are using the CGI servers, in ccgi.yourdomainname.plus.com/   
or
If you are using Plesk PAYH, the httpdocs subirectory.
You cannot use PHP from either the conventional PN home pages webspace servers or from the cgi-bin subdirectory
Zen from May 17. PN Business account from 2004 - 2017
Grafter
Posts: 223
Registered: ‎31-07-2007

Re: Website - contact forms for complete beginners...

The annoying thing is every host is different, there is no standard Sad
Typically, PHP forms are to be dropped into the cgi-bin folder, and from then on, treated no differently as to how you've got it setup with the plesk hosting (the only difference will be the link to the php file, instead of contact.php, it will be something like ccgi.username.force9.co.uk/cgi-bin/contact.php)
Rising Star
Posts: 493
Thanks: 26
Registered: ‎30-07-2007

Re: Website - contact forms for complete beginners...

No Adam1V  -  PHP files do not go in cgi-bin - whether in CCGI or Plesk/PAYH
Zen from May 17. PN Business account from 2004 - 2017
Newbie
Posts: 2
Registered: ‎31-03-2009

Re: Website - contact forms for complete beginners...

Thanks for the replies, I have put my .php file in the root of the cgi-bin folder but got the following error:
CCGI Error: Execution of this script not permitted
So I think it's back to the drawing board...