Welcome To 'Scripters Paradise'
March 28, 2020, 03:35:52 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please Read Our Vision Statement.
Welcome To Our Newest Member: W14OK
  Home Help Search Gallery Flyfamilyguy WebSite Staff List Calendar Login Register  
  Show Posts
Pages: [1]
1  Tutorials / PHP and all other scripting languages / The Real Tutorial For PHP on: April 06, 2008, 06:41:43 pm
This Post Will Hold Many Tutorials. Pleast Stand By.

It's Recemended To read this post before you begin this tutorial: http://geeksrus.smfforfree3.com/index.php/topic,4.0.html


Install PHP

What do You Need?
This tutorial will not explain how to install PHP, MySQL, or Apache Server.

If your server supports PHP - you don't need to do anything! You do not need to compile anything or install any extra tools  - just create some .php files in your web directory - and the server will parse them for you. Most web hosts offer PHP support.

However, if your server does not support PHP, you must install PHP. Below is a link to a good tutorial from PHP.net on how to install PHP5:


Download PHP
Download PHP for free here: http://www.php.net/downloads.php

Download MySQL Database
Download MySQL for free here: http://www.mysql.com/downloads/index.html

Download Apache Server
Download Apache for free here: http://httpd.apache.org/download.cgi

Basic PHP Syntax

A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document.

On servers with shorthand support enabled you can start a scripting block with <? and end with ?>.

However, for maximum compatibility, we recommend that you use the standard form (<?php) rather than the shorthand form.


A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting code.

Below, we have an example of a simple PHP script which sends the text "Hello World" to the browser:

echo "Hello World";

Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another.

There are two basic statements to output text with PHP: echo and print. In the example above we have used the echo statement to output the text "Hello World".

Comments in PHP

In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.

<body><?php//This is a comment/*
This is
a comment

** WIll Be Finishing this tutorial Soon **
2  Making It Happen...Our Vision For The Site / Ideas, Feedback... / Mind If I Help? on: April 05, 2008, 11:59:00 pm
I made you guys a redirecting url. To make your forum url shorter.. If you mind using it is. ---> http://geeksrus.zapto.org
3  Welcome! / Introduce Yourself / Hi, I'm Michaela on: April 05, 2008, 11:54:11 pm
Hi, I'm Michaela. I'm a girl... And I Am A retired owner of a SMFFORFREE forum. I know own my own hosted off a cheap server at www.hostmonster.com. My current Game website is at www.michaela-scape.org/forums.
I'm 16 years old. I also grew up in a medium class town in Indiana. I enjoy this forum. And I hope a become a huge part of it!

4  Tutorials / PHP and all other scripting languages / Coding PHP on: April 04, 2008, 04:16:46 am
PhP, What is it?
"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."

This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won't see!

When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browser.

PHP - What's it do?

It is also helpful to think of PHP in terms of what it can do for you. PHP will allow you to:

Reduce the time to create large websites.
Create a customized user experience for visitors based on information that you have gathered from them.
Open up thousands of possibilities for online tools. Check out PHP - HotScripts for examples of the great things that are possible with PHP.
Allow creation of shopping carts for e-commerce websites.

What You Should Know
HTML - Know the syntax and especially HTML Forms.
Basic programming knowledge - This isn't required, but if you have any traditional programming experience it will make learning PHP a great deal easier.

I'll Be releasing Serveral Tutorials Soon

Pages: [1]
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.047 seconds with 15 queries.