Testing PHP and MySQL locally

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
CKEANEDesign
Forum Newbie
Posts: 19
Joined: Thu Mar 26, 2009 8:04 am

Testing PHP and MySQL locally

Post by CKEANEDesign »

What are things that I cannot test out locally with PHP and MySQL?

For example.. Is it possible to test a mail function with php locally (obviously there is no internet connection involved)?

I use MAMP on a Mac OSX
sujithtomy
Forum Commoner
Posts: 46
Joined: Tue Mar 24, 2009 4:43 am

Re: Testing PHP and MySQL locally

Post by sujithtomy »

Hello,

Yes , if you have a mail server in local machine
Else NO.
User avatar
CKEANEDesign
Forum Newbie
Posts: 19
Joined: Thu Mar 26, 2009 8:04 am

Re: Testing PHP and MySQL locally

Post by CKEANEDesign »

sujithtomy wrote:Hello,

Yes , if you have a mail server in local machine
Else NO.
Well I don't have a mail server on my local machine I don't think.
Is there a way I can test a Sign In, or Register function on a local machine? Like creating an account on my website locally?
Spears
Forum Newbie
Posts: 6
Joined: Mon Mar 23, 2009 10:06 am

Re: Testing PHP and MySQL locally

Post by Spears »

CKEANEDesign wrote: Well I don't have a mail server on my local machine I don't think.
Is there a way I can test a Sign In, or Register function on a local machine? Like creating an account on my website locally?
I have my AppServ installed on my computer which is a program that just configures Apache, MySql, and PHPmyAdmin on your local computer and I use it constantly to test login scripts. I don't have a web host currently so it is much easier and faster. Also, there are free mail servers that you can download. A quick google search could give you some.
Post Reply