Dear friends,
I had host a server, and i also had a webpage that allow the user to click on the "browse" button to search the needed file. But the "browse" button actually only "browse" the computer or the user. - <html>
-
<body>
-
<form name="form1" enctype="multipart/form-data" method="post" action="">
-
Browse your file
-
<input name="file_read" type="file" id="file_read">
-
<input type="submit" name="Submit" value="OK">
-
-
</form>
-
</body>
-
</html>
Is it possible to "browse" the host computer?
Best Regards.
4 1288
Dear friends,
I had host a server, and i also had a webpage that allow the user to click on the "browse" button to search the needed file. But the "browse" button actually only "browse" the computer or the user. - <html>
-
<body>
-
<form name="form1" enctype="multipart/form-data" method="post" action="">
-
Browse your file
-
<input name="file_read" type="file" id="file_read">
-
<input type="submit" name="Submit" value="OK">
-
-
</form>
-
</body>
-
</html>
Is it possible to "browse" the host computer?
Best Regards.
This HTML form is going to execute in client browser, once you put the input type as file it will browse the files on local computer where you executing the web page, You can't access the Hosting server local files with this form. if you want you can access the files available under a directory in your web root. but not from this html form.
This HTML form is going to execute in client browser, once you put the input type as file it will browse the files on local computer where you executing the web page, You can't access the Hosting server local files with this form. if you want you can access the files available under a directory in your web root. but not from this html form.
Sorry for disappearing few days, my internet connection had some problem, hehe^^
Hrm, actually I dont get what you said. Do you have any example?
Best Regards
Sorry for disappearing few days, my internet connection had some problem, hehe^^
Hrm, actually I dont get what you said. Do you have any example?
Best Regards
Once you uploaded your files to the Hosting server you have to give the download links to the users to download that files.You can't browse the Hosting server Directories from a <input type="file"> element.
google it for find out some download scripts using PHP.
Once you uploaded your files to the Hosting server you have to give the download links to the users to download that files.You can't browse the Hosting server Directories from a <input type="file"> element.
google it for find out some download scripts using PHP.
Erm...ok, I try to search for some information. Thanks.
Best Regards.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Arsalan Ahmad |
last post by:
Hi all,
Please check http://www.eroshni.com/WebApplication2/WebForm1.aspx
Recently I have been working on this project hosted by a standard webhosting
company. The problem comes when I try to...
|
by: gh0st54 |
last post by:
Hi
I'm trying to set an error page so that when a user tries to reach
http://www.domain.com/folder
they get sent to my error page
because the page requested is not managed by .net_isapi i...
|
by: saywhat |
last post by:
Hi all, simple question - anyone have any idea why my sites run great
locally, but cause a server error when 'live'? I've contacted the hosting
co. but they say there's no prblem on their end. My...
|
by: pamelafluente |
last post by:
I am still working with no success on that client/server
problem. I need your help. I will submit simplified versions
of my problem so we can see clearly what is going on.
My model:
A client...
|
by: Benton |
last post by:
Hi there,
I have a UserControl with a couple of textboxes and a couple of buttons
("Save" and "Cancel"). The Click event for this buttons is in the
UserControl's codebehind of course, so here's...
|
by: ljungers |
last post by:
Hope someone can help me. I have two problems with a report that is using a memo text field in the body of this report. THis body could produce a half page to 4 or 5 pages of text.
When I run the...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| | |