Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: aenik
  • Order by date
  1. aenik

    setTimeout and passing variables

    Hello. I am trying to set a timeout for a portion of my code that is inside of a for() loop, and the function receives a variable thats known to the function within which the for() loop takes place, a global (to that function) var array...
  2. aenik

    File Listing with CGI & writing to text file/dir log

    invalid CGI ref "/cgi-bin/album/dirlist.cgi?filedir=dir" in /home/dub/public_html/album/new/index.shtml any ideas?
  3. aenik

    File Listing with CGI & writing to text file/dir log

    yeah that was it. obvious enough it seems. i just need one more thing. this will be sweet if works: i need to execute this cgi from an html page, for javascript processing of the returned string (i changed the printing from the text file to just simple print output). i have not found any way to...
  4. aenik

    File Listing with CGI & writing to text file/dir log

    Sorry, one last question. When calling the script like this: http://www.dubfilter.com/cgi-bin/album/dirlist.cgi?filedir=test it displays the contents of a 'test' folder located in the same directory (http://www.dubfilter.com/cgi-bin/album/test/). How would I be able to specify a different...
  5. aenik

    File Listing with CGI & writing to text file/dir log

    Thanks to you both, PerlIsGood and Daniel! It works beautifully. I really appreciate it. Great forum!
  6. aenik

    File Listing with CGI & writing to text file/dir log

    thanks! so to use this, i'll have to create a .cgi file like this: #!/usr/bin/perl # *** http://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/31/pid/452/qid/342124 *** opendir DIR, $filedir or die "Could not open $filedir directory: $!"; while ( @files = readdir DIR ) {...
  7. aenik

    File Listing with CGI & writing to text file/dir log

    Is there any way to read a folder's contents and display all the file names using CGI that will be hosted on the same server? I need to be able to list the contents of a specific folder in a simple text file. Thanks for any help/advice.

Part and Inventory Search

Back
Top