Jump to content

Path To Mimedecode

Recommended Posts

I am looking for a path to MimeDecode.php


Path to MimeDecode.php: (Examples: /usr/share/php/Mail/mimeDecode.php or c:\php\Mail_Mime\mimeDecode.php)


It seems that /usr/local/bin/pear/ works for pear install but can't figure out where the mimedecode is.


Can anyone help.


Link to post
Share on other sites
Please open a ticket with the help desk and they can give you the path or tell you if it's available.



I've done this and they are giving me /usr/local/lib/php/Mail/mimeDecode.php


My script is coming back File(/usr/local/lib/php/Mail/mimeDecode.php) is not within the allowed path


Posts on the script board indicate that it may have to be in a conf file somewhere to use this ???


Any clues?



Link to post
Share on other sites
Just a thought but as Linux is case sensitive

have you tried all lower case?






actually they gave me that and another one, and ive tried a few they mostly come out not allowed or not there. Well, not allowed seems better, meaning it's there but not allowed.....???

I actaully think it's bin not lib.

because I do know, well, i think i know that pear is located at /usr/local/bin/pear/

and maildecode as I understand it is part of the pear package.

But then again, not sure it's really there are all and have no way to verify that it's there and working.


So I've tried several combos of


/usr/local/bin/mail/mimedecode.php (not allowed and failed to open stream)

/usr/local/lib/php/mail/mimedecode.php (no such file or directory failed to open stream)

/usr/local/bin/php/mail/mimedecode.php (not allowed failed to open stream)

/usr/local/bin/pear/mail/mimedecorde.php (is not within the allowed paths failed to open stream)



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...