Deprecated: Function set_magic_quotes_runtime() is deprecated in /nfs/c01/h08/mnt/2939/domains/ on line 14
Cidamon: Blog: Page 2
  • Create wildcard subdomain using plesk
    28 November, 2008

    Its a mystery to me, why it is so hard to create a wild card sub domain in plesk. Any way here is how it is done.

    First go to Domains>>Dns Settings
    Then go to “Add record” and add the following record

    Record type: “A”
    Domain Name: *
    IP Address: ip address...


  • how to edit a file in linux (vi command help)
    28 November, 2008

    There are lots of help out there about how to edit a file in linux, how to use vi, vi command list. But what I failed to find is a simple article which will just tell me
    how to open a file using vi, go to edit mode and finally...


  • Store file in MySql using PHP
    14 June, 2008

    Here is a good article on how to store file in mysql using php

    Blobbing Data With PHP and MySQL

  • Email validation function with DNS check
    08 June, 2008

    This is a simple email address validation function. It can be used as a spam guard in the contact forms. It takes the email address and checks for DNS record of the domain name. So, from an email address like:, it looks for DNS records against


  • Extra line break in Dynamic text field (PHP and ActionScript)
    08 June, 2008

    There is an extra line break problem that we faced while retrieving value from a PHP script to Flash ActionScript. It seems like an extra new line is inserted after every line command. Like:

    Line 1

    Line 2

    Line 3

    To avoid this problem, variables should be parsed from the PHP script...


  • FTP client with PHP/HTML
    22 April, 2008

    Create your all ftp accounts in one place and never forget them. Also manage multiple FTP accounts and assign them to different users.

    We were facing a problem with FTP accounts. We try to control the FTP information that our clients provides us. We do not give...


  • Increase file upload size
    22 April, 2008

    To increase the file upload size of a site following variables need to be configured

    memory_limit 64M [PHP_INI_ALL]
    max_execution_time 600 [PHP_INI_ALL]
    post_max_size 16M [PHP_INI_SYSTEM|PHP_INI_PERDIR]
    upload_max_filesize 12M [PHP_INI_SYSTEM|PHP_INI_PERDIR]

    You can change them in php.ini or htaccess

    Now regarding these variables you will find in the php mannual which can be set where.
    Bellow I have included the...


  • Form validation using JavaScript
    22 April, 2008

    JavaScript can be used to validate input data in HTML forms before sending off the content to a server. It is one of the most useful utility to help increase usability for the site. In this article we will try to explain how to create a form validation that...


  • form.submit doesn't work??
    22 April, 2008

    Often we want some form to submit when an event is triggered from one of the form element. For example if a check box is checked or selection of a drop down list changes, so what we do is we put “this.form.submit()” in the onchange or onclicked events. Well the...


  • CSS : pseudo-classes of anchor <a>
    22 April, 2008

    A link that is active, visited, unvisited, or when you mouse over a link can all be displayed in different ways in a CSS-supporting browser:

    a:link {color: #FF0000} /* unvisited link */
    a:visited {color: #00FF00} /* visited link */
    a:hover {color: #FF00FF} /*...


« Older Newer »