WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Need help with custom attach files
restricting size and dimensions

Version: 3.4.0
printPrint


Need help with custom attach files
joshberm
Nothing is impossible...
Avatar

Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Posts: 91
Posted 08/21/06 - 04:43 PM:
quote post
#1
I have set up two custom file attachment fields for links, using your code at
http://www.webmastersite.net/forums/comments.php?...
Edited by joshberm on 08/21/06 - 04:47 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/22/06 - 05:14 PM:
quote post
#2
It'll use the generic limits set in the admin panel, there's no way to set different limits for specific fields.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
joshberm
Nothing is impossible...
Avatar

Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Posts: 91
Posted 08/22/06 - 06:54 PM:
quote post
#3
Is there a way to validate the form field as it's being submitted - a way to check {CUSTOMATTACHKB} or {CUSTOMATTACHWIDTH} against the file being uploaded?

Thanks!
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/24/06 - 04:11 AM:
quote post
#4
I don't see how. The only way to add distinct custom field checks would be to rewrite the PHP to include such features.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.