Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : arbuz via Audiogames-reflector


  


Re: PHP, getting started?

It's just your extension of the file wasn't accepted by the PHP interpretator. Of-course you can force your server to recognise .html extension as such, however I think there it wasn't the main problem.I suggest you to use wamp server, because there management is easy enough. Put your files in www directory and run by using browser, keep in bind tthat there is port 80 that http server uses, so Syke or some other apps that could overtake the port might be beyond. However php it's really straightforward to use if you know other scripting languages.

URL: https://forum.audiogames.net/post/463223/#p463223




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector


  


Re: PHP, getting started?

@6 mwaha, I also learned that the hard way.

URL: https://forum.audiogames.net/post/463185/#p463185




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: PHP, getting started?

Yeh so... I was being an idiot. I didn't realize that .html will not be treated as .php. I also didn't know the fact that html can be inside a .php file. Oh well, lesson learned, I suppose.

URL: https://forum.audiogames.net/post/463153/#p463153




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector


  


Re: PHP, getting started?

@op, I use xampp, and it works like a charm.Here is my process:In c:\xampp\hdocx make your files.File: Index.php:   Php Test.   phpinfo?> Then, run http://localhost in your web browser. Note! It can not! Be https, it is not a secure server, and doesn't run with the appended s.Let me know if this works.hth.

URL: https://forum.audiogames.net/post/463137/#p463137




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: PHP, getting started?

@2:php-server, when typed in the command line, yields nothing.@3:Ironically, if I go and try going to localhost/dashboard/phpinfo.php, everything works. However, if I copy the same line from the php file, the phpinfo thing, it won't work in my indx.html, no it's not a tipo. Here's my code:


PHP test




I tried typing the php statement on one line and nothing... the only thing it shows is my html title statement. Tips and suggestions would be greatly appreciated.

URL: https://forum.audiogames.net/post/463117/#p463117




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: PHP, getting started?

@2:php-server, when typed in the command line, yields nothing.@3:Ironically, if I go and try going to localhost/dashboard/phpinfo.php, everything works. However, if I copy the same line from the php file, the phpinfo thing, it won't work in my indx.html, no it's not a tipo. Here's my code:


PHP test




I tried typing the php statement on one line and nothing... tips and suggestions would be greatly appreciated.

URL: https://forum.audiogames.net/post/463117/#p463117




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-21 Thread AudioGames . net Forum — Developers room : arbuz via Audiogames-reflector


  


Re: PHP, getting started?

Your code isn't correct.Try this:phpinfo();?>If you see all the information about your PHP version and etc, then it works like a charm.

URL: https://forum.audiogames.net/post/463082/#p463082




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: PHP, getting started?

2019-09-20 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: PHP, getting started?

You can run a php server from the command line. I believe the command is php-server:4000, if i remember correctly. If not, let me know. Hope this helped.

URL: https://forum.audiogames.net/post/463077/#p463077




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


PHP, getting started?

2019-09-20 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


PHP, getting started?

So I'm not asking for a tutorial here. The matter is much more trivial.I have tried to get PHP onto my machine without success. I have tried tools like xampp, which was partially accessible, I have managed to launch it, start up a php server, but here's where my problems come in:Consider this code:


PHP test




Maybe it's the code, maybe it's something else, but ur... that doesn't work when I go and try it with xampp.So, my question is, how? How would one run php?I don't want to use a free host out there... Uploading files just to fix an error is a bit too absurd, I want to test it on my machine and only upload when I verify that everything works successfully.Suggestions/tips?

URL: https://forum.audiogames.net/post/463061/#p463061




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector