with the help of daniweb i can now successfully upload photos.& again i showed up with another problem
this time i want to declare different sizes for my phots(passport,stamp etc).so that when ever a customer selects photo type using radio button he can see his selected image in that format.
<h2><strong>My Album</strong></h2>
<fieldset><form action="" method="">
<table align="right" color="red" ><tr><td><label>Order Quantity:-<input type="text" name="number" style="width: 50px"></td><td>
<input type="radio" name="group1" value="passport" ><b> Passport</b></td>
<td><input type="radio" name="group1" value="stamp" checked><b>Stamp</b></td>
<td><input type="radio" name="group1" value="postcard"><b> Postcard</b></td>
<td><input type="radio" name="group1" value="poster"><b> Poster</b></td>
<td><input type="radio" name="group1" value="greetings"><b> Greetings</b></td>
<td><input type="radio" name="group1" value="collage" checked><b> Collage</b></td>
</tr><br>
<td><input type="submit" name="order" value="Place Order" align="bottom"></td>
</table>
</form>
<?php
$dir = "uploaded/";
if ($opendir = opendir($dir))
{
while (($file = readdir($opendir)) !== FALSE)
{
if ($file!="."&&$file!="..")
echo "<img src='$dir/$file' height='100' width='100'><br>";
}
}
?></fieldset>
</body>
</html>