Re: [PHP-WIN] win32service on php 5.4

2013-09-12 Thread Richard Quadling
.php > > > The service won't start even after I replace > > > WIN32_ERROR_CALL_NOT_IMPLEMENTED with WIN32_SERVICE_RUNNING > > > Can anyone please test this ? > > > ThanksMomchil > > > > That constant is indeed not implemented. > > > >

Re: [PHP-WIN] Folder permissions required to create/copy files in/into it during PHP script/code execution?

2013-08-22 Thread Richard Quadling
is spirit...' >> >> >> -- >> PHP Windows Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Hello Jacob. There is a peculiarity I have found coming to unix (well Mac, but CentOS also). If you want to use a directory like you would expect to use one, then it needs the execute property. To that end, I use mkdir($s_Directory, 0755, True); This creates the complete directory path, along with the ability to write files into it. It also automatically limits write capabilities to non-owner, making it read-only. I hope that helps. -- Richard Quadling Twitter : @RQuadling

Re: [PHP-WIN] Running more PHP-versions with php_opcache.dll

2013-07-08 Thread Richard Quadling
PHP's on > my Centos boxes run as the same user (the one as mod_php, the other as > mod_fcgid). Wouldn't it be possible to use the same solution as on Linux > in the Win-versions? > > Jan > http://httpd.apache.org/docs/2.4/mod/mod_privileges.html seems to be a suitable option. -- Richard Quadling

Re: [PHP-WIN] PHP and Crystal Reports

2013-01-15 Thread Richard Quadling
has a whole load of attributes, all of which need to be set appropriately. Add to that nested elements, sub-reports, totals, formulas, etc. Like I said, you CAN do that all via COM, but it is horrendously long winded. It will be a LOT quicker to do it by hand in Crystal Reports and just use the r

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread Richard Quadling
On 19 August 2011 21:18, James Crow wrote: > On Fri, 19 Aug 2011 21:12:21 +0100, Richard Quadling > wrote: >> On 19 August 2011 19:28, James Crow wrote: >>> On Fri, 19 Aug 2011 17:30:27 +0100, Richard Quadling >>> >>> wrote: >>>> On 19 August

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread Richard Quadling
On 19 August 2011 19:28, James Crow wrote: > On Fri, 19 Aug 2011 17:30:27 +0100, Richard Quadling > wrote: >> On 19 August 2011 17:13, James Crow wrote: >>> On Fri, 19 Aug 2011 16:33:43 +0100, Richard Quadling >>> >>> wrote: >>>> On 19

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread Richard Quadling
a WSDL URL for the service? I can quickly verify what you are seeing. Can you tell us how you perceive the missing character? If you are echoing it to a browser, then there will be no visual line break as that is not a HTML character. But if you wrap the output in ... tags, you should see it just f

Re: [PHP-WIN] CSPRNG under windows.

2011-07-20 Thread Richard Quadling
e there is a GetType() method. So, thought I'd give that a go by using ... echo $o_RNG->GetType(); This results in an error also ... Warning: Unknown: variant->zval: conversion from 0xd ret=-1 in Z:\rand.php on line 10 So I'm pretty much guessing that the DOTNET route isn&#x

[PHP-WIN] The Table Of Contents for Windows CHM files.

2011-06-27 Thread Richard Quadling
e CHM file for any purpose where the TOC correctly shows your native language, then I could see how this has been put together and make appropriate corrections (if possible). As things stand though, it looks like the Windows CHM viewer has certain limitations to the codepages it will support as par

Re: [PHP-WIN] STDOUT and STDERR with php.exe and php-win.exe on Win XP

2011-06-21 Thread Richard Quadling
On 20 June 2011 23:27, JDS wrote: > On 6/20/2011 11:27 AM, Richard Quadling wrote: >> >> On 20 June 2011 18:18, JDS  wrote: >>> >>> I am trying to figure out how this all works on Win XP... >>> >>> When I call php.exe or php-win.exe from ano

Re: [PHP-WIN] How to do Press Any Key To Continue with php.exe

