encrypt the password


i need to encrypt the password and want to submit in the database so that whenever i am seeing the password it wants should be in the encrypted manner.
How can i do it?

In PHP use md5($password)

Depending on the database you’re using you could use the built in encryption.

if you’re using MySQL try this

Code:

UPDATE users SET password=md5('thepassword') WHERE user='theuser';

when your checking against a database to md5 the input aswell.

I would recommend using PHP md5() function .

You can also use base64_encode and base64_decode functions.

cPanel and WHM relation


Hi,
I am looking for a web hosting account for my newly build website. I heared about two control panels cPanel and WHM. How do cPanel and WHM relate to each other?

cPanel is the end-user web hosting front-end that allows the webmaster to manage all aspects of their website in a simple web-based interface. cPanel allows the user to spend more time actually working on the content of their website and less worrying about how to implement or manage features. WHM is the web-based interface for systems administrators and web hosting reseller clients. It manages everything from new customer account creation to monitoring and configuring services.

List of hosting control panels


How many hosting control panels are available. any body can give me the List of different hosting control panels ?

some of control panels are

Hosting Controller
AlternC
Web-cp
HostFlow
Directadmin
Ravencore
ISPConfig Hosting Control Panel
DTC (Domain Technologie Control)
ServerCP
DotNetPanel
ZPanel
CubePanel Windows and Linux

Add this to the list

XPanel
ASM
Interworx
CPanel / WHM
LPanel

Also add these

Plesk
VishwaKarma
Webmin
H-Sphere
SysCP
HELM
ZOMOS
CP+
InsPanel
HostingAccelerator
Ensim
Etrinix Corp
Cwipanel
Webhost Panel
VHCS
Hosting Controller

Which one of these can you recommend?
I would recommend H-sphere, its a user friendly and highly popular control panel.
We use H-Sphere, it’s a complete system. They constantly update it and has far fewer bugs than CPanel.
I, personally would recommend H-sphere. They have many great features and very easy to navigate.

When it comes to selection of control panel for a newbie then its very important that he must look on following aspect:

1. Level of support, response time of your query for both free and paid control panel
2. User friendly and logical interface.
3. Other FREE value-added services, like billing system, payment processing, scripting, DNS, Mail, DB managers etc.
4. Now days you will find couple of CP vendors offering FREE 3rd-party soft wares like free mail, statistic servers etc. This will save you a handsome amount of money at the end.
5. Only if you are a programmer, how much customization that CP support and how easily 3rd-party applications can be integrated?
6. Few experience web host may not find it significant but it’s very important for newbie (especially) that how easily control panel and its supported soft wares can be installed and integrated together. I know few CP vendors charge for installation and configuration of their application.
7. Last but not the least – Price, looks for both one-time and monthly rental options. Try to find a cheap solution for your business.

These could be few points a newbie MUST look before selecting any control panel because once you start using a CP its difficult to switch, believe me.

Thanks for reply. I m looking for a fully featured control panel . i m thinking for H-sphere. which host provide it

cPanel on Windows platforms


hi,
I m looking for a window Reseller web hosting plan with cPanel .Can I use cPanel on Windows platforms.

No, cPanel only work on Linux platforms.

thanx steve, can u suggest me which control panel works on Windows platforms.

H-Sphere control panel works on Windows platforms.

H-Sphere is designed for both Linux and Windows platforms.

new password for forgotten password


while the user entering the username and password if he forget password
he wants to click the forget password link and he wants to get the new password by entering his emailid and username, so that he receive the new password in his mailid, if any body knows coding for this send me.

u can make classes for that purpose.

that would be very long coding, so use classes

Rather use phpBB/vbulletin.

H-Sphere – good or bad ??


I’d be interested in hearing other hosts’ experiences with H-Sphere, good or bad.
H-Sphere is a good control panel.
We’ve been using H-Sphere for almost 2 years now, and love it – the product is great, although I think it can take a little getting used to
Hsphere Stats is good if your cluster is not to big, other wise you have to get a custom version from them.
H-Sphere is best.
PSoft and their support is also very good, they have recently started a nomination/voting – license holders can ask for new features and vote for them etc

error message below the text box


I want to display the error message below the text box in which
If I didnt enter any thing means the message Enter the Username and Enter the password wants to display below the Username and password textbox respectively

can anybody knows the script for this.

for that You will probably have to stick the error message in a session or in the url when you redirect.

for that You will probably have to stick the error message in a session or in the url when you redirect.

even then all you would need is a simple $_GET[] to determine if the user has showd up here in error. they goto the processing page after logging in, on an invalid pass they get sent back to login.php?q=e or something and voila, error.

slide show script


Hi,

Does anyone know of a simply slide show script that just have the image and then a previous and next button. Also it needs to run from a folder that i specify.

plz. help me

Try this, this will fulfill your requirement

Code:

<?php
$my_folder = "my_images";
$files = array();

if ($handle = opendir($my_folder))
{
    while (false !== ($file = readdir($handle)))
    {
        if ($file != "." && $file != "..")
            array_push($files,$file);
    }
    closedir($handle);
}
if ( isset($_GET['id']) )
    $id = $_GET['id'];
else
    $id = 0;

?>

<img src="<?=$my_folder."/".$files[$id];?>" alt="" /><br />

<?php
if ($id > 0)
    echo "<p style="width:200px; float:left;"><a href="".$_SERVER['PHP_SELF']."?id=".($id-1)."">Previous</a></p>";
else
    echo "<p style="width:200px; float:left;">Previous</p>";

if ($id <= count($files) - 2)
    echo "<p style="float:left;"><a href="".$_SERVER['PHP_SELF']."?id=".($id+1)."">Next</a></p>";
else
    echo "<p style="float:left;">Next</p>";