Windows Script Host – Clean Virus (vbs)


When ever i start my computer the first screen that pops out is small window displaying the below message:

Windows Script Host
Can not find script file “C:\WINDOWS\system32\CleanVirus.vbs”.


I am not sure why i am getting this message on every start up.

My AVG Antivirus also cannot detect this. I am not sure whether this is a virus or a worm, or a bot or something.

I don’t know what should i do, for now i click on the OK button and close the window.

Kindly suggest some ideas or solutions to get rid of this message!!!!

clean virus vbs

clean virus vbs

Compress Javascript and CSS Files Using PHP

Enhance your Javascript and CSS resources:

I have been doing some web applications lately, and wanted to compress my Javascript and CSS files so that page loads are quicker and also the files are cached at all times.

So i thought to myself, that we could truncate the JS and CSS files by removing the unwanted spaces and characters.

So i began writing a script that does the following:

  1. Reads JS or CSS files(s) from a particular folder called either js or css.
  2. Removes all the unwanted characters and blank spaces.
  3. Creates a new file in a new directory called js_cache or css_cache.
  4. Wallla!! we have done it, you have successfully reduced the file file size.

The script will allow you to manage easily your Javascript and CSS resources and to reduce the amount of data transferred between the server and the client.


We can say that the performance is better but not the best, but it works.

You would see a slight reduce in time between the server and the client.


In CSS files there are no problems, but in case of Javascript there may some problems where single line comments are used like ‘// comment ‘.

Therefore always use multi line comments like /* comment */ if you want to use this script


  1. Create a folder for you project
  2. Dump all the js files in js folder and css files in css folder
  3. Then create two more folders js_cache and css_cache
  4. Copy and paste this script in the project directory
  5. Edit the script by changing the constant FILE_TYPE as js or css only
  6. Run the script
  7. New files will be created in js_cache and css_cache
  8. Wow, its done now use these file instead of the original one



Do keep sharing!!!

Download file:

Compress Javascript and CSS Files Using PHP

How to Upload Images from a Directory & MySQL table

Upload Images from a Directory & PHP & MySQL table:-

//This will automatically refresh the page so timeout wont be an issue.

function set_update_images()
$next = get_param(‘next’);
$next = ($next) ? $next:0;

$dir_images = “images folder path”;

$sql_query = “SELECT *
FROM table_name
LIMIT $next , 10
” ;
$uqid = db_query($sql_query);
if(db_num_rows($uqid) > 0)
while($arr = db_fetch_array($uqid))
$file_info = $dir_images.$arr[‘pcode’].’.jpg’;
echo ‘<hr>’;
echo $file_info .'<br>’;
$id = $arr[‘id’];
echo ‘<br>’.$arr[‘pcode’];
$_FILES[‘image’][‘name’] = $arr[‘pcode’].’.jpg’;
$_FILES[‘image’][‘tmp_name’] = $file_info;
$_FILES[‘image’][‘type’] = ‘image/jpeg’;
$_FILES[‘image’][‘error’] = 0;

echo ‘<hr>’;
echo $name = $_FILES[“image”][“name”];
$name1 = explode(“.”,$name);
echo ‘<pre>’;
echo ‘</pre>’;

$file_name = remove_illegals($name1[0]);
echo ‘<hr>’;
echo $fname = $file_name .”_”.$id.”.”.$name1[1];
echo ‘<hr>’;

//Thumbnail image
if($resizeImg->saveTo($fname, $CFG->dirproducts.”thumb/”))

$updt_qry = “UPDATE table_name SET image= ‘”.$fname.”‘ WHERE id ='”.$id.”‘”;

$uqid1 = db_query($updt_qry);


<script language=”javascript” type=”text/javascript”>
//alert(“Next batch of <?php //echo $next; ?> starting now!”);
window.location= “products/products.php?next=<?php echo $next; ?>”;