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 strongm 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: Tyger
  • Order by date
  1. Tyger

    how can I get a list of a directory's subdirectories?

    If you are after the contents of a directory, and the contents of the directories within it, and the contents within the directories within that etc... You are talking about recursion. This script is more complicated than those above but will do exactly as I have described, basically displaying...
  2. Tyger

    File upload, RFC1867, multipart/form-data

    Thanks, that's pointed me in the right direction.
  3. Tyger

    File upload, RFC1867, multipart/form-data

    This is a bit of an HTML/Webserver/cgi question: For a while now I've been struggling with a way of allowing website visitors to upload files. I am not so bothered about the script which receives the data as I know how to do this but I have noticed problems if the user decided to upload a big...
  4. Tyger

    Visibility of REQUIREd files in other REQUIREd files

    Hi, I have been programming Perl for years and should probably know this but it is one of those things I have never seen in black and white: If I have a script like this: ... require "subs.pm"; require "moresubs.pm"; $valueA = &somethingInSubs; $valueB =...
  5. Tyger

    File handle causes caching

    I have written the following simple script to control delivery of a file to a user's browser through Perl. When loading this up the user will be prompted with a "Save as..." dialog box and once they have selected a destination the file will be downloaded to their computer...
  6. Tyger

    File caching before sending

    I am trying to write a software download area in Perl which checks that a user is logged in before delivering a file to them. It is not enough to produce a page with a link on it since this link could be copied and posted on another website as a 'back door' to a supposedly protected file. My...
  7. Tyger

    pattern matching with passed variable

    Hi, I believe your problem lies the leading and trailing "/". This charcater is actually part of the match operation not part of the pattern to be matched. If you remove the "/" from the beginning and end of your regular expression and place them either side in your...
  8. Tyger

    Problem incorporating JavaScript in Perl

    Hi, I don't know a lot about JavaScript, but I believe that your problem is caused by the delete() function you have created. I think 'delete' is a JavaScript command (certainly trying "delete(hello);" appears to work) and Java thinks you are trying to use this command rather than...
  9. Tyger

    how can i put scroll bar to tbody

    I'm not sure you can do this without using something like java. Scrollbars are a function of the browser rather than the html document itself. If I have understood your requirements correctly I would use framesets rather than tables to approach this problem. Frames, like tables, can have...
  10. Tyger

    Exclusive file access and flock on Windows and UNIX

    That's exactly what I was hoping. thanks.
  11. Tyger

    Difference between STDOUT on Windows and Linux

    I have written a script which opens a file handle and then prints the file to the browser with appropriate headers so that the user must download the file, rather than seeing it displayed: print "content-disposition: attachment; filename=\"thefile.bin\"\n"; print...
  12. Tyger

    Exclusive file access and flock on Windows and UNIX

    I frequently find myself writing scripts which access text files as a form of basic database. My understanding is that the file should be locked to grant a script instance exclusive file access and prevent problems if two script instances try to access the same file simultaneously: open(TXT...
  13. Tyger

    Delayed Cookie Updates

    I have used Set-cookie etc. The problem is that if I try to read the new value from the cookie, within the same script which has just set it (Or within a subroutine called from the same script) the cookie contains the previous value, not the new value I have just set. Your reply implies that...
  14. Tyger

    Delayed Cookie Updates

    If I write new data to a cookie and then use $ENV{'HTTP_COOKIE'} to display the cookie's content I always get the PREVIOUS cookie value, not the value I have just written. Even if the "write cookie" and the "read and display cookie" routines are stored in separate scripts it...
  15. Tyger

    Delayed cookie update time

    I find that if I create a cookie or update an existing one it takes a little while for the information to be updated. That is: if I have one program which stores a value in an existing cookie, and then another program is run automatically which reads the cookie information, it will read the old...
  16. Tyger

    CSS padding for IE4 on the MAC

    I managed to solve my current problem by sticking STYLE=&quot;padding:0; margin:0&quot; into the <TABLE> tags. It seems that simply setting CELLPADDING and CELLSPACING to 0 is not enough to eliminate all unwanted default padding. My latest problem is that if I nest tables in a similar way to...
  17. Tyger

    CSS padding for IE4 on the MAC

    When I set padding in pixels in a cell in a table I get twice as much padding as I want. If I type STYLE=&quot;padding-left:50px&quot; I get 100px of padding in IE4 on the mac, but the correct 50px in IE5 in Windows. I know there are bugs in these programs but that is a fairly major problem...
  18. Tyger

    Permissions Confusion

    If I have a text file in the cgi-bin directory that I do not want to be readable or writable to anyone apart from myself via FTP when logged into my web space, or a script in the same cgi-bin directory, is this done with permissions? I have never found a good explanation of what permissions are...
  19. Tyger

    Deleting/Amending Cookies

    Having been able to set cookies using the Set-Cookie: command I would now like to be able to alter them by deleteing specific cookies, and deleting all cookies/the cookie file. I'm pretty certain this must be possible, but as yet haven't been able to find out how. Thanks.
  20. Tyger

    DIfferences in IE for Windows an Mac

    After having spent a great deal of time and effort ensuring consistency between my page's appearence in both IE and NN for Windows I have discovered the inconsistencies between Internet Explorer 5 on my PC and IE4 running in a mac emulator. The bulk of the page displays fine, I have already...

Part and Inventory Search

Back
Top