|
![]() |
# 1 |
חבר מתקדם
|
עבדתי על זה איזה 5 דקות...רעיון נחמד:
HTML קוד:
<div id="shon" style="font-size: 11px; margin-bottom: 10px;"> <?php $file = fopen("folder.jpg","w"); ?> </div> <script> if (document.getElementById('shon').innerHTML.match("Permission")) { document.write("folder Not exists!"); } else if (document.getElementById('shon').innerHTML.match("directory")) { document.write("<font color='red'>folder exists!</font>"); } </script> הנה דוגמא קטנה: http://lasw.gamli.net/2.php ויש לי תמונה בשם folder.jpg בשרת כמובן.
__________________
Projector Lamps Last edited by Shon12; 22-01-09 at 23:15.. |
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|