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
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
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 "/somehwre/////.htpsswd"
AuthType Basic
<limit GET>
require...
How do I display two new windows from within a CGI script?
print "Location:http://www.hehehe.com\n\n";
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...
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
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
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...
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
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)
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...
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
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 ="/www/domiain.com/file.txt";
and the "do...
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...
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...
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...
another regex help
if I have a field name "whatever" 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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.