I'm new to the xamapp server and am having difficulties. Please could someone help.
I cant get the services for apache or mysql to start within the xampp application. I have been able to start them using the windows services utility. therefore i would like to fix this problem but it is not currently stopping we from testing my website.
the second issue is that i am trying to identify the best way to test the mail php command/function on the test server(localhost). i've tried adjusting the php configuration settings to use gmail or my isp (O2) but dont think that route will work due to closed systems and no where to put a username and password in the configuration settings. Therefore I am thinking I will need to install a simple mail server on my desktop. It looks like the mail program that comes with xamapp is not a mail server. I need to know what i have to do in order to make a mail server work with xamapp and a good and simple mail server to use.
the third issue is that i would like to be able to simply upload a website from the test server to the remote server and have it work straight away. I think this is the whole point of a test server but I cant seem to be able to use a relative path in my php code below(header routine):
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "TJHuntington@gmail.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://localhost/mywebsite/thankyou.html" );
Any help greatly appreciated,