This is a discussion on "Sending Emails From Localhost ?" within the PHP Forum section. This forum, and the thread "Sending Emails From Localhost ? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Sending Emails From Localhost ?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Sending Emails From Localhost ?
im writing a script that sends an email as part of the registration process, and testing it is prooving problematic .... does anyone know if its possible to test this mail function locally, or do i have to upload first?
Im using WAMP btw, I think i might have to change the php.ini file... but not sure exactly what needs editing Any help appreciated |
|
|
|
|||
|
Re: Sending Emails From Localhost ?
Yes, you're right about php.ini. You're probably not running a local mail server on your windows box so you'll need to change the smtp parameters that show up in a phpinfo() test to refer to a server that you can use.
|
|
|||
|
Re: Sending Emails From Localhost ?
Are you not able to upload to a test directory within your hosting facility and have the script send the emails generated to you?
That way you will be testing in the actual environment you are going to use but not in a way that is open to the world. |
|
|||
|
Re: Sending Emails From Localhost ?
Thats what i think im going to do tbh, i know what "should" need changing in the php.ini... but its playing funny buggers .... remote hosts ftw tbh
|
|
|||
|
Re: Sending Emails From Localhost ?
Hi Guys
i dont know hat r the changes to be made in the php.ini file can u give me good idea for me and then i need a script for directory listing r as a www.crigslist.org site can u help me to get as a free one |
|
|||
|
Re: Sending Emails From Localhost ?
Hai
i am searching for the craigslist clone site.. can u help me to get that one as free one.. if u r having can give me ... selvendran26@gmail.com is mail id.. i need a directory listing scripts can u reply me |
|
|||
|
Re: Sending Emails From Localhost ?
<?php
$fh = opendir("."); while ($has = readdir($fh)) print "$has<br>\n"; ?> |
![]() |
| Tags |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| http://localhost/file.php | azilaka | PHP Forum | 16 | Jul 13th, 2007 21:56 |
| (localhost) cookie weirdness | Donny Bahama | PHP Forum | 4 | May 29th, 2007 14:44 |
| 'ODBC'@'localhost' error | Sqrlgrl | Databases | 8 | Nov 21st, 2005 13:27 |