Web Design and Development Forums

PHP Mail Form with Streamline.net as Host!

This is a discussion on "PHP Mail Form with Streamline.net as Host!" within the PHP Forum section. This forum, and the thread "PHP Mail Form with Streamline.net as Host! are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > PHP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 26th, 2008, 16:59   #1 (permalink)
New Member
 
Join Date: Apr 2008
Location: Worthing
Age: 26
Posts: 5
PHP Mail Form with Streamline.net as Host!

Hi everyone, I know that there is already 5 threads I have seen for problems about PHP email forms but I am completely lost as to what to do with mine. I am very very new to the PHP language but am trying my hardest to learn it.

I am using Streamlinenet.co.uk as my host and for some reason the PHP script I have for my contact form to be sent by email to me is not sending anything. I don't think it is the script because I used the same script on another site where 1&1 are the hosts so I don't know why it is not working. Does anyone know why? Or come across a problem like this before?

Thanks in advance,

Nik
bigstorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:02   #2 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: PHP Mail Form with Streamline.net as Host!

Hi

I am with streamline.net and dont have a problem with php.

Are you on a linux server.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:04   #3 (permalink)
New Member
 
Join Date: Apr 2008
Location: Worthing
Age: 26
Posts: 5
Re: PHP Mail Form with Streamline.net as Host!

I am using Windows. I am just pulling my hair out now with it. Its just a simple contact page with a form that I wanted to send via email to my info@ email address as it looked better than just a email link? As I said im a bit new to PHP but I dont think its the script as it works with 1&1?
bigstorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:08   #4 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: PHP Mail Form with Streamline.net as Host!

What I meant was is your site hosted on a linux server at streamline as I dont think streamlines windows servers support php.
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:15   #5 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: PHP Mail Form with Streamline.net as Host!

Just did a bit of checking and the window servers do support php, but you will have to add this line to your php code.

ini_set("sendmail_from", "email@yourdomain.com");

Just alter the email address, it must be an email address for a domain hosted at streamline.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:17   #6 (permalink)
New Member
 
Join Date: Apr 2008
Location: Worthing
Age: 26
Posts: 5
Re: PHP Mail Form with Streamline.net as Host!

oh I see! Sorry LOL. Im just going to check now. If it is on a windows server is it easy to switch to a linux server? Is there any difference is linux and windows? Or is one better when you are using programming languages other than just say creating a site for your family album? Do you use a linux server then?
bigstorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:23   #7 (permalink)
New Member
 
Join Date: Apr 2008
Location: Worthing
Age: 26
Posts: 5
Re: PHP Mail Form with Streamline.net as Host!

HEY! I have just checked and it is a Windows Server 2003 with ASP?
bigstorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:27   #8 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: PHP Mail Form with Streamline.net as Host!

Ok you have two options

1. try adding that line of code I posted just after the <?php in your code.

2. change to a linux server. go to your control panel on streamline and look for the option to switch servers. They reckon it takes about 12hrs but it is usually a lot quicker.
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:31   #9 (permalink)
New Member
 
Join Date: Apr 2008
Location: Worthing
Age: 26
Posts: 5
Re: PHP Mail Form with Streamline.net as Host!

THANK YOU SO SO MUCH!!!

I have just switched them over! How simple. Lets see if it works ok. So when I set up my hosting account with streamline.net I set up a info@mydomain.co.uk email address. So that is the one I need to use for the PHP contact form? I know this is really cheeky but I sent you the PHP script would you check it is ok? If you have time, if you don't, no worries.

Thanks again for your help.

Nik
bigstorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 26th, 2008, 17:39   #10 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: PHP Mail Form with Streamline.net as Host!

I havent recieved the script, streamline automatically set up ten e-mail addresses for you so you can have eg support@yourdomain.co.uk, contact@yourdomain.co.uk etc, etc the yourdomain.co.uk bit would obviously change to the domain name you registered eg support@dap-webdesign.co.uk

when you are on the linux server I dont think you will need to add the extra line of code.

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Form help! ClrWtrDsgnr PHP Forum 6 Sep 27th, 2007 21:22
PHP Form Mail Maverick25r PHP Forum 2 Sep 22nd, 2006 21:59
Can someone help me with this e-mail form??? johnson8707 PHP Forum 4 Jul 4th, 2006 17:51
visitors name not displayed in mail after filling in mail form made on earth PHP Forum 7 Nov 16th, 2005 22:43
E-mail form ??????? pittypatter HTML Forum 3 Apr 11th, 2005 23:42



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:23.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59