[PHP] Help preg_replace with Non-English character

2008-05-22 Thread Shelley
Hi all, Just a question, I want to replace some Chinese characters with preg_replace(). But it does not work. The string is $str = 'test你好http://www.phparch.cn/ 完成'; The ideal output is : testa href=http://www.phparch.cn;你好/a 完成 Any suggestion will be greatly appreciated. -- Regards,

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Richard Heyes
Just a question, I want to replace some Chinese characters with preg_replace(). But it does not work. The string is $str = 'test你好http://www.phparch.cn/ 完成'; The ideal output is : testa href=http://www.phparch.cn;你好/a 完成 Any suggestion will be greatly appreciated. Have a look to see if the

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Shelley
Yes, I have checked and tried that. And I have successfully tested it with GB2312 encoding, but when turned to UTF8. It does not work any more. The server is using UTF8 encoding, and also the database. Weird. On Thu, May 22, 2008 at 4:51 PM, Richard Heyes [EMAIL PROTECTED] wrote: Just a

Re: [PHP] Re: Re: A Little Something.

2008-05-22 Thread Robin Vickery
2008/5/21 Stut [EMAIL PROTECTED]: I was going to ignore this, but I'm in a confrontational mood today, so please accept my apologies for the noise. On 21 May 2008, at 14:08, Michelle Konzack wrote: Am 2008-05-12 15:40:54, schrieb Stut: Note: I am working for the french Ministry of Defense.

Re: [PHP] Re: Re: A Little Something.

2008-05-22 Thread Stut
On 22 May 2008, at 09:56, Robin Vickery wrote: 2008/5/21 Stut [EMAIL PROTECTED]: I was going to ignore this, but I'm in a confrontational mood today, so please accept my apologies for the noise. On 21 May 2008, at 14:08, Michelle Konzack wrote: Am 2008-05-12 15:40:54, schrieb Stut: Note:

[PHP] Unzipping file through PHP

2008-05-22 Thread Suamya Srivastava
Hi, I am writing a code to upload multiple files on the server using PHP. I zipped the folder containing these files, uploaded the zipped file through my application on the server. Now,I am trying to unzip the .zip file using PHP. I tried it in different ways using: 1. `unzip filename.zip` 2.

Re: [PHP] Unzipping file through PHP

2008-05-22 Thread Gabriel Sosa
try using something like http://www.theserverpages.com/php/manual/en/ref.zip.php http://www.theserverpages.com/php/manual/en/ref.zip.php On Thu, May 22, 2008 at 9:56 AM, Suamya Srivastava [EMAIL PROTECTED] wrote: Hi, I am writing a code to upload multiple files on the server using PHP. I

Re: [PHP] Unzipping file through PHP

2008-05-22 Thread Wolf
Suamya Srivastava [EMAIL PROTECTED] wrote: Hi, I am writing a code to upload multiple files on the server using PHP. I zipped the folder containing these files, uploaded the zipped file through my application on the server. Now,I am trying to unzip the .zip file using PHP. I tried it

Re: [PHP] Unzipping file through PHP

2008-05-22 Thread TG
Last night I was looking around at frameworks and such and I found ez Components which has an 'archive' module that assists in handling Zip files: http://ezcomponents.org/docs/api/latest/introduction_Archive.html - Original Message - From: Gabriel Sosa [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Re: Re: A Little Something.

2008-05-22 Thread Philip Thompson
I'm sure Stut (and others) have said enough, but I can no longer resist... On May 21, 2008, at 8:08 AM, Michelle Konzack wrote: Am 2008-05-12 15:40:54, schrieb Stut: CSS, but I may not be understanding what you mean by blunt. Javascript can be written such that it eats CPU and/or memory

Re: [PHP] Re: Re: A Little Something.

2008-05-22 Thread Robin Vickery
2008/5/22 Philip Thompson [EMAIL PROTECTED]: I'm sure Stut (and others) have said enough, but I can no longer resist... On May 21, 2008, at 8:08 AM, Michelle Konzack wrote: Am 2008-05-12 15:40:54, schrieb Stut: I do not know, what this urchinTacker() does, but since it is named

