473,395 Members | 1,905 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,395 software developers and data experts.

source directory on server

Heya guys, i was wondering how to get javascript to put the contents of a local folder into an array, im fine from here on in. i have apache 2.2.2 and the folder is a sub-directory on the server. I am going to use the output to update links dynamically. if not, what language should i be looking at to achieve this?
thanks..
Mar 28 '07 #1
6 1416
acoder
16,027 Expert Mod 8TB
Welcome to The Scripts.

Use a server-side language for this. Which one are you familiar with?
Mar 28 '07 #2
Welcome to The Scripts.

Use a server-side language for this. Which one are you familiar with?
a little of PHP - i thought javascript could be used in server side scripting on the odd occasion wiki
i can get perl to list the contents of a directory, i just dont know how to call it automatically froma webpage - OR output it into a place where javascript can use it
Mar 28 '07 #3
AricC
1,892 Expert 1GB
Heya guys, i was wondering how to get javascript to put the contents of a local folder into an array, im fine from here on in. i have apache 2.2.2 and the folder is a sub-directory on the server. I am going to use the output to update links dynamically. if not, what language should i be looking at to achieve this?
thanks..
Please do not report posts unless the post is violating the guidelines of the board.
Mar 28 '07 #4
Please do not report posts unless the post is violating the guidelines of the board.
Sorry, if that was me I was just ahving a noob day, pure accident :(
Mar 28 '07 #5
acoder
16,027 Expert Mod 8TB
a little of PHP - i thought javascript could be used in server side scripting on the odd occasion wiki
i can get perl to list the contents of a directory, i just dont know how to call it automatically froma webpage - OR output it into a place where javascript can use it
Take your pick: PHP or Perl? I don't think you need Javascript for this. Use the server language to get the list of files, then generate the links.

If you need to generate the links, say, on the click of a button, then client-side javascript/ajax would come into play.
Mar 29 '07 #6
Take your pick: PHP or Perl? I don't think you need Javascript for this. Use the server language to get the list of files, then generate the links.

If you need to generate the links, say, on the click of a button, then client-side javascript/ajax would come into play.
ok i fiddled with PHP, i got it to work then it stopped. i'll repost my particular issue in the PHP part of the forum. thx mate
Mar 29 '07 #7

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

Similar topics

17
by: /dev/null | last post by:
I have some php-based software that I'd like to make available to some businesses that run on my web server (apache on Linux). These businesses have full access to all their web files. I'd like...
9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
3
by: Peter Schwalm | last post by:
I'd like to modify the python search path depending on the source directory of the script being started. The reason is: I use a version control system, and the python scripts and modules are...
3
by: Jeff Dillon | last post by:
What are people using for source control for ASP and HTML files? We have a typical scenario here, a handful of developers working locally on development, an internal staging server, then an...
0
by: Monica Ferrero | last post by:
Hi! I'm not sure if this is the most adequate mySQL list for this post. If not, please indicat me which one I should use... I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the...
5
by: Nicolae Fieraru | last post by:
Hi All, I use VC .Net 2003 and I want to create a small program which is able to read the source code of a web site. I have a textbox with the URL, a button and a multiline textbox for the...
4
by: MLH | last post by:
I am having failures processing the following command and I wonder if you can tell me what I must do in order to have success. When I try to run source mysql_dump.sql.txt ==> it is a problem...
7
by: Jean-Marc Blaise | last post by:
Hi, The dev center calls sqlj.DB2_UPDATEJARINFO ('JMARC.JMB','JMB','file:JMB.sqlj') to update the sqlj routine source. I tried in CLP from the directory containing jar and sqlj files (Windows...
1
by: Vladimír Kolesnik | last post by:
Hi, there we need help concerning setting project under source control. We want to have a project on the server, and developers in the local network working on this project. We decided to use...
0
by: Wayne Sepega | last post by:
We are using windows 2003 standard server, VSS 2005 and VS 2005 (mostly team dev, but some team arch and suite) We run windows 2003 on our development boxes, this gives us the ability to host...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.