Deprecated: Function set_magic_quotes_runtime() is deprecated in /nfs/c01/h08/mnt/2939/domains/cidamon.com/html/blog/textpattern/lib/txplib_db.php on line 14
Cidamon: Blog: Page 2
  • Create wildcard subdomain using plesk
    27 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>domain.com>Dns Settings
    Then go to “Add record” and add the following record

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

    more..

  • how to edit a file in linux (vi command help)
    27 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...

    more..

  • 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: sample@domain.com, it looks for DNS records against sample.com....

    more..

  • 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...

    more..

  • 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...

    more..

  • 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...

    more..

  • 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...

    more..

  • 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...

    more..

  • 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} /*...

    more..

« Older Newer »