2011-06-21 Thread Richard Quadling
ets($handle); > endwhile; > > //A little better but uses exec() > echo "\n\n"; > echo "Press ANY KEY to continue... "; > exec("pause"); > > ?> @ECHO OFF C:\PHP5\php.exe C:\Path\to\Script.php --arg1 --arg2 --arg3 PAUSE -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] where is source code for urlencode and urldecode?

2011-06-20 Thread Richard Quadling
On 20 June 2011 18:24, JDS wrote: > Where can I find the source code for urlencode and urldecode functions? > > I need to port them over to AutoHotKey script. > > Thanks Sorry.. Between http://svn.php.net/viewvc/php/php-src/trunk/ext/standard/url.c?view=markup#l463 and #l68

Re: [PHP-WIN] where is source code for urlencode and urldecode?

2011-06-20 Thread Richard Quadling
down from there. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] STDOUT and STDERR with php.exe and php-win.exe on Win XP

2011-06-20 Thread Richard Quadling
2011-06-20 17:2616 PHP_STDERR.txt 2011-06-20 17:26 0 PHP_STDOUT.txt OOI. If you want to use PHP scripts to act as a filter. E.g. command | php script, then read http://docs.php.net/manual/en/install.windows.commandline.php -- Richard Quadling Twitter : EE : Zend

Re: [PHP-WIN] Problem with include, nothing running, gosh!

2011-06-09 Thread Richard Quadling
ysinternals.com/procmon.exe and get it to watch for a Path containing *.inc, you should see the IIS server (or the php-cgi if you are using FastCGI rather than isapi), and hopefully see the failed access and the reason for the failure. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling

Re: [PHP-WIN] Using .Net assemblies with PHP

2011-05-18 Thread Richard Quadling
of the issues I have is that the COM interface is no longer part of the current version of Crystal. The last one was CR XI Release 2. Newer versions are only supporting .NET and Java. If UniversalCCW can provide me with access to the latest .NET libraries, then that seems like a really useful additi

Re: [PHP-WIN] Using .Net assemblies with PHP

2011-05-17 Thread Richard Quadling
COM layer/interface - I don't know the correct terms, but I think this is the issue. Regards, Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Building PHP 5.2.X on VC9‏

2011-04-20 Thread Richard Quadling
17 built using VC9 with Windows SDK 6.1 > Production quality? Or should I find a way to get a copy of VC6? > > Thank you, > > Andres Herrera The wiki had a bit of an issue and had to be recovered. Some of the data may be out of date. For Windows, VC9 with SDK 6.1 is used to buil

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
> mail($email,$party_name,$contact_no); > > ?> > > > > 2011/4/4 Richard Quadling >> >> 2011/4/4 Guru™ : >> > Hi Richard, >> > I am using simple PHP mail function but, I am unable to send an email to >> > myself. What I want is when the

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
2011/4/4 Guru™ : > Hi Richard, > I am using simple PHP mail function but, I am unable to send an email to > myself. What I want is when the user click on submit button I should get an > email with the form data. > > > > 2011/4/4 Richard Quadling >> >> 2011/

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
ility. See http://uk.php.net/manual/en/book.mail.php for all the lovely documentation, especially with the runtime configuration options. Most likely, you've not set these appropriately. But, in short, you are going to need to tell us what is NOT working for any realistic help. Personally

Re: [PHP-WIN] Compiling PHP_YAZ with PHP 5.3

2011-03-30 Thread Richard Quadling
with --enable-yaz=shared (and any other options you want. Maybe --disable-zts) 7 - Once built, the extension will be in Release\php_yaz.dll (non-thread-safe) or Release_TS\php_yaz.dll (thread-safe). Copy this to your C:\PHP5\ext directory. Make sure you copy the right one as you cannot mix thread s

[PHP-WIN] Fwd: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows

2011-03-29 Thread Richard Quadling
F.Y.I. -- Forwarded message -- From: Michael Ridinger Date: 29 March 2011 00:47 Subject: Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows To: rquadl...@googlemail.com Cc: Richard Quadling Richard, This was awesome...   I've been out of the office working on related issue

