I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the FPDF library, but printing the created file is a bear. For Windows XP and Windows 7 servers, the one open -source solution which works is to use the PDFBOX java library. Here are the steps. 1) Download the latest java pdfbox binary: http://www.apache.org/dyn/closer.cgi/pdfbox/1.7.1/pdfbox-app-1.7.1.jar and put it in a directory. I …

Member Avatar
Member Avatar
+6 forum 14

I need to prevent direct access of all the php files but allow only files pass.php how can i do that <Files ~ "\.php$"> Order allow,deny Deny from all Allow from 127.0.0.1 </Files> the code only allow access to localhost. now what if i want to allow access only to https://www.eexample.com/record/pass.php is it like this <Files ~ "\.php$"> Order allow,deny Deny from all Allow from https://www.example.com/record/pass.php </Files>

Member Avatar
Member Avatar
+0 forum 5

Good day expert, am trying to direct user to a web page if login is okay in python but does not work [CODE] if username==okay and password == okay: # direct to success_page.py print "Location: success_page.py\r\n"; else: direct to errorpage.py [/CODE] the code does not work as the web page is not word message and cannot be printed. any help thanks

Member Avatar
Member Avatar
+0 forum 2

Hello In My Visual C# 2008.Its References has not Direct show in .Net Reference . Tell Me how I can Install Direct show library in c sharp.net

Member Avatar
Member Avatar
+0 forum 2

Hi, I am having a problem in paypal integration.I have integrated the paypal payment method successfully but the values are inserted in the database when the user returns from the paypal back to the website.I need to make a script that when the payment occurs the values are returned to my website even if the user don't come back to the website so I can insert the values to database.I have searched about paypal IPN but I can not understand.Please Help. Thanks in advance

Member Avatar
Member Avatar
+0 forum 2

I'm trying to make some code that directly interfaces with the VGA card(in real mode), I know the ports(0x3c6, 0x3c7, 0x3c8, 0x3c9) I need to use to output data on the screen. My code is this: [CODE] mov ax, 0 out 0x3c8, ax ;plot pixel at location 0 mov ax, 4 out 0x3c9, ax ;output color index 4 to screen [/CODE] First off this code doesn't work, second, I get warnings during assembling (with nasm) it. The warnings are all the same this: "warning: unsigned byte value exceeds bounds", I can't seem to fix this what may be wrong? Ports: …

Member Avatar
Member Avatar
+0 forum 15

Many companies bring products to market and they either go straight to an e-commerce strategy or they build up to an e-commerce strategy. But is there a time when you decide that you have gotten all you can out of an e-commerce strategy and move that product back to a direct marketing strategy of stocked shelves in brick & mortar environments?

Member Avatar
+0 forum 0

The End.