SoulHunter
Fri 29 December 2006, 10:42 am GMT +0100
I have downloaded olafs SIDN contract script but there is one problem wich i cant get solved
when you press on MAAK it shows your Contract but that isnt right it has to ask you t download it...
how can i solve this?
olaf
Fri 29 December 2006, 01:33 pm GMT +0100
Hi,
all you need to change is this variable:
(example file)
$contract->preview_pdf = "yes"; // use "no" to create the file without a preview (default/empty = yes)
btw. by demo has the same settings like the demo in my zip on my homepage (be sure your using the version 1.14)
SoulHunter
Fri 29 December 2006, 03:26 pm GMT +0100
Ok and can i do that it saves it on the server?
olaf
Fri 29 December 2006, 03:45 pm GMT +0100
Ok and can i do that it saves it on the server?
set the var to "no" and create a dyn. link that people can download the pdf from the server.
SoulHunter
Mon 1 January 2007, 10:54 am GMT +0100
its weard when i do YES is saves on the server when i do NO it shows it more doesnt it do
olaf
Mon 1 January 2007, 11:01 am GMT +0100
its weard when i do YES is saves on the server when i do NO it shows it more doesnt it do
Maybe this var name is not clear but its all about setting inside the FPDF class...
SoulHunter
Tue 2 January 2007, 09:57 am GMT +0100
Nope it is still the same could you make a link that takes automaticly the name of the PDF? so people can download it from a link
olaf
Tue 2 January 2007, 10:16 am GMT +0100
Nope it is still the same could you make a link that takes automaticly the name of the PDF? so people can download it from a link
the filename is domein.nl.pdf and is saved in the same folder where your script is saved
SoulHunter
Wed 3 January 2007, 04:10 pm GMT +0100
OH ReALY I DIDINT KNOW THAT! :P
i know how its called but i would like to have link that automaticly takes it out when je order something
olaf
Wed 3 January 2007, 07:34 pm GMT +0100
OH ReALY I DIDINT KNOW THAT! :P
i know how its called but i would like to have link that automaticly takes it out when je order something
you didn't know how to create a dyn. link with PHP?
SoulHunter
Thu 4 January 2007, 08:46 am GMT +0100
Yep can you help/
Nikolas
Thu 4 January 2007, 09:00 am GMT +0100
Soulhunter : Maybe you need to read a book about php or try to google for a newbie tutorial.
On the other hand, you can always hire Olaf to write the customization you need for you ;)
SoulHunter
Thu 4 January 2007, 09:50 pm GMT +0100
i didint ask you anything and atm im bussy with my customer panel so