Skip to main content
CafeWebmaster

Main navigation

  • Tools
    • MD5 converter
    • SHA1 converter
    • Base64 encode
    • Base64 decode
    • HTML entities encode
    • HTML entities decode
    • Raw url encode
    • Raw url decode
    • UTF8 encode
    • UTF8 decode
    • Unix Time to Human Date converter
    • Remove duplicate lines
    • Sort text lines
    • Backwards - Mirrored Text
    • PiRaTe tExT
    • Your IP Address & Hostname
  • Forums
  • Free PHP Scripts
    • Image watermark with PHP
    • Page generation time with PHP
  • CSS
    • CSS hidden left menu
    • CSS horizontal menu
  • Free Fonts
  • Image Editors
  • Tutorials
    • Check password strength / safety with PHP and Regex
    • Cómo hacer que su sitio web popular!
    • How2 make a website popular
    • How2 secure your website
    • Kennwort Sicherheit mit PHP und Regex Prüfen
    • Page generation time and http-referrers with php
    • Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
  • New
User account menu
  • Log in
By n8coder, 27 May, 2009

Drupal 6 vs. Joomla 1.5 (2009)

  • Read more about Drupal 6 vs. Joomla 1.5 (2009)
  • 9 comments
  • Log in to post comments

Drupal versus Joomla!This is a comparison of most popular content-management-systems Drupal 6x and Joomla 1.5 series.

Drupal pros: free, professional coded, multilang, multisite, performance, great community, flexibility, power, role-based user access, flexible content types, excellent taxonomy system, seo friendly urls, multi-db-support

By n8coder, 20 May, 2009

Image watermark with PHP

  • Read more about Image watermark with PHP
  • 3 comments
  • Log in to post comments

To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial. For best results I prefer gif than png, because some png formats require extra functions to print a transparent image. We can convert this script to a batch-watermarker easily to watermark photo albums/galleries with multiple pictures by putting code in a loop or create a function.

Steps:

By php5, 19 May, 2009

Page generation time and http-referers with PHP

  • Read more about Page generation time and http-referers with PHP
  • 1 comment
  • Log in to post comments

Webmasters want to know where all visitors coming from, which pages they visit and how long does it take webpages to load in miliseconds. This tutorial shows how to save your visitors/website details like referrer, browser/client, ip-address, langind-page in three steps. Remember if your scripts ends with exit() or die() command, footer code will not work. Just remove that commands or put them below footer code.

  1. Create your mysql table
  2. Add top-code
  3. Add bottom-code

SQL Query

By n8coder, 19 May, 2009

Alternative captcha ideas for future

  • Read more about Alternative captcha ideas for future
  • Log in to post comments

Now there are multiple captcha types against spam/abuse:

image captcha
ascii captcha
audio captcha
math captcha
easy questions

How will next generation captchas look like? I think in the future there will be much more captchas types like:

car captcha
film captcha
famous people
famous places
number to text
word suggestion with add remove extra letters(ie: gogle, new yoork)
animals (ie: which animals do you see in this picture from left to right)
traffic captcha

What do you think what more could be one of next spam-preventing technologies?

By n8coder, 15 May, 2009

Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion

  • Read more about Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
  • 1 comment
  • Log in to post comments

Here are examples of code how to redirect an old page/url/domain to a new one with most popular client+server side programming/scripting languages. We use 301 http status code (permanent redirect). If you need temporary redirection use 302 status code instead of 301. It is better to prefer server-side redirection, because some clients are surfing with javascript and http-refresh disabled browsers. Do not forget to test your code first!

.htacces and Mod_Rewrite (Apache Webserver)

By n8coder, 13 May, 2009

Check password strength / safety with PHP and Regex

  • Read more about Check password strength / safety with PHP and Regex
  • 2 comments
  • Log in to post comments

Password Validation with PHP and Regular Expressions

What is a good password? Your birthday, favorite star or first school, car, ...? None of them, because all similar passwords are very easy to crack.

My golden rule for safe-passwords is simple: Google or any search engine should NOT find any result for your password-string. But do not search for your password without changing some characters, because it will be visible as clear-text to all networks between your pc and Google server.

By n8coder, 11 May, 2009

Best free image-editors for Windows

  • Read more about Best free image-editors for Windows
  • 1 comment
  • Log in to post comments

GIMP for Windows
http://www.gimp.org
GIMP is the most popular open-source image editor for Unix/Linux. Windows users can use GIMP with installing GTK additionaly.

XnView
http://www.xnview.com

By n8coder, 9 May, 2009

Next generation URLs, hostname/id without www and long-keywords

  • Read more about Next generation URLs, hostname/id without www and long-keywords
  • Log in to post comments

Twitter shows us that size matters, but shorter is better!

Its long time that many websites do not use .html like suffix. Remember spammer use longest urls with most important keywords. And many popular websites ie: Digg, Drupal, Twitter do not use www. in hostname(just Dmoz changed to www. in the last time). Web is getting mobile, also not everyone using internet with a full-keyboard, many users are getting information with cell-phones or similar small devices without a full-keyboard. Therefore it is getting more important to have short urls.

By n8coder, 9 May, 2009

How do I secure my web site?

  • Read more about How do I secure my web site?
  • 4 comments
  • Log in to post comments
  1. Brute force dedection should be enabled.
  2. Cache directories should be secured.
  3. Captcha's should be enabled and required for anonym users to avoid spam.
  4. Code Injection should be prevented.
  5. Cookies should NOT be used to store passwords and sensitive data.
  6. CSRF should be prevented.
  7. Directory listing should be disabled.
By n8coder, 7 May, 2009

Best websites for cool free fonts to download

  • Read more about Best websites for cool free fonts to download
  • Log in to post comments

This is a list of best -most free- font sites for webdevelopers and screen/graphic designers. The list is sorted by popularity(Google-Pagerank and Alexa) and usability(easy to find/navigate, categories, tags, preview, download speed, less ads, friendly design etc). Most of sites have options for both Microsoft Windows and Apple Macintosh.

www.dafont.com

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Current page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page
CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.