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 Anonymous (not verified), 1 May, 2009

Sleep Function for JavaScript like PHP

I need to implement a general sleep function replacement for javascript. It should be possible to call it multiple times on a page. I googled and found some code on ozzu forums, which didnt work for me. I get alert messages immediately without waiting 2 or 5 seconds. I tried it (with MSIE+FF) as following :


  • Read more about Sleep Function for JavaScript like PHP
  • Log in to post comments
By n8coder, 1 May, 2009

Web 2.0 Style two Side Background, Dark to Light Effect

  • Read more about Web 2.0 Style two Side Background, Dark to Light Effect
  • 1 comment
  • Log in to post comments


This is a demo page. We use two divs and two background images for left and right. And we use background-position attribute of css especially to align the right background to right of page. Dont forget to tell browser how bg should repeatet. Even if the page is resized, we have the same effect on the display. Demo and More

Left background image:

By rex, 29 April, 2009

Regex (regular expression) password check with Java

  • Read more about Regex (regular expression) password check with Java
  • Log in to post comments

Our String is
aaaaaZZaa44

and with the regular
((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,})

we check if our password contains at least one digit, one upper and lower case.
we also check the length of the password, if its greater than 6.

import java.util.regex.*;
public class RegexPwdCheck {


	public static void main(String[] args) {

		String passwd = "aaaaaZZaa44"; 
		String pattern = "((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,})";
		System.out.println(passwd.matches(pattern));

	}
}
By AaliyahRoma, 29 April, 2009

Twitter is boring

  • Read more about Twitter is boring
  • Log in to post comments

Well, I think Twitter is boring. Coz u cant find interesting people or networks cant chat or play games. Just type what ur doing and read what other people post, means mostly spam urls.

By AaliyahRoma, 29 April, 2009

Best CMS and Web 2.0 Software in PHP-MySQL

  • Read more about Best CMS and Web 2.0 Software in PHP-MySQL
  • Log in to post comments

Im not an expert but just collect best of web, while surfing & exploring.

CMS & Blog

drupal
www.drupal.org

joomla
www.joomla.com

ezpublish
www.ez.no

typo3
www.typo3.org

wordpress
www.wordpress.com

Shopping-Systems & Cart

OsCommerce
www.oscommerce.com

XTC
www.xt-commerce.com

Meganto
www.meganto.com

Drupal + Ubercart

Joomla + Virtuemart

Forum & Board-Systems

phpbb
www.phpbb.com

simplemachines
www.simplemachines.org

phorum
www.phorum.org

By Anonymous (not verified), 28 April, 2009

What should a webmaster have?

What should a webmaster have? Think free...

  • Read more about What should a webmaster have?
  • Log in to post comments
  • 8 comments
By php beginner, 27 April, 2009

Apache Error: make_sock: could not bind to

I have installed Apache 2.2.4, PHP5 and Mysql5 for long time ago. Everything was perfect working but today when I try to start webserver it gives following error:

...
make_sock: could not bind to
 address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the  key to exit.  27...

Any idea why it happens and how to fix it? Is there a way to update Apache without new installation. Because ok settings like httpd.conf etc.

  • Read more about Apache Error: make_sock: could not bind to
  • Log in to post comments
By n8coder, 27 April, 2009

Random tip / info-box with javascript array

  • Read more about Random tip / info-box with javascript array
  • Log in to post comments

This is reserved-place for a random tip. Put it somewhere on your website. In this example p must be placed above javascript-code.

By n8coder, 27 April, 2009

Strange results from Pagerank and Alexa while comparing top-forums

Domain: Phpbb.com
Pagerank: 5
Alexa: 5.837

Domain: Simplemachines.org
Pagerank: 8
Alexa: 6.697

Domain: Phorum.org
Pagerank: 6
Alexa: 73.008

I was searching for the best free forum-system. After reading some artciles on BBs, wanted to compare the best 3 system. The result confused me very much and I can not still decide. How comes that the best one on Alexa has the worst PageRank on Google?

  • Read more about Strange results from Pagerank and Alexa while comparing top-forums
  • Log in to post comments
  • 1 comment
By n8coder, 26 April, 2009

Mozilla Firefox vs Microsoft Internet Explorer

I want to open this topic to collect most important information and usage statistics about ff and msie.

  • Read more about Mozilla Firefox vs Microsoft Internet Explorer
  • Log in to post comments
  • 3 comments

Pagination

  • First page
  • Previous page
  • …
  • Page 25
  • Page 26
  • Page 27
  • Page 28
  • Current page 29
  • Page 30
  • Page 31
  • Page 32
  • Page 33
  • …
  • 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.