Re: [PHP] PHP to access shell script to print barcodes

2010-03-24 Thread Peter Lind
The problem you're getting is that your web-server interprets the request as a request for a normal file and just sends it - in effect, you're not outputting the postscript file, you're just sending the .php file. Normally, you'll only get your php executed if the file requested is a .php or

Re: [PHP] PHP to access shell script to print barcodes

2010-03-23 Thread Richard Quadling
On 23 March 2010 05:48, Jochem Maas joc...@iamjochem.com wrote: Op 3/23/10 3:27 AM, Rob Gould schreef: I am trying to replicate the functionality that I see on this site: http://blog.maniac.nl/webbased-pdf-lto-barcode-generator/ Notice after you hit SUBMIT QUERY, you get a PDF file with a

Re: [PHP] PHP to access shell script to print barcodes

2010-03-23 Thread Rob Gould
I love the idea of using PHP to insert data into Postscript. I'm just not sure how to make it happen. The good news is that I've got barcodes drawing just the way I need them: http://www.winecarepro.com/kiosk/fast/shell/barcodemerge.ps The bad news is that's all hard-coded Postscript. I'd

Re: [PHP] PHP to access shell script to print barcodes

2010-03-23 Thread Peter Lind
You can create a .php script that sets a proper header to make the browser download the file rather than display it. That also allows you to set the filename for the download. What you'd need to do is include something like: header(Content-Disposition: attachment; filename: 'barcodemerge.ps');

Re: [PHP] PHP to access shell script to print barcodes

2010-03-23 Thread Rob Gould
Well, that did something, and it does sound like it should work. I've scoured the web and haven't found anyone with code that does what I'm trying to do. I've got a working, hardcoded Postscript file here: http://www.winecarepro.com/kiosk/fast/shell/barcodemerge.ps But I need to somehow serve

Re: [PHP] PHP to access shell script to print barcodes

2010-03-22 Thread Jochem Maas
Op 3/23/10 3:27 AM, Rob Gould schreef: I am trying to replicate the functionality that I see on this site: http://blog.maniac.nl/webbased-pdf-lto-barcode-generator/ Notice after you hit SUBMIT QUERY, you get a PDF file with a page of barcodes. That's _exactly_ what I'm after.

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/2/07 11:12 AM, Daniel Brown [EMAIL PROTECTED] wrote: Rahul, I believe all of the modern MacOS variants still use the *nix-style (due to being based on BSD) rc.d startups, right? If so: sudo echo sudo -u www mount_smbfs -f 0777 -d 0777 //usr:[EMAIL PROTECTED]/share

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Nathan Nobbe
On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking for an automated mounting solution. look for /etc/fstab -nathan

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking for an automated mounting solution. look for

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Nathan Nobbe
On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: perhaps if you google around on something like mac os x /etc/fstab something useful will turn up. im sure there is an alternative mechanism to mount things at boot time on that system. -nathan For whatever reason, when I first

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Daniel Brown
On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I guess I can officially consider this case closed with all problems solved! Thanks All! We are the geniuses that are the core PHP community. Hear us roar! -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 4:07 PM, Daniel Brown [EMAIL PROTECTED] wrote: We are the geniuses that are the core PHP community. Hear us roar! :D You know the funniest thing? As my discussion progressed, and the contributions back forth, the problem became evidently little to do with PHP and a whole lot

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Daniel Brown
On 11/2/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: On 11/2/07 8:26 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: Sounds like a clear case of Apache being chroot'ed. This is based off the BSD style setup I believe. Which I believe Mac

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Jason Pruim
On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 hours late there, Pruim! ;-P What can I say? :) Better late then never :P -- Jason Pruim Raoset Inc.

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Jason Pruim
On Nov 2, 2007, at 10:18 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 hours

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Rahul Sitaram Johari
On 11/2/07 11:12 AM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/2/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: That sounds like a good place to look. I actually did figure out a way to make this work. It appears that Apache Web Server did not have enough permissions to read files

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Jason Pruim
On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Rahul Sitaram Johari
On 11/2/07 8:26 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: Sounds like a clear case of Apache being chroot'ed. This is based off the BSD style setup I believe. Which I believe Mac uses, So, I would check your startup line for Apache. I did

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Daniel Brown
On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 hours late there, Pruim! ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Give a man a fish, he'll eat for a day. Then

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-02 Thread Daniel Brown
On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim [EMAIL PROTECTED] wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 hours late there, Pruim! ;-P What can I say? :)

[PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Leopard. I don't know what has changed where, in httpd.conf or php.ini

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Robert Cummings
On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Leopard. I

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Daniel Brown
On 11/1/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 9:46 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 10:22 AM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/1/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: 1.) Did you restart Apache after making any changes to php.ini or httpd.conf? 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's EXACTLY the same? 3.) Is any part of that symlinked, and if so, does Apache

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 10:41 AM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: 1.) Did you restart Apache after making any changes to php.ini or httpd.conf? 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's EXACTLY the same? 3.)

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: On 11/1/07 10:41 AM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: 1.) Did you restart Apache after making any changes to php.ini or httpd.conf? 2.) The path is

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 12:17 PM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Well FollowSymLinks was present in my httpd.conf, and it's definitely not the problem. I think the problem is the fact that on in Panther, I was able to specify Apache Web

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Is there a Terminal way of figuring out the UID/GID of something like admin, apache etcetera? PS: I know it's going OT! Yes, you'll find those UIDs in /etc/passwd. For example:

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 12:43 PM, Daniel Brown [EMAIL PROTECTED] wrote: On 11/1/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Is there a Terminal way of figuring out the UID/GID of something like admin, apache etcetera? PS: I know it's going OT! Yes, you'll find those UIDs in

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-01 Thread Jim Lucas
Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Leopard. I don't know what has changed where

[PHP] PHP, MS Access Transactions

2005-08-13 Thread Pablo Gosse
intentionally submit a malformed query as part of a series of inserts, the ADOdb transaction supposedly rolls back, but when I look at the database, the inserts carried out before the error occurs are still there. Does anyone know if it's possible to use transactions with Access via PHP? Cheers

[PHP] PHP and Access

2005-02-25 Thread Bruno Santos
Hello. I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP to fecth values from an access database ?? cheers Bruno Santos -- Say no to software patents www.nosoftwarepatents.com/ -- [EMAIL PROTECTED

Re: [PHP] PHP and Access

2005-02-25 Thread Matt M.
I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP to fecth values from an access database ?? http://us4.php.net/odbc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] PHP and Access

2005-02-25 Thread Jay Blanchard
[snip] I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP to fecth values from an access database ?? [/snip] http://us2.php.net/odbc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] PHP and Access

2005-02-25 Thread Richard Lynch
Bruno Santos wrote: I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP to fecth values from an access database ?? Sure! You can Google for PHP MS-Access and find a ton of info. I'm pretty sure

[PHP] PHP with Access DB without ODBC

2004-09-01 Thread Juan Torres
Hello, how can i connect php with an access db. I need to do it without use ODBC. Thanks, Juan Torres. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP encounters Access Violation

2004-03-19 Thread Ben Ramsey
What does this error mean? PHP has encountered an Access Violation at 0177A8B4 I get it intermittently from pages in phpOpenTracker that call the jpgraph functions. It's just a blank white page with that error, and that doesn't help me out at all. I'm running Windows Server 2003/IIS 6

[PHP] PHP can access the access database ??

2002-06-03 Thread RoyD
php can access the microsoft access database ? what command the connection ? Roy Daniel , ST IT Developer System - PT BERCA COMPUTEL My E-mail : [EMAIL PROTECTED] and : [EMAIL PROTECTED] / [EMAIL PROTECTED] My ICQNumber : # 103507581 My Phone Cell : 0816-1192832 My Web site: http://www22

Re: [PHP] PHP can access the access database ??

2002-06-03 Thread Analysis Solutions
On Tue, Jun 04, 2002 at 12:00:49PM +0700, [EMAIL PROTECTED] wrote: php can access the microsoft access database ? what command the connection Look at the ODBC functions in the manual. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution

[PHP] php with access

2002-05-14 Thread S.Sule
Hello PHP wizards, Need some help on connection with 2 different databases. My project included refering to 2 different databases, one in mysql and other in MS-Access. It was done normally,and thing is working perfectly. The problem arised when a need came to access the same database via

Re: [PHP] PHP can't access txt files (but TCL can..??)

2002-05-11 Thread Lars Torben Wilson
On Sat, 2002-05-11 at 14:53, Phil Powell wrote: TCL 1, PHP 0 Ok, I am frustrated.. here is my code and this portion has to be done in PHP. I have a frame that can only be accessed if 1 of 2 things occur: 1) if $HTTP_REFERER has a specific value 2) if your nickname passed in the query

