carchitect
asked on
How to send Fax using PHP
my question is there in title
You can't do it directly from PHP. You will have to call an external fax program. If you're in a UNIX environment, hylafax will do the job nicely. You can use PHP to preprocess all the parameters you need, and then pass all the required information to the hylafax program.
ASKER
thx for the help
i got this softwar on hotscripts and i will try to use it...
i am on linux....
regards
i got this softwar on hotscripts and i will try to use it...
i am on linux....
regards
ASKER
how to use it
That's a different question. :)
ASKER
ha ha
not a different question, if you can it will be helpfull.
well i am on window's platform for testing but will be uploading on linux...
so asking how to make setup on windows...
i tried but getting rpm files only...
is there any windows binary availabe....
not a different question, if you can it will be helpfull.
well i am on window's platform for testing but will be uploading on linux...
so asking how to make setup on windows...
i tried but getting rpm files only...
is there any windows binary availabe....
I don't know free solutions for Win32.
ASKER
wel..thx for the reply..
but at last i have to put it on linux only...so how to use
hylafax do you know
but at last i have to put it on linux only...so how to use
hylafax do you know
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well Thx for the reply RQuadling
but i am unable to get your idea completely...
my client has got a website and we generate a workorder for him , he wants to fax it, so can i use hylafax...
but i am unable to get your idea completely...
my client has got a website and we generate a workorder for him , he wants to fax it, so can i use hylafax...
Sorry. I missed the bit "for testing".
I think (though I may be wrong) that hylafax is not a PHP component, but a server service.
Once installed, you would use ...
exec('sendfax -f "myname@mydomain.com" -R -r "faxsubject" -c "coverpage comments" -x "Recipient's company" -d "Recipient@1234567" tofax.ps');
Maybe.
(http://www.hylafax.org/howto/faxing.html#ss5.1)
Richard.
I think (though I may be wrong) that hylafax is not a PHP component, but a server service.
Once installed, you would use ...
exec('sendfax -f "myname@mydomain.com" -R -r "faxsubject" -c "coverpage comments" -x "Recipient's company" -d "Recipient@1234567" tofax.ps');
Maybe.
(http://www.hylafax.org/howto/faxing.html#ss5.1)
Richard.
ASKER
o thx alot
could you please post the solution you came up with ?
ASKER
sorry as i just wanted to close didn't find answer