What types images that php supports?
Answer / subrat
imagetypes ? Return the image types supported by this PHP
build
This function returns a bit-field corresponding to the
image formats supported by the version of GD linked into
PHP. The following bits are returned, IMG_GIF | IMG_JPG |
IMG_PNG | IMG_WBMP | IMG_XPM
Example 1. imagetypes()
| Is This Answer Correct ? | 5 Yes | 0 No |
How can we submit form without a submit button?
Why do we create an instance of a class in php?
Tell me how can we connect to a mysql database from a php script?
<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done
What is include in php?
what is difference between edit and update?
When do you use define() and when do you use const. What are the main differences between those two?
how can i upload only pdf files in my website? files has not a pdf extension mantioned
What are php keywords?
How do you pass a variable by value in php?
What is a http session?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.