Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] fax sent with php




>i would like to know how can i send fax with php.
>
>create text file "fax.txt"

For converting your text to postscript, try a2ps.

>exec("sendfax ... fax.txt");
>
>but if too process create the same file "fax.txt" ....scratch !

See if your system has mktemp :

NAME
      mktemp - make temporary file name (unique)

SYNOPSIS
      mktemp [-q] [-u] template

DESCRIPTION
      The mktemp utility takes the given file name template and overwrites a
      portion of it to create a file name.  This file name is unique and suit­
      able for use by the application.

      [...]

Or maybe PHP has something.




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services