PHP 8.5.0 Beta 1 available for testing

Voting

: seven plus zero?
(Example: nine)

The Note You're Voting On

ralph at ralphje dot nl
17 years ago
If you receive an error due some open_basedir restrictions, use the following:

<?php
putenv
('TMPDIR=/tmp/');
$filelist = ftp_nlist($ftp, "./accounts");
?>

(if /tmp/ is an allowed directory within open_basedir)

It took me a while to find this out.

<< Back to user notes page

To Top