Jghostar Company pressed the little lettered thingies in this order...

> Hello
> 
> 1- Is there a way to specify the path of sendmail in our php script before
> trying to use mail() function?
> 

That setting is in the php.ini file.  Is there a reason that you would need 
to tell it to use an "alternate" path to sendmail?

> 2- Is there a way to run a command line from inside PHP? (something like
> perl)?
> 

exec() or system() (just like perl).
http://www.php.net/manual/en/function.exec.php
http://www.php.net/manual/en/function.system.php

If you're familiar with perl, I think that you'll find many of the same 
function names and language constructs in PHP.

Have fun...

Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Innovative Application Ideas
Meeting cutting edge dynamic
web site needs since the 
dawn of Internet time (1995)

Business Applications:
http://www.AppIdeas.com/

Open Source Applications:
http://open.AppIdeas.com/

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to