|
Posted by Hilarion on 09/13/05 16:37
> Giving me the right direction, now I need to do it in Internet explorer
> what will be best option to write code in.
> Is there anything extra required to setup for PHP to run "opendir"
> function on FTP server.
> I am using phpMyAdmin 2.5.0 (PHP version 4.3.11).
No offence, but it looks like you need to learn more about PHP basics.
Internet Explorer has nothing (at least not much) to do with the
problem. "opendir" function is PHP function, so it will work in PHP
engine (in webserver probably) and never in FTP server (in the meaning
of services, not of computers). Yes, there are functions in PHP which
allow cooperation with FTP servers (their names begin with "ftp_"
prefix).
"phpMyAdmin" is an application written in PHP which allows operating
on MySQL server from a webbrowser. It has nothing to do with writing
PHP scripts on your own, including scripts working with FTP servers.
It only makes designing and administering of MySQL databases easier
and can be used to manipulate data and/or test SQL queries.
The PHP version is important if you want to use some specific functions
or language features (like exceptions), but it's not that important
if you use basics.
Look for some PHP manual. Learn PHP basics and then look for some
PHP upload script examples and FTP function usage examples. Also
use PHP manual (can be found www.php.net also for download) - it's
a very good documentation and contains many examples (also from
users).
Hilarion
[Back to original message]
|