php-windows Digest 1 Jan 2002 07:35:06 -0000 Issue 930

2001-12-31 Thread php-windows-digest-help
php-windows Digest 1 Jan 2002 07:35:06 - Issue 930 Topics (messages 11239 through 11248): Re: Is there a FAQ for this list ? 11239 by: alain samoun Re: Settings per virtual site on IIS ? 11240 by: Shane Caraveo What the hell?!?! 11241 by: LaserJetter Passing by re

[PHP-WIN] Re: Using Exec on windows

2001-12-31 Thread David
> > Laserjetter said something on 30 Dec 2001, in php.windows: > >> WinZip will need parameters to run from the command line for example >> to tell it what file to unzip. Did you include these in the command >> string? WinZip might be waiting for you to press a key or enter some >> information.

[PHP-WIN] Filemanager Problems...

2001-12-31 Thread VivoAnt
I've tried searching on google/yahoo to solve this problem but for some reason I found nothing... Wierd... Anyways ... I'm trying to goto the filemanager page to do stuff but these errors pop up: Warning: SAFE MODE Restriction in effect. The script whose uid is 11219 is not allowed to access

Re: [PHP-WIN] Passing by reference...

2001-12-31 Thread Anthony Ritter
Michael Sims wrote in message: > Yes, that is true. The "tax" function has the ampersand in the argument > list, which means that any variable that you send to it gets passed by > reference. This means that any changes to that variable that occur inside > the function will actually affect the sa

Re: [PHP-WIN] Passing by reference...

2001-12-31 Thread Michael Sims
At 08:51 PM 12/31/2001 -0600, Anthony Ritter wrote: >... >function tax (&$Salary) > { > $Salary= $Salary - (($Salary/100)*20); > return $Salary; > } >$Salary=2500; >echo (tax($Salary)); // This displays $2000 >echo $Salary; // This also di

Re: [PHP-WIN] Passing by reference...

2001-12-31 Thread Anthony Ritter
Michael, The following is the code taken line for line from Wrox - Beginning PHP - on page 204. ... The question really was about the *ampersand* in the argument line which supposedly changes the value of the va

Re: [PHP-WIN] Passing by reference...

2001-12-31 Thread Michael Sims
At 07:37 PM 12/31/2001 -0600, Anthony Ritter wrote: >.. >function tax (&$Salary) > { > $Salary= $Salary - (($Salary/100)*20); > return $Salary; > } >$Salary=2500; >echo $Salary; >?> >.. > >The result in the textbook is 2000

[PHP-WIN] Passing by reference...

2001-12-31 Thread Anthony Ritter
I'm using Windows98 / Apache and looking at a php snippet from Wrox on page 204. It goes like this: .. .. The result in the textbook is 2000 but I'm getting 2500. It says that to pass an argument by reference you *add* an ampe

[PHP-WIN] What the hell?!?!

2001-12-31 Thread LaserJetter
I've just been preparing a site for upload from my local test server to the net and have come accross a php.error.log file which was 13.4Mb! I'm using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading to 4.1 PHP has been creating these error log files all over the place. Does anyone

Re: [PHP-WIN] Settings per virtual site on IIS ?

2001-12-31 Thread Shane Caraveo
Yes, you can use the registry to do per-directory settings. HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values Create keys for each directory, then add the entries. So if you're website is at c:\inetpub\wwwroot, under the above key, add: HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\c

RE: [PHP-WIN] Is there a FAQ for this list ?

2001-12-31 Thread alain samoun
No faq, but an archive at: http://marc.theaimsgroup.com/?l=php-windows&r=1&w=2 A+ Alain -Original Message- From: Olivier Mascia [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 1:33 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Is there a FAQ for this list ? Is there a FAQ for l

php-windows Digest 31 Dec 2001 17:56:14 -0000 Issue 929

2001-12-31 Thread php-windows-digest-help
php-windows Digest 31 Dec 2001 17:56:14 - Issue 929 Topics (messages 11225 through 11238): Mpanel, IIS and win2k server problem 11225 by: Isan Kaiser Re: MySQL problems... 11226 by: VivoAnt Re: Deleting a file under Windows 11227 by: LaserJetter 11228 by: R

RE: [PHP-WIN] Re: Performance tuning #2

2001-12-31 Thread alain samoun
No faq, but an archive at: http://marc.theaimsgroup.com/?l=php-windows&r=1&w=2 A+ Alain -Original Message- From: Peter Illes [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 8:42 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Performance tuning #2 Thanks, Manuel, those are bo

[PHP-WIN] Re: Performance tuning #2

2001-12-31 Thread Peter Illes
Thanks, Manuel, those are both very good ideas that we will make use of. My original problem is simpler than that, though: I'd like to pre-allocate a buffer for the string. Is this possible in PHP? This is possible in both C/C++ and Delphi (with SetLength() in Delphi). The reason for this to hav

Re: [PHP-WIN] problems with domxml and xslt extensions

2001-12-31 Thread Olivier Mascia
Hello, Luca wrote: L> First off, I can't get DOMXML to work. The lines L> L> $doc = xmldoc($this->xml); // (line 26) L> $root = $doc->root(); // (line 27) L> L> raise a parse error: L> L> "Parse error: parse error in d:\...\class.xmltemplate.php on line 27" Whe

Re: [PHP-WIN] error when using IIS 5 and PHP

2001-12-31 Thread Olivier Mascia
Hello, charles wrote: c> I get the following error when trying to test PHP with IIS 5 using tha Isapi c> DLL. Any ideas what is causing it? I'm running PHP 4.1.0/Win32 as ISAPI on IIS 5.0/Win2K and IIS5.1/WinXP without any apparent problems. Have you copied the php4ts.dll to your %SYSTEM% dire

[PHP-WIN] PHP-based authentication on IIS/ISAPI : how to ?

2001-12-31 Thread Olivier Mascia
Hello, It looks like things as described in : do not work at all as described when using PHP 4.1 as ISAPI on IIS. Are there known steps on how to deal correcty with PHP-based authentication on IIS ? -- Olivier Mascia <[EMAIL PROTECTED]> -- P

[PHP-WIN] error when using IIS 5 and PHP

2001-12-31 Thread charles
I get the following error when trying to test PHP with IIS 5 using tha Isapi DLL. Any ideas what is causing it? The HTTP server encountered an unhandled exception while processing the ISAPI Application ' php4isapi!HttpExtensionProc + 0x44 wam!SE_TABLE::ReleaseExtension(class HSE_BASE *) + 0x99

RE: [PHP-WIN] Re: Humor... Was: Mathimatical equations in PHP [This message has nothing to do with PHP and if thats your prime concern, please, delete t his message]

2001-12-31 Thread Asendorf, John
Hey Anders, I recognize humor. You're just not funny. But, never fear, when it comes to pomposity you've got a corner on the market. John -- A sample of Ander's "humor": "Yes, there is naive approach to this: remove every single web page with scripting." "To beging with, why not give t

[PHP-WIN] problems with domxml and xslt extensions

2001-12-31 Thread Luca
First off, I can't get DOMXML to work. The lines $doc = xmldoc($this->xml); // (line 26) $root = $doc->root(); // (line 27) raise a parse error: "Parse error: parse error in d:\...\class.xmltemplate.php on line 27" I'm running PHP 4.1.0 as an Apache module with A

[PHP-WIN] Is there a FAQ for this list ?

2001-12-31 Thread Olivier Mascia
Is there a FAQ for list ? When subscribed to this list, can I post to it through the related news group at news.php.net and set the list itself in no-mail mode ? -- Olivier Mascia <[EMAIL PROTECTED]> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Settings per virtual site on IIS ?

2001-12-31 Thread Olivier Mascia
Hello, Is there some mechanism with PHP 4.1 on Win32/IIS (ISAPI module) allowing to define some initialisation settings per website ? Something along the line of Apache php_value/php_flag instructions that can be set in its httpd.conf file within virtual-sites settings : php_value include_pat

RE: [PHP-WIN] Deleting a file under Windows

2001-12-31 Thread Richard Black
I've not had any problems with it on Windows 98 at home. On WinNT (4.0, serv. pack 6 I think) it doesn't work. For me at least. (PHP 4.0.4pl1) Richy -Original Message- From: LaserJetter [SMTP:[EMAIL PROTECTED]] Sent: 30 December 2001 20:36 To: [EMAIL PROTECTED] Subject:

Re: [PHP-WIN] Deleting a file under Windows

2001-12-31 Thread LaserJetter
The PDF manual I downloaded for 4.0.6 said something about unlink not working on windows but it's always worked fine for me! It might be a warning as it may not work under certain conditions "SéBastien ThüLer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I