php-windows Digest 13 Sep 2001 14:05:22 -0000 Issue 752
Topics (messages 9334 through 9341):
Re: problem!
9334 by: Jean Philippe Reis
9337 by: Alain Samoun
Fast Template and PHP Varibles
9335 by: Chris Burwell
Re: Closing Excel using DCOM and Release()
9336 by: Alain Samoun
Re: Problem with Sablotron extention for Windows
9338 by: J Wynia
"Search Engine friendly" URLs (/ instead of ? or &) not working in CGI mode
9339 by: Jobarr
Re: Expired PDFLib
9340 by: Daniel Beulshausen
IIS 5.1 error
9341 by: Sergey Zorchenko
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]
----------------------------------------------------------------------
So am I.
"Seberrios" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm getting an error mesaage trying to run PHP .
>
>
>
>
If you need help, you better give us more info ;)
Alain
On Wed, Sep 12, 2001 at 10:51:53PM +0100, Jean Philippe Reis wrote:
> So am I.
> "Seberrios" <[EMAIL PROTECTED]> escreveu na mensagem
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I'm getting an error mesaage trying to run PHP .
> >
> >
> >
> >
>
>
>
> --
> 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]
Is anyone here familiar with the FastTemplate class for PHP? If so maybe you
can help me. All i want to do is print a PHP varibles value out when my
template is phrased. I will give you an example. When I make a form in the
action="" part It usually reads action=\"$PHP_SELF\". Now that i have
switched to fasttemplate it lookis like this in my template file
action="$PHP_SELF". This as I have found does not work. I have tryed
assigning the $PHP_SELF in to fast template varible, but that does not work.
Any ideas? All Help is greatly appreciated!
Here is the address for the excel class:
http://phpclasses.upperdesign.com/browse.html?package=86
Look at the functions and example, you have several errors in your script:
$workbook should use \\ or / as dir seperator.
sheet1 is the default name, use something else for a new sheet.
Also: Delete all the excel processes, if any,from your processes list.
Alain
On Tue, Sep 11, 2001 at 08:29:55AM +0100, [EMAIL PROTECTED] wrote:
>
>
>
>
> Thanks again - I've looked at your class as suggested (this was where I got the
>original example from!)
>
> Unfortunately I still seem to get the same problem - the instance of Excel will not
>close on exit. The code reads the data in cell 11,5 of the Excel file fine - it's
>ALL OK, I just can't get the Quit function to release the app!
> Have you any idea why this happens and how I can fix it? I've tried on several
>different machines with the same result.
> Here is the code I've used ..
>
> <?php
> echo "
> <HTML><HEAD><TITLE>Processing Form</TITLE></HEAD><BODY BGCOLOR=\"#D5D5AB\">
> <h1>This is a test</h1>";
> $xlApp = new COM("Excel.Application") or Die ("Did not connect");
> $workbook = 'e:\wwwroot\temp\xxx.xls';
> $wkb = $xlApp->Workbooks->Open($workbook) or Die ("Did not open");
> $sheets = $wkb->Worksheets("Sheet1");
> $cell = $sheets->Cells(11,5);
> print "Cell Value = {$cell->value} <BR>";
> $xlApp->ActiveWorkbook->Close("False");
> $xlApp->Quit;
> $xlApp = null;
> echo "</body></html>";
> ?>
>
> ----Original Message-----
> From: "Alain Samoun" <[EMAIL PROTECTED]>
> Sent: 10 September 2001 22:36
> To: "Jeff Waldock" <[EMAIL PROTECTED]>
> Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: [PHP-WIN] Closing Excel using DCOM and Release()
>
> Well, to close your Excel App, you will use:
> xlApp->quit;
> Talk about consistency from M$ ;)
> For Excel, you may want to have a look at my class:
> http://www.phpbuilder.com/columns/alain20001003.php3
> It's becoming old now, but still has some value I guess.
> Alain
Here's a tutorial. http://shanx.com/php/xsl/getXsl.htm
Hello, I am running windows 2000, apache 1.3.20, and php 4.0.6. I am trying
to set it up so that I could access my webpage as
http://www.site.com/script/1/2 as opposed to
http://www.site.com/script.php?var1=1&var2=2. I am using a method similar to
the one descriped here:
http://www.evolt.org/article/Search_Engine_Friendly_URLs_with_PHP_and_Apache
/17/15049/index.html.
For some reason, if I use PHP as a CGI and access any script with a "/"
after it (http://www.site.com/script.php/) it causes a 500 error and this
message in the error log: "Premature end of script headers: c:/php/php.exe".
If I access the same URL using PHP as an apache module, I have no problems.
But, there seems to be some memory leaks in the module so I want to to use
the CGI instead.
Does anyone know why it won't work in CGI mode or maybe what I am doing
wrong?
This is my config for the CGI mode:
ScriptAlias /php/ "C:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Thanks!
-Jobarr
At 09:06 12.09.2001 -0500, J Wynia wrote:
>...
>DLL. Is there a php_pdf.dll out there compiled from the free source with
>the time-bomb patch applied?
http://www.php4win.com/ftp/php-4.0.6-Win32-PDF.zip
daniel
--
daniel beulshausen - [EMAIL PROTECTED]
using php on windows? http://www.php4win.com
hi all
my problem is:
i've installed php as isapi filter under winXP's IIS 5.1
all script run ok, but the strange bug appears time-to-time: at END of file
adds strng like
'HTTP/500 Error IIS 5.1....'
error code shown is 0x8001010e
all this crap is adding to the_end_ of file, as plain text output...
I have no idea why it appears.. I can just refresh the page and this string
will appear in.. 1 of 10.. 2 of 10..
5 of 10 times..
WHATS THAT???
:)
--
wbr, mara
mailto: [EMAIL PROTECTED]