Re: [PHP-WIN] PHP_YAZ

2011-03-21 Thread Richard Quadling
ne. I'd stick with Pierre's advice - compile and then enable php_yaz.dll via your php.ini file. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP_YAZ

2011-03-21 Thread Richard Quadling
version? Or are all of those >> > included in the download from pecl2.php.net? >> > >> > Cindy Harper, Systems Librarian >> > Colgate University Libraries >> > char...@colgate.edu >> > 315-228-7363 >> > >> > >> > &

Re: [PHP-WIN] PHP_YAZ

2011-03-21 Thread Richard Quadling
966c18c219c06 : qdmb-1.8.77-vc9-x86.zip faabd552bbbad65254161da889c643da : sasl-2.1.23-vc9-x86.zip 1136ad0b92491b86ca4e98366ae4d3f4 : zlib-1.2.3-vc9-x86.zip Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP_YAZ

2011-03-13 Thread Richard Quadling
On 13 March 2011 09:36, Richard Quadling wrote: >> I don't know much about compiling PECL modules, and after I've compiled, >> when I test, I get a Fatal error: Call to undefined function yaz_connect() >> in C:\Inetpub\wwwroot\aftergoogle2\aftergoogle.php on line 28 T

Re: [PHP-WIN] PHP_YAZ

2011-03-13 Thread Richard Quadling
e.php on line 28 > > But maybe that's because I'm using IIS. > > Cindy Harper, Systems Librarian > Colgate University Libraries > char...@colgate.edu > 315-228-7363 > > > > On Fri, Mar 11, 2011 at 4:43 AM, Richard Quadling > wrote: >> >> On

Re: [PHP-WIN] PHP_YAZ

2011-03-11 Thread Richard Quadling
07 001- connect failed errno=10000 I've no idea on actual usage of Yaz, but I'm willing to help if I can. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread Richard Quadling
e scloth100 columns I can see are ... |scloth100_totamt|int(20)|Yes|NULL |scloth100_utp|int(20)|Yes|NULL |scloth100_val|int(20)|Yes|NULL |scloth100_vatp|int(20)|Yes|NULL |scloth100_vatr|int(10)|Yes|NULL |scloth100|varchar(100)|Yes|NULL No scloth100_qty. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.

Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread Richard Quadling
. Can you tell me what column in the table is scloth100_qty? I can't find it. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Same code but some photos won't show.

2011-02-28 Thread Richard Quadling
;$speciesname'"; > > You can't split a normal string over multiple lines like this > > > > Fix those and see what happens ;-) > > -- > Niel Archer Neil, outputs ... This is line 1. This is line 2. This is line 3. There is no magic here. The string contai

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Richard Quadling
On 2 February 2011 16:37, Niamathullah Sharief wrote: > SMTP = smtp.gmail.com You are trying to send mail via Google Mail, not your own localhost SMTP engine. Is that your intention? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Wind

Re: [PHP-WIN] Apache error caused by PHP aspell

2011-01-18 Thread Richard Quadling
nge web site instead? > > Yes Does the official version of Apache support FastCGI? If so, can you use official Apache (VC6) with VC9 PHP? Along the lines of IIS->FastCGI->PHP(nts) -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Wind

Re: [PHP-WIN] win32service for PHP 5.1.6

2010-12-01 Thread Richard Quadling
On 1 December 2010 23:16, Travis Veazey wrote: > Richard, > > From the Downloads page on PHP.net, the link to the Releases page is in the > sidebar on the left, and it takes you to this page: > http://us2.php.net/releases/ From here I scrolled down to 5.1.6, and > downloaded

Re: [PHP-WIN] win32service for PHP 5.1.6

2010-12-01 Thread Richard Quadling
On 1 December 2010 22:55, Travis Veazey wrote: > Richard, > > Thanks for the response. I did, with help from Justin on this list, find a > version that had been compiled against 5.1.6 on PHP's releases page, and am > currently putting together a test script using it to see wha

Re: [PHP-WIN] win32service for PHP 5.1.6

