what are in image creating functions in php

Answer Posted / sanjeev kumar

image creating functions

dir()

Example :-

<?php
//Open images directory
$dir = dir("images");//List files in images directory
while (($file = $dir->read()) !== false)
{
echo "filename: " . $file . "<br />";
}$dir->close();
?>

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you calculate days between two dates in PHP?

534


How many columns can be added in a table in mysql?

488


Distinguish between urlencode and urldecode?

547


Explain briefly about a search-friendly site looks like?

486


What is the meaning of ‘escaping to php’?

612






Why do we use php?

530


What exactly is validating and sanitizing?

615


Is polymorphism inherited?

520


What is the correct syntax of mail() function in php?

562


Is null empty php?

523


Can php run on windows server?

516


Is php still used?

523


Why we use get in php?

564


What is substr in php?

524


How do I install php and apache on windows 10?

505