Search results

  1. M

    Time of stoli server

    In Python, you can use time.strftime to get the server local time formatted as a string. PHP also has a strftime (no big surprise, since both are based on the C library function of the same name).
  2. M

    Help with OOP and globals

    Other than the mysterious $error variable, there's nothing that needs immediate attention. Shame, shame. It doesn't take much to type out a few column names.
  3. M

    Receiving uploaded GPRS data through a socket (Python)

    Don't threadjack and don't revive old threads without very good reason. Start your own thread. Use [php], [html] or [code] tags (as appropriate) to separate & format code.
  4. M

    Help with OOP and globals

    I almost forgot: it's best not to use SELECT *. Select only the columns you need.
  5. M

    New at Website designing

    Perhaps as a reference, but primary sources (W3.org, php.net, dev.mysql.com &c.) are better. As for W3Schools tutorials, they result in too many bad habits; anyone using them will have to unlearn what they pick up. There are plenty of better, free resources out there. These days, there's no...
  6. M

    New at Website designing

    W3Schools is outdated, inaccurate and incomplete, and it's not just my opinion.
  7. M

    PHP - unlink() returning true, but not deleting file

    Is unlink returning true or false? The thread title says one thing, your post another. If it's returning false, use set_error_handler to capture the error or error_reporting (temporarily) to output it. The former is what you should do in production code, the latter for quick & dirty debugging.
  8. M

    Help with OOP and globals

    There isn't enough to test and, at the same time, there's too much (for example, the DB access code is probably extraneous; if not, the sample needs to be extended to include a test table schema & test data). Please post a minimal test case and a link to a live page. Creating the minimal test...
  9. M

    Cron job refresh?

    The meta refresh is equivalent to the HTTP Refresh header, which only HTTP user agents pay any attention to. Cron doesn't process HTML and it doesn't load pages, it runs commands. The most processing it ever does with output is e-mail it. Which loop are you referring to in "over-write the...
  10. M

    Cannot Change Main Domain

    As far as I can tell, that error means the account panel can't find your site package. It's probably caused by cPanel issues, described in the announcement at the top of this very forum. The admins are going to be working hard on that problem for awhile. Hopefully, that will also fix your issue...
  11. M

    i can not open my CPanel acc and the webmail too

    Read the announcement at the top of this very forum. The admins are going to be working hard on this for awhile.
  12. M

    Domain Main Modification Errors

    It's probably caused by cPanel issues, described in the announcement at the top of the Free Hosting forum page. The admins are going to be working hard on that problem for awhile.
  13. M

    unsuspension

    Read the announcement at the top of this very forum.
  14. M

    My Domain name doesn't work

    It's probably related to the cPanel issues described in the announcement at the top of this very forum. The admins are going to be working hard on that problem for awhile. Hopefully, that will also fix your issue.
  15. M

    enestinfos.co.cc cpanel password not working

    Read the announcement at the top of this very forum.
  16. M

    MySQLdb in Python

    Python 2.6, which is mentioned in previous threads. If you're not certain, you can always check what version of any particular software is installed. Once the cPanel issues are taken care of, check the status of the Python MySQL extension, which (it turns out) was installed as an exception...
  17. M

    my domain not working

    From what I see, those domains aren't managed by the X10 name servers but by nameserverffs.com. You need to set X10 as the authority for your domain names. You might not be able to finish this process, as cPanel is having issues, described in the announcement at the top of the Free Hosting forum...
  18. M

    My website is not showing up......

    It's caused by cPanel issues, described in the announcement at the top of the Free Hosting forum page. The admins are going to be working hard on that problem for awhile. For now, all you can do is wait.
  19. M

    Management Come

    Start by reading the sticky "Attention: [PLEASE READ] Regarding Boru MySQL databases" in this very forum. Also make sure you read the announcement at the top of the Free Hosting forum page.
  20. M

    Phpnuke

    Google is your friend.
Top