2010-12-01 Thread Richard Quadling
On 1 December 2010 22:47, Richard Quadling wrote: > As far as I know, the current code has never been compiled for 5.1.6. The dlls available from http://www.php.net/~pierre/ are going to be for a very old version of the extension. It may be perfectly suitable. Unfortunately, as there is

Re: [PHP-WIN] win32service for PHP 5.1.6

2010-12-01 Thread Richard Quadling
ATH'd location. Use registry to load separate ini file for PHP versions on the services machine and be careful about using new functionality in your code if it is going to be cross version. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] "CLI has stopped working"

2010-11-18 Thread Richard Quadling
Windows to be reporting it somewhere. Have you added new extensions recently? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 5.3.4 has built

2010-11-18 Thread Richard Quadling
On 18 November 2010 13:07, Richard Quadling wrote: > On 18 November 2010 12:44, Pierre Joye wrote: >> It is not about the binaries working well or not. It is about binary >> compatibility. It does not matter if you build everything yourself and >> does not rely on php.net&#x

Re: [PHP-WIN] PHP 5.3.4 has built

2010-11-18 Thread Richard Quadling
s to be used with PHP.net's releases. > > On Thu, Nov 18, 2010 at 1:36 PM, Richard Quadling wrote: > >> The V7.0 SDK is available. What impact would you expect there to be or >> is that the same as "how long is a piece of string"? >> >> I've built 5.3.4

Re: [PHP-WIN] PHP 5.3.4 has built

2010-11-18 Thread Richard Quadling
> >> >> -- >> PHP Windows Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Windows

[PHP-WIN] Including APC in 5.4 for Win32.

2010-11-03 Thread Richard Quadling
Hi. If APC is going to be included in the core, then I assume, on the Win32 platform, it will be compiled as a shared extension? I use WinCache, primarily to allow me to pass data between parallel running scripts. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP-WIN] Compile Problem on Visual Studio 2010

2010-10-25 Thread Richard Quadling
so the original path is lost which means that the > cscript.exe is not located anymore. > > My path is corrupted by the > CALL "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd" > > Why is the PATH variable referenced with !PATH! instead of %PATH%? > %PATH% i

Re: [PHP-WIN] Compile Problem on Visual Studio 2010

2010-10-22 Thread Richard Quadling
On 22 October 2010 18:52, Steven Scott wrote: > On Fri, Oct 22, 2010 at 12:26 PM, Richard Quadling > wrote: >> On 22 October 2010 17:21, Steven Scott wrote: >>> On Fri, Oct 22, 2010 at 12:16 PM, Richard Quadling >>> wrote: >>>> On 22 October 2010 17:

Re: [PHP-WIN] Compile Problem on Visual Studio 2010

2010-10-22 Thread Richard Quadling
On 22 October 2010 17:26, Richard Quadling wrote: > On 22 October 2010 17:21, Steven Scott wrote: >> On Fri, Oct 22, 2010 at 12:16 PM, Richard Quadling >> wrote: >>> On 22 October 2010 17:07, Steven Scott wrote: >>>> On Fri, Oct 22, 2010 at 11

Re: [PHP-WIN] Compile Problem on Visual Studio 2010

2010-10-22 Thread Richard Quadling
On 22 October 2010 17:21, Steven Scott wrote: > On Fri, Oct 22, 2010 at 12:16 PM, Richard Quadling > wrote: >> On 22 October 2010 17:07, Steven Scott wrote: >>> On Fri, Oct 22, 2010 at 11:17 AM, Pierre Joye wrote: >>>> hi, >>>> >>>>

Re: [PHP-WIN] Compile Problem on Visual Studio 2010

2010-10-22 Thread Richard Quadling
esn't support this property or method Hello Steven, Can you show the configure.js file around those lines. The actual content is created dynamically in response to your system. You line 2508 won't be the same as my line 2508. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadlin

Re: [PHP-WIN] error of "Could not open input file" from PHP CLI

