Archive for April, 2008

MySQL variables range

April 24, 2008

TINYINT A very small integer The signed range is –128 to 127. The unsigned range is 0 to 255. SMALLINT A small integer The signed range is –32768 to 32767. The unsigned range is 0 to 65535 MEDIUMINT A medium-size integer The signed range is –8388608 to 8388607. The unsigned range is 0 to 16777215 [...]

Tags: , , , , , , ,
Posted in Other, PHP & MySQL, Website's Comments Off

.htaccess – user guide

April 23, 2008

Custom Error pages ErrorDocument 400 http://new-error-page.htm ErrorDocument 401 http://new-error-page.htm ErrorDocument 403 http://new-error-page.htm ErrorDocument 404 http://new-error-page.htm ErrorDocument 500 http://new-error-page.htm Redirects - great if you change your domain or some portion of your site Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html Links: http://www.javascriptkit.com/howto/htaccess.shtml

Posted in Apache, HTML, Website's Comments Off

Where to subbmit my webpage/blog

April 22, 2008

Yahoo: https://siteexplorer.search.yahoo.com/submit/ You need to have an Yahoo Account (it is free) Google: http://www.google.com/addurl/ http://www.google.com/webmasters/sitemaps/ DMOZ: http://www.dmoz.org/add.html from dmoz almost every small and big directory in the world get page informations OTHER search engines & Directoryes Summit to many directoryes: http://www.submitexpress.com/submit.html http://ananzi.co.za/Add_site/

Tags: , , , ,
Posted in Website's Comments Off

How to kill a dragon with various programming languages

April 22, 2008

This funny text comes from Ibon from the dream team who got it from a Spanish blog. There’s a beautiful princess, prisoner in the highest tower of a castle, guarded by a mighty dragon, and a fearless knight must rescue her… This is how each language would manage to rescue the princess from the hands [...]

Posted in Programming Comments Off

LINQ to XML (C#) create new xml document

April 10, 2008

How to create a new xml with LINQ   var objCars= new[] { new {CarID = 2, CarName = "Ford", Fuel = "Diesel"}, new {CarID = 3, CarName = "Audi", Fuel = "Diesel"}, new {CarID = 4, CarName = "Mercedes", Fuel = "Diesel"}, new {CarID = 1, CarName = "BMW", Fuel = "Diesel"} };   [...]

Posted in .NET, ASP.NET, Visual C# 1 Comment »