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 WebDestroyer, 24 April, 2009

Why tableless design, DIV vs. TABLE

  • Read more about Why tableless design, DIV vs. TABLE
  • 1 comment
  • Log in to post comments

Everybody says avoid tables when you are creating design elements like layouts, themes, pages... Why?

Because:

  • Main
    (X)HTML says; tables are for tabular data not for website-layout
  • Speed
    Tables have much design code than content, divs are faster for download. Save bandwidth!
  • Usability
    Tables let confusing while creating layout(You have to remember which TR or TD ends in which template file)
  • Debug
By Anonymous (not verified), 17 April, 2009

DropDown / Rollover Menu with pure CSS / HTML

CSS Menu without JavaScript, Pure-CSS, Hidden, Mouseover-EffectThis is another CSS Menu with changed direction. Many website visitors are online with javascript-disabled clients(because of filters, access rules etc). And you want use a nice rollover multi-level menu on your homepage. CSS ist the perfect solution for this. All modern browsers like Mozilla Firefox, Microsoft Internet Explorer, Opera, Google Chrome, Apple Safari support css.

  • Read more about DropDown / Rollover Menu with pure CSS / HTML
  • Log in to post comments
  • 9 comments
By Anonymous (not verified), 13 April, 2009

Pure CSS Mouseover Menu without Javascript

CSS Menu without JavaScript, Pure-CSS, Hidden, Mouseover-EffectMany internet users are online with javascript-disabled clients(because of security or performance reasons). And you want use a nice mouseover multi-level menu on your homepage. CSS ist the perfect solution for this. All modern browsers like Mozilla Firefox, Microsoft Internet Explorer, Opera, Google Chrome, Apple Safari support css.

  • Read more about Pure CSS Mouseover Menu without Javascript
  • Log in to post comments
  • 9 comments
By Anonymous (not verified), 4 June, 2017

Classes, Interfaces,Traits and Namespaces in PHP: summary and differences

Forums
General discussion

 

  • An class can extend only one class.
  • A class can implement more than one interface.
  • An interface can extend more than one interface.
  • A trait can use more than one class.
  • Read more about Classes, Interfaces,Traits and Namespaces in PHP: summary and differences
  • Log in to post comments
By Anonymous (not verified), 30 March, 2012

Iframe Trojan / Virus of Alcobro.net

Hello! We have a big security problem. Website of a friend is infected with iframe code from alcobro.net. Every .php, .html, .htm, .js file has an iframe code at the end of file. Norton can find infected files but cannot repair it. They are more than 1000 files. Too much to clean manually. I need help to clean these files because there is no clean backup. And I must be sure that .swf files are not infected.

  • Read more about Iframe Trojan / Virus of Alcobro.net
  • Log in to post comments
By Anonymous (not verified), 27 February, 2012

Error message Style Galleria requires an image field to be added.

I have Drupal7 and i have installed image Galleria. I have created a content type with image field. I have uploaded dummy images. But I get this error:

"Error message Style Galleria requires an image field to be added."

  • Read more about Error message Style Galleria requires an image field to be added.
  • Log in to post comments
By Anonymous (not verified), 22 February, 2012

Fatal error: Call to undefined function taxonomy_field_insert() in i18n_taxonomy.module on line 362

Hi, My Drupal 7 site giving this error:

Fatal error: Call to undefined function taxonomy_field_insert() in /is/htdocs/www/public_html/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.module on line 362

Any idea how2 fix it? It appears when I try to add a new node/ story content.

  • Read more about Fatal error: Call to undefined function taxonomy_field_insert() in i18n_taxonomy.module on line 362
  • Log in to post comments
By Anonymous (not verified), 2 February, 2012

Delete all spam node entries of a spesific user on a Drupal site with PHP

Case: We have one or more spammer-user who added hunderts/thousands of nodes automagicly or manually. It takes very long time to delete them using Drupal admin interface. We need a fast & effective solution.

The solution
1. Find 'uid' of spammer
2. Create a block with input-filter PHP and run following code

";
            echo node_delete( $arr[nid] );
}
?>
  • Read more about Delete all spam node entries of a spesific user on a Drupal site with PHP
  • Log in to post comments
By Anonymous (not verified), 24 January, 2012

flexible free php contact form

I'm using the flexible free php contact form from this site. Now I like to have a choice of gender build in, but I don't know how to do. Any tips?
(the form is here: http://www.cafewebmaster.com/web2-style-secure-flexible-free-php-contact-form-easy-setup)

Best regards,

Paul

  • Read more about flexible free php contact form
  • Log in to post comments
By Anonymous (not verified), 8 January, 2012

Very simple and short PHP-Shell script

You have a simple webhosting without ssh-shell login. Ie. you have to download wordpress first unzip it and upload to your server. But with shell terminal you can do it with two lines of commands. Why not use PHP as shell client?

". shell_exec( $cmd );

echo "

";
  • Read more about Very simple and short PHP-Shell script
  • Log in to post comments

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Current 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.