Re: [PHP] Whats the best way?

2002-05-20 Thread Analysis & Solutions
Gerard: On Sat, May 18, 2002 at 12:38:37PM -0400, Gerard Samuel wrote: > HTTP_ACCEPT_LANGUAGE is 'en-us, en;q=0.75, nl;q=0.50, fr;q=0.25' > > $foo = split(',', $_SERVER['HTTP_ACCEPT_LANGUAGE'] ); > foreach ($foo as $bar) { >$string = > preg_replace("/([a-z]{2})|(-[a-z]{2})|(;q=[0-9]\.[0-9]

[PHP] Whats the best way?

2002-05-18 Thread Gerard Samuel
Well this is the first time actually creating a regex. It works, but was wondering if the regex was created properly. HTTP_ACCEPT_LANGUAGE is 'en-us, en;q=0.75, nl;q=0.50, fr;q=0.25' /* Explode the browser report to get each language */ $foo = split(',', $_SERVER['HTTP_ACCEPT_LANGUAGE'] ); /* P

Re: [PHP] Whats the best way.

2002-01-24 Thread Stefan Rusterholz
> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 9:47 AM Subject: [PHP] Whats the best way. Whats the best way that I can let users upload single .jpeg and gif files, renaming then with a time stamp? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain

Re: [PHP] Whats the best way.

2002-01-24 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip J. Newman blurted > Nice, how rude, but nice. Didn't really mean to be rude hence the concessional smiley at the end. Regards - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com ---

Re: [PHP] Whats the best way.

2002-01-24 Thread Philip J. Newman
Nice, how rude, but nice. - Original Message - From: "Nick Wilson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 9:53 PM Subject: Re: [PHP] Whats the best way. > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > >

Re: [PHP] Whats the best way.

2002-01-24 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip J. Newman blurted > Whats the best way that I can let users upload single .jpeg and gif files, renaming >then with a time stamp? RTFM There's a *big* section on file uploads :=) - -- Nick Wilson Tel:+45 3325 0688 Fax:

[PHP] Whats the best way.

2002-01-24 Thread Philip J. Newman
Whats the best way that I can let users upload single .jpeg and gif files, renaming then with a time stamp? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012