Link to home
Start Free TrialLog in
Avatar of carchitect
carchitect

asked on

How to send Fax using PHP

my question is there in title
Avatar of ag0ny
ag0ny

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.
Avatar of carchitect

ASKER

thx for the help
i got this softwar on hotscripts and i will try to use it...
i am on linux....
regards
how to use it
That's a different question. :)
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....
I don't know free solutions for Win32.
wel..thx for the reply..
but at last i have to put it on linux only...so how to use
hylafax do you know
ASKER CERTIFIED SOLUTION
Avatar of Richard Quadling
Richard Quadling
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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...
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.
o thx alot
could you please post the solution you came up with ?
sorry as i just wanted to close didn't find answer