Jump to content

Krydos

Chief Executive Officer
  • Posts

    25,346
  • Joined

  • Last visited

  • Days Won

    907

Everything posted by Krydos

  1. That's really odd. Do they show the same external IP?
  2. Well, contact VPNEasy and ask them if you can have an IP address that doesn't change, or use a proxy that doesn't change your IP constantly.
  3. The IP the router gives you is likely something like 192.168.0.2. That is an internal private IP that only works with computers connected to your router. Your external IP is what matters and you can see that at https://www.heliohost.org/ip.php If this number keeps changing then cpanel is going to think that someone session jacked you and is trying to log in as you so it disconnects you. This is a security feature. There's many different types of proxies, but the basic idea is you connect to the proxy, and the proxy connects to cpanel for you. Since the proxies IP doesn't change cpanel doesn't log you out, and the proxy doesn't care that your IP keeps changing.
  4. You either have to find a way to keep that last digit from changing or use a proxy.
  5. Ask your ISP to stop changing your IP.Use a proxy.
  6. Set your nameservers on your dedekvaa.tk domain to ns1.heliohost.org and ns2.heliohost.org and we can take a look for you. If you would prefer not to change your nameservers you'll need to contact cloudflare for support on this issue.
  7. Yeah, we can add it, but like I said we're not going to recompile apache again right now.
  8. Apparently mbstring is not enabled by default. This will take a apache/php recompile on Johnny to add. Since Johnny's sitting at ~80% uptime for the last week, and we've already recompiled apache/php twice in the last week it's going to be a while before we compile it again. So one option is to change all the references of mb_strlen() to strlen() until the next Johnny apache recompile. The other option is I checked Tommy and PHP 5.4, 5.5, 5.6, 7.0, and 7.1 all have mbstring enabled.
  9. Are you still blocked? It can take a few minutes to start working again and you posted really quickly after wolstech unblocked you.
  10. I'm not sure why bdistler's code isn't working, but here's an alternative that works: RewriteCond %{REMOTE_HOST} !^123\.123\.123\.123 RewriteRule ^(.*)$ - [L,R=403] Change that 123.123.123.123 to your IP and it will show forbidden to everyone except for you. http://olsenalways.win/
  11. Only one .war can be deployed per account at a time.
  12. The code here https://www.helionet.org/index/topic/28805-dropdown-with-mysql-tables-names-of-a-database-as-options/?p=131382 is tested and works fine on Tommy.
  13. The php I posted above was the expansion of the psuedocode that you didn't understand What is your sql query?
  14. It's just psuedocode. <?php // however you get your username variable $username = "maicol07"; // load database values require 'config.php'; // connect to database $con = new mysqli($db_host, $db_user, $db_pass, $db_data); if ($conn->connect_error) die("Connection failed: ".$conn->connect_error); // perform query $sql = "show tables like $username_"; $result_tables = $con->query($sql); // start dropdown select echo "<select>"; // for each table in database while ($row_tables = $result_tables->fetch_assoc()) { // store the name of the table we're working with $table = $row_tables["Tables_in_$db_data"]; // perform query $sql = "select data from $table"; $result_data = $con->query($sql); // for each value in the column data while ($row_data = $result_data->fetch_assoc()) { // store the value of this row of data $data = $row_data['data']; // create a dropdown entry echo "<option value='$data'>$data</option>"; } } echo "</select>"; This code is untested.
  15. You could do queries in a while loop. show tables while (another table) { select * from table }
  16. Well, the show command only loads the tables that start with the username, and then the select tags display the names of the tables which start with the username_ bit. Maybe I'm not understanding what you're trying to do?
  17. Closing due to inactivity.
  18. Yes, the invite for that transaction ID was sent.
  19. There you go http://olsenalways.win/test.aspx
  20. Please post the following information: Your cPanel usernameYour main domain
  21. The config.php is a common way to separate the $db_host, $db_user, $db_pass, and $db_data variables from the code. If you have 15 different php files they can all include config.php to load those database variables, and if you change the password for example you only have to change it in one place. It's good programming practice to do stuff like this. In this case the config.php would look like: <?php $db_host = "localhost"; $db_user = "maicol07_user"; $db_pass = "bestpaswordever"; $db_data = "maicol07_db"; Change line 11 to $sql = "show tables like '$username_%";
  22. @bdistler, oh cool, I didn't even know there was an option for that in cpanel. Thanks for pointing that out.
  23. We already have mod_deflate installed which does the same thing, but works for all file types not just php files. Put something like this in your .htaccess to enable it <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> You can test your pages to see if it's enabled properly by using a tool like this http://www.whatsmyip.org/http-compression-test/
×
×
  • Create New...