PHPMyAdmin: Wrong permission on config file (Ubuntu)

When I was trying to access my phpmyadmin in Ubuntu OS,I have encountered a problem:

Wrong permissions on configuration file, should not be world writable!

I was  thinking of some access control error.  I have searched the web and found article containing this error. There are lot of link available there but after get lot of R&D on commands available on Ubuntu, I thaught problem with the access permission with the file config.inc.php is available in phpmyadmin to set the control to 777 (means writable).

I just apply this command:

sudo chmod 705 /var/www/phpmyadmin/config.inc.php

And it works!

Add HTML Control with JavaScript

This chapter explains how to display add HTML control dynamically through JavaScript.

Click for Demo : Add HTML Control

Download the script : Add HTML Control

Substr () PHP Function

The Substr () PHP Function is used to return part of a string. It is written as substr (string, start, optional length);.The string is whatever string you want to return a portion of. The start is how many characters in to skip before starting. Setting this to 3 would skip the first three and start returning at the forth character. Setting this to a negative number will start counting backwards from the end of the string.
Length is an optional parameter. If you set this to a positive number, it will return that number of characters. If you set this to a negative number it will count that many numbers from the end of the string and return whatever is left in the middle.
See how this works :

<?php
// this will return bcdefghijk
echo substr(‘abcdefghijk’, 1);
echo “<br>”;

// this will return defghijk
echo substr(‘abcdefghijk’, 3);
echo “<br>”;

// this will return abc
echo substr(‘abcdefghijk’, 0, 3);
echo “<br>”;

// this will return ijk
echo substr(‘abcdefghijk’, -3);
echo “<br>”;

// this will return bcdefghij
echo substr(‘abcdefghijk’, 1, -1);
echo “<br>”;

// this will return cdefgh
echo substr(‘abcdefghijk’, 2, -3);
echo “<br>”;
?>

Fake University in India

Fake Universities

State-wise List of fake Universities as on 18thJanuary, 2009

    Bihar
  • Maithili University/Vishwavidyalaya, Darbhanga, Bihar.
    • Delhi
  • Varanaseya Sanskrit Vishwavidyalaya, Varanasi (UP) Jagatpuri, Delhi.
  • Commercial University Ltd., Daryaganj, Delhi.
  • United Nations University, Delhi.
  • Vocational University, Delhi.
  • ADR-Centric Juridical University, ADR House, 8J, Gopala Tower, 25 Rajendra Place, New Delhi – 110 008.
  • Indian Institute of Science and Engineering, New Delhi.
    • Karnataka
  • Badaganvi Sarkar World Open University Education Society, Gokak, Belgaum, Karnataka.
    • Kerala
  • St. John?s University, Kishanattam, Kerala.
    • Madhya Pradesh
  • Kesarwani Vidyapith, Jabalpur, Madhya Pradesh.
    • Maharashtra
  • Raja Arabic University, Nagpur, Maharashtra.
    • Tamil Nadu
  • D.D.B. Sanskrit University, Putur, Trichi, Tamil Nadu.
    • West Bengal
  • Indian Institute of Alternative Medicine, Kolkatta.
    • Uttar Pradesh
  • Mahila Gram Vidyapith/Vishwavidyalaya, (Women?s University) Prayag, Allahabad,
    Uttar Pradesh.
  • Indian Education Council of U.P., Lucknow, Uttar Pradesh.
  • Gandhi Hindi Vidyapith, Prayag, Allahabad, Uttar Pradesh.
  • National University of Electro Complex Homeopathy, Kanpur, Uttar Pradesh.
  • Netaji Subhash Chandra Bose University (Open University), Achaltal, Aligarh, Uttar Pradesh.
  • Uttar Pradesh Vishwavidyalaya, Kosi Kalan, Mathura, Uttar Pradesh.
  • Maharana Pratap Shiksha Niketan Vishwavidyalaya, Pratapgarh, Uttar Pradesh.
  • Indraprastha Shiksha Parishad, Institutional Area,Khoda,Makanpur,Noida Phase-II, Uttar Pradesh.
  • Gurukul Vishwavidyala, Vridanvan, Uttar Pradesh.
  • To Know more Click Here

    HTML & JavaScript Loader

    In this program just change the source of  iframe and your loading.gif will show upto that time when page will not upload finally.

    For Demo Click Here

    Download Script Click Here