Search results

  1. lemon-tree

    my life, it's ****ed.

    The die() function causes the currently running script to end execution. If you don't like that terminology, you can use exit() instead. A quick search of the PHP manual would have told you precisely this.
  2. lemon-tree

    Deploy Java Server

    The premium system, like free, is not designed for Java application usage but for more conventional web languages or for static hosting. As Descalzo mentioned above, the minimum package you would need is VPS in order to be able to setup and host your own Java system.
  3. lemon-tree

    What do i need to install to get php mail() to work?

    On free hosting, (or any shared host for that matter) the php.ini file is not available for editing by individual users, as that would alter the settings for every other user on the system. The mail function should be working. Does that code return "mail sent" or "mail error" when you try to...
  4. lemon-tree

    Navicate lite [help to connect]

    On free accounts, access to the MySQL server is not available with external tools and hence connecting with Navicat is not going to work. You will need to use PHPMyAdmin in cPanel to manage your databases.
  5. lemon-tree

    Creating a PDF with PHP?

    If I remember correctly, the native PDFlib is not available on free hosting, hence the error that its instantiating function is not defined. However, you can instead use one of these: http://www.fpdf.org/ or http://www.tcpdf.org/ . My personal preference is to use TCPDF and I did successfully...
  6. lemon-tree

    Cron Job PHP syntax

    You should ideally give the absolute path to the PHP executable. Providing the path to the script is correct then this should work (Did you mean to type 'scipts' ?): /usr/bin/php /home/c9cms/public_html/scipts/clear_db.php
  7. lemon-tree

    pointing domain

    You need to use the nameservers ns1.x10hosting.com and ns2.x10hosting.com at your domain registrar. Then you can follow this tutorial to add it to your account: http://x10hosting.com/wiki/How_to_Use_Your_Own_Domain
  8. lemon-tree

    Cronjob PHP script in password protected directory

    If you have password protected the directory through .htaccess then it will not affect how you run the script as the authentication takes place within the webserver layer. Therefore, all you need to do is add a cron job like so: "/usr/bin/php /public_html/hax/zitrostats/update/update.php"
  9. lemon-tree

    Interesting effect with the canvas element and CSS

    This is because the canvas element only redraws itself when you specifically give it an instruction through JS and between these such requests it can be likened to a simple image element, so it behaves just is resizing an image would. This is done so that you can alter the canvas through simple...
  10. lemon-tree

    Nameservers

    ns1.x10hosting.com ns2.x10hosting.com
  11. lemon-tree

    Nameservers for setting up URL

    ns1.x10hosting.com ns2.x10hosting.com
  12. lemon-tree

    Cookie arrays

    So you want to put it there with Javascript and then read with PHP? If so, you could try using JSON as the transfer language; both PHP and Javascript have support for it, so it's likely your best bet.
  13. lemon-tree

    mysql??

    Yes -> http://x10hosting.com/wiki/How_to_Create_a_MySQL_Database_and_User
  14. lemon-tree

    Cookie arrays

    You cannot directly store the array in a cookie, as it only accepts a key and a string. You will need to serialize the array first and put the resulting string into the cookie. When you want the array back, you then do an unserialize. Note, this will only work for simple arrays, not ones...
  15. lemon-tree

    account activation

    There are two possible reasons: 1. You need to validate your request by following the instructions in your activation email. Check your spam folders to make sure you haven't missed it. 2. If the process queue has a high load on it, then requests for new accounts may take longer than normal.
  16. lemon-tree

    Suspension Torrentflux

    You clearly didn't read the terms of service that you specifically agreed to when you signed up, torrentflux is even specifically mentioned -> http://x10hosting.com/terms Running any torrent trackers is a zero-tolerance offence and as such your account will now remain permanently suspended. You...
  17. lemon-tree

    Website is suspended

    Fixed! As a quick note: you can unsuspend yourself in the account panel for these temporary suspensions.
  18. lemon-tree

    Website safety help request

    Absolutely do not do this, POST data is essentially just as easy for someone to replace as GET data is, either through editing the page content or through custom headers. If you want to store user data, look into using the $_SESSION variables, any data stored here does not leave the server but...
  19. lemon-tree

    Suspensions.

    I don't know precisely how long afterwards it resets, could be an hour or could be per day.
  20. lemon-tree

    User breaking rule.

    If the site is hosted on X10hosting you can use the report abuse form located here: http://x10hosting.com/abuse
Top