drdougfir
Forum Replies Created
-
Forum: Plugins
In reply to: chmod tweakI think this might work too if you put it in the same spot BUT it appears to require php 5 CVS according to php.net
again, my university servers wont run it. anyone have success with this? btw, i’m rather new to php coding so please excuse my mistakes etc.
$ftp_server = “severname”;
$ftp_user_name = “username”;
$ftp_user_pass = “password”;
$ftp_dir_name_going = “used if you have to get to httpdoc or public_html or whatever”;
// set up basic connection
$conn_id = ftp_connect($ftp_server);
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// check connection
if ((!$conn_id) || (!$login_result)) {
echo “FTP connection has failed!”;
echo “Attempted to connect to $ftp_server for user $ftp_user_name”;
exit;
} else {
echo “Connected to $ftp_server, for user $ftp_user_name”;
}
echo”<br>”;
//change directory
echo “Current directory : “, ftp_pwd($conn_id), “\n”;
if (@ftp_chdir($conn_id, $ftp_dir_name_going)) {
echo “Current directory is now : “, ftp_pwd($conn_id), “\n”;
} else {
echo “Couldn’t change directory\n”;
}
//trying to chmod somethign
ftp_chmod($conn_id, 0766, $file);
// close the FTP stream
ftp_close($conn_id);
echo”<br>”;
echo “ftp closed”;Forum: Fixing WordPress
In reply to: still having comments popup window problemsi nuked it all and reloaded. seems to be working with the default index.php. thanks for the help & such.
Forum: Requests and Feedback
In reply to: Automatic e-mail update notificationIt would also be nice to have a “digest” option where it will only send out one email a day. Maybe configurable both by the administrator and the person who types their email in?
Forum: Fixing WordPress
In reply to: Bad admin passwordtry going into your mysql database and look at the data in the users table.
Forum: Fixing WordPress
In reply to: upload feature bug?I was having that problem for a while but then it magically disappeared. However, when i upload files, i can’t view them on the web because they are not chmod’ed to be viewable.
Forum: Fixing WordPress
In reply to: comments popup window errosok it appears that its just my computer that crashes. good thing i’m getting laid off on friday and won’t have to use nt4.0 anymore!
however, it appears to generate 4x the ammount of stuff it should when you click on comments (reported by a couple freinds since allusion’s post).
any more suggestions?
btw, other than these problems, wordpress kicks serious assForum: Fixing WordPress
In reply to: comments popup window errospesky trailing slashes. that took care of it generating extra places to put your name and whatnot, but now it crashes IE. i also still have the problem with clicking on the title of the post and it bringing up an unscripted index.php page.