[PHP] mbstring Violation Error

2011-06-08 Thread aug721
Hello. I'd like to solution following problem. If this error occurs when resolve to the IIS restart. PHP has encountered an Access Violation at 039857E9 PHP has encountered an Access Violation at 03BA57E9 When execute mbstring extension module a problem. mb_ereg_replace function execute when "PH

Re: [PHP] Can't use class "'DOMDocument"

2011-06-08 Thread Adam Tong
Hi, You're right. I just installed the package php-xml, and everything is working properly now. Is there anyway to know for each class or function which is the package needed? thank you On Tue, Jun 7, 2011 at 3:48 AM, wrote: > Did you install the php-xml ? > > Richard L. Buskirk > > -Orig

Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-08 Thread Tamara Temple
On Jun 5, 2011, at 12:23 PM, Richard Riley wrote: Geoff Shang writes: On Sun, 5 Jun 2011, Richard Riley wrote: I don't. I just don't want them to lock out my browser just because they don't support it. Many pages which don't work optimally under Lynx can still be read, which is all I

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Richard Quadling
On 9 June 2011 01:02, Lester Caine wrote: > Cracked it ... set a 'SYSTEM Variable' and reboot - just restarting did not > work. I now have complex extra ini files for eaccelerator and firebird > loading, and I'm going to strip some other stuff. When in doubt, the 3 fingered salute is often a good

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Richard Quadling
On 9 June 2011 00:18, Lester Caine wrote: > Richard Quadling wrote: >> >> On 8 June 2011 22:59, Richard Quadling  wrote: >>> >>> But there is a tiny bug in php. >>> The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting. >> >> http://bugs.php.net/bug.php?id=48831 >> >> Reported but only

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Lester Caine
Lester Caine wrote: Your command line stuff works, but I only use PHP with Apache. I've got a 'SetEnv PHP_INI_SCAN_DIR xxx' before the module load, but it's not reporting any extra ini's Do I need to compile with something else set - not that I can compile at all at the moment, I'm working with p

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Lester Caine
Richard Quadling wrote: On 8 June 2011 22:59, Richard Quadling wrote: But there is a tiny bug in php. The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting. http://bugs.php.net/bug.php?id=48831 Reported but only partially fixed. As I was using my own builds, I didn't realise the

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Richard Quadling
On 8 June 2011 22:59, Richard Quadling wrote: > But there is a tiny bug in php. > The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting. http://bugs.php.net/bug.php?id=48831 Reported but only partially fixed. As I was using my own builds, I didn't realise the full patch hadn't been c

Re: [PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Richard Quadling
On 8 June 2011 20:47, Lester Caine wrote: > OK, I'm trying to set up my windows setup to work with separate .ini files > for each of the extra extensions as the Linux distributions do. I've got a > \conf\ directory with the php.ini in and then \conf\conf.d\ with a few > windows versions of the SUS

Re: [PHP] php-cli-shebang

2011-06-08 Thread Lists
Joe Francis wrote: why not using php.exe instead of php-cgi.exe as a parser ? Thanks for pointing that out... didn't have any reasoning, but since your post, I've learned the difference and have changed the script. Donovan -- dbrooke -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP_INI_SCAN_DIR or PHPIniScanDir

2011-06-08 Thread Lester Caine
OK, I'm trying to set up my windows setup to work with separate .ini files for each of the extra extensions as the Linux distributions do. I've got a \conf\ directory with the php.ini in and then \conf\conf.d\ with a few windows versions of the SUSE linux files. I can see references to PHP_INI_S

Re: [PHP] php-cli-shebang

2011-06-08 Thread Joe Francis
why not using php.exe instead of php-cgi.exe as a parser ? On Wed, Jun 8, 2011 at 7:42 AM, Lists wrote: > Lists wrote: > >> Windows Server 2003 >> PHP fastcgi 5.2 >> > > > > O.K. '-q' is quiet mode (no header info), which works better when not using > the -f flag when calling the script (it appe

[PHP] Re: advice on how to build this array from an array.

2011-06-08 Thread David Robley
Adam Preece wrote: > hi all, > > please forgive me if i do not make sense, ill try my best to explain. > > > i have this array or arrays. > > Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] > => 10 [main_nav] => true [cat_name] => material range ) Array ( [name] => > s

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Christian Grobmeier
> Assuming each thread has its own copy of $this->fp, even after renaming the > log file all other threads will still be pointing at the old file. The > resource is connected to the inode, not the filename, so even if the > filename changes the inode does not, therefore the actual location on disk

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Stuart Dallas
On Wed, Jun 8, 2011 at 8:09 AM, Christian Grobmeier wrote: > Hello, > > I am one of the log4php [1] hackers over at the ASF. We (thats Ivan > Habunek and myself) have now a nasty issue for which we would be glad > about input. > > Use case: > Once the log file got a specific size, it will be rolle

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Christian Grobmeier
Thanks guys. I will test it together with Ivan and hopefully the user. Never heard of this function before, very cool that you have identified the problem so quickly. Thanks again! On Wed, Jun 8, 2011 at 11:41 AM, Richard Quadling wrote: > On 8 June 2011 10:19, Frank Arensmeier wrote: >> 8 ju

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Richard Quadling
On 8 June 2011 10:19, Frank Arensmeier wrote: > 8 jun 2011 kl. 09.09 skrev Christian Grobmeier: > >> The object itself is always the same, for all threads. Every thread >> gets this "Appender" from a kind of a pool. >> >> My guess is, every thread gets some kind of a copy of this object, >> workin

Re: [PHP] Going crazy with include & require not working

2011-06-08 Thread Richard Quadling
On 8 June 2011 10:21, Richard Quadling wrote: > On 7 June 2011 22:17, Brian Dunning wrote: >> Thanks, this helped me solve it. FPDI extends a class in FPDF, so I simply >> had to reverse the order in which I call them and all is hunky dory. > > I would take a look at using an autoloader > (http:

Re: [PHP] Going crazy with include & require not working

2011-06-08 Thread Richard Quadling
On 7 June 2011 22:17, Brian Dunning wrote: > Thanks, this helped me solve it. FPDI extends a class in FPDF, so I simply > had to reverse the order in which I call them and all is hunky dory. I would take a look at using an autoloader (http://www.php.net/manual/en/language.oop5.autoload.php and h

Re: [PHP] ftell Issue or Feature

2011-06-08 Thread Frank Arensmeier
8 jun 2011 kl. 09.09 skrev Christian Grobmeier: > The object itself is always the same, for all threads. Every thread > gets this "Appender" from a kind of a pool. > > My guess is, every thread gets some kind of a copy of this object, > working at it. Once it reaches the method, its members state

[PHP] ftell Issue or Feature

2011-06-08 Thread Christian Grobmeier
Hello, I am one of the log4php [1] hackers over at the ASF. We (thats Ivan Habunek and myself) have now a nasty issue for which we would be glad about input. Use case: Once the log file got a specific size, it will be rolled over. In other terms, the big logfile gets closed and a new one is opene