Re: [PHP] Is this a bug?

2008-08-29 Thread T Lensselink
Catalin Zamfir Alexandru, DATAGRAM SRL wrote: Hello guys, I've been stalking on the list for some time. Didn't have anything to report/talk, until now. I have a code like this, maybe you guys can reproduce it, with output buffering started: Echo 'something'; Echo 'another

Re: [PHP] Since APC is no longer supported on Windows, can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe?

2008-07-26 Thread T Lensselink
steve wrote: Since APC is no longer supported on Windows, I can't download it from php.net. Can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe windows version? Many thanks in advance... I never heard anything about dropping support for windows. And on pecl4win there is

Re: [PHP] uploading big files with PHP

2008-07-25 Thread T Lensselink
Michael Kubler wrote: There are other ways to upload files. I know if you use Google Gears http://code.google.com/apis/gears/ (requires a plugin for your web browser), then you can easily have the file split up http://code.google.com/apis/gears/api_workerpool.html (client side) and sent in

Re: [PHP] What font/size do you use for programming?

2008-07-10 Thread T Lensselink
tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd Envy Code R (Still in beta i believe) 10pt -- PHP

Re: [PHP] unset and circular references

2008-06-27 Thread T Lensselink
Abu Warez wrote: --- On Fri, 6/27/08, Thijs Lensselink [EMAIL PROTECTED] wrote: From: Thijs Lensselink [EMAIL PROTECTED] Subject: Re: [PHP] unset and circular references To: php-general@lists.php.net Date: Friday, June 27, 2008, 5:21 PM Quoting Abu Warez [EMAIL PROTECTED]: I

Re: [PHP] extension=mssql.so vs. ;extension=php_mssql.dll

2008-06-16 Thread T Lensselink
Wei, Alice J. wrote: Hi, I am not sure what is exactly the problem with my configurations while I am trying to configure Apache, PHP and FreeTDS throughout my attempts to install these packages into my Linux. It appears that I am doing everything correctly as I am going through

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-12 Thread T . Lensselink
On Wed, 12 Dec 2007 10:21:58 +0100, Mathijs van Veluw [EMAIL PROTECTED] wrote: Hello there, We have a large project with lots of classes. Now i am wondering if there is a way to let something check all those files and tell me which methods/functions variables/constants etc.. arn't used

Re: [PHP] How to look for unused methods/functions and variables/constants.

2007-12-12 Thread T . Lensselink
On Wed, 12 Dec 2007 10:21:58 +0100, Mathijs van Veluw [EMAIL PROTECTED] wrote: Hello there, We have a large project with lots of classes. Now i am wondering if there is a way to let something check all those files and tell me which methods/functions variables/constants etc.. arn't used

Re: [PHP] One more data formatting question

