Hey all,
I'm having a lot of trouble with the following:
function buildPage(formName,monthName,dayName,yearName) {
formName = document.formName;
monthName = document.formName.monthName;
dayName = document.formName.dayName;
yearName = document.formName.yearName...
Hey all,
I'm having trouble with the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script>
<!--...
Hey gang,
I am working on the following code snippet:
<cfset journalPrefix = Left(#URL.PubID#,2)>
<cfset journalVolume = Mid(#URL.PubID#,3,2)>
<cfset journalIssue = Mid(#URL.PubID#,6,1)>
<cfif (journalPrefix IS "HR")>
<cfif (journalVolume = 8) AND (journalIssue >= 6)>
<frameset...
The following query gives me an "invalid character" error:
SELECT U.userid,
U.firstname,
U.initials,
U.lastname,
A.addr1,
A.addr2,
A.city,
A.stateprov,
A.country,
A.postalcode,
A.phone
FROM cr_users As U...
Hey folks,
How do I combine the two results sets into one:
SELECT userid,firstname,initials,lastname FROM cr_users WHERE userid IN ('1435335','1034861','1425675','1425855')
SELECT userid,addr1,addr2,city,stateprov,country,postalcode,phone FROM cr_useraddr WHERE userid IN...
Hey folks,
I just "inhereited" a database (as in the db left and now it's my job) and we're getting the following error:
hostdef extension doesn't exist
I AM NOT A DB, but can find my way around a SQL database. Please help as I haven't the first clue how to fix this.
Thanks,
- MT
Hey gang,
I want to allow my wife to be able to access a hard drive on a particular machine we have but ONLY allow access to certain directories. In other words, she only needs to see the iTunes directory, the iPhoto directory and a few others. All others should not be visible to her. How do...
Hey all,
Here's a snippet of code I'm having trouble with:
Dim objFSO, objFile, objTextStream, objCaptureString, ipAddress
ipAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If ipAddress = "" Then
ipAddress = Request.ServerVariables("REMOTE_ADDR")
End If
Set objFSO =...
Hey all,
I'm new to PHP, but I've been coding JS, Perl and ASP for a quite a bit so I'm used to the syntax. However, I can't figure out the following issues. I get this error:
Warning: Cannot add header information - headers already sent by (output started at...
Hey all,
I'm VERY new to mySQL. How can I find the default DB on the server (RH Linux)? I need to find the right information to plug into the admin tool.
Thanks,
- MT
Hey all,
I'd like to convert the following to AA Javascript:
function processLink(partNumber) {
var partialURL = "http://www.peigenesis.com/pnsearch/pn_next_prev.asp?scroll=0&pn=";
var fullURL = partialURL + partNumber;
alert("Please be patient. The search process can take up to...
Hey all,
I've asked this question at the Adobe forums but they don't seem to be of much help. I can code JavaScript rather well, but I can't seem to figure out the version that goes on with AA 6 Pro. I want to create a popUp or some other type of warning system when a link is clicked. Any...
OK, what am I doing wrong here? I'm trying to have the left button / right button event captured:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">...
Hey all,
OK, this started out as a perl problem and now I think it's an HTML / JS problem. I have some Perl code that, essentially, does what this little HTML code does here. Both are not working. I cannot get the refresh to execute. Please tell me why:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD...
Here's the body of the .cgi file:
#!/usr/bin/perl -w
use CGI qw/:standard/;
use CGI::Cookie;
use CGI::Carp qw(fatalsToBrowser);
use perlLib;
%cookies = fetch CGI::Cookie;
my $emailCookie = $cookies{'peiEmail'}->value;
my $ipCookie = $cookies{'peiIP'}->value;
my $fileName = substr...
Hey all,
I'm really getting sick of my current package. Sure, it's free and works ... OK... but I need something a little more robust. I'm on a UNIX server. What do you guys and gals use?
- MT
Here's the error:
Use of unititialized value in -3 at line 11
Here's the line:
$currentFolder =~ s/\%20/ /gi unless (-e $currentDirectory);
and Here's the full code:
#!/usr/bin/perl -wT
use integer;
print "Content-type: text/html\n\n";
my $currentFolder =...
Hey all,
I'm still very much in learning mode here, so please help me out. The following code works fine, but I'm wondering if my if statements aren't a bit hoakey? This is the first application I wrote without looking at the book (too much). Please let me know what I could do to improve...
Hey all,
I'm taking a few "power courses" (the ones they teach in four days) on the fundamentals of Java. I've been programming in other languages for a bit, so this isn't exactly the world's toughest thing for me, but I'd like to practice a bit on the fundamentals before my project starts...
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.