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]
Read this through: http://www.php.net/manual/en/features.file-upload.php
Consider then: http://www.php.net/manual/en/function.is-uploaded-file.php
After that read:
http://www.php.net/manual/en/function.move-uploaded-file.php
and then do it like that:
-upload form
-check if user has uploaded a fil
-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
---
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
>
>
>
-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:
5 matches
Mail list logo