Dougan, Linda A wrote: > > Well, do you think that you could just help me to understand the code a > little? > I had to pay nutsmail for my own code in order to prove that they are breaking code license. When you bought that package, it worked and you never cared that their ToS violate original code license. Prove that you have same problem in standard latest SquirrelMail version. do var_dump($attachment_common_types) instead of sm_print_r. sm_print_r prints values and you need to know what kind of variable you are passing to foreach. sqgetGlobalVar('attachment_common_types', $attachment_common_types) is extracting 'attachment_common_types' key value from $_POST, $_GET and $_SESSION. You can find exact order in function. -- View this message in context: http://old.nabble.com/squirrelmail-users%40lists.sourceforge.net-tp31837031p31843971.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users