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
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
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
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');
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
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.
http://gtk.php.net/
Can you elaborate on what gtk has to do with making command line dialog boxes?
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List
On Tue, April 19, 2005 2:24 pm, Rory Browne said:
http://gtk.php.net/
Can you elaborate on what gtk has to do with making command line dialog
boxes?
Well, you run it from the command line.
And it makes dialog boxes.
Maybe not the kind of dialog boxes you wanted or whatever, but that pretty
On Thu, April 14, 2005 11:52 pm, Balwant Singh said:
1) first of all i would like to inform you that i have made a PHP script
which also have some amount of
linux shell script in it for converting emails from EVOLUTION to MOZILA
THUNDERBIRD just by executing
this script. if anybody need it,
I don't think you'll find anything in PHP as simple as the shell
script version of dialog, but you may be able to bang something
together like that using ncurses.
Probably handier if your time is more important than the machines, to
just use the shell version using one of the Program Executions
On Friday 15 April 2005 08:52, Balwant Singh wrote:
2) i am also exploring possibilities of using linux dialog boxes (used in
shell scripting) with PHP. has anybody tried it, may please advise me how
to call dialog boxes through PHP in CLI. also please share with me if u
have information on
It's simple. Find your php binary (or build one if you don't have
one)... I think 'which php' will find it.
Then, write a php file with '#!/path/to/php -q' at the top. Use any one
of the various execution methods to run your programs. Done!
I've been doing this for quite a while. I find it
Is there any special switches I have to pass to the compile of php to create
the php binary?
Kevin
- Original Message -
From: Ben Bleything [EMAIL PROTECTED]
To: 'Kevin Pratt' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 11:03 AM
Subject: RE: [PHP] PHP as a shell
to
the compile of php to create
the php binary?
Kevin
- Original Message -
From: Ben Bleything
[EMAIL PROTECTED]
To: 'Kevin Pratt' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, July 09, 2001 11:03 AM
Subject: RE: [PHP] PHP as a shell script
It's simple. Find your php
Just don't compile it with apache or some other web server. It should
create the executable then.
Tyler
- Original Message -
From: Kevin Pratt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 12:01 PM
Subject: [PHP] PHP as a shell script
Can anyone direct me to a
dont use --with-apxs or --with-apache
./configure --my-options
make
make test
make install
that should do it.
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 3:07 PM
To: Kevin Pratt; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP as a shell
Yep all done thanks...
Kevin
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 1:26 PM
Subject: RE: [PHP] PHP as a shell script
dont use --with-apxs or --with-apache
./configure --my-options
make
make test
make install
17 matches
Mail list logo