CAN ANYONE GIVE ME A SCRIPT HTML CODE TO DISPLAY SERVER FILES ON SITE?

Question by evilflame.rulz:
Can anyone give me a script HTML code to display server files on site?
i use 000webhost and i want it to display whatever is in a certain folder in the server. i use this so that files uploaded from home can be accessed from laptop without needing to login to net2ftp. and just to let u know…i have password protection on site so i will not get spammed with files and nobody will get mine
——————————————
Answer by Ben
HTML runs on the users computer, not the server. It, and javascript, do not have access to the list of files. You will need a server-side language, like PHP, Ruby (on Rails) or Python (with Django or Turbogears) to get access to the file list. You will also have to have a webhost that supports it.
——————————————
What do you think? Answer below!
about 1 year ago
My initial hunch is that the code is working, but the image is being forced to stay inside the table cell.
I am assuming that making the cell bigger would allow you to drag and drop around within the cell. Unfortuantely, I just saw your question and there is only an hour left to answer.
I am going to look at the code and see if my assumptions are correct or if I can discover something else as the issue. Feel free to contact me about it at: irishtek@yahoo.com
I’ll at least message you by tomorrow night to let you know what I discover.
about 1 year ago
Hey,
I visit to your post. I want to express something. I think the purpose of this script is to make it possible for you to create your own DHTML drag drop application.
Thanks
Data recovery
about 3 months ago
If your files are a static (and not dynamic) then you can directly hardcode the path in anchor tag using “href”. Mime type for the document should be put in web.xml file if you are using web servers like apache. So that the browser can identify the mime type of the document and when the user chooses to download it will give u the option to open the file in some editor or reader of that document say Adobe reader.
about 3 months ago
Use FTP and access your server files from any computer:
FileZilla FTP Tutorial – How to Upload Your Site with FileZilla
In this tutorial you learn how to upload your website using FileZilla, the popular free FTP application. FileZilla is available for Windows, Mac and Linux.
Read the full article here:
http://www.elated.com/articles/filezilla-tutorial/
Homepage of FileZilla: http://filezilla-project.org/
Ron
about 3 months ago
Easy way to show files in a directory:
Code:
< ?
if ($ handle = opendir('.')) {
echo "
while (false !== ($ file = readdir($ handle))) {
if ($ file != “.” && $ file != “..”) {
echo “
“;
}
}
echo ““;
closedir($ handle);
}
?>
you can change
Code:
echo “
“;
to suit your needs
if you do not want a specific file shown (IE: index.php)
then change:
Code:
if ($ file != “.” && $ file != “..”) {
to
Code:
if ($ file != “.” && $ file != “..” && $ file != “index.php”) {
IS THERE AN APP OR SITE THAT’S LIKE THIS?
about 5 days ago - 1 comment
Question by : Is there an app or site that is like this? Now me being the person who cares about video games and doesnt do well in school had an epiphany and I also thought it might already exist. In WoW, for example, I love watchinf the XP bar fill up as I get closer
MY SITE IS HOSTED ON YAHOO DOMAIN IN PHP , I WANT TO SEND A MAIL VIA PHP SCRIPT BUT I MAIL FUNCTION NOT WORKED?
about 6 days ago - No comments
Question by : my site is hosted on yahoo domain in php , i want to send a mail via php script but i mail function not worked? I hosted a my site in php on yahoo domail. so i want to send a mail from php script to my hosted domain. Now mail function
HOW CAN I WRITE A SCRIPT IN PHP TO PARSE OUT COMMA SEPARATED WORDS (LIKE IN A SOCIAL WEB SITE)?
about 1 week ago - 1 comment
Question by John C: How can I write a script in php to parse out comma separated words (like in a social web site)? For example, If the user inputs a list of tags such as: tag,tagone,tag,tagtwo I want php to parse out the individual words and send them back to the server using regular
Q&A: I NEED HELP MAKING MY HTML CODE EASIER TO DO?
about 2 weeks ago - 1 comment
Question by Mark G: I need help making my HTML code easier to do? Hi, I have a website called www.xlivewire.com. its gotten pretty popular, and since then i’ve been getting a lot of game and video requests making the website a harder upkeep. I know there is a way to make my job simpler
NEED A MOVIE SEARCH ENGINE SCRIPT FOR A WEBSITE?
about 2 weeks ago - 1 comment
Question by Nikki: Need a motion picture search engine script for a website? I need a motion picture search box script for a website does anyone know of one? Or a program that I can buy maybe? —————————————— Answer by d12_xecutioneruse Ares 2 download Motion picture or ne other stuffs …u can download it frm
OPENING WHOLE SCRIPT (SITE) WITH DREAMWEAVER 8?
about 2 weeks ago - 1 comment
Question by jamie: Opening whole script (site) with dreamweaver 8? I havent used dreamweaver that much and I have all my files from my site. I want to open them in dreamweaver to edit some stuff. I just dont know how to add a site if you understand me. I dont need to upload or
IS THERE A FREE SCRIPT THAT ALLOWS ME TO UPLOAD RESUMES OR FILES ON A SITE?
about 3 weeks ago - No comments
Question by Roy Sencio: Is there a free script that allows me to upload resumes or files on a site? I am putting up a website that will allow people to apply and submit resumes on a web form. I am looking for a script that allows them to click a button, that opens a
IS THERE A PROGRAM OR SCRIPT THAT WILL AUTO UPDATE MY WEBSITE AT A TIME OF MY CHOOSING?
about 3 weeks ago - No comments
Question by riku5464: Is there a program or script that will auto update my website at a time of my Choosing? Is there a program or script that will auto update my website at a time of my Choosing? —————————————— Answer by ComputerHelpGosh, tough one this. I write software to do that but… if you
WHAT SCRIPT OR SOFTWARE DOES THIS SITE USE?
about 4 weeks ago - No comments
Question by k.bryk: What script or software does this site use? I was wondering what software or script this website uses, I have seen many sites using this I have always wondered what it was. http://perezhilton.com/ I’m not asking about the scripting language I was wondering if there actually was one I could download or
WHY CAN’T I RUN AND LEARN PHP ON MAC 10.6.6 APACHE SERVER?
about 1 month ago - 4 comments
Question by Insomnia: Why can’t I run and learn PHP on Mac 10.6.6 Apache server? My iMac I recently bought runs Mac OS X 10.6.6. That version comes pre-installed with Apache server and can be enabled to run PHP. I followed the on the web instructions (They’re all the same for Mac OS 10.6.6). I
Social Bookmarks
Bookmark this page to:Tag cloud
about Adsense anyone Best code computer create find Flash Free from game games good Google help html Internet java javascript Just know like making need Online page please Question Script Scripting Scripts site some someone there this upload using want website what's would write YAHOO
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Recent Posts
Categories