Recent content by hero080

  1. hero080

    const in php doesn't work

    You are a GENIUS! Thanks a lot
  2. hero080

    const in php doesn't work

    I don't think so. The visibility should apply to any field/method. And I tried to remove it, it shows the same error. A quick quesition. Is x10hosting providing php5 support or earlier version?
  3. hero080

    const in php doesn't work

    I have defined a class like: class MyClass { public const AAA = 10; // doesn't work here public const BBB = 100; // some other methods } The script halted when it comes to the line of public const AAA = 10; Can anybody give me a clue "why"?
  4. hero080

    Can't login

    For now I can't login to my cPanel or view my web pages on hero080.x10hosting.com It happened before, and I solve it by rebooting my home router. But this time, rebooting my router doesn't work. I simply can't ping through the link above. (IP is resolved correctly though) However, it...
  5. hero080

    Hello!

    Hello~ welcome and I'm new too
  6. hero080

    Hello everyone!

    but where to find ads?
  7. hero080

    Hello everyone!

    I'm new here, and I'm currently using this free host to LEARN web programing (js, php, etc) I heard people actually earn money by building some nice sites. How? Are you using static or dynamic web pages? Any winners can give a little talk about their experience?
  8. hero080

    Is my IP blocked?

    Now I'm nearly 100% sure that my IP is blocked. I'm now at school and the ping from here resolved hero080.x10hosting.com to be the same IP address, therefore excluding the possibility of a DNS problem. Since everything is perfectly fine here in school, the only explanation is that my home IP get...
  9. hero080

    Is my IP blocked?

    Now it's even more weird! 1. I can view my page: http://hero080.x10hosting.com 2. I CANNOT view my page: http://hero080.x10hosting.com/index.html while it's supposed to be the same as 1 3. I CANNOT view any other pages 4. I CANNOT login to cPanel
  10. hero080

    Is my IP blocked?

    I recently have a issue that I can't login to my cPanel or view my page: hero080.x10hosting.com However, this happens 1. after I failed login with ftp account, i.e. it was OK before, which means my firewall settings should be fine. 2. only at my home, i.e. I can access it at school...
  11. hero080

    Tips on Using Computer

    looks like a m$ employee...
  12. hero080

    Can't login to cPanel

    again, I can't login to cPanel or view my pages. It could be a firewall problem. Does anyone know what should I do?
  13. hero080

    php doing things recursively

    That's it. I was using chrome. Now I know that "viewing source" won't necessarily give me the real source. Chrome the cheater!
  14. hero080

    php doing things recursively

    You should be correct, and what you said is exactly what I thought. However, by viewing the source of the page, I found nothing there. Nonetheless, your way did work. Use &lt; to replace the < did solve this problem.
  15. hero080

    php doing things recursively

    <?php $str = "<?php"; echo $str; ?> I expected to see "<?php" as the output. However, the output seems to be interpreted as php code and executed again by the server and at the end I get nothing for output.
Top