Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using PHP to send a fax?

9 views
Skip to first unread message

laredo...@zipmail.com

unread,
Oct 18, 2007, 6:15:39 PM10/18/07
to
Hi,

I'm using PHP 4.4.4 with MySQL 5.0. Does anyone have any experience
and/or recommendations about PHP libraries to use that will allow one
to send a fax from our servers? The fax would contain order receipt
information from a sale.

Thanks, - Dave

The Natural Philosopher

unread,
Oct 18, 2007, 11:22:12 PM10/18/07
to
You don't really need a library: you want a fax send program to
interface to.

Check out hylafax, if on a *nix platform.

http://www.hylafax.org

For text, thats all you need.

If you want to send images, you need to output tiff or postcript.

See the PECL PS library for that.

If you are on a windows platform upgrade to linux. ;-)

Sanders Kaufman

unread,
Oct 19, 2007, 3:39:35 PM10/19/07
to
"The Natural Philosopher" <a@b.c> wrote in message
news:119276413...@demeter.uk.clara.net...

> laredo...@zipmail.com wrote:
>> Hi,
>>
>> I'm using PHP 4.4.4 with MySQL 5.0. Does anyone have any experience
>> and/or recommendations about PHP libraries to use that will allow one
>> to send a fax from our servers? The fax would contain order receipt
>> information from a sale.
>>
>> Thanks, - Dave
>>
> You don't really need a library: you want a fax send program to interface
> to.
>
> Check out hylafax, if on a *nix platform.
> http://www.hylafax.org

If you're interested in that kind of thing, try The Internet Phone company:
http://www.tpc.int

Note the .INT domain.


shror

unread,
Oct 22, 2007, 9:52:59 AM10/22/07
to
On Oct 19, 9:39 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> "The Natural Philosopher" <a...@b.c> wrote in messagenews:119276413...@demeter.uk.clara.net...

>
> > laredotorn...@zipmail.com wrote:
> >> Hi,
>
> >> I'm using PHP 4.4.4 with MySQL 5.0. Does anyone have any experience
> >> and/or recommendations about PHP libraries to use that will allow one
> >> to send a fax from our servers? The fax would contain order receipt
> >> information from a sale.
>
> >> Thanks, - Dave
>
> > You don't really need a library: you want a fax send program to interface
> > to.
>
> > Check out hylafax, if on a *nix platform.
> >http://www.hylafax.org
>
> If you're interested in that kind of thing, try The Internet Phone company:http://www.tpc.int
>
> Note the .INT domain.

these are websites offering the service of faxing but what
laredo...@zipmail.com means and am interested in his question is
to be able to create a system on our website to send fax from your
website.

shror

The Natural Philosopher

unread,
Oct 22, 2007, 3:49:13 PM10/22/07
to

Then use hylafax

As I said.

>
> shror
>

Sanders Kaufman

unread,
Oct 22, 2007, 5:21:55 PM10/22/07
to
"shror" <shah...@gmail.com> wrote in message
news:1193061179.3...@e34g2000pro.googlegroups.com...

MY website?
That's a weird way to phrase it - and not very explanatory.
The wording doens't make any sense - in part because websites don't send
faxes.

It's like the lady who asked me to "install Microsoft on my mouse" or the
fellow who wanted me to "put the Internet on my computer".
Indeed - the way you asked it makes it sound like you want to control MY
modem - and I ain't gonna letcha.

There are a LOT of telephony solutions out there - but the hard part is
often asking the question.
Can you re-phrase yours to make better sense?

shror

unread,
Oct 23, 2007, 2:38:17 AM10/23/07
to
On Oct 22, 11:21 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> "shror" <shahi...@gmail.com> wrote in message

>
> news:1193061179.3...@e34g2000pro.googlegroups.com...
>
> > On Oct 19, 9:39 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> >> If you're interested in that kind of thing, try The Internet Phone
> >> company:http://www.tpc.int
>
> >> Note the .INT domain.
>
> > these are websites offering the service of faxing but what
> > laredotorn...@zipmail.com means and am interested in his question is

> > to be able to create a system on our website to send fax from your
> > website.
>
> MY website?
> That's a weird way to phrase it - and not very explanatory.
> The wording doens't make any sense - in part because websites don't send
> faxes.
>
> It's like the lady who asked me to "install Microsoft on my mouse" or the
> fellow who wanted me to "put the Internet on my computer".
> Indeed - the way you asked it makes it sound like you want to control MY
> modem - and I ain't gonna letcha.
>
> There are a LOT of telephony solutions out there - but the hard part is
> often asking the question.
> Can you re-phrase yours to make better sense?

ok in rephrasing my question :D I mean
I want to create a form on my website like forms using mail() but to
let the form send to my fax not to my email, is this possible or not
and how to use the hylafax as
The Natural Philosopher recomended.

Thanks and sorry for asking to control your modem :D

shror

The Natural Philosopher

unread,
Oct 23, 2007, 3:14:17 AM10/23/07
to

You prepare a file usg php and then you exec the hylafax module.

If it is text it's as simple as an email.. see hylafax documentation.


> shror
>

shror

unread,
Oct 23, 2007, 3:37:27 AM10/23/07
to

Thanks a lot for your help

but I need one more thing, do I need a special features in my hosting
account, so that I check with my Hosting provider to support it for me
if not found or what I need is just the php to be installed and active
for my hosting account which is already available.