2010-10-18 Thread Richard Quadling
On 18 October 2010 15:54, wrote: > Requested test results at bottom > H.H. > > -Original Message----- > From: Richard Quadling [mailto:rquadl...@gmail.com] > Sent: Friday, October 15, 2010 6:44 AM > To: Holcombe, Howard @ CSG - CSE; php-windows > Subject: Re: [PHP-

Re: [PHP-WIN] error of "Could not open input file" from PHP CLI

2010-10-15 Thread Richard Quadling
On 14 October 2010 19:26, wrote: > Richard > > As requested > X:\work\hholcomb\PHP\extract_5.3.3_VC6> dir > "X:\work\hholcomb\PHP\test\phpinfo.php" >  Volume in drive X has no label. >  Volume Serial Number is 5457-BB00 > >  Directory of X:\work\hh

Re: [PHP-WIN] error of "Could not open input file" from PHP CLI

2010-10-14 Thread Richard Quadling
On 14 October 2010 16:03, wrote: > Richard > > I downloaded the executable but could not run it as I don't have admin privs > on the system. > > You ask >        What happens when PHP goes looking for the phpinfo.php script? > Answer > The only output in the cmd

Re: [PHP-WIN] error of "Could not open input file" from PHP CLI

2010-10-14 Thread Richard Quadling
the php.ini file > - same result >   6. attempted to execute other PHP script files in the same directory > - same result >   7. removed the quote characters around the file path for the script > file - same result > Can you load http://live.sysinternals.com/FileMon.exe and filter on "php.exe" and highlight "phpinfo". What happens when PHP goes looking for the phpinfo.php script? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Line by line debugger for PHP for command line work.

2010-10-12 Thread Richard Quadling
; > 惠新宸     laruence > Mail:   huixinc...@baidu.com > Tel :   +86 010 5992-6238 > http://www.laruence.com/ 我不讲中文,而是感谢您您的提议。 or should I have said 我不讲中文,而是感謝您您的提議。 -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

Re: [PHP-WIN] Line by line debugger for PHP for command line work.

2010-10-12 Thread Richard Quadling
On 12 October 2010 14:09, Steven Scott wrote: > XDebug is a common tool, and can link with most IDEs.  There is also > FirePHP plugin if you are using Firefox. > > On Tue, Oct 12, 2010 at 8:47 AM, Richard Quadling wrote: >> Hi. >> >> I'm trying to trawl my w

[PHP-WIN] Line by line debugger for PHP for command line work.

2010-10-12 Thread Richard Quadling
(they no longer work here and I'm not even sure you could say they ever did!). It is for command line use only. So something that can hook into my PHP (I'm using 5.3.4-dev). I need a debugging tool to allow me to step through the code line by line looking at the call stack, globals, local

Re: [PHP-WIN] Select the specific user data from the database

2010-09-06 Thread Richard Quadling
always the most uptodate. Cloning a table was far easier. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 5.3.3 & Ldap_sasl_bind

2010-07-29 Thread Richard Quadling
On 29 July 2010 14:52, Bruno CHALOPIN wrote: > Hi, > > I've seen that ldap_sasl_bind is supported on windows since 5.3.3. > Unfortunately, there is no php_ldap.dll extension in the PHP 5.3.3 zip > package. > > Forgetting or it is normal ? > > Regards, > > Bruno > > -- > PHP Windows Mailing List (h

Re: [PHP-WIN] Help me dig out of a mini-nightmare. Some parameters transfer, others do not.

2010-07-28 Thread Richard Quadling
On 28 July 2010 06:13, Bill Mudry wrote: > Along with suggestions from this group, I was able to transfer parameters > across html pages so that > a user could pick a wood species and the new page would faithfully report > details on that wood. > Later (with help from the group again) I was so gla

[PHP-WIN] How long before V5.3.3 hits the shelves?

2010-07-21 Thread Richard Quadling
Hi. I see we are in the process of releasing 5.3.3. I don't know how long these things take, so I was wondering when 5.3.3 will hit php.net for downloading? Regards, Richard Quadling. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Richard Quadling
l Studio 2008 creates nonTS binaries? > > Kind regards, > Bruce. What is your configure line? Make sure you have --disable-zts in it to produce NonThreadSafe (nts) versions. Richard. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Travelling up the TAXA tree, child to parent

2010-07-15 Thread Richard Quadling
single path from a leaf (no pun intended) is entirely possible in a single statement. No need to have a loop. Richard. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php_apache2_2.dll missing in current PHP 5.3 Windows builds

2010-06-24 Thread Richard Quadling
, WikiPedia has an understandable explanation : http://en.wikipedia.org/wiki/Thread_safety -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp

Re: [PHP-WIN] php_apache2_2.dll missing in current PHP 5.3 Windows builds

2010-06-24 Thread Richard Quadling
riant can be used and will have the slight performance increase garnered from not having to handle memory/resources/etc in a thread safe way. -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://w

Re: [PHP-WIN] Is there a known issue with 5.3.0RC1 nts VC9 x86 Win32?

2010-06-23 Thread Richard Quadling
On 23 June 2010 14:14, Pierre Joye wrote: > hi Richard, > > What's the point of testing RC/alpha/beta? You should use only > 5.3.0/1/2 to compare to 5.3.3RC1 (and later final). True. I built the framework a while ago and never really stopped to think about the waste of time in t

Re: [PHP-WIN] Is there a known issue with 5.3.0RC1 nts VC9 x86 Win32?

2010-06-23 Thread Richard Quadling
On 23 June 2010 13:54, Ferenc Kovacs wrote: > http://bugs.php.net/bug.php?id=47938 > imho > Tyrael > On Wed, Jun 23, 2010 at 2:45 PM, Richard Quadling > wrote: >> >> I have a testing framework that allows me to test my code against many >> versions of PHP ...

[PHP-WIN] Is there a known issue with 5.3.0RC1 nts VC9 x86 Win32?

2010-06-23 Thread Richard Quadling
ine. I've regrabbed ... http://windows.php.net/downloads/qa/archives/php-5.3.0RC1-nts-Win32-VC9-x86.zip and http://windows.php.net/downloads/qa/archives/php-debug-pack-5.3.0RC1-nts-Win32-VC9-x86.zip just in case, but no joy. Any ideas? Richard. -- - Richard Quadling "Standing

Re: [PHP-WIN] PHP Page on IIS 7.5 Not Found

2010-06-07 Thread Richard Quadling
:ON:WL:en-US:WM_HMP:042010_1 You can install FastCGI and PHP (and probably WinCache) via the Web Platform Installer. This do all the basic configuration for you too. -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Richard Quadling
.. exec('"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Scripts\script.php"'); If not, then use ... exec('""C:\Program Files\PHP\php.exe" -f "C:\Program Files\Scripts\script.php""'); That is exec(' " "C

Re: [PHP-WIN] older windows binaries

2010-05-11 Thread Richard Quadling
Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Is there any code that moves a live version to the archives? Generating/preserving the s

Re: [PHP-WIN] using php apc functions

2010-05-05 Thread Richard Quadling
; >> > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP Windows Mailing List

Re: [PHP-WIN] how to access class members

2010-05-04 Thread Richard Quadling
$this->name; public relates to the visibility of the property (public - can be seen by all, protected - can only be seen by this class and sub-classes and private - can only be seen by this class). Read more about this at http://docs.php.net/manual/en/language.oop5.visibility.php -- - Ric

Re: [PHP-WIN] Compiling PHP with MS SQL Server Driver for PHP support

2010-04-30 Thread Richard Quadling
On 29 April 2010 16:59, Venkat Raman Don wrote: > Hi, > > My guess is that SQL team may be linking with VC9 required libraries > statically and you are not. It works because you have VC9 runtime on your > machine. > > Thanks, > Don. > > -Original Message

Re: [PHP-WIN] Unable to load php_msql.dll

2010-04-29 Thread Richard Quadling
On 29 April 2010 15:16, Chris Aveni wrote: > Richard, thanks so much for your expeditious help.  Actually, the problem > was that I had to move msql.dll to the root of the php dir.  Not sure why as > I have other servers running this same version, and the only thing in path > is c

[PHP-WIN] Compiling PHP with MS SQL Server Driver for PHP support

2010-04-29 Thread Richard Quadling
tell, it all works just fine too! Richard. -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php

Re: [PHP-WIN] Unable to load php_msql.dll

2010-04-29 Thread Richard Quadling
On 28 April 2010 17:21, Richard Quadling wrote: > On 28 April 2010 17:13, Chris wrote: >> Pretty much the same exact thing. > > Excellent. So the library is loaded and working. > > What is the exact error are you getting? Is this on your machine or the > server? Anyt

Re: [PHP-WIN] Unable to load php_msql.dll

2010-04-28 Thread Richard Quadling
On 28 April 2010 17:13, Chris wrote: > Pretty much the same exact thing. Excellent. So the library is loaded and working. What is the exact error are you getting? Is this on your machine or the server? -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!&qu

Re: [PHP-WIN] Unable to load php_msql.dll

2010-04-28 Thread Richard Quadling
On 28 April 2010 15:55, Chris wrote: > Hello Richard, and thanks for your assistance.  I do have it in the path.  I > have done a search on the server for msql.dll and it doesnt exist.  Where > does it come from and how do I get it? > > Thanks, > Chris > > "Richar

Re: [PHP-WIN] Unable to load php_msql.dll

2010-04-28 Thread Richard Quadling
php_msql.dll requires msql.dll See the "Notes for Win32 users" on http://docs.php.net/manual/en/msql.installation.php -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://ww

[PHP-WIN] Using PHP to launch more PHP scripts and use WinCache.

2010-04-13 Thread Richard Quadling
sn't known. Any suggestions? -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND00249

Re: [PHP-WIN] Trouble running a select query against a database, when I know the connection is working, and the data is there

2010-04-13 Thread Richard Quadling
List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Good catch Toby. -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.

Re: [PHP-WIN] Trouble running a select query against a database, when I know the connection is working, and the data is there

2010-04-13 Thread Richard Quadling
ill assume the text of 'count'. So, this becomes something like ... "Resource id #5count" And when you test that "> 0", you get false. e.g. php -r "var_dump(fopen('./AUTOEXEC.BAT', 'rt').count);" outputs ... Notice:

Re: [PHP-WIN] Trouble running a select query against a database, when I know the connection is working, and the data is there

2010-04-13 Thread Richard Quadling
On 13 April 2010 09:36, Jacob Kruger wrote: > if ($arr.count > 0) Try ... if (mysql_num_rows($arr) > 0) -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.e

Re: [PHP-WIN] Mail Function Not Working

2010-04-12 Thread Richard Quadling
needs to be an address held on the live.com server. You will not be able to use the live.com mail servers to send email to me (at GMail.com), for example. That is called relaying and more specifically, due to the lack of security, an open relay. If you want to use live.com to send email to s

Re: [PHP-WIN] Windows binaries

2010-04-06 Thread Richard Quadling
ing this? -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : htt

Re: [PHP-WIN] PHP mailer and IIS 7.0

2010-03-17 Thread Richard Quadling
ly known as html_mime_mail5 from http://www.phpguru.org). The SMTP connector acts as a hold and forwarder rather than a straight passthru, which does mean you deliver mail to the LOCAL smtp "server" and not the final recipient. So no knowing if delivery was successful in real time. --

Re: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?

2010-02-23 Thread Richard Quadling
ges. I'm no expert! Sorry. Richard. -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.

Re: [PHP-WIN] 64-bit PHP binaries

2010-02-15 Thread Richard Quadling
in the long run (the library that php_mssql.dll depends on is very old and no longer maintained by MS and has "issues".). Use the SQL Native Client driver with either ODBC (php_odbc is already built in) or the new MS SQL driver for PHP (http://www.codeplex.com/SQLSRVPHP). Richard. -- --

Re: [PHP-WIN] 64-bit PHP binaries

2010-02-15 Thread Richard Quadling
oximate round trip times in milli-seconds: >>   Minimum = 0ms, Maximum = 0ms, Average = 0ms >> >> >> I did not go through all the testing for the default site as it does not >> exist anymore. The site is custom configured and it does serve html and asp >> pages wi

Re: [PHP-WIN] Server side redirection - yet again

2010-01-27 Thread Richard Quadling
pect there to be any HTML tags in this script. It should do 1 of 3 things. 1 - Issue a redirect header to the login/home page if the session is invalid. 2 - Do nothing if the requested document id is invalid - though you may want to do something different. 3 - Output the headers and the document

Re: [PHP-WIN] Server side redirection - yet again

2010-01-27 Thread Richard Quadling
ad broken his body, but not his spirit...' > > - Original Message - From: "Richard Quadling" > > To: "Jacob Kruger" > Cc: > Sent: Wednesday, January 27, 2010 12:42 PM > Subject: Re: [PHP-WIN] Server side redirection - yet again > > &g

Re: [PHP-WIN] Server side redirection - yet again

2010-01-27 Thread Richard Quadling
d be to create a downloader which validates the session and if all is well, issues the appropriate headers to force a download and then readfile() the document. No direct access to the download. Must be validated to get the download. Simple to implement. -- - Richard Quadling "Standin

Re: [PHP-WIN] nmake clean bug

2010-01-13 Thread Richard Quadling
> --with-extra-libs=c:\src\win32build\lib;c:\OpenSS >> L\lib >> --END--- >> >> >> Is this considered a bug in the makefile? >> > > > > -- > Pierre > > http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Windows Mailin

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-30 Thread Richard Quadling
2009/12/30 Richard Quadling : > 2009/12/30 Richard Quadling : >> 2009/12/27 Libor : >>> Hi all, >>> I don't know if I am stupid or what but I can't find out how to send typed >>> code to execute. >>> >>>> php.exe -a >>>

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-30 Thread Richard Quadling
2009/12/30 Richard Quadling : > 2009/12/27 Libor : >> Hi all, >> I don't know if I am stupid or what but I can't find out how to send typed >> code to execute. >> >>> php.exe -a >> Interactive mode enabled >> >> Pressing or didn&#

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-30 Thread Richard Quadling
HP processing. Notice: Undefined variable: a in - on line 7 The first variable PHP is seeing is this one.This is some more plain text. To make this all go, press CTRL+Z or F6 and then ENTER (at least for Windows). Can someone confirm that CTRL+Z/F6 is the same exit mechanism for non windows please? I

Re: [PHP-WIN] Windows 2008R2 and LDAP connections

2009-12-15 Thread Richard Quadling
es not accept liability for any errors or omissions in the > contents of this message or that arise as a result of e-mail transmission. If > verification is required please request a hard-copy version from the sender. > > www.pridedallas.com > > This contains all the techni

Re: [PHP-WIN] Static array causing problem in recursion

2009-12-04 Thread Richard Quadling
2009/12/4 Midhun Girish : > hello all, > > hey Richard Quadling you are right... sorry man.. i just noticed that just > now. > > Actually i missed th line self::getAllChildren($child,$levelcount,False); > that you gave and thought it was a mistake...that y i updated the >

Re: [PHP-WIN] Static array causing problem in recursion

2009-12-04 Thread Richard Quadling
2009/12/4 Midhun Girish : > Hello , > > Richard Quadling thank you so much.. your trick worked... :) now its > working.. heres the modified code... > >  public function getAllChildren($node,$level,$firstCall=false) >> >>   { >>       static $rootsarray=

Re: [PHP-WIN] Static array causing problem in recursion

2009-12-04 Thread Richard Quadling
$levelcount=$level; $child=self::getChild($node); if($child==''||$levelcount==0) { return 1; } else { $levelcount--; $rootsarray[]=$child; self::getAllChildren($child,$levelcount,False); } return $rootsarray;

Re: [PHP-WIN] req: help with mail on IIS 6

2009-11-03 Thread Richard Quadling
ly-To: w...@me.com' . "\r\n" . >    'X-Mailer: PHP/' . phpversion(); > mail($to, $subject, $message, $headers); > ?> > > (I've replaced the actual "to" and "from" to dummy addresses)...still doesn't > work...I don&#

  1   2   3   >