How to uploading of file with out browse in php [closed] - php

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.

Related

Magento multistore iframe issue [closed]

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 8 years ago.
Improve this question
In my magento multi-store website, the site loads normally.
When selecting any other link in that site, that loads in the iframe.
I was totally stuck on it.
Somebody help me to remove the loading of the site in iframe.

Configurations for a php application [closed]

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()

Directory of the page a file is included in [closed]

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__)));

How to Download 4 files at a time [closed]

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).

How to parse an .msg file in php? [closed]

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.

Categories