Pages: 1
ray |
Posted on 05-05-12, 06:23 pm
|
Roy Koopa
Karma: 4011 Posts: 1483/2722 Since: 06-26-11 |
Hi! I started with PHP and in my first test-page I have a problem
See a lots of creative DS Hacking hereMy code is this: <html>
<body>
<?php
echo date("H:i");
?>
</body>
</html> It should show the time of the computer, but I get a blank screen Can someone (Dirbaio, Nina, Mega-Mario?? xD) help? _________________________ If you want to support me, you might check out my Patreon Page : ) |
xfix |
Posted on 05-05-12, 06:31 pm
|
Script works for me. Most likely, this PHP script is not parsed by PHP. You can use view source feature to see what you get or just run following script.
<?php echo "Parsed by PHP!"; // >Not parsed by PHP! If it shows "Not parsed by PHP!", I would check your server configuration. It's hard to give certain instructions. If you only need server for development, I would be interested with XAMPP. Otherwise read http://www.php-mysql-tutorial.com/wikis/php-tutorial/installing-php-and-mysql.aspx. |
ray |
Posted on 05-05-12, 06:32 pm (rev. 2 by ray on 05-05-12, 08:33 pm)
|
Roy Koopa
Karma: 4011 Posts: 1484/2722 Since: 06-26-11 |
Probems solved, thread can be closed.
See a lots of creative DS Hacking here_________________________ If you want to support me, you might check out my Patreon Page : ) |
Arisotura |
Posted on 05-06-12, 12:40 am
|
☭ coffee and cream
Karma: 10415 Posts: 287/2768 Since: 06-26-11 |
ray |
Posted on 05-06-12, 07:44 am
|
Roy Koopa
Karma: 4011 Posts: 1485/2722 Since: 06-26-11 |
My problem was, that I couldnt start Apache. The Solution: I closed Skype (or MSN, ICQ) because it blocked the port for apache. Then I was able to start it^^
See a lots of creative DS Hacking here_________________________ If you want to support me, you might check out my Patreon Page : ) |
Arisotura |
Posted on 05-06-12, 10:51 am
|
☭ coffee and cream
Karma: 10415 Posts: 288/2768 Since: 06-26-11 |
xfix |
Posted on 05-06-12, 02:09 pm
|
Or just disable port 80 and 443 in the Skype settings.
|
Pages: 1