Jump to content

jje

Members
  • Posts

    2,755
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by jje

  1. Don't worry. Djbob easily reinstalled somebody else's Java - I'm sure it'll be a quick job. Your Java'll probably be working by tomorrow
  2. Please could you give us more information about your question. We are happy to help, we are just unsure how? Could you explain to us how we can help, what question we should answer, and...
  3. I doubt the hacker has access to your email. However, I am confused why your email would be on the hacker's page. What is your username and domain?
  4. Please keep discussion related to your personal problem to your own thread, which I have just escalated. Closing...
  5. This support request is being escalated to our root admin. @djbob - His site is showing 502 Bad Gateway even after 24 hours. Could you tell me how to remove Java support so I can reinstall?
  6. It looks like that site is hosted by 'LeaseWeb' and not us. Also, when I compare his HelioNet username with the database, it displays another site. Also, it looks like the other site he posted is hosted on RapidSwitch.
  7. Deescalating... @Geoff - For my own future reference, how did you restore the backup at the command line? Did you just extract the files from the TAR.GZ? How did you restore the MySQL (etc) stuff? Thanks,
  8. For users who wish to login to cPanel in the meantime: http://stevie.heliohost.org:2082/ http://johnny.heliohost.org:2082/
  9. This support request is being escalated to our root admin. Instructions for djbob: http://axis.apache.org/axis2/java/core/doc...ationguide.html
  10. I don't understand. What are the snapshots you have just posted for? What question would you like me to answer? What do you want me to do?
  11. What do you mean by compile? What do you wish to do? Or do you want me to make a working login for you?
  12. This support request is being escalated to our root admin.
  13. One of the many anti viruses warns users of that anyway. I think we should leave it to djbob..
  14. Unlike other languages such as ASP.NET, you do not need to compile PHP applications - you simply create a single file per page. In the tutorial I posted earlier, you need to create a few files: main_login.php - This will be similar to your second snapshot you posted earlier. check_login.php - This will not be a page, but simply handle the login information received from main_login.php. login_success.php - This will be similar to your first snapshot you posted earlier. But first, you need to create a MySQL Database and create/assign users to it. Learn more here. Then, in phpMyAdmin (click on the link in your cPanel home), click on your newly created database and click on the 'SQL' tab. In the box, paste: CREATE TABLE `members` ( `id` int(4) NOT NULL auto_increment, `username` varchar(65) NOT NULL default '', `password` varchar(65) NOT NULL default '', `posts` varchar(65) NOT NULL default '', `thread` varchar(65) NOT NULL default '', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=2; To insert a new user: INSERT INTO `members` VALUES (1, 'john', '1234', '0', '0'); Create a new file called 'check_login.php' and paste in via Code Edit: <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; // To protect MySQL injection (more detail about MySQL injection) $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'"; $result=mysql_query($sql); // Mysql_num_row is counting table row $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to file "login_success.php" session_register("myusername"); session_register("mypassword"); header("location:login_success.php"); } else { echo "Wrong Username or Password"; } ?> Replace the value of $username $password $db_name with the correct info. Username and DB_Name should be prefixed with your cPanel username. Rename the page with screenshot 1 to login_success.php. Then Code Edit it. Add this to the very top of the page: <? session_start(); if(!session_is_registered(myusername)){ header("location:main_login.php"); } ?> Then replace the username with <?php echo $_SESSION['username']; ?> Rename the page with screenshot 2 to main_login.php. Then Code Edit it. Wrap the two input/text boxes with... <form method=post action=check_login.php> ... Then add the attributes to the text box and password field: name=username name=password If you wish to create a forum, follow the tutorial at: http://www.phpeasystep.com/phptu/12.html
  15. I personally found http://www.phpeasystep.com/phptu/6.html useful accomplishing this task
  16. You mean the design? Or the PHP? What is your question?
  17. More cron runs == Higher server load == Slower server djbob rarely gives away free cron jobs, due to the reason above. Why not use Geoff/byron's methods? They basically replicate the setup you desired.
  18. As a side note, make sure you login via the HelioHost Homepage (http://heliohost.org/home) Glad your problem got solved! Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
  19. Glad your problem got solved! Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
  20. Closing due to inactivity... Glad your problem got solved. Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
  21. Glad your problem got solved. Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
  22. jje

    Domain problem

    Glad your problem got solved. Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
  23. jje

    Account Queued?

    Glad your problem got solved. Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947
×
×
  • Create New...