September 1, 2009 by eileenaw
Url: http://www.webreference.com/programming/javascript/mk/column2/
Url: http://snook.ca/archives/javascript/determining_the_droppable/
Url: http://icant.co.uk/sandbox/eventdelegation/
Url: http://wiki.github.com/madrobby/scriptaculous/droppables
Url: http://snook.ca/archives/javascript/anatomy_of_a_drag_and_drop/
Url: http://www.dynamicdrive.com/dynamicindex11/domdrag/index.htm
Url: http://www.javascriptkit.com/jsref/event.shtml
Url: http://www.quirksmode.org/js/events_order.html
Posted in javascript | Tagged draggable | Leave a Comment »
August 25, 2009 by eileenaw
Researching on why our SMTP mail server is used for email spamming!!! Any solution???
Url: http://en.wikipedia.org/wiki/Open_mail_relay
Url: http://www.uic.edu/depts/accc/ecomm/smtpmove/intro.html#4
Url: http://en.wikipedia.org/wiki/Spyware
Posted in email | Tagged smtp email spam | Leave a Comment »
August 14, 2009 by eileenaw
12 best places to get free images for your site
Cool, I have been googling away to look for some nice desktop backgrounds but the free image websites are better!
http://www.techradar.com/news/internet/web/12-essential-sites-for-great-free-photos-624818
Posted in design | Leave a Comment »
August 6, 2009 by eileenaw
Finally, the cfdocument to print out all the mesages bug is fixed. Last time, the server was Coldfusion 7 so the print all was working. Then when upgraded to Coldfusion 8, it did not work because of
tag. I have replaced it with fake break that is <p></p>.
keke…
<!— EA 5 Aug 2009 – <br> cannot be rendered within cfdocument
so use <p></p>
—>
<!— Check for HTML and replace ‘<’ and ‘>’ —>
<cfset postMessage = Replace(thisMessage, ‘<’, ‘<’,'ALL’)>
<cfset postMessage = Replace(postMessage, ‘>’, ‘>’,'ALL’)>
<!— Format the users message. —>
<cfset postMessage = Replace(postMessage, chr(10), ‘<p></p>‘,’ALL’)>
<cfset postMessage = Replace(postMessage, chr(9), ‘ ’, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘ ‘ , ‘ ’, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘‘’ , ””, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘’’ , ””, ‘ALL’)>
#postMessage#
Posted in coldfusion, programming | Tagged cfdocument, Parsing problem occured, rendering process | 2 Comments »
July 28, 2009 by eileenaw
With expanding system with more and more new modules and new functional and field filtering requirements, how can we manage the navigation and the view of the data? I am currently doing a research on this to get more depth.
What we have currently are:
- manage users
- manage roles which are broken down into navigation (module) and functional (button).
- assign default role to user
- but role of user can be customized
I hope to bring the roles and rights management to a higher level and easier to manage.
Url: http://www.asp.net/LEARN/hosting/tutorial-16-cs.aspx
Url: http://drupal.org/node/120614
Url: http://www.asp.net/LEARN/security/tutorial-09-vb.aspx
Url: http://www.dokeos.com/wiki/index.php/User_roles_and_rights
Url: http://www.codeproject.com/KB/aspnet/innovative_rolebased_WAT.aspx
url: http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
Url: http://www.pilotware.com/images/PWDigTutorial_UsersandAccess.pdf
Url: http://tutorial67.easycfm.com/
Posted in coldfusion, programming | Tagged roles and rights | Leave a Comment »
I am still kicking alive… have been very busy with work and family to post here haiz..
Found great solution to my long term problem using cfx excel. Tried to format the date display so many times or make the format cell working till like failed! here’s the good solution at this url!
Solution:
1) Make sure the cells for CreatedDate column are formatted in the excel template before writing. example custom > dd-mmm-yy. For CreatedTime column, set format cell to display custom > hhmmL
2) here’s the ultimate solution.
<cfset columnList = “Name,CreatedDate,CreatedTime”>
<cfset columnTypeList = “VarChar,Integer,Decimal”>
<cfset dataQuery = QueryNew(columnList,columnTypeList)>
<cfset tmp = QueryAddRow(dataQuery,1)>
<cfset tmp = QuerySetCell(dataQuery,”Name”,”Eileen”>
<cfset tmp = QuerySetCell(dataQuery,”CreatedDate”,”#DateFormat(now(),’yyyy/mm/dd’)#”>
<cfset tmp = QuerySetCell(dataQuery,”CreatedTime”,”#TimeFormat(now(),HH:mm:ss)#”>
3) use cfx excel to write the query
4) Instead of displaying mm/dd/yyyy, the cell displays dd-mmm-yy at last! coz of the “Dates are numbers!”. For time, it should use decimal. It displays the datetime as hhmmL in the excel.
http://www.eggheadcafe.com/conversation.aspx?messageid=33575936&threadid=33575933
Posted in coldfusion, sql | Tagged cfx excel date format | Leave a Comment »
June 16, 2009 by eileenaw
My colleague managed to solve the code injection:
1. Set all the folders to read-only by editing its folder or file properties
2. Use remote connection to the server and remove readonly. Then overwrite the codes or upload the files. Then set back to read-only. (in this way, the hacker will not write into the files)
3. Run the scheduler to scan the files for iframe or script or any file that is modified between 9pm to 6am when the programmers are sleeping away ( you can custom your own codes by using cfdirectory to open and read the contents of the files and search for keywords)
4. Marvellously, last night the files are still intact. Will CONTINUE to monitor for the next few more days…
Posted in coldfusion, programming | 2 Comments »