I am working on a program/script in which I wanted to write in Perl. However, this is not possible since I want to keep the source code secure instead of releasing it open source. I want to release the program in a compiled form in which the source code cannot be revealed.
Is Java a viable...
I am running BIND 9.2.4 and am having a problem. I am trying to include another .conf file but am getting an error every time I try. I edited /etc/named.conf (Im also on a Fedora Core 3 box) and added this:
include "/usr/share/mysite/named.conf";
However, when I issue the command (over SSH)...
How can I make my Tk window always stay on top, no matter what other windows are open? The Tk window is a window that displays advertisements (NOT spyware or adware in case youre wondering), and I need it to always be on top of other windows.
I also need it, when activated, to "push"...
Is it possible to embed an Internet Explorer window inside of a Perl/Tk widget? Basically, I am writing a program that I want to display a small advertisement window at the bottom, but I want it to be displayed using IE and point to a specific URL.
If that is not possible, it it possible to...
Is it possible in Perl to create a script that can read the "random images" that are sometimes used in registration and posting forms on websites?
Like the ones that contain a few numbers that change each time the page is loaded, and the user has to type them into a box to make sure it is a...
I cannot get my perl scripts to work if they use any modules. For example, take the following script (test.pl):
use Digest::MD5;
print Digest::MD5::md5_hex("Some text");
print "\n";
When I compile it with the command:
perlcc test.pl
It tells me:
/tmp/ccl0Jfet.o: In...
I was wondering if I embedded my Perl script code in a C program using ExtUtils::Embed and then compiled the C program, would this be a secure way of protecting my source code?
Is it at least reasonably secure?
What are the possible (and probable) ways that someone could retrieve the Perl...
I am using Archive::Tar to make a backup of some files and directories on my server. This works fine:
$archive->add_files("/etc/SOMEFILE");
IF, SOMEFILE is actually a file and not a directory.
However, when I try to add a directory like so...
Is GnuPG illegal in the United States? For instance, if I have a web server that uses GnuPG to encrypt emails sent to and from it, and this web server is located in the United States, is this illegal?
Also, what if I use GnuPG for personal use on my home PC?
- Ben
I am running an online service that allows users to upload images to my website. Instead of storing the pictures on my website as .jpg or something of that sort, how can I instead store them in a table in my MySQL database? ANd then, how do I retrieve them and display them in the browser?
I am...
I am using the Rijndael cipher (utilizing CBC) to encrypt credit card numbers to store on a server (in the future).
However, I was wondering what the best way is to store the key for the encryption/decryption. I thought of simply storing it as plaintext in a MySQL database where my web...
I recall reading about a database that you could install into Perl (probably using a DBD:: driver), but it wasnt really a database like mySQL or mSQL. Instead, you could specify the absolute path to a file where the driver would create the tables, etc. for you, without the need to actuallly...
I want to know how to redirect someone to a webpage, but send POST information along with them. I know that I could use the GET method like this:
print "Location: http://www.somesite.tld/somescript.pl?key1=value1&key2=value2\n";
However, sometimes there might be more information...
I want to create a user using a Perl script using the 'useradd' command (on Red Hat Linux).
However, I also want to set the password when I issue the command, such as:
useradd SOMEUSER -p SOMEPASSWORD
The problem is that SOMEPASSWORD has to be encrypted when it is passed to useradd and I do...
I am trying to read a file (that I know exists and is readable, called 'EXISTING_IMAGE.jpg') and then simply print it back out to the browser via a Perl script. I am using the following code:
print "Content-type: image/gif\n\n";
# Read the image...
I am trying to figure out the best encryption/decryption algorithm to use when storing client's credit card numbers (for a website).
I will store the numbers in a MySQL database, but was wondering what algorithm to use. Could anybody give any suggestions?
- Ben
I have 2 tables (for instance):
BOOKS
----------------------------------
book_id An ID number
author
title
BOOK_SIZE
----------------------------------
book_id The ID number from BOOKS
size i.e. Large, Small, etc...
I want CRON to read a file and execute the commands in that file just like it would using crontab. However, I want to be able to specify where the file is (for example: /etc/MYPROGRAM/jobs.cron)
Any idea how I can do this?
- Ben
I have 2 dates in YYYYMMDDHHmmSS format. I know that $time1 is LESS THAN $time2, but I need to know how I can figure out how many MINUTES there are until $time1 reaches $time2.
Is there a module or some mathematical way to do this?
- Ben
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.