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: *

  1. cginewbie

    use Strict

    Thanks So i just simple put the use Strict directive on every code library that I want to "use Strict"? I thought I only have to put it up on the executable files only..... thanks for your tips
  2. cginewbie

    use Strict

    HI, If my CGI program have only 1 file, then use Strict would signals un-defined variables However, if I have several code library that will be imported via the `use` statement, use Strict wont work on that sense So How do I strict programs that have several libraries. kevin
  3. cginewbie

    #!/usr/bin/perl -w

    What is that -w has to do with Perl intepreter? and what other options can I use and what are their meanings? Thanks a bunch Kevin
  4. cginewbie

    APACHE REDIRECTION

    Ok, I have found this interesting... You can redirect somepage or the whole directory like this Redirect /your/server/path/folder http://www.somewhere.com You can block people from accessing your site with this AuthUserFile &quot;/somehwre/////.htpsswd&quot; AuthType Basic <limit GET> require...
  5. cginewbie

    Display two new windows from a CGI script

    How do I display two new windows from within a CGI script? print &quot;Location:http://www.hehehe.com\n\n&quot;; only take you to teh new location within the same window. How do I display two new windows once the script is invoked? THis is without using javascript? How about with javascript...
  6. cginewbie

    qmail

    how is qmail different from sendmail? i can use sendmail on my form.pl fine, but same form.pl file cannot work in qmail??? Please help
  7. cginewbie

    GD.pm

    Do anyone has experience installing GD.pm locally , at your own webspace? I want to use this module but my host dont want to install anything, just wonder if anyone of you know. thanks
  8. cginewbie

    File Permission On Windows

    thanks for the prompt reply. However, the file i am trying to write to is not ReadOnly or Archived. I cannot even write new files. Do you have any code that works on windows? thanks
  9. cginewbie

    File Permission On Windows

    Hi, my little code is working correctly on Unix but when it comes to Windows IIS, it does not work. I can read from a file in IIS fine, but when I try to write the something back, it says Permission denied. I know it is not about permissions. I tried both the \ and / and both gave the same...
  10. cginewbie

    gzip

    again, this is not what I look for. I am looking to make a tar ball for many directories and files, whose paths are known, not a single file. thanks for the help
  11. cginewbie

    gzip

    I can read the manual fine, but too stupid to write some codes in CGI that is accessible from the web. That's why look for some good programmer who can shows me.... thanks for the tip (but I cannot use it)
  12. cginewbie

    gzip

    would be PERL 5
  13. cginewbie

    gzip

    can any one shows me a good way to compress mutiple files into a Zip file? i want to compress folder1 (everything in this folder) folder2 (everything in this folder) folder3 (everything in this folder) file1 file2 file3 could this be done using gzip? It is in CGI, to be run from a web...
  14. cginewbie

    How do I get the cgi bin folder to show

    on IIS, cgi can be executed anywhere, if you have enable it. However, you can create a folder named cgi-bin and put files in there. Further more, IIS do not need to get the shebang line set, neither, and do not worry about permissions. hope this help
  15. cginewbie

    -f file test seems not to work

    HI, I wonder why the -f file test no longer works on some machines, yet others. I know there is a file called /www/domiain.com/file.txt when i do things lik if(-f $file){ do this } else{ do that } where $file =&quot;/www/domiain.com/file.txt&quot;; and the &quot;do...
  16. cginewbie

    SSI code in cgi-bin files

    httpd.conf only available to access if you own your server, have a dedicated server... if you run on virtual server, you will never have access to it... If you have DSL or cable, turn your comp into a server by download apache and install it... Play with httpd.conf and you will know just a...
  17. cginewbie

    pZip

    Hi, I have some months working with PERL, but I am new to pzip and whatever zip program that Unix support I don't want to download a program and use it, I want to learn how to use it, if any one has any idea, I would appreciate. This is it, I have many pictures display using a simple...
  18. cginewbie

    regex

    You misunderstood my question.... the input would consist of a series of words, not only one word... so your suggest does not work What I want to check is to see if any of the input words inside the string is more than XX character in length, not the whole string... I can do it by break it...
  19. cginewbie

    regex

    another regex help if I have a field name &quot;whatever&quot; and I want to check to see if the input has any words that is greater than 10 in length and reject it. How do I do that in one regex... I could do it by split it out into tokens and check every token it is not effiecent...
  20. cginewbie

    regex help

    hi, The problem is, I have a file that has hash variables in it (i.c %INPUT). After I read the file into an array, and I want the values of the harsh (%INPUT) to kick in. Since The file exist after the harsh has been defined, so the values of the harsh in the string won't change. My...

Part and Inventory Search

Back
Top