24, July 2008

upload :: Future functions and updates - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: upload :: Future functions and updates
« previous next »
Pages: [1] Print

Author Topic: upload :: Future functions and updates  (Read 2104 times)
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« on: Apr 17, 2006, 12:58:20 AM »

Use this thread to post suggestions about functions for future versions of this class.

Don't use this thread for questions about the current version, please start a new thread if you need help!

Currently this updates are on the development list: (+++ urgent, ++ medium, + low priority)
- Replacing special characters (czech, polish, german "umlaut" etc. )  +++ (if you have suggestions then let me know)
- add new error reporting variables aka php 5.1 Visit through proxy
« Last Edit: May 09, 2006, 10:16:35 AM by olaf »


Last blog : 4th of July Lottery from TemplateMonster.com
Atari ST fan
*
Posts: 8
52 credits
Members referred : 0


« Reply #1 on: May 09, 2006, 08:09:28 AM »

hi,
I would start a new thread for this but not sure how to do it...
In PHP 5.1 there is a new error code (7) for file uploads.
http://www.php.net/manual/en/features.file-upload.errors.php Visit through proxy
If the file_upload class experiences this error code it is not picked up by any of the existing options in the error_text method.
$error[7] = "Failed to write file to disk."; (or something along those lines could do it).
I experienced this error code today. Not sure what my web hosting company have done. Think they may have done something with the permissions to the tmp directory(!?!).
Mark
P.S. There is also an error (6) code that is not accounted for in the error_text method.
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: May 09, 2006, 10:14:47 AM »

Hello,

This question is on the right place. (the button for a new thread is in the upper part of each forum)

I knew about the new messages, but until now they are not implemented in lots of php configurations. I will put them on the developement list.

I you have a problem with the upload and replacement of existing files then post this in a new thread.


Last blog : 4th of July Lottery from TemplateMonster.com
Atari ST fan
*
Posts: 8
52 credits
Members referred : 0


« Reply #3 on: May 09, 2006, 10:27:33 AM »

do you publish a developement list?
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: May 09, 2006, 02:43:04 PM »

do you publish a developement list?

I try at the top of this thread are some points I have planned to add them later (if I have the time)


Last blog : 4th of July Lottery from TemplateMonster.com
Bill Cosby is my Father
*
Posts: 4
28 credits
Members referred : 0


« Reply #5 on: Jul 07, 2006, 02:22:08 AM »

Hey Olaf,
How about a crop function using image magick, I am doing a project right now where that would be useful.
Mike
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Jul 07, 2006, 09:10:24 AM »

Hey Olaf,
How about a crop function using image magick, I am doing a project right now where that would be useful.
Mike
check this thread: http://www.webdigity.com/index.php/topic,3140.0.dynamic+crop+image+using+Ajax+and+PHP.html Visit through proxy
I hope I will find some time, to write a function that works together with FCKeditor...


Last blog : 4th of July Lottery from TemplateMonster.com
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« Reply #7 on: Jan 06, 2007, 03:54:01 PM »

Hi.  First, thanks for the great script.  It took me a little bit but I managed to incorporate upload_class.php into a b2evolution blog so my bloggers could upload video files without having to go through that application's file manager.  That's not a good reason to reply to this thread, but it's better to be appreciative before asking for something than the other way around...

I wonder if you've given thought to allowing a file name change to be "human friendly" and then convert it to file-friendly when handling the file?  For instance if I wanted to name my file "a day at the beach" your class would see that and convert it to "a_day_at_the_beach".

Not a real biggie - just a suggestion you might want to consider.

Again, thanks for the great script.
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Jan 07, 2007, 11:48:25 AM »



I wonder if you've given thought to allowing a file name change to be "human friendly" and then convert it to file-friendly when handling the file?  For instance if I wanted to name my file "a day at the beach" your class would see that and convert it to "a_day_at_the_beach".

Not a real biggie - just a suggestion you might want to consider.

Again, thanks for the great script.

I thought about that renaming the file in your case could be done without big problems. just use str_rplace()

I though a long time for a general solution but I don't got it working for special characters like then Czech republic or poland


Last blog : 4th of July Lottery from TemplateMonster.com
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2287
Tags : php hosting Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: upload :: Future functions and updates
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 04:24:13 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.709
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: nicesurf

35 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.