shror

The Natural Philosopher

unread,
Oct 23, 2007, 6:56:06 AM10/23/07
to

Oh. If you are not doing this on your *own* server, all bets are off.

You need a server equipped with a modem, root access and hylafax
software. And your own telephone line.


> shror
>

shror

unread,
Oct 23, 2007, 8:19:20 AM10/23/07
to

oh I understand now this this is really hard work to be done now
Thanks so much for your help, when I get my *own* server I will ask
for your support once more

Thanks a lot

shror

Sanders Kaufman

unread,
Oct 23, 2007, 5:37:14 PM10/23/07
to
"shror" <shah...@gmail.com> wrote in message
news:1193121497....@i13g2000prf.googlegroups.com...

Well - the answer to that one is easy - RTFM.
There are actually a LOT of faxing solutions out there, of which hylafax is
just one.

You just gotta pick one and go with it.


Sanders Kaufman

unread,
Oct 23, 2007, 5:37:14 PM10/23/07
to
"The Natural Philosopher" <a@b.c> wrote in message
news:11931369...@proxy00.news.clara.net...
> shror wrote:

>> but I need one more thing, do I need a special features in my hosting
>> account, so that I check with my Hosting provider to support it for me
>> if not found or what I need is just the php to be installed and active
>> for my hosting account which is already available.
>
> Oh. If you are not doing this on your *own* server, all bets are off.
>
> You need a server equipped with a modem, root access and hylafax software.
> And your own telephone line.

That's not exactly true.
That's why I suggested TPC.int - check it out.

You send an email to something like 555-...@tpc.int and it gets sent via
their network.


shror

unread,
Oct 24, 2007, 2:28:09 AM10/24/07
to
On Oct 23, 11:37 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> "The Natural Philosopher" <a...@b.c> wrote in messagenews:11931369...@proxy00.news.clara.net...

>
> > shror wrote:
> >> but I need one more thing, do I need a special features in my hosting
> >> account, so that I check with my Hosting provider to support it for me
> >> if not found or what I need is just the php to be installed and active
> >> for my hosting account which is already available.
>
> > Oh. If you are not doing this on your *own* server, all bets are off.
>
> > You need a server equipped with a modem, root access and hylafax software.
> > And your own telephone line.
>
> That's not exactly true.
> That's why I suggested TPC.int - check it out.
>
> You send an email to something like 555-1...@tpc.int and it gets sent via
> their network.

Thank you so much Sanders Kaufman
I have checked the TPC.int and checked the email format system and its
really wonderful, and its very easy to configure, its nothing in
configuring just to create a simple form that sends to this great
service.

Thanks again you helped me a lot in figuring this out and giving me
hope in finishing my task in the correct order.

shror

laredo...@zipmail.com

unread,
Oct 24, 2007, 1:04:14 PM10/24/07
to
> shror- Hide quoted text -
>
> - Show quoted text -


shror, and anyone interested, what hosting service/provider are you
using that facilitates the sending of faxes? My current provider,
ICDSoft, will not install the hylafax module and so we're now looking
for someone who already has it installed or can install it for us.

Thanks for any recommendations, - Dave

Sanders Kaufman

unread,
Oct 24, 2007, 1:33:10 PM10/24/07
to
<laredo...@zipmail.com> wrote in message
news:1193245454.4...@v23g2000prn.googlegroups.com...

> shror, and anyone interested, what hosting service/provider are you
> using that facilitates the sending of faxes? My current provider,
> ICDSoft, will not install the hylafax module and so we're now looking
> for someone who already has it installed or can install it for us.

You probably WON'T find one.

I was talking about TPC.int.
It's a free, public, service for sending faxes.


shror

unread,
Oct 25, 2007, 5:00:33 AM10/25/07
to
On Oct 24, 7:33 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> <laredotorn...@zipmail.com> wrote in message

My only concern is that does it support all the world or its for
limited countries.

shror

Sanders Kaufman

unread,
Oct 25, 2007, 11:07:20 AM10/25/07
to
"shror" <shah...@gmail.com> wrote in message
news:1193302833.8...@v3g2000hsg.googlegroups.com...

Limited coverage.


laredo...@zipmail.com

unread,
Oct 25, 2007, 3:27:53 PM10/25/07
to
On Oct 25, 10:07 am, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> "shror" <shahi...@gmail.com> wrote in message

With regards to TPC.int, do you have, or know of, existing APIs that
already hook into there? I assume faxes can be programatically sent?

Thanks, - Dave

Sanders Kaufman

unread,
Oct 25, 2007, 5:40:12 PM10/25/07
to
<laredo...@zipmail.com> wrote in message
news:1193340473....@19g2000hsx.googlegroups.com...

> On Oct 25, 10:07 am, "Sanders Kaufman" <bu...@kaufman.net> wrote:
>> "shror" <shahi...@gmail.com> wrote in message

>> > My only concern is that does it support all the world or its for


>> > limited countries.
>>
>> Limited coverage.
>
> With regards to TPC.int, do you have, or know of, existing APIs that
> already hook into there? I assume faxes can be programatically sent?

PHP's built-in mail() function is all you need.
It's just an email message like any other email message.

Although, you bring up an interesting idea.
I probably could make a kinda feature rich script for it.
Hmmm.


0 new messages