reset wordpress password from ftp...

beside all other usual way to reset wordpress password, like from email lost password or from phpmyadmin, there’s another way, simple way to reset worpress password from ftp

Connect to your ftp server, enter your current in use wordpress theme directory, and open/edit functions.php

add this entry to the first line after <?php

(more…)

.htaccess – Allow Only Listed Refe...

After days ago  i was play around with javascript to Allow page access only from pre-listed referrer

now i’m playing around with .htaccess
Thepurpose is same, to protect our rapidleech or our webpages from unauthorized access, in this case we’re only allow a visitor that come from listed http refferer

(more…)

Dumping / backup and restore mySQL serve...

Of course dumping and restore mysql database can be done easily with phpmyadmin. But what if phpmyadmin is in error state and you need to backup your database on server A  immedietly and move it to server B?

The answer is use command console, if you backup database od your virtual private server or dedicated server, login first as root from SSH access

(more…)

Allow page access only from pre-listed r...

i used this trick normally for my rapidleech, it forbid a person to access my rapidleech from copy paste link on browser address,  my rapidleech can only be access by clcking the link on page that i use as referral.

for ex, if i use my web here, blindtext.info, someone would be able to access only by click the link i posted here.

how i do this? simple (more…)

Prevent direct root login...

This is an additional security measure where we prevent direct root logins and instead create a user to login and then use a command ‘su –‘ to gain root privileges.

this’s the step by step ho to do it

1.  Create a user and add it to the wheel group, e.g. we want to create a user neonix and give him root privileges.
below commands to create a user.
(more…)

Force CGI-Proxy retrieve secure URLs thr...

this’s is for cgi script from jmarshall

on standard script, if u want to browse a secure page (https) u will get this eror message :

Retrieval of secure URLs through a non-secure proxy is forbidden.Retrieval of secure URLs through a non-secure proxy is forbidden.
This proxy is running on a non-secure server, which means that retrieval
of pages from secure servers is not permitted.  The danger is that the user
and the end server may believe they have a secure connection between them,
while in fact the link between the user and this proxy is insecure and
eavesdropping may occur.  That’s why we have secure servers, after all.
This proxy must run on a secure server before being allowed to retrieve
pages from other secure servers.

this’s the simple trick to make this script Fretrieve secure URLs through a non-secure server.

(more…)

PHP Tips – How To Optimize PHP...

Here are tips for optimizing your php code so that your php code you can load more quickly and in the execution by the server and not a burden or using too many resources provided by the server.

1. Use of Variable

Use of Variable

* Operate a variable that is set at 376% faster than using a variable that has not been set.
* Using a constant 146% more slowly in the appeal using the variable.
* Using a local variable 9.9% faster in the appeal using the global variable.
(more…)

Reset Webmin password...

Included with the Webmin distribution is a file called changepass.pl to solve this problem.
Assuming you have installed Webmin in /opt/webmin, you could change the password of the admin user to dummy by running this command from console :
(more…)

« Previous Entries