Feeds:
Posts
Comments

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

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

Free Image Websites

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

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> :P —>
<!— Check for HTML and replace ‘<’ and ‘>’ —>
<cfset postMessage = Replace(thisMessage, ‘<’, ‘&lt;’,'ALL’)>
<cfset postMessage = Replace(postMessage, ‘>’, ‘&gt;’,'ALL’)>
<!— Format the users message. —>
<cfset postMessage = Replace(postMessage, chr(10), ‘<p></p>‘,’ALL’)>
<cfset postMessage = Replace(postMessage, chr(9), ‘&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;’, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘  ‘ , ‘&nbsp;&nbsp;’, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘‘’ , ””, ‘ALL’)>
<cfset postMessage = Replace(postMessage, ‘’’ , ””, ‘ALL’)>
#postMessage#

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/

Just curious how the poll application works here.

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

My brains cannot store the list of convert numbers so here’s the url!

http://www.sql-server-helper.com/tips/date-formats.aspx

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…

I am trying to compile a list of steps to prevent iframe injection attacks. Hopefully, we are able to stop the problem coming back to us.

  1. Develop a scheduler to scan for iframe injection and run daily to check and email to us
  2. Download / open all the files and scan for iframe injection and take them out
  3. Inform the hosting to scan the website files again before we upload the cleaned files
  4. Implement code injection prevention
  5. Update and scan your pc daily

 

http://www.codingforums.com/showthread.php?p=825328

http://www.racingthirst.com/racyblog/?p=449

http://en.wikipedia.org/wiki/Code_injection

Older Posts »