[PHP] PHP can't access txt files (but TCL can..??)

2002-05-11 Thread Phil Powell
TCL 1, PHP 0 Ok, I am frustrated.. here is my code and this portion has to be done in PHP. I have a frame that can only be accessed if 1 of 2 things occur: 1) if $HTTP_REFERER has a specific value 2) if your nickname passed in the query string is found in the existing nicknames.txt file found

Re: [PHP] PHP can't access txt files (but TCL can..??)

2002-05-11 Thread Phil Powell
] PHP can't access txt files (but TCL can..??) On Sat, 2002-05-11 at 14:53, Phil Powell wrote: TCL 1, PHP 0 Ok, I am frustrated.. here is my code and this portion has to be done in PHP. I have a frame that can only be accessed if 1 of 2 things occur: 1) if $HTTP_REFERER has a specific

[PHP] PHP + Microsoft Access

2002-04-22 Thread Tom Mikulecky
Hello I have to interface an MSAccess database and Apache server on a linux box thru PHP. The only way I found to do that is to use ODBC with some specific drivers (I tried Openlink). This solution needs sort of server running on a Windows station, it serves requests to the Access database file.

RE: [PHP] PHP with Access?

2001-09-04 Thread Andrew Hill
of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data Integration Technology Providers -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 10:02 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP with Access? I am

Re: [PHP] PHP with Access?

2001-08-31 Thread EDUMEXICO
Try upsizer, simple but work fine. On Thu, Aug 30, 2001 at 10:02:03AM -0400, Jeff Lewis wrote: I am using mySQL with all of my stuff but a friend who started writing some files for our online baseball league was using Access as his database. We tried running it on my server but it returns an

[PHP] PHP with Access?

2001-08-30 Thread Jeff Lewis
I am using mySQL with all of my stuff but a friend who started writing some files for our online baseball league was using Access as his database. We tried running it on my server but it returns an error that says undefined function odbc_connect. Now my questions, can I get this to work on a

Re: [PHP] PHP+MS Access and/or MS SQL

2001-04-27 Thread Ivan Porro
to phpbuilder.net. Alternatively, just send me an email =) Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT) From: John Monfort [EMAIL PROTECTED] To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PHP+MS Access and/or MS SQL

RE: [PHP] PHP+MS Access and/or MS SQL

2001-04-27 Thread Andrew Hill
Subject: PHP+MS Access and/or MS SQL Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John Monfort_ _+---+_ P E P I E D E S I G N S

Re: [PHP] PHP+MS Access and/or MS SQL

2001-04-27 Thread Ivan Porro
PROTECTED] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PHP+MS Access and/or MS SQL Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John

RE: [PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread Andrew Hill
] Subject: [PHP] PHP+MS Access and/or MS SQL Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John Monfort_ _+---+_ P E P I E D E S I G N S

RE: [PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread John Monfort
PM To: [EMAIL PROTECTED] Subject: [PHP] PHP+MS Access and/or MS SQL Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John Monfort_

[PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread kelvin
Access and/or MS SQL Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world

[PHP] PHP+MS Access and/or MS SQL

2001-04-25 Thread John Monfort
Hello everyone, I'm looking for information on PHP+ MS Access , and PHP+MS SQL. Any recommendations? Thx in advance! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you