Re: [PHP] translations for PHP app

2008-09-09 Thread Yi Wang
On Mon, Sep 8, 2008 at 10:12 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm looking for professional translations from English of the following: > - admin.php lang file just under 150 PHP defines > - user.php lang file just under 30 PHP defines > - a javascript file with about 25 s

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

2008-07-17 Thread Yi Wang
On Sat, Jul 12, 2008 at 12:40 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: >> On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: >> >>> Is there any reason to pick a black background en white fonts in your >>> editor (for examp

[PHP] phpinfo shows wrong value of post_max_size

2008-06-18 Thread Yi Wang
Hi, These day I'm working around large file uploading. php runs on the windows server 2003. I changed the post_max_size value in the registry. Then phpinfo reports the value changed from 8M to 200M (local value. Master value stayed still 8M.). I think phpinfo should report that value as 8M, not

Re: [PHP] Good HTML parser needed

2008-05-15 Thread Yi Wang
On 5/15/08, Eric Butera <[EMAIL PROTECTED]> wrote: > On Wed, May 14, 2008 at 10:56 PM, Yi Wang <[EMAIL PROTECTED]> wrote: > > Can anyone provide some code that can't be stripped by strip_tags? > > > > > > On 5/15/08, Eric Butera <[EMAIL PROTECT

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Yi Wang
Gabriel Sosa wrote: this one strip_tags('%3C%68%31%3E%68%65%6C%6C%6F%20%77%6F%72%6C%64%3C%2F%68%31%3E'); aka hello world using urlencode from http://ha.ckers.org/xss.html take care the possible xss saludos gabriel On Wed, May 14, 2008 at 11:56 PM, Yi Wang <[EMAIL PROTECTED]

Re: [PHP] Validating Form input

2008-05-14 Thread Yi Wang
client validation is a way to provide quick response to the user for whether their input is correct or not. It doesn't guarantee correctness of the posted data. Because everything from client can't be trusted. On 5/15/08, Chris W <[EMAIL PROTECTED]> wrote: > I was wondering what others think of my

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Yi Wang
Can anyone provide some code that can't be stripped by strip_tags? On 5/15/08, Eric Butera <[EMAIL PROTECTED]> wrote: > On Wed, May 14, 2008 at 11:38 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 2008-05-14 at 11:18 -0400, Eric Butera wrote: > > > On Tue, May 13, 2008 a

[PHP] cn2 dot php.net can't be included in the mail.

2008-05-12 Thread Yi Wang
Hi, I sent a mail to this mailling list just now. But the mailling list rejected my mail for the mail including "cn2 dot php.net". Replace ' dot ' with '.'. Why this mirror site can't be included in the mail? Maybe it's not in the whitelist? -- Regards, Wang Yi -- PHP General Mailing List (

Re: [PHP] Good HTML parser needed

2008-05-12 Thread Yi Wang
You should pass the secend parm to the function. Like this: $allowable_tags = ''; strip_tags( $text, $allowable_tags ); On 5/13/08, Shelley <[EMAIL PROTECTED]> wrote: > Not that. > > It will just remove all html tags, you know. > > > -- > Regards, > Shelley -- Regards, Wang Yi -- PHP Gener

Re: [PHP] Good HTML parser needed

2008-05-12 Thread Yi Wang
strip_tags does the tricks. www.php.net/manual/en/function.strip-tags.php BTW, Why cn2 dot php.net blocked by the mail server? The rejected message: This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: php-general@lists.ph

Re: [PHP] convert query result to array

2008-05-12 Thread Yi Wang
I think flance's meaning is whether there is a build-in function that can convert the result set to an array. The short answer is: do it yourself. On 5/12/08, Stut <[EMAIL PROTECTED]> wrote: > On 12 May 2008, at 15:56, It flance wrote: > > > is there any function that can convert the result of q