What is PHP.INI File ? PHP.INI is a configuration file which is read when PHP starts up. For server module versions of PHP, it only happens once when the webserver is started. For the CGI and CLI versions, it happens on every invocation.
[...]

|
What is PHPmotion ? PHPmotion is a free video sharing software also supports other media types like audio/mp3 sharing. This CMS allows you to create and run your own Video Sharing Site, Music Sharing Site, Picture Sharing Site very easily, you can now have a website just like youtube.com , dailymotion.com, veoh, hi5 [...] Add actions and hacks without touching your theme’s function.php file. So that you don’t loose them anytime while running BuddyPress update. [...] What is the full form of PHP ? Open your theme’s function.php file and add the given function editing the thumbnail image URL (given in bold text) with your own image URL. add_action( ‘save_post’, ‘wptuts_save_thumbnail’ ); function wptuts_save_thumbnail( $post_id ) { $post_thumbnail = get_post_meta( $post_id, $key = ‘_thumbnail_id’, $single = true ); if ( !wp_is_post_revision( $post_id ) ) { [...] You can edit WordPress post label to something Else. For example if you want to edit Posts (label) to Article so that anytime you or any other member visit you wp-admin (dashboard) he can see Article as a label on sidebar menu not posts (which is by default).
How to define an empty array ? $my_array_1 = array(); How to define an auto incremented array? $my_array_2 = array(“one_1″,”two_2″,”three_3″); How to define a multidimensional array ? $multi_dim_array = array(); $multi_dim_array[] = array(“one_1″,”two_2″); $multi_dim_array[] = array(“three_3″,”four_4″); echo $multi_dim_array[0][1]; echo $multi_dim_array[1][0]; How to define an array with assigned index stings ? $my_array_4 = array( “name”=>”your_name”, “age”=>20, [...] How to Limit File Upload Size using PHP ? For reducing high bandwidth usage network admins can limit file size to be uploaded on server by other users. Following script limits file size a user can upload: <?php if ($_FILES["file"]["size"] < 25000)) // Max File Size: 25KB { echo “File size [...] |
||||||
|
|
||||||