Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


PHP #1 : Introduction filter_list
Author
Message
PHP #1 : Introduction #1
PHP #1 : Introduction

By Hackarchives

Note: If you know about servers and basics about PHP you may skip this tutorial

Firstly we need to understand what exactly PHP is
PHP stands for PHP:Hypertext Preprocessor (Recursive acronym)
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP - specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.

Now we have to understand why do we need to learn PHP
It is the most popular web developing language has extensive community and support.Even Facebook make use of PHP.It is required for dynamic web pages.You can do with java too but PHP is faster than java[i read it somewhere] and it is faster to develop in PHP.PHP files can contain text, HTML, JavaScript code, and PHP code. PHP processes the code on the server and output is in HTML form

Checkpoint: Before proceeding past this point make sure that you know basic HTML

Now since PHP works on web server you will need one to process it.Please Install these softwares to make sure you can execute PHP on your system.

Softwares:
Windows 7: WAMP
Linux: LAMP
Mac OSX: MAMP

We will be talking about WAMP though every time we refer to your server.
Now it's very simple to install wamp.You can do that yourself
Suppose you have installed it in c:/wamp .Then your files will be stored in c:/wamp/www .In web servers you need to place an index file so as to have a default loading of it when user browses to it. In our case index.php is placed in c:/wamp/www .
Now open your browser and go to http://localhost you will the default wamp page. It is the index file created by wamp and located in c:/wamp/www

Now you are ready to learn PHP.You just need a good text editor for PHP. I recommend using Notepad++ .

Download: Notepad++

Next ChapterTongueHP #2 : Basics [coming soon]

Reply

RE: PHP #1 : Introduction #2
Cool tut. Good work.
Hoping to see more of these. Glad you're making these.
Btw, for windows 7, i think XAMPP would be the best.
[Image: 2YpkRjy.png]
PM me if you need help.
My pastebin HERE. My URL Shortener HERE.

Reply

RE: PHP #1 : Introduction #3
WAMP runs on Windows, XAMPP is multi-platform. Aside from that it's a matter of personal preference. They both provide you with an Apache-MySQL-PHP environment that runs pretty much the same under both systems.

Reply

RE: PHP #1 : Introduction #4
Nice, I recommend Sublime Text 2 Smile
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: PHP #1 : Introduction #5
Nice tutorial hackarchives.

Ex094 Wrote:Nice, I recommend Sublime Text 2 Smile
I disagree with you, I think Notepad++ is better Wink

Reply

RE: PHP #1 : Introduction #6
(01-27-2013, 03:53 PM)τhε.τhinkεr Wrote: Nice tutorial hackarchives.

Ex094 Wrote:Nice, I recommend Sublime Text 2 Smile
I disagree with you, I think Notepad++ is better.
Well everyone got their own view, I presented mine and you presented yours! Fair Enough Smile
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: PHP #1 : Introduction #7
(01-27-2013, 03:43 PM)Ex094 Wrote: Nice, I recommend Sublime Text 2 Smile

Nah..I m more comfortable with Notepad++.

Remember my PHP tutorials?If yes, see how much i have improved Biggrin

(01-27-2013, 03:53 PM)τhε.τhinkεr Wrote: Nice tutorial hackarchives.

Ex094 Wrote:Nice, I recommend Sublime Text 2 Smile
I disagree with you, I think Notepad++ is better Wink

Thanks

Reply

RE: PHP #1 : Introduction #8
Nah, Didn't notice that Tongue Well I use Notepad++ when I work with HTML/CSS Smile. Working with php in sublime text 2 under Distraction Free mode make me comfortable and it's auto completion makes my tasks much easier
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: PHP #1 : Introduction #9
Thanks man!

Reply

RE: PHP #1 : Introduction #10
like to see that , can you send it ?

Reply







Users browsing this thread: 1 Guest(s)