Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there any way for parsing the Outlook .msg files in PHP? My requirement is to parse an .msg file and convert each conversation(message) in it to separate files(Preferably .eml files).
Well, .msg files are "COM stuctured storage OLE2 compound documents", which probably means that it will be difficult to open it in PHP.
PHP does have a Windows COM extension, but I do not know if it can be used.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Well am creating a php based application therefore I wish to accompany it with a configuration file. However the configuration will have a few variables which will be updated once in a while.
Therefore how can I read a file and update a specific variable in it?
It's common to define your own configuration in .ini files and parse them with parse_ini_file()
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am including a page in the directory all with the function basename(__DIR__) which is in the directory inc, so echo basename(__DIR__); returns the directory inc, instead of directory all.
How can I fix this?
Maybe, the best way is define some specific constant in file that placed in all folder and then included into other?
define('ALL_PATH', realpath(dirname(__FILE__)));
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to be able to crop an image to a 3:2 ratio and then blur the image.
Is this at all possible with PHP without installing any additional classes, as I am on a shared hosting server?
Thanks!
Yes there is a library called GD Library which will help you to do such stuff.
A pair of extra eyes could help:
What do you mean by additional classes? Image manipulation with PHP requires GD or Imagemagick. I think most hosts have one of these installed.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to Download 4 files at a time which are stored in database? It is combination of pdf,png,jpg,jpeg files. I want to download all the four files on a click on download button.
Create a .zip file using php, then once you have the 1 file, link to it so that the user can right click-download as or something similar.
This way, it be faster than downloading 4 separate files.
(link found on Google, i'm sure there are better tutorials out there, but google really is your friend).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to upload some files without browse button, i just wanna have a fixed path and upload button, can anyone help me out, i think this is possible in asp.net
There is no way for a website to specify which file the user's browser should upload. This would be a dangerous security risk as the user might not notice the file selection.