php-windows Digest 15 Jul 2001 11:12:19 -0000 Issue 652
Topics (messages 8323 through 8327):
Re: Make a CD with Apache & PHP
8323 by: Ben Bleything
8324 by: Hugh Bothwell
Re: Interbase/PHP/Apache implimentation
8325 by: John Lim
Is cpdf broken in v4.0.6?
8326 by: Steen Rab�l
www.oosha.com/phpdev/ - mailing list
8327 by: Brett Shaw
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
How does one do this?
-----Original Message-----
From: alain samoun [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 1:43 PM
To: elias; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Make a CD with Apache & PHP
php to exe ;)
-----Original Message-----
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 8:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Make a CD with Apache & PHP
how you mean make an exec?
php to exe?
or htm to exe ?
"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes, you can make an exec file, you won't need Apache. If that what
you
> want?
> Alain
>
> On Fri, Jul 13, 2001 at 08:33:25AM +0200, Rafa Borges wrote:
> > Hello. I have done a web using PHP and now I want to store it on a
CD
with
> > all the funcionality (read from a file and use a data base odbc or
mysql).
> > How can I do this ? Can Apache and PHP work on a CD without he
tipical
> > instalation for Windows ?
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Basically put: to use mysql you must have mysql installed, and to run php
from a browser it must be pulled through a web server - apache or whatever -
with PHP installed.
You may be able to install MySQL and a small server with PHP to the CD, then
write a front end which calls them when needed and shuts them down again
when done... but I wouldn't know where to start, and I am kind of leery of
possible interference with existing server set-ups.
"Rafa Borges" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello. I have done a web using PHP and now I want to store it on a CD with
> all the funcionality (read from a file and use a data base odbc or mysql).
> How can I do this ? Can Apache and PHP work on a CD without he tipical
> instalation for Windows ?
Hi Jordan
I have been trying to use interbase with the IIS sapi unsuccessfully (PHP
4.0.6). I suspect that it is not thread-safe as CGI works fine.
It really is up to someone who can debug the php_ibase.dll source to fix
this as it apparently not an apache specific problem.
Regards, john
"Jordan" <[EMAIL PROTECTED]> wrote in message
00fe01c10bc4$b6470dd0$0a01a8c0@cu">news:00fe01c10bc4$b6470dd0$0a01a8c0@cu...
> Okay...
> ..I have been trying (and failing) to get Interbase to work with PHP,
served up by Apache on a
> Win2K machine. Through a lot of headache and the process of elimination,
I have succeeded in
> getting an SQL response from PHP, after eliminating any instructions for
Apache to load the PHP
> module - using only the CGI interface.
>
> So, if I understand things, my problem has been that I've been attempting
to get Interbase support
> from the PHP module for Apache, which won't work for one reason or
another.
> If true, this comes as great relief, because I was beating my head against
the wall trying to figure
> out where my php.ini file was misconfigured....
>
> So my question is this: Can DBMS support be enabled using the
extension=php_interbase.dll directive
> in the php.ini file (as opposed to MySQL, where support is built in) ONLY
while in CGI mode? Will
> the distribution version of php4apache.dll not look at the php.ini file,
to enable Interbase
> support?
>
> If that is the case, is there anywhere one might find a version of the
php4apache.dll file which
> enables Interbase support?
> I will use CGI if I must, but my preference is to use the Apache
Module....
>
> Thanks in advance,
>
> --Jordan
>
Hi
I've just started to try using the cpdf, and I was wondering if the cpdf is broken in
v4.0.6, the following is from the manual, and produce a empty pdf ;-((
<?php
$cpdf = cpdf_open(0);
cpdf_page_init($cpdf, 1, 0, 595, 842);
cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
cpdf_begin_text($cpdf);
cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding");
cpdf_set_text_rendering($cpdf, 1);
cpdf_text($cpdf, "Times Roman outlined", 50, 750);
cpdf_end_text($cpdf);
cpdf_moveto($cpdf, 50, 740);
cpdf_lineto($cpdf, 330, 740);
cpdf_stroke($cpdf);
cpdf_finalize($cpdf);
Header("Content-type: application/pdf");
cpdf_output_buffer($cpdf);
cpdf_close($cpdf);
?>
What am I missing ?
Thanks in advance
Best
Steen
Oosha.com's PhpDEV has got a mailing list if you would like to joing please
see below: -
To subscribe to the mailinglist, simply send a message with the word
'subscribe' in the Subject: field to the -request address of that list
To: [EMAIL PROTECTED]
Subject: subscribe
To subscribe to the digest, simply send a message with the word 'subscribe'
in the Subject: field to the following address.
To: [EMAIL PROTECTED]
Subject: subscribe
To send email to the mailinglist, write to the following address:
To: [EMAIL PROTECTED]
To unsubscribe from the mailinglist, simply send a message with the word
'unsubscribe' in the Subject: field to the -request address of that list
To: [EMAIL PROTECTED]
Subject: unsubscribe
To unsubscribe from the digest, write a email like this:
To: [EMAIL PROTECTED]
Subject: unsubscribe
[EMAIL PROTECTED]
[EMAIL PROTECTED]