You are here: Client script problem « All PHP « IT news, forums, messages
Client script problem

Posted by Vishal Joshi on 10/13/15 11:26

Hello,

I am using phpMyAdmin 2.5.0 (PHP version 4.3.11 and MySQL 4.1.12) which

is uploaded on our FTP site.
In the project I need to upload files onto FTP site. I wont be able to
use standard PHP functions like opendir. The opendir function fails at
client site script.
But at our localhost we installed PHP 5.x and APACHE server it is
working perfectly. I wrote the folling code for the same..
<?php
$dir = "c:\\temp\\";
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "filename: $file : filetype: " . filetype($dir . $file)

.. "\n";
}
closedir($dh);
}
?>
I need to read the directory on client side. How do I make it to work?
Thanks in advance.
Regards
Vishal Joshi.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация