This can be simple but I'm trying to find out best way of converting string integer to date format. Maybe use regular expression for this?
there is input string which is 6, or 8 numeric characters.
if 6 characters then first 4 digit is year and last 2 digit is month.
If 8 characters then first...
I'm not sure if this is possible but I hope someone can help me out.
Basically I have a table with company information and conditional values. Conditional Values can be '<=$100,>$1000' or '>$200,<$500'...
In my application, I will pass a company information and value arguments. For example, if...
Can I sort by given values? Assume that I have column call EMP_ID with range from 1 to 6 then I want to sort by this order (1,3,5,6,4,2). Is there such way to do it easily?
TIA
I have a client who use Coldfusion 5 and the pages are encoded with Shift_JIS character set. I'm testing the internal site with CF 8 right now but facing many problems. First the client does not want to convert both cfm pages and database to UTF-8 so I have to use existing setup. Since CF5 used...
I'm currently running Coldfusion 5 with Oracle US7ASCII character set database. I have been stored data in Shift_JIS (Japanese), Big5 (Chinese), and EUC-KR (Korean). Now I installed MX 8 on development server and tried to work with existing Oracle database but everything display as garbage...
I need to make popup layer which when customer mouseover(hoover) to product then popup layer show up with other similar products then user can add to shopping cart directly. I'd like to have something similar to http://optspots.com/advertisers.html.
Is there any script that I can use or have an...
Assume that I have 20 images with sequence number like "happy_1.jpg" to "happy_20.jpg" then I need to upload all 20 images to server. However I don't like to click 20 times to enter the images into File field. Is there anyway that I can generate them in javascript and fill into the each File...
I'm trying to figure if there's way to check file exist from the download server before I download? I only need to check file exist or not but cfhttp is trying to download files... Anyone know easy way?
FYI i'm using CF 5.0.
I'm having little hard time to figure out how to replace URL encoded characters to original characters. For example I have this cookie from Coldfusion and it displays:
SESSION_INFO=12345%7C%7C1%7C%7C123%7C%7C10%2E6;
which is 12345||1||123||10.6
Can anyone show me how to convert SESSION_INFO...
Hi there,
Since I do not good understanding of pointers, I can not figure out why I'm missing from below code. Basically, I want to get filename from the url and if filename(media_id)is correct then return OK. But the problem is r->filename is changed. from /data/htdocs/localhost/12345_full.wmv...
I'm new to Apache and need help on c module.
This can be simple but it's really hard to find solution from web so I'm asking experts here.
Basically, if URI is "/folder1/12345_pdf_1.pdf", I'd like to get filename first which is "12345_something.pdf" then get "12345" document number. I'm writing...
Hi all,
I'm trying to increment the number of download cookie before download file action happens(or after) but forcing download is not working anymore. If I run the code separately then it works fine. I think "print cookie" is causing the download file here. Instead to popup the download...
Hi,
I created window by Glade and python to execute it.
Now, I want to make my login window to disabled Close button locate at top right corner(X button). Also Minimize button too. I can't find the solusion this...
Oh, I tried "window.set_decorated(FALSE)" to disable the Close Window but this...
Hi,
I used INCTYPE export to Complete, Incremental, and Cumulative from Oracle server1.
Then I tried to import this full export backup to Oracle server2 but I'm getting bunch of errors. First, it said filepath is not found, I created alias to point as original data path. Then next import run...
Hi,
I'm trying to use JSTL function replace to replace line break to <br>. This is the code I have.
${fn:replace(row.ENTRY_DESC, "\n", "<br>")}
I have error code in this function. If I use regular replace function it works. Can someone explain what's difference here and...
Hi all,
thank you for the great site and all the good stuff here ^^
I have question on changing the toolbar setting after an user login. Is it possible that we can hide toolbar, status bar, url address, and so on same window screen? I tried to use pop-up window then close the parent window but...
Hi,
I need help on setup remote database connection on DreamWeaver MX. This is what I did.
I created site.
I set document type to "Coldfusion".
Then I created testing server. The testing server is using FTP.
Now, I'm facing a problem that I don't know how to use local DSN to connect...
I have number of item IDs. The format is like
qty_<itemID>
qty_111
qty_112
qty_113
....
When the form is submitted, I then take that qty_<itemID> to get values by looping the items by using ItemID. I have hard time to figure out how to get value of the qty_111. This is more like variable inside...
I have a customer number as 000-000000-000000. I'd like to have if statement that check for length is 17 and first 3 digits are number and 5-11 is number and 13-17 is number. I'm very new to jsp 2.0 and willing to convert my coldfusion to jsp page by using jstl tag.
Can someone help me on this...
Hi all,
I have question about get next character from JSTL tag or jsp page. If i want to have "C" from "B", how can i do that? Can we do this in jstl tag?
Thank you.
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.