[PHP] SMTP Authentication with PHP

2004-04-15 Thread Mike Knittel
My SMTP server requires authentication when sending mail. How do I send SMTP authentication information when using the PHP mail() function? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using JavaScript variables in PHP

2003-11-20 Thread Mike Knittel
How does one go about using a JavaScript variable with PHP code. I have a function in JavaScript that takes a single input parameter (ID). I want to use this ID variable as the value on the where clause of a database query. Example: "select * from somedatabase where field=ID" Can this be done,