Comparison of HDGuard, DeepFreeze, Dr-Kaiser and SteadyState

Submitted by Anonymous (not verified) on Tue, 12/01/2009 - 16:03

I need a good quality software to protect all PCs of an Network (like Schools, Cources, Libaries, Internetcafes etc).

It must be able to protect whole PC incl. all hard disks and partitions (incl. system partition C).

Is should restore to permitted point after each reboot.

It should be much faster than copy and disk-image. Just couple of seconds allowed.

It must be strong enaugh against all malware, viruses, users etc.

It should be able to let admin user to run windows updates or any custom software update.

Enable vertical scrollbars in Firefox permanently with CSS2

Submitted by Anonymous (not verified) on Wed, 11/18/2009 - 15:02

Sometimes we build websites with both long and short pages. Some of them dont need scrollbars and browsers dont display scrollbars as default. But if you have centered container Firefox change tha x-place(margin to left) depends on scrollbars. It looks like design/position problem. To prevent this we need permanent enabled scrollbars but not horizontally. We can enable xy scrollbars with "body { overflow: scroll; }". There is no property for just y in css2. In css3 there are properties like overflow-y, overflow-x etc. Use following code to fix it:

 html { height: 101%; } 

A small login to add to top of online testing scripts

Submitted by Anonymous (not verified) on Tue, 11/17/2009 - 18:12

Sometimes we write a script and need to test it online or on a special domain / IP. And we dont want that public people and web crawlers access the page. We just need a very small Authentication Code. This three-line code could help to protect your beta scripts while developing or testing. Just change 'mypassword' to any word what you like.

<?php
session_start
();
if(
$_POST[pwd] ) $_SESSION[admin] = md5( $_POST[pwd] );
if(
$_SESSION[admin] != md5('mypassword') ) die("<center><form method='post'>under construction <input name='pwd' style='border: none;'></form></center>");
?>

Include both php/ html files, catch & assign output to a string variable

Submitted by Anonymous (not verified) on Tue, 11/17/2009 - 14:15

I need a small core loader for a small website. I dont want to assing content and use php's echo / print functions in all included sub files. I want to be able to include both html / text files and executable php files. I want to catch raw html output and dynamic output from any included php file. This code below can do what I want. But I am not sure if this is a good solution. Any idea?

flush();
ob_start();
include($your_php_or_html_file);
$content = ob_get_clean(); // output of included file
ob_end_clean();

Maybe include_once is better than include.

YOUR PHP CONTACT FORM

Submitted by Anonymous (not verified) on Sat, 11/14/2009 - 14:16

The free php script for contact form with captcha provided by cafewebmaster is the best I have seen after exhaustive searches on the net, however I need to send an email to the person who filled the form in with a link for a download. Can anyone please provide the code to copy into the secure contact form, or better still a version with the code in would be amazingly helpful.

Many thanks in anticipation

Istockphoto vs. Fotolia

Submitted by Anonymous (not verified) on Fri, 11/13/2009 - 10:49

I am not sure which one is the best but I think Istockphoto is better than Fotolia.

Istockphoto offers:

more photos
less extremist pictures like nationalist symbols etc
more relevancy

iStockphoto: www.istockphoto.com

80,000 artists, creators, photographers, ...

4.5 - 5 Million Photos, Vector Illustrations, Videos, Flash Animations, Audio, ...

Price : 1€ to 21€ for pictures, 12-68€ videos, 2-19€ audios

Sellers earn 20-40% from theis photos etc what they upload & sell

Fotolia: www.fotolia.com

embedding a php contact form in a html table page

Submitted by Anonymous (not verified) on Sun, 11/08/2009 - 12:31

Having searched the net far and wide for a suitable contact form with captcha, I settled upon using the cafewebmaster free script and it is exactly what I want. The only problem is aesthetically it doesn't look like any of the other html pages on the site(s) I am designing. I have tried embedding the code in a html page inside the