Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual server compilation

Status
Not open for further replies.

alsaffar

Programmer
Oct 25, 2001
165
KW
Q1. How can I use the mail command:

mail($To, $Subject, $Message, "From: my@mail");

While I'm to the Apache Virtual server via my local PC "means I'm not connected to the net" and I want to see the result of the mail command localy, what should I do?

Q2. How can I test the the set cookie command:

setcookie ("CkUserName", "$HTTP_POST_VARS[signUserName_POST]");

while I'm connected to the net or localy, because I searched in the temp folder in windows and I couldn't find that cookie, so how can I test that the set cookie command is working fine?

and ThAnK YoU VeRy MucH ;)

OS: Windows XP Pro
MySQL: 3.23.51
PHP: 4.2.2
Apache: 2.0.4

Ali
 
1) You would have to get sendmail or something similar to send the emails locally.
2) Cookies should work locally, did you check in the temp folder or the Temporary internet files folder? (The names might have changed, I haven't used XP that much, but those are the names in Windows 9x) //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top