new_matrix Posted July 3, 2005 Share Posted July 3, 2005 Hallo. I want to run a php script in one site and to know the user and pass for ftp acess. I put in my site a php script and i run it to the other site with ap_where: <?php $file = "../config/config.php"; $handle = fopen($file, "r"); $contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); $contents = htmlspecialchars($contents); echo $contents; } fclose($handle); ?> and it gave me the pass and user for the mysql database, any script to gave me the ftp elements?? Thanks Link to comment https://forums.phpfreaks.com/topic/2380-ftp-acess-via-php-script/ Share on other sites More sharing options...
Arenium Posted July 7, 2005 Share Posted July 7, 2005 Mod Edit: Closed -- I'd move it if I knew what the question was asking, but I just plain DON'T. Please, rephrase and elaborate on your question respecting English wherever you can (we understand it may not be your first language) and make a new post in either the "PHP Help" or "PHP Newbies" forum. For all our sakes. Thank you. Link to comment https://forums.phpfreaks.com/topic/2380-ftp-acess-via-php-script/#findComment-7820 Share on other sites More sharing options...
Recommended Posts