Solution

  • 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

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

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