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 Rhinorhino 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: cginewbie
  • Content: Threads
  • Order by date
  1. 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
  2. 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
  3. 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...
  4. 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...
  5. 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
  6. 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
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. cginewbie

    regex help

    I have a problem I have some $INPUT{input1}, $INPUT{name2}, , ....$INPUT{whatver} in a file, and I want to change them all in one line so that every $INPUT{inputX} will have the value of $OUTPUT{inputX} I do something like $file =~ s/$INPUT{(.)+}/$OUTPUT{1}/g; but it does not work? thanks
  13. cginewbie

    chmod

    How do you change mode of files from cgi application? like data/ data/ddd if data is 0777, can you change all subdirectories and files inside data to 0777 also by CGI application? or it has to be done every signle one from the cmd line?
  14. cginewbie

    newbi question

    Hi, how do you know if the passed argument is an integer, pointer to an array, pointer to a harsh, or whaever? for ex. sub a{ my $a = shift; if($a is an interger{ ...} elsif($a is a pointer to a string){...} elsif($a is a pointer to an array){...} elsif($a is a pointer to a harsh){...}...

Part and Inventory Search

Back
Top