PEAK XOOPS - Re: probleme with the path in batch upload in englishin japanese

Re: probleme with the path in batch upload

List posts in the topic

normal Re: probleme with the path in batch upload

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/6 17:37
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I've just known some version of php fails returning right permission of is_executable().

Try this:

myalbum/admin/batch.php
line 58-
	// Check Directory
	$dir = $_POST['dir'] ;
	if( empty( $_POST['dir'] ) || ! is_dir( $dir ) || ! is_executable( $dir ) ) {
		redirect_header( $PHP_SELF , 2 , _ALBM_MES_INVALIDDIRECTORY ) ;
		exit ;
	}
	if( substr( $dir , -1 ) == '/' ) $dir = substr( $dir , 0 , -1 ) ;
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!