seifhate
Members-
Posts
24 -
Joined
-
Last visited
Everything posted by seifhate
-
Thank you very much i backed up all my files sorry about any problems i caused :$
-
Hello Please my acccount has been suspended again so please give me a backup of the root directory Thanks very much i really loved heliohost but i do aproblem with server load
-
Hello, My account has been suspended and i don't know the reason Please reactivate my account asap Please tell me reason of suspension Thanks in advance
-
I ran it and it worked Thanks
-
Yeah also me booleans always gives me an error I don't wan to md5 the pass because it will be used in the other script to retrieve pass and create the frp account so if it's in md5 it will not work :S That's why No the first part "seifhate:pass" is for logging in automatically and doung the job Thanks @xaav: no i couldn't do it as a boolean i did as a varchar with default value false @xaav: no i couldn't do it as a boolean i did as a varchar with default value false
-
Every thing is done and working well until entering data into the db what do i need to do next to create the subdomains (the cron acript)? Thanks in advance
-
Thanks for this useful information so my new code will look like this <?php include 'mysql-connect.php'; $username = mysql_real_escape_string( $_POST['username'] ); $password = mysql_real_escape_string( $_POST['password'] ); $firstname = mysql_real_escape_string( $_POST['firstname'] ); $lastname = mysql_real_escape_string( $_POST['lastname'] ); $email = mysql_real_escape_string( $_POST['email'] ); $ip = $_SERVER['REMOTE_ADDR']; $strCheckUserSQL = "SELECT * FROM subs WHERE username='$username'"; $CheckUserQuery = mysql_query($strCheckUserSQL); $strCheckEmailSQL = "SELECT * FROM subs WHERE email='$email'"; $CheckEmailQuery = mysql_query($strCheckEmailSQL); // You really should escape these values, but I'm not going to do that here mysql_query("INSERT INTO subs (username, password, firstname, lastname, ip, email) VALUES ('$username', '$password', '$firstname', '$lastname', '$ip', '$email')"); ?> i don't need to md5 the password. is this script secure?? Can you help me with the other script also please thanks in advance
-
So the first acript will be in the public_html folder normallyand the user will register to add the user to the db And the cron script is in home that will be excuted manually to get the uncreated users and create them, am i right?? And what do you mean with escaping these values in script 1 Thank you very vey much
-
Hello Here is a part of mu final code enter to database,crete subdomain and ftp if anyone need it he can copy it or post it on other forums. Thanks for xaav for helping me with it <?php include 'mysql-connect.php'; $username = $_POST['username']; $password = $_POST['password']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $email = $_POST['email']; $ip = $_SERVER['REMOTE_ADDR']; $strCheckUserSQL = "SELECT * FROM subs WHERE username='$username'"; $CheckUserQuery = mysql_query($strCheckUserSQL); $strCheckEmailSQL = "SELECT * FROM subs WHERE email='$email'"; $CheckEmailQuery = mysql_query($strCheckEmailSQL); $path="http://seifhate:pass@seifhatem.co.cc:2082/frontend/x3/subdomain/doadddomain.html?rootdomain=seifhatem.co.cc&domain=$username"; $path2="http://seifhate:pass@seifhatem.co.cc:2082/frontend/x3/ftp/doaddftp.html?login=$username&password=$password"a=13"; mysql_query("INSERT INTO subs (username, password, firstname, lastname, ip, email) VALUES ('$username', '$password', '$firstname', '$lastname', '$ip', '$email')"); $f = fopen($path, "r"); stream_get_contents($f); $f2 = fopen($path2, "r"); stream_get_contents($f2); but there is a problwm am facing that johnny is extremely slow and always returns an error and sometimes just do one or two of the three (subdomain,ftp and mysql) so can anyone help me with a sample cron script that retrieves data from mysql and create the subdomain abd ftp accounts because i am new to cron scripts. Thanks in advance
-
Don't worry This will be for students to upload their deaigned webaites on so no one will try to hack it
-
It finally worked Thank you very very very much :D and Happy New Year
-
Sorry i can't understand this part Thanks The code didn't work
-
When i do this code It creates the subdomain but how to make it without showing it to the userbecause he can toggle in cpanel Thanks in advance Brw i used "$f" not "$path"
-
I am on johnny server
-
Hello Please i am doing a php script that creates a subdomain but it doesn't work Here is the code <? $username = $_POST['subdomain']; $path="http://seifhate:pass@seifhatem.co.cc:2082/frontend/x3/subdomain/doadddomain.html?rootdomain=seifhatem.co.cc&domain=$username"; $f = fopen($path, "r"); echo $path; fclose($f); ?> <html> <form method="POST" action=""> Subdomain: <input type="text" name="subdomain"/> <input type="submit" name="submit" value="Create"/> </html> please help Thanks in advance
-
Ok So everyhting is now fixed Thank you very mich
-
Yes Finally it has been removed from stevie server, waiting to appear on johnny's server. You're very helpful Thank you very much Can you please tell me what does this messae mean when i try to enter any section in cpanel http://db.tt/tGzkqoJG Thanks in advance
-
Here is a link http://db.tt/s9YxN7nV Thanks
-
It says wait for 48 hours but it still access stevie site so it's not deleted Thanks
-
It hasn't een deleted It's in the cpanel of the johnny account and it access the stevie account :S
-
Thanks for your response It hasn't been deleted because i am having an index.html file on johnny's server and if you try to access the site it will show you the dirs Can you remove the domain "seifhatem.co.cc" from any accounts on your ayatem and i will readd it if you can. Thanks very much for your help
-
I am not sure about the username/password of this account so i can't do it Thanks in advance Maybe i entered one of them and the email wring :S
-
The one i wanna delete: Server name:stevie Cpanel username:seifhatem main domain:seifhatem.co.cc Would be grateful for your help Thanks in advance
-
Hello Please i did 2 accounts one on stevie an one on johnny with the same domain and the domain redirects me to stevie and i want to use johny. Can you please delete the stevice account because i can't delete it because it's still in quene Thanks in advance