Re: [PHP] mail function

2007-08-02 Thread Siavash Miri
Check to see if you can send mail out of your server aside from the php 
script. Also, check the logs: error_log, maillog, messages  to see what's 
wrong with the script or the mail function. I'm not sure if these logs exist 
on IIS or where they are.


Siavash

- Original Message - 
From: Animesh Joshi [EMAIL PROTECTED]

To: php-general@lists.php.net
Sent: Wednesday, August 01, 2007 3:20 AM
Subject: [PHP] mail function


I've installed IIS (Internet information services on my windows XP machine. 
I've also installed php 5.0 from www.php.net. I'm trying to use the mail() 
function in a simple php script which uses a html form. However, i'm not 
able to send the mail using the mail($to, $subject, $message, $headers); 
function. I wonder what's wrong. Please help, i'm new to php.


Animesh Joshi 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] using CURL or something similar to click on a link

2007-06-25 Thread Siavash Miri

Hi All,


I just recently started writing a php script that would get some search
results from some other sites and display them.

I believe the only php way to do this is using CURL. am I correct?? or is
there a more efficient way to do this?



Anyways, i got it working fine with curl, except one site where I need to
click on a link before doing the search. I can't find a way to click on a
link using CURL. is this possible?


Thanks in advance,
Siavash