Programming Tutorial #1 (Hello, World!)
Hello and welcome, steemians to my first programming tutorial.
Here, I will be creating the simple "Hello, World!" Program in PHP, so if you have already done this you can simply skip over this tutorial, next tutorial we will start building a login system.
Before Starting this tutorial, make sure you have read This Setup Guide (By Me)
This will show you how to set up a web environment (Wamp/Xampp) and an editor (PHPStorm / Notepad++)
So, fire up PHPStorm or Notepad (the editor) and Wamp or Xampp (the server) then follow the below:
Create a file named index.php in the htdocs or www directory (See the last tutorial for location).
This is what code will look like in this post!
inside this new file you have created, type:
<?php
echo 'Hello, World!';
?>
save it, and then visit http://localhost , http://localhost:8080 or http://localhost:[port]
If this doesn't work, make sure you have started your server and that the file is saved in the right place, and if you are sure of this, here are some troubleshooting tips:
Check whether the wamp logo is orange or red, if so: Try these or Google It! or DuckDuckGo it
Xampp not working? Google? or DDG?
Good Luck!
Questions? Put them in the comments down below!
~Conor
Wow, this is definitely something I want to learn. I'm a frustrated programmer. However, I worked for Microsoft, Oracle and some subsidiaries of Google some time ago, so I definitely appreciate this. Keep doing the tutorials, I can tell this is something you are passionate about.
Too right! My life is programming (+ Steemit & Gaming). Also, if you have worked for them then you can't be going too wrong!
Edit: Thanks for the resteem!
Hello world is so nostalgic, transports me back to high school eons ago. But you know what, I have been preoccupied with the illness that I have forgotten who I was and it causes me brain fog that it feels like my past is in another life. This is one thing why I fell in love with Steemit, I feel like someone with amnesia and Steemit just whack me in the head and things are coming back to me now. I don't do gaming anymore, I can only do everything in moderation. All I have now is Clash of Clans, once in awhile. hahaha
This is really funny because I was writing a long post and my computer BSODed on me and it kind of flashed back things, too. Rather than being frustrated, it made me smile. I love Windows. lol
Yep, that's windows for you. "Get used to it or get out" - windows slogan.
Also, I learned hello world in Visual Basic before going to secondary school, as one of my first projects in programming, but at school, I was made to redo it twice, once last year, once this year. Can't get enough hello world. It is interesting how steem feels like that to you, and how it all feels like a past life. Keep Well. Keep Steeming On!
This post was resteemed & upvoted by @superbot - the Best Resteem bot on Planet !
Good Luck!
Follow first ,
Send 0.100 Steem/Steem Dollar and the URL in the memo that you want resteemed and upvoted + get Followed !
So don't waste any time ! Get More Followers and gain more Visibility With Superbot
If you would like to support this bot , Please don't forget to upvote this post !
Stay Super !
Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase
https://
3. Type
re
Get Featured Instantly – Featured Posts are voted every 2.4hrs
Join the Curation Team Here
@originalworks
The @OriginalWorks bot has determined this post by @cadawg to be original material and upvoted it!
To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!
@steem-untalented