2007-11-29 Thread T . Lensselink
On Thu, 29 Nov 2007 07:53:56 -0700, Jon Westcot [EMAIL PROTECTED] wrote: Hi all: I'm trying to parse out some HTML code back into regular string values and I keep getting tripped up by the non-breaking space value ( ). I see that html_decode_entities() can be used to convert this back

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread T . Lensselink
On Thu, 29 Nov 2007 14:54:43 +0100, Jochem Maas [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Just to be curious: when something like if (defined('FOO') FOO) { class foo{}; function foo(){}; } is parsed and FOO is not defined, will the code inside be parsed nevertheless? Or is

[PHP] Seeking PHP developer in / near Amsterdam, Netherlands

2007-11-28 Thread T . Lensselink
If interested! Pls contact me off list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question regarding type hinting parameters of php functions

2007-11-26 Thread T . Lensselink
On Mon, 26 Nov 2007 10:29:40 +0100, Dirk Thomas / 4wd media [EMAIL PROTECTED] wrote: Hi, i have tried a current snapshot of PHP 5.3 and have a question regarding type hinting. For example when using the function array_slice(array $array, int $offset, int $length) with a non-integer

Re: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread T . Lensselink
On Wed, 21 Nov 2007 14:06:17 +0100, Jochem Maas [EMAIL PROTECTED] wrote: pere roca wrote: Hi, a basic question: I want to send a CSV file and some other parameters. In my FORM I have method=POST input type=file and action=http://php;; It sends it to the php file but I don't want the php

RE: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread T . Lensselink
On Wed, 21 Nov 2007 08:38:18 -0600, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Seems to me Pere want's to do an upload without reloading the whole page. [/snip] The problem is that you cannot upload files using Ajax alone. But you can do it without a reload, requires an invisible IFRAME

Re: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread T . Lensselink
On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code snippet section on my site and want to colorize them like the user comments on any PHP site page. http://www.php.net/manual/en/language.operators.arithmetic.php What's the easiest way to do

RE: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread T . Lensselink
On Thu, 15 Nov 2007 03:40:32 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: -Original Message- From: T.Lensselink [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 12:05 AM On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread T . Lensselink
On Thu, 15 Nov 2007 09:58:59 -0500, Brad [EMAIL PROTECTED] wrote: Still parsing as text and not html! a href=http://www.zoneofsuccessclub.com;link /a //a href=http://www.zoneofsuccessclub.com;link /a $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread T . Lensselink
On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: Paul Scott wrote: On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote: since when is there an arbitrary maximum recursion limit??? Since forever... ;) thats you think, personally I test this kind of thing when Im

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread T . Lensselink
On Fri, 26 Oct 2007 16:12:25 +0200, Jochem Maas [EMAIL PROTECTED] wrote: T.Lensselink wrote: On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: Paul Scott wrote: On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote: since when is there an arbitrary maximum recursion

Re: [PHP] Undefined class constant

2007-09-19 Thread T . Lensselink
On Wed, 19 Sep 2007 15:56:22 +0300, Puiu Hrenciuc [EMAIL PROTECTED] wrote: Hi everyone, I'm having a hard time dealing with an error that appeared overnight in one of my PHP script: Fatal error: Undefined class constant 'self::TYPE_HIDDEN' in /#/classes/framework/HTML/HTMLForm.php

Re: [PHP] Page Numbering

2007-09-19 Thread T . Lensselink
On Wed, 19 Sep 2007 10:05:40 -0400, Dan Shirah [EMAIL PROTECTED] wrote: Hello all, I am having a problem with trying to display a set amount of records from my result. I have verified that the correct values for my variables are being passed to the query. The calculation for the records

Re: [PHP] Page Numbering

2007-09-19 Thread T . Lensselink
changing. But for whatever reason, the data being displayed is not changing. On 9/19/07, T. Lensselink [EMAIL PROTECTED] wrote: On Wed, 19 Sep 2007 10:05:40 -0400, Dan Shirah [EMAIL PROTECTED] wrote: Hello all, I am having a problem with trying to display a set amount of records from my

Re: [PHP] Undefined class constant

2007-09-19 Thread T . Lensselink
] = [Max] = [RegEx] = [AllowedValues] = Array ( ) [IsValid] = [IsVisible] = 1 [Sorted] = 0 [Primary] = [Foreign] = [Negated] = [GroupBy] = [Aggregate] = [_value:protected] = ) $_type: (int) 1 T . Lensselink

Re: [PHP] Page Numbering

2007-09-19 Thread T . Lensselink
echo out my variables I see the numbers changing. But for whatever reason, the data being displayed is not changing. On 9/19/07, T. Lensselink [EMAIL PROTECTED] wrote: On Wed, 19 Sep 2007 10:05:40 -0400, Dan Shirah [EMAIL PROTECTED] wrote: Hello all, I am having a problem

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-14 Thread T . Lensselink
On Fri, 14 Sep 2007 11:09:36 +0200, Per Jessen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Fri, 14 Sep 2007 10:10:09 +0200, Per Jessen [EMAIL PROTECTED] wrote: Per Jessen wrote: To let a user script bring down the host environment is just not acceptable. IMHO. Here's an

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-14 Thread T . Lensselink
On Fri, 14 Sep 2007 11:09:36 +0200, Per Jessen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Fri, 14 Sep 2007 10:10:09 +0200, Per Jessen [EMAIL PROTECTED] wrote: Per Jessen wrote: To let a user script bring down the host environment is just not acceptable. IMHO. Here's an

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-14 Thread T . Lensselink
On Fri, 14 Sep 2007 12:00:19 +0200, Per Jessen [EMAIL PROTECTED] wrote: T.Lensselink wrote: Would love to see the code that caused this. http://jessen.ch/files/php-problem-sep2007.tar.gz /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-14 Thread T . Lensselink
On Fri, 14 Sep 2007 08:10:56 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] You are right. It segfaults only if the virtual() call comes before creating the XSLTProcessor instance. [/snip] I cannot replicate the problem on Linux. -- PHP General Mailing List

Re: [PHP] Javascript and $_POST

2007-02-08 Thread T . Lensselink
There is nothing wrong with the way you want to submit this form. Although it's JS :) The sample code you posted was broken in some ways... missing document. in JS en missing input field to check. This sample works fine ... test.html script language=JavaScript function checkForm() { if

Re: [PHP] Javascript and $_POST

2007-02-08 Thread T . Lensselink
.); document.inputForm.window_name.focus(); return; } } ***Error: Object doesn't support this property or method. Code: 0*** document.inputForm.submit(); } //-- /script On 2/8/07, T. Lensselink [EMAIL PROTECTED] wrote: There is nothing wrong with the way you want to submit

Re: [PHP] is_dir reading a folder with a space in the name?

2007-02-08 Thread T . Lensselink
OS? PHP version? Tested with PHP4 on Win and *nix : works On Thu, 08 Feb 2007 16:47:26 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi All. I am reading directories and one of the directories has a space in it so when I run: if (is_dir($dir)) it returns false. But I know the

Re: [PHP] is_dir reading a folder with a space in the name?

2007-02-08 Thread T . Lensselink
Like Roman said. I also don't see this behaviour. Although my test is a lot more simple :) ?php $dir = test dir; if (is_dir($dir)) { echo It's a dir :); } ? On Thu, 08 Feb 2007 17:24:33 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote: its running on a linux server PHP 4.3.x What i mean is

Re: [PHP] phpmyadmin mysql extensions

2007-01-18 Thread T . Lensselink
Move your dll's to C:\PHP\ext and restart apache... On Thu, 18 Jan 2007 10:20:23 -, Ross [EMAIL PROTECTED] wrote: did the following... -installed apache -installed php (C:\PHP) with the windows installer -moved my websites to the htdocs folder..so far so good can access pages -

Re: [PHP] Need help with RegEx

2006-12-11 Thread T . Lensselink
I'm no regex guru but something goes wrong here. First of you miss the second parameter in preg_match int preg_match ( string pattern, string subject [, array matches [, int flags [, int offset]]] ) If you need the text from two unique tags it should not be to hard: $test = tag lang='ttt'THIS

Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-07 Thread T . Lensselink
Not only that. think you are also passing the wrong parameters to the constructor. On Thu, 07 Dec 2006 15:48:10 +1030, Ryan Creaser [EMAIL PROTECTED] wrote: XeRnOuS ThE wrote: First, if a fatal error is occurring on line 24, why is it executing line 24 successfully and returning data?

Re: [PHP] recursive function problem

2006-12-07 Thread T . Lensselink
If you show some code maybe somebody on the list can help you. On Thu, 7 Dec 2006 13:41:00 +0100, Sjef [EMAIL PROTECTED] wrote: Hello! I wrote a recursive function, but when running the function appache stalls, the error log says: module mod_php4.c is already running, skipping Is this a

Re: [PHP] Reading and changing XML

2006-12-06 Thread T . Lensselink
If you want to do some simple XML handeling you could go for simpleXML : http://nl3.php.net/manual/en/ref.simplexml.php For the more advanced XML handeling i would go for DOM : http://nl3.php.net/manual/en/ref.dom.php On Wed, 6 Dec 2006 12:47:01 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, I

Re: [PHP] Send emails from PHP ... in a secure way

2006-12-05 Thread T . Lensselink
You can store the emails in a database or textfile when an error occurs. And use crontab to check the stored messages and send them to the mailserver. On Tue, 05 Dec 2006 10:55:50 +0100, Ruben Rubio [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 clive escribió: Ruben

Re: [PHP] Error with array and include

2006-12-05 Thread T . Lensselink
How can you use an array as string in the include statement and two lines lower as array? Think it echo's 'S' because it see's $lang as a string and not an array. On Tue, 05 Dec 2006 13:11:12 -0200, Fernando M. M. [EMAIL PROTECTED] wrote: Hi, I'm having a strange problem when trying to show

Re: [PHP] Sending E-mail

2006-12-04 Thread T . Lensselink
Without any error messages it will be hard to resolve.. Try to provide some more information about the problem. On Mon, 04 Dec 2006 09:11:05 -0500, Janet Smith [EMAIL PROTECTED] wrote: We have an application using PHP. If users have forgotten their password, they click on the link 'Forgot

Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-12-04 Thread T . Lensselink
Doesn't it show up on the phpinfo(); page under Environment when using the putenv(); call? On Mon, 04 Dec 2006 13:55:56 +0100, Jochem Maas [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: If you did use ENV to set the username and password, you could always unset it using the same method