Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2005
    Location
    West Midlands, United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    *Help* accessing files

    Hey guys, me again..another question

    ok i'm trying to create an array in javascript that populates itself from a folder. say if you had 5 images in a folder, the script would look in the folder and pull out 5.

    can this be done in javascript or would this be a job for php... if anything could i avoid using asp and php altogether please?

    ok

    Thanks


    Al.

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    I take it you mean a folder on the server? If so, then no. Client-side scripting can't get at files on the server. You need server-side scripting for that.

  • #3
    New Coder
    Join Date
    Jan 2005
    Location
    West Midlands, United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    'doh' thats what i was afraid of,

    thanks dude

    Al.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •