Joshua,
You might want to try looking up the CreateObject() function in the CF docu. I
haven't used CF5 though (nor am I very knowledgeable in invoking external Java
apps), but I think initializing the library in version 5 looks something like
this:
DES3 = CreateObject(java,
Joshua,
I also encountered this problem when I tried to execute a Java-based Hello
world! in my CF app for the very first time (which was about 3 days ago). I
solved it by configuring CFIDE so that it would point to the directory where my
*.jar file resided.
In CFIDE, simply navigate to
Kevin,
As a ColdFusion newbie, I'm currently not aware of any CF function that would
detect the user's browser capabilities. However, I have an idea: using
JavaScript, just redirect the current page and pass a variable to itself.
Here's a code snippet to solve your problem:
cfparam
Weird... my post was filtered by some software... instead of script, it came
out as InvalidTag... hmmm... Do you guys know why this happened? :)
[ simon.cpu ]
InvalidTag type=text/javascript language=javascript
// ![CFDATA[
Basically, you just see if your JavaScript can successfully invoke
window.open(). There is a myriad of ways to do that, so it would be fun to
self-explore and look for alternate solutions. :)
Cheers,
[ simon.cpu ]
i was on a site once and i clicked on popup and it said i had a popup
Oh great masters of ColdFusion, a humble beginner beseeches your help. Oh
great masters of this arcane language, how do I count the number of columns in
a given table?
In PHP, all I have to do is to invoke mysql_num_fields(), and I'm done without
further ado. In ColdFusion, I have to count
Interesing. I really can't wait for the stable release of MySQL 5.x. Although
I have the latest beta on my localhost, our production server runs on the
Generally Available (GA) 4.x version. Thank you for pointing me in the right
direction. While exploring the INFORMATION_SCHEMA db, I'll
Hi Jillian,
Here is one way to implement slide shows in PHP. Please note that this code is
rather crude-- I haven't even put the required html and body tags.
Anyway, here it is:
?php
// how many seconds do you want your image to display?
$interval = 5;
Sorry, I've forgot one line. :) Anyway, I think this code would only work if
your database contains at least one image.
Regards,
[ simon.cpu ]
?php
// CORRECTED CODE:
// how many seconds do you want your image to display?
$interval = 5;
if(!isset($_GET['ptr'])) {
I hope I'm not mistaken, but I believe you *can* set the auto_increment number
and pad it with leading zeroes. Take for instance a table created using the
query below:
CREATE TABLE blah (
key int(12) unsigned zerofill NOT NULL auto_increment,
data char(32) NOT NULL default '',
PRIMARY
Sorry, I forgot to add a single quote:
data char(32) NOT NULL default '',
Cheers,
[ simon.cpu ] -- often forgets small details such as this :)
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket
I don't think there's such a thing as a Javascript include function or
method.
You might want to check out DynAPI at http://dynapi.sourceforge.net/. This
library has (or had? It's been yrs...) a cross-browser include method.
Depending on the browser, it may either use iframe, layer,
I don't think there's such a thing as a Javascript include function or
method.
You might want to check out DynAPI at http://dynapi.sourceforge.net/. This
library has (or had? It's been yrs...) a cross-browser include method.
Depending on the browser, it may either use iframe, layer,
I don't think there's such a thing as a Javascript include function or
method.
You might want to check out DynAPI at http://dynapi.sourceforge.net/. This
library has (or had? It's been yrs...) a cross-browser include method.
Depending on the browser, it may either use iframe, layer,
Sorry for posting my previous post multiple times. Our DSL connection
(skyinet.net) is very crappy on peak hours (it's slower than normal dial-up),
and I kept on pressing the Refresh button a couple of times because the page
didn't load.
I promise it won't happen again.
[ simon.cpu ]
Hi Will,
I never use cfform, but I think you can apply the idea that I'll be sharing
to you to cfinput. Suppose you have two files, billing.cfm and shipping.cfm.
The user enters his billing info in billing.cfm, and submits it to
shipping.cfm.
Suppose you have the following input in
Oops... Corrections. The examples are supposed to be:
input type=text name=address id=address /
and
cfoutput
input type=text name=address id=address
value=#HTMLEditFormat(URL.address)#
/
/cfoutput
[ simon.cpu ] -- always forgets small details such as these :(
I agree with Jochem that you can grab the exact data in one query. However,
after seeing the problem from another perspective, your problem lies at the
fact that you directly used $pic to print the image name:
$pic = mysql_query(select img_name from pics WHERE rntID = 31);
echo $pic br;
echo
Yatik daw la :( I again have trouble seeing small details such as these:
$data = mysql_fetch_object($pic);
echo $pic-img_name br /;
echo img src=\../images/$pic-img_name\ /;
CORRECTION: $pic-img_name should be $data-img_name
or, using mysql_fetch_array():
$data =
Yatik daw la :( I again have trouble seeing small details such as these:
$data = mysql_fetch_object($pic)
echo $pic-img_name br /;
echo img src=\../images/$pic-img_name\ /;
CORRECTION: $pic-img_name should be $data-img_name
or, using mysql_fetch_array():
$data =
Yatik daw la :( I again have trouble seeing small details such as these:
$data = mysql_fetch_object($pic);
echo $pic-img_name br /;
echo img src=\../images/$pic-img_name\ /;
CORRECTION: $pic-img_name should be $data-img_name
or, using mysql_fetch_array():
$data =
Hi Jillian,
Your userlisting at http://regina4rent.com/reg/userlisting.php seems to be
working properly. If I may suggest however, I think it would be nice if you'd
only display the thumbnail image of your houses. IMHO, I think it would be
convenient for the end-user if you won't use the
Would you take your bmw to some cheap mechanic that only used free
tools or the new state of the art repair center?
I have a question to you, my dear friend: Would you buy a BMW with its hood
welded shut?
Did you fall for the dumb scam of we don't charge any closing fees
when you bought
I have a question to you, my dear friend: Would you buy a BMW with
its hood welded shut?
yeah, what the hell would I being doing under the hood when it's built
by a solid company that will take care of any issues that arise.
BMW is a solid company.
A solid company will take care of any
I'm not so sure that the logic follows.
It does if your car is no longer new and that your warranty has already
expired. The same is true with software.
I think this thread is definitely going OT though!
I agree. This should be my last post for this thread.
[ simon.cpu ]
IMHO, he was indeed saying that LAMP was a lesser solution (that's my
impression). That's fine with me if that's what he thinks. Our thoughts are
beyond the influence of anyone. But when you translate those thoughts into
actions and words, that is a very different story. I wish he hadn't
Randy,
The code works on my PC, both in FireFox and IE. I'm using a resolution of
1152 x 864. Maybe this doesn't work only if it is included within your actual
webpage, right? You might want to inspect your extra closing /div tag. :)
Cheers,
[ simon.cpu ]
Any ideas on this??
Rebecca,
I think this is the regular expression for your desired pattern:
^[0-9]{1,5}(-[0-9]{3})?$
I hope this helps.
Cheers,
[ simon.cpu ]
I'm having a heck of a time with this... trying to build a javascript
regExp for the following pattern:
[1-5 digits] [optional hyphen and 3 digits]
28 matches
Mail list logo