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, 29 April, 2010

Configure phpMyAdmin to login automagicly without prompted for username and password

  • Read more about Configure phpMyAdmin to login automagicly without prompted for username and password
  • Log in to post comments

Do you need to configure phpMyAdmin to login automagicly without prompted for username and password? I needed two hours to get it works, do not spend so much time and just follow steps below:

1. Download PhpMyAdmin

2. unzip phpmyadmin

3. create a file named "config.inc.php" with following content and replace login information with yours


 * Date: Thu, 29 Apr 2010 11:20:23 +0200
 */

/* Servers configuration */
$i = 0;

By Anonymous (not verified), 28 April, 2010

What is 131 kKib in phpMyAdmin?

I am similar to byte, mb, mbit, kb, kbit, gb, tb etc but I saw a new thing today: kKib! What is this and how2 convert MB ? Pma's max filesize limit 131 kkib...

  • Read more about What is 131 kKib in phpMyAdmin?
  • Log in to post comments
By Anonymous (not verified), 27 April, 2010

Using "Linux Find" command to get human readable directory sizes in public_html

Say you have 100 top level directories and 1000 files just under ../public_html/ without counting deeper located files and dirs. and you want to get an overview of dirs under your www-directory. You can do it with one line command.

Use find to find directories, set maxdept to just get top-level folders.

Combine it with -exec and get same time the disk usage of dirs.

Use -h for human readable file sizes GB, MB, KB instead of byte size.

 
find /home/YOUR_USERNAME/public_html/ -type d -maxdepth 1 -exec du -sh {} \;
  • Read more about Using "Linux Find" command to get human readable directory sizes in public_html
  • Log in to post comments
By n8coder, 26 April, 2010

PHP Block for Custom Role under Drupal 6

  • Read more about PHP Block for Custom Role under Drupal 6
  • Log in to post comments

Sometimes we need a block for just some users or a group of our websites. Under Drupal we can create a user group(role) and check current logges users role to give that user access or not. In this example I named it 'my_custom_role', but you can name it what ever you want ie: editor, moderator, privileged_customers, clients etc...

roles)) {
  return TRUE; // or print any content for my_custom_role
} 
else {
  return FALSE; // or print any content for other users
}
?>
By Anonymous (not verified), 26 April, 2010

What is difference between print_r and var_dump in PHP?

I am curious and wanna know what is the difference between these functions: print_r and var_dump? I can view content of an array with both function and content of a class as well.

  • Read more about What is difference between print_r and var_dump in PHP?
  • Log in to post comments
By Anonymous (not verified), 22 April, 2010

Right click on Macbook pro

I buy I Macbook pro for 1900€ and didnt know how to right click. Now found a method: CTRL + normal click. Is there a better alternative? Thanks

  • Read more about Right click on Macbook pro
  • Log in to post comments
By Anonymous (not verified), 20 April, 2010

Add to Facebook Block for Drupal

I know there are many modules like "service links" or social bookmarking services like addthis/sharethis etc. but I just want to have a small block on top-right side for my users with a facebook account.




Facebook!

hrd;
?>


  • Read more about Add to Facebook Block for Drupal
  • Log in to post comments
By Anonymous (not verified), 16 April, 2010

How to login to FTP as root with Filezilla?

I have a redhat box and want to download whole server to my pc. I want to connect to server as root with filezilla but cannot! I can do it with winscp. I want to prefer Filezilla that it is faster.

  • Read more about How to login to FTP as root with Filezilla?
  • Log in to post comments
By Anonymous (not verified), 14 April, 2010

1TB Hitachi extern HDD for 79 euros

I have bought a 1TB extern hardddisk today. Its a Hitachi hdd 3,5 inc. I couldnt find any hdd under 50 €, I think it is expensive.

  • Read more about 1TB Hitachi extern HDD for 79 euros
  • Log in to post comments
By Anonymous (not verified), 14 April, 2010

Whois for MS-Windows

If you need a linux like whois app. for ms windows xp try this:

http://technet.microsoft.com/de-de/sysinternals/bb897435.aspx

Queries for .de domains which get results from Denic shows just status if connect or free.

  • Read more about Whois for MS-Windows
  • Log in to post comments

Pagination

  • First page
  • Previous page
  • …
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Current page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • …
  • 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.