473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hosting and web page problems, ask for help!!!

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

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3. <form name="form1" enctype="multipart/form-data" method="post" action="">
  4.   Browse your file
  5.        <input name="file_read" type="file" id="file_read">
  6.         <input type="submit" name="Submit" value="OK">
  7.  
  8.      </form>
  9. </body>
  10. </html>
Is it possible to "browse" the host computer?

Best Regards.
Mar 17 '07 #1
4 1288
ak1dnar
1,584 Expert 1GB
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.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3. <form name="form1" enctype="multipart/form-data" method="post" action="">
  4.   Browse your file
  5.        <input name="file_read" type="file" id="file_read">
  6.         <input type="submit" name="Submit" value="OK">
  7.  
  8.      </form>
  9. </body>
  10. </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.
Mar 17 '07 #2
kuzure
48
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
Mar 21 '07 #3
ak1dnar
1,584 Expert 1GB
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.
Mar 21 '07 #4
kuzure
48
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.
Mar 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
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...
1
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...
4
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...
16
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...
10
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...
1
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...
0
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
Oralloy
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,...
0
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.