By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

"is_writable" only regonise full path?

P: n/a
I'm running php 4.2.3 on apache 2 with FreeBSD.
I find that "is_writable" only regonise files with full path.
However, many scripts from the web didn't do this.
How could I fix it? Thanks.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Johnson Lau wrote:
I'm running php 4.2.3 on apache 2 with FreeBSD.
I find that "is_writable" only regonise files with full path.
However, many scripts from the web didn't do this.
How could I fix it? Thanks.


Search all files for:
is_writable(

replace with:
is_writable(dirname(__FILE__).'/'.

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.