var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Can anyone help me modify this so it will take a customer to their own cpanel? I REALLY appreciate it!
# domain or ip (no http://)
$domain = $_POST['domain'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$port = $_POST['port'];
$port == '2083' || $port == '2096' ? $pre = 'https://' : $pre = 'http://';
$port == '2095' || $port == '2096' && !eregi('@', $user) ? $user = $user.'@'.$domain : $user = $user;
I really suck at php. I did not write this, but want to modify it to work on my site.
if you try use cplogin.php script, you don;t need change anything here. instead you should change html forms which used for sending data to this script.
Dedicated server since 2002, RIPE NCC member, LIR,
When it redirects after login, it gives a blank screen with the title logging in. That is the trouble I am running into.
Id suggest not posting the same topic twice within the same day... Check cpanel.net or there is a script in cpanel itself that you can template to do this.
Wow, I was not aware I double posted until I just looked at the thread list. Sorry about that. Was definitely not intentional.
I do not see the script in my cpanel. When I use the script given by cpanel, it goes no where when I enter the cpanel info on my site. I am getting quite frustrated and I bet it is a very simple problem I am overlooking.