[PHP] php notify

2008-05-22 Thread Marty
I'm hopeful this is a solved problem, and I'm just not searching for the right thing yet. I'd like a way to send a 'notify' to php processes that want it, without the use of a moderator or helper process. One way I tried is to use Daniel Rozsnyo multicast patch and have each php process join

[PHP] Re: Re: Re: A Little Something.

2008-05-22 Thread Michelle Konzack
Am 2008-05-21 19:17:09, schrieb Stut: Violation of privacy? Let's start with the fact that it's not collecting anything you don't put out there when you use your browser. Let's add that none of that info can personally identify you without consulting your ISP who are highly unlikely to

[PHP] Re: Re: A Little Something.

2008-05-22 Thread Michelle Konzack
Am 2008-05-21 13:28:08, schrieb tedd: Well then, all web sites are a privacy violation by your definition. Not realy, since IF YOU are collecting data of customers/visiort you are responsable for this stuff and for ANY misuse you can be sued. Web sites come standard with server logs and other

[PHP] PHP + MySQL transactions

2008-05-22 Thread Philip Thompson
Hi all. I'm currently working on a project that's in its beta stage. Due to time restraints, we were unable to build in transactions from the beginning. Well, we're getting to the point where we can now put in transactions. Basically, I'm curious to find out your opinion on the best way

Re: [PHP] Re: Re: Re: A Little Something.

2008-05-22 Thread Stut
You clearly think you're right, which is your right, but I'm not sensing any openness to alternative points of view so this will be my last comment on this pointless conversation. It's just not fun anymore. On 22 May 2008, at 15:10, Michelle Konzack wrote: Am 2008-05-21 19:17:09, schrieb

[PHP] who can tell me HI5.COM how to get contact list

2008-05-22 Thread LKSunny
HI5.COM, Enter hotmail address and password can get your contact list, who can tell me how to ? that skill is SDK ? API ? or Script ? i know fsockopen can make it, but it like hacker, not propriety... if Window Live Contacts API, this need end-user agree, but HI5.COM not like it, no need

Re: [PHP] who can tell me HI5.COM how to get contact list

2008-05-22 Thread Stut
On 22 May 2008, at 20:43, LKSunny wrote: HI5.COM, Enter hotmail address and password can get your contact list, who can tell me how to ? that skill is SDK ? API ? or Script ? i know fsockopen can make it, but it like hacker, not propriety... if Window Live Contacts API, this need end-user

[PHP] Please connect with me :)

2008-05-22 Thread Etienne Finet
Hi, I looked for you on Reunion.com, but you weren't there. Please connect with me so we can keep in touch. -Etienne Do You Know Etienne? YES - Connect with Etienne, and see who's searching for you Learn more: http://www.reunion.com/efinet Reunion.com - Life

[PHP] page called from form action=post not appearing on screen

2008-05-22 Thread milt
I have a form statement with: form name=memjoin action=http://www.caamuseum.org/mem_test_review.php method=post when I click the submit button, the web address appears in the firefox address box, but no page appears on the screen. and when I try to view the page source code from the firefox

Re: [PHP] page called from form action=post not appearing on screen

2008-05-22 Thread Carlton Whitehead
milt wrote: I have a form statement with: form name=memjoin action=http://www.caamuseum.org/mem_test_review.php method=post when I click the submit button, the web address appears in the firefox address box, but no page appears on the screen. and when I try to view the page source code from

Re: [PHP] PHP + MySQL transactions

2008-05-22 Thread Chris
Philip Thompson wrote: Hi all. I'm currently working on a project that's in its beta stage. Due to time restraints, we were unable to build in transactions from the beginning. Well, we're getting to the point where we can now put in transactions. Basically, I'm curious to find out your

Re: [PHP] echo returnArray()['a']; // workaround

2008-05-22 Thread Nathan Nobbe
On Fri, Feb 29, 2008 at 12:16 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: wow, im going to have to stare at some of those and play around with them as soon as im half awake :) of course i still like my solution ;) but im excited about the experimentation and ideas that have been shared on