My online adventures and stuff...
Monday, July 16, 2012
Salted Password Hashing - Doing it Right
"If you're a web developer, you've probably had to make a user account system. The most important aspect of a user account system is how user passwords are protected. User account databases are hacked frequently, so you absolutely must do something to protect your users' passwords if your website is ever breached. The best way to protect passwords is to employ salted password hashing. This page will explain how to do it properly."
Wednesday, September 14, 2011
Chinese characters in web pages
When including chinese characters in web pages you need to make sure the charset is set to the appropriate format.
I have had success when setting the charset in the head of the document to utf-8.
One thing to note is that the text editor encoding should also be set to the same setting before inserting the characters into the underlying file. This may upset some existing characters such as ' - so check that out. Just have to set the encoding in the text editor to utf-8 and then retype the problem character.
This worked for me.
Saturday, February 26, 2011
Building a Twitter Extension for Google Chrome
OK. This is slightly out of date because toolstrips have been replaced by browser_action. But it has some handy info.
Friday, January 28, 2011
How to fix: Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP ins
I have been running Wampserver. Recently, after some intensive data manipulation phpMyAdmin threw this at me:
"Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly"
What to do?
Go to phpinfo() which you can find by going to the localhost page from the wampserver icon in your taskbar.
Search for "session.save_path". This will be where the session files are saved. Go to the directory indicated and delete the most recent session files.
That's it. Well, it worked for me anyway. Good luck!
Monday, October 25, 2010
Firesheep In Wolves’ Clothing: Extension Lets You Hack Into Twitter, Facebook Accounts Easily
Developer Eric Butler has exposed the soft underbelly of the web with his new Firefox extension, Firesheep, which will let you essentially eavesdrop on any open Wi-Fi network and capture users’ cookies.
As Butler explains in his post, “As soon as anyone on the network visits an insecure website known to Firesheep, their name and photo will be displayed” in the window. All you have to do is double click on their name and open sesame, you will be able to log into that user’s site with their credentials.
About this page...
This page is an archive of the bits and pieces I have found useful and/or interesting recently.
You might find something helpful or interesting here as well.
All the best.
Tags...
charset encoding format 1Gw 3d A123 activism addiction aerospace AFL ajax alarm analytics android animation anonymous antispam antivirus Apache apple applications apps architecture art asian astronomy asx audio audiobooks autocomplete avatar aviation awn backup band bandwidth barcode battery bittorrent blender blog bookmark bookmarks boot boxee broadband broadcast browser browsers burn business button cache calendar camera captcha capture car Career caricature cars cartoon catholic censor characters charger charity chart chat cheatsheet check china chinese christian chrome chrome-os cigs clipboard clock clone clonezilla clothes clothing cloud cms code collaboration color colors colour comments community compare compatibility compiz compress compression computer ComputerStuff concerts conference conferencing connect connection consumption conversion convert converter cookie copter copy corners corruption cosmology cost_solar cousins crowdsourcing css cURL currency dangerous data database date defense deflate del.icio.us delete depression design desktop development dictionary digg digitizing Directories disk diy dns document documents domain download drive-letter DRM drugs dual-boot dualboot dvd e-commerce ecommerce economics editor education effects electric electricity electronics email email2sms embed encoding Encryption energy entertainment entrepreneurship events exercise exploration expression extension EyeTV f22 face facebook familytree fashion favicon fax fckeditor feedback feedburner file file-transfer files filesharing filetransfer finance firefox firesheep firewall fitness fix flash flowchart font fonts food football footy force-tls form forms forum forwarding free freeware friendfeed ftp fun future gallery game games gantt gd genealogy generator ghost ghosts gif gifts gimp gmail google googlemaps google_earth government gprs gps graphics graphivs greene gub guide guitar gzip hack hacks hamachi happiness hardware heatmap help highlight hire Hockey hosting hotspot how howto html html-xhtml html5 https humor hydrogen icons ideas ie7 iframe image images imported install intel internet intervention interviews invention ip ipad iphone ipod iraq itunes jobs joomla jquery kalgoorlie kiss landscape large layout learning Li life linux list live liveblogging livecd login mac magazine mail mailforwarding maintenance maps marketing markup mechanic media medicine meeting meetings menu message messaging metadata microformats military mining mobile modem mod_gzip money monitor mood motherboard motorcycle mouse movies MP3 music Music&Ent mysql nanoantenna nanosolar netbook netbooks network networking news nexus_one NHL noiseless nuclear office oil online opendns opensource optimization optimize optimizer organiser organization p2p p3p palette partition password pattern pc pdf peace pear performance perth PerthStuff phone photo photography photos photoshop php phplist phpmyadmin physics pic pitch plane planning plugins podcast podcasts politics pope portable power powerpoint ppt pr presentation presentations print privacy problem programming project-management promises propaganda property_management protools proxy pubsubhubbub push pushmail qrcode quadracopter quantum radio rdr reader reality reason receipts record recording recovery recycling reference referendum reflect registry rehab religion reminder remote remoteaccess remotedesktop remote_desktop rent repair rescue research resources restaurant resume rhyming richsnippets rip robot rounded rss samples satellite sat_phone save scan scanner schedule science Scraping screen screencapture screencast screencasting ScreenScraping screensharing screenshots scripts search security semantic send seo server service sessions share Shares sharing shipping shopping shoppingcart shortcut:quote shortcuts silent skype slideshow sms sniffer social socialmedia socialnetworking software solar Solar_Roadways songwriting sounds space spam spambox speedtest sport sports spy ssh ssl startup statistics stats stocks storage streaming studio study suggestions support survey surveys sync table tables tabs task tech technology telemarketing telephone templates terrain terrorism test testing text text-to-speech themes thumbnail tickets tie timeline timetable tinyurl tips todo tool tools torrent tracer tracking trading traffic training transfer transport travel tunnel tutorial tv twit twitter typography uav ubuntu unblocker undelete universe update upload uppercase uraniium uranium url usa usability usb utilities utility validation Validator vanadium vector versions video viewer vnc voicemail voip vpn vst w.a. wamp war waste weapons web web2.0 webapp webcam webconference webconferencing webdesign webmeeting weboffice webserver website websites webstandards west-coast-eagles whiteboard whois widescreen widget widgets wifi wiki wind windows wireless wishlist work workout wysiwyg xml xp youtube
