Re: [PHP] Upload a ppt file

2007-05-29 Thread tedd

At 11:07 PM +0200 5/28/07, Tijnema wrote:

On 5/28/07, tedd [EMAIL PROTECTED] wrote:

Hi Gang:

I can upload a text file and an image file via a html form, but I am
having problems uploading a PowerPoint file. Apparently, that's a
different critter.



Duh!

Thanks for the hints -- it was stupid mistake on my part that. 
Sometimes you can get too carried away with trying to make things 
secure.


It works fine now that I let it work.

Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upload a ppt file

2007-05-28 Thread tedd

Hi Gang:

I can upload a text file and an image file via a html form, but I am 
having problems uploading a PowerPoint file. Apparently, that's a 
different critter.


Does any have any references or an example to show me?

Thanks,

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upload a ppt file

2007-05-28 Thread Tijnema

On 5/28/07, tedd [EMAIL PROTECTED] wrote:

Hi Gang:

I can upload a text file and an image file via a html form, but I am
having problems uploading a PowerPoint file. Apparently, that's a
different critter.

Does any have any references or an example to show me?

Thanks,

Cheers,

tedd


It should work with the same form you used for image  text files, but
make sure you still have enctype set to multipart/form-data.
Also, like Jared said, make sure it isn't limited by any option, this
could be the upload filesize limit, but also memory limit if you were
planning to upload big files :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php