Ok,
For use php functions you must be add ftp flag when yuo compile php.
For example:
./configure --with-mysql --with-apxs --enable-ftp
The next step is: (under linux)
2) make
3) make install
4) Restart your web-server.
5) make a lite scrip in php such as:
<?
phpinfo()
?>
and look if ftp is enable.
Julia.Y wrote:
I am a new php user in China and I met many many troubles in learning it🙁I wish u could help me,thanks ahead!
I knew that it's viable to upload files with form and http,however I want to use ftp to upload files,but after so many times try,I always can't succeed with the funtion of ftp_put or ftp_get,I can't think out the reason,the wrong message is:can't open the destinated files in the server side or the local side.I wonder this fault whether related to the configuration of the Apache server?who can help me?
and,I just could propagate the session variable with the method of writing it into the cookie,but can't with the method using the URI parameters,why?anybody could help me?
these problems tortured me hardly🙁
pls help me!