This is a discussion on "php mailform problem" within the PHP Forum section. This forum, and the thread "php mailform problem are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
php mailform problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I've just uploaded a website and when I fill in the form and then click submit it should load feedback.php and send the mail to the user and say thank you etc. What i'm getting is 'this URL cannot be found feedback.php'
Now I tried this locally on my machine with PHP and it seemed to work fine. My host (webfusion) seems to say on their site that PHP is supported on the starter pack under Linux hosting but NOT Windows hosting. I have gone for the Linux hosting so this should be ok. Any ideas? Just to make sure i'm not been stupid, I shouldn't need SQL to support a php mailform, just PHP on their server right? Here's the link to the package I went for.... http://www.webfusion.co.uk/webhostin...starter-linux/ Is this ok for what I need? |
|
|
|
|||
|
Re: php mailform problem
Quote:
I'm not sure what you mean by absolute URL. Do you mean substitute 'feedback.php' to 'mydomain.co.uk/feedback.html'? I'll post my code up soon as i'm on my Mac at the moment and the code is on my PC. Got a few server problems at work so will have to sort them out first |
|
||||
|
Re: php mailform problem
Ah right. Yea I mean if at the moment it says:
/feedback.php change it to: http://www.yourdomain.com/feedback.php that might solve it |
|
|||
|
Re: php mailform problem
Quote:
|
|
|||
|
Re: php mailform problem
lmao! Your not going to believe this. I've just realised i've got a Linux host and it is k sensitive....I'm sure you can figure out what I did wrong
![]() |
|
||||
|
Re: php mailform problem
Yea I've had a look and you've definitely got access to PHP 4 and 5.
Are you receiving the email that you should get? As I say the easiest way would be tyo post the code up when you can... |
|
||||
|
Re: php mailform problem
hahaha its always the simple things you don't notice!!
You have it working now then? Well done if you do! You got my 500th post! |
|
|||
|
Re: php mailform problem
Quote:
Yea mate it's all working spot on now. Cheers for your input though, could quite easily have been the link in the php changing to domain. Couldn't believe it once I had realised, I could have kicked myself but I suppose it's my first decent website and first attempt at php etc. But still, what a ! |
|
||||
|
Re: php mailform problem
Yea i only learnt recently as well....its fiddly isn't it!
|
|
|||
|
Re: php mailform problem
Well if i'm being honest I nicked the code from a php mail wizard I found on the net but ssshhhhh
I really do want to look into more css and php stuff but if you ever need anything you can just find templates and build upon them rather than having to do all the hard work at first lol. I'm a 3rd line teccy and working towards MCSE so web development isn't a high priority of mine just yet. I know some basic IIS and that's all I need to know really for now. |
![]() |
| Tags |
| php mailform |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |
| Setting Mailform Variable Based on Database | rgrimes | Classic ASP | 3 | Aug 12th, 2006 14:52 |