Hey ! Let me xplain what i have then my problem. I have: - one free web hosting server on wich i keep the images (.jpg) - the images are grouped by name and month ( Example: http://example.com/john/november/pic01.jpg & http://example.com/mary/october/pic05.jpg ) - another free web hosting server on wich i keep my personal site that allows php .. BUT HAS SAFE MODE ON Now i want to use a form like this to ask the user wich set of pictures he wants to see: Name: Month: On submit will transmit the info to pics.php that i want to display all the pictures on that month ... The server on wich i keep the php has safe mode enabled, so i guess wont display the image if they are from another server ? My php code looks like this: (I also tryed to make it display a message if no image exists on that month) [code]<?php $i=1; //Code here for the images from 1 to 30, in all folders are max 31 pics so ill write the code below 31 times for all the pics that may exist in that folder, so nothing to do with scan the folder. $pic31 = 'http://example.com/' . $_POST['name'] . '/' . $_POST['month'] . '/pic31.jpg'; if(file_exists($pic31)) { echo '<img src="http://example.com/', $_POST['name'], '/', $_POST['month'], '/pic31.jpg"><br>'; $i++; } else { echo "."; } //echo-ing these points i hope will look like loading :) while($i<=1) { echo "No picture made this month"; $i++; } ?>[/code] So all i have to output is something like this .. [code] <html> <head> <title>Pictures</title> </head> <body> <img src="http://example.com/john/january/pic01.jpg"><br> <img src="http://example.com/john/january/pic02.jpg"><br> <img src="http://example.com/john/january/pic03.jpg"><br> // .... <img src="http://example.com/john/january/pic31.jpg"><br> </body> </html> [/code] Even without the php code above ... submit the form and I do a simple echo ... [code] <?php echo '<img src="http://example.com/', $_POST['name'], '/', $_POST['month'], '/pic31.jpg"><br>'; ?> [/code] The image wont show even thr html displays correct The image doesnt loads ... because if i click properties on that X that shows instead of picture .. i copy the link and put it in my browser .. the image will show .. next time when i submit the form ... the image will show correctly as image is in temp folder. This is very weird for me and i dont know what to do ???? Im very very new at this and ived tryed to make this work for 2 weeks, in wich i keept reading docs about php .. but didnt found any clue about a workaround. This also applies to my script ... i know i migh didnt wrote it corectly ( example: " instead of ' and things like that ) So please tell me what is not corect here and how ill have to change it. Its because the server has safe mode enabled? I also tryed on a server with safe mode off ... but still not working si my coding is not good :) If this wont work on my server with safe mode enabled .. php to javascript would be a solution? Ived tryed a little of that ... but offcourse didnt worked. Any sugestion will help. Thanks alot