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...
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.