Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Why won't my contact form work? (Beginner needs help!)
Old 09-18-2008, 06:20 AM Why won't my contact form work? (Beginner needs help!)
Angelosanto's Avatar
Webmaster Talker

Posts: 554
Name: Danny Angelosanto
Trades: 0
Hi, I don't really know anything about PHP, but my latest design customer has asked me to put a contact form on their site. I used some code that I found online and followed the instructions how to modify it for my own needs.

The problem though, doesn't seem to be with the code - when I upload the code and test the form, I get:

Error 403 - Forbidden

You tried to access a document for which you don't have privileges.




I've tried calling my host to see if perhaps they don't support PHP but they say there shouldn't be a problem


Any ideas anyone?


Many thanks
__________________
"Those who believe in telekinetics, raise my hand."
-Kurt Vonnegut
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
 
Register now for full access!
Old 09-18-2008, 09:44 AM Re: Why won't my contact form work? (Beginner needs help!)
ndr
ndr's Avatar
Novice Talker

Posts: 9
Trades: 0
Are the permissions set correctly?
  • Make sure the PHP script and the directory it's in are world-executable.
  • If the PHP script calls a page, that page's directory must be world-executable, and the page itself must be world-readable.
__________________

Please login or register to view this content. Registration is FREE
- help surfers find your pages after an address change!
Free and ad-free!
ndr is offline
Reply With Quote
View Public Profile
 
Old 09-18-2008, 04:19 PM Re: Why won't my contact form work? (Beginner needs help!)
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
The file is most likely not CHMOD'ed correctly. Look at a files permission you can access and copy the numbers
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to Why won't my contact form work? (Beginner needs help!)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27885 seconds with 12 queries