I have a (currently) command-line php script, once I get it to work I'll convert it to a web script. The script uses information from my database to produce a LaTeX file that is converted using pdflatex to a PDF file containing invoice information and membership application forms.
The source LaTeX file is properly created and no errors are generated by the
Code: Select all
$safeFile = escapeshellarg($path)
exec("pdflatex $safeFile");I've echo'd $safeFile and it shows the correct path.
I've used a similar script in a different directory and its worked. I've been working on this for several hours and I'm out of ideas. Can anyone offer some thoughts to help unstick my brain?