Introductory PHP For Non-Programmers

When you started reading this sentence you assumed lo acabaría en inglés. However, I didn't finish in English. This begs the question, 'In which language did I finish?' Unless I tell you the language, you'd have to run around and compare the words against known words in order to learn that it was Spanish, but I'd bet you'd give up and move on first. Servers work much the same way; if you don't let it know the language it assumes you're speaking to someone else (the browser) and sends it along. Servers aren't even friendly enough to give it a whack and see how it comes out.

So, what's server-speak for "Here comes PHP!"? Well, it definitely looks foreign:

Sure. Whatever. It's no use telling the server you're speaking PHP because you only know how to say "I speak PHP". What's that going to do for you? Well, imagine you were visiting a scripts site and wondering how you could put today's date on your webpage when you come across the following little snippet:

To display the date on your webpage, find the area you want to put the date then insert the code below.

echo date('m/d/Y');

Now, you're equipped with 2 statements: "I'm going to be speaking PHP" and "Today's date is mm/dd/YYYY". You then edit the file you want to put the date in by inserting this code in the desired location: Put the file back on the server and you're date shows up exactly as the snippet said it would. Or does it?

If you got lucky, it showed up. If not, there's a little more to learn. There's actually more than one way to tell the server that PHP is coming and I've only covered one way - the other ways aren't necessary for you to know in order to use PHP on your site. Most servers require a bit more information first - they want the name of the file to say whether PHP is there or not. To tell the server that PHP is inside the file, you need to change the extension (the part after the dot) to php. Uh, sure, the extension. Does this guy speak English? YEP! lol. If that wasn't clear, let's illustrate by assuming your file was called index.html when you downloaded it to edit. Before you upload that file back to the server, you need to change "html" to "php", so that the file is called index.php. Without that change most servers won't even look for PHP. The nice thing is that even if a file ends in "php", the server still looks for those opening pieces saying "Here comes PHP!" before trying to read what follows in PHP and just sends everything back to the browser which is outside of PHP, so you don't hurt anything!

Tired of reading? Me too! And, we can only do a couple of things! Or can we? There are a lot of scripts out there which require you to copy and paste a little code here and there or to include a file. In those cases, you are now leaps and bounds ahead in getting them to work!

Jeremy Miller - Webmaster of Script Reference - The *NEW* PHP Reference & Tutorial Site For Non-Programmers

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

Mashable

Break into the field of web development with these discounted e-books
Mashable
The barriers to breaking into the web development field are lower than ever. You no longer need to break the bank, quit your job, and enroll in a university to acquire a Mr. Robot-level of programming knowledge. You know what you would need? A laptop ...


Business MattersBusiness Matters

The rise of web development: The revolution that changed the face of the internet
Business MattersBusiness Matters
Curiously, just 4-5 years ago there were very few genuinely innovative projects in the web field. All major transformations in the web development industry, i.e. web componentization, the rise of web browsers and the introduction of single-page ...


Interesting Engineering

Learn the Essentials of Web Development with This eBook Bundle
Interesting Engineering
There's never been a better time to be a web developer. Whether you are interested in lucrative freelance work or joining the ranks of a Fortune 500 company, demand for talented developers who know how to craft powerful and engaging websites has ...


Gopher Protocol Launches Web Development of its Avant! Artificial Intelligence Platform
GlobeNewswire (press release)
SAN DIEGO, CA, May 22, 2018 (GLOBE NEWSWIRE) -- Gopher Protocol Inc. (OTCQB: GOPH) ("Gopher"), a company specializing in the creation of Internet of Things (IoT) and Artificial Intelligence enabled mobile technologies, announced that it is developing ...

and more »

Neowin

You can Pay What You Want for this Full Stack Web Development Bundle
Neowin
Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where you can Pay What You Want for the Full Stack Web Development Bundle. The world's best developers are Full Stack developers. Here's 122+ hours of ...


InfoWorld

6 must-have web frameworks for the Google Go language
InfoWorld
Here's a survey of the major frameworks currently used for web development in Go. Some are aimed at simpler use cases, like endpoint APIs. Others are intended to handle full-blown site development, or can be scaled up or down depending on which ...


First Certificate in Full-Stack Web Development designed for working professionals launches at York University ...
Canada NewsWire (press release)
TORONTO, May 22, 2018 /CNW/ - Gone are the days when becoming a full-stack web developer meant leaving work for weeks on end. Until recently, this intensive "bootcamp" style of learning was largely the only option for people looking to join the fastest ...


Web Developer
Bizcommunity.com
We are Conversion Advantage, a digital marketing agency based in the Winelands. We are looking for a young, skilled web developer who has a passion for technology in general and web development that can demonstrate this to us. The ideal candidate ...


F# Web Development with the SAFE Stack
InfoQ.com
The SAFE stack is a set of F# libraries used together to create web applications. Tomasz Heimowski recently presented the stack at F# eXchange 2018 in a live coding session. He demonstrated the whole experience by creating and deploying a rating ...


Atlanta Small Business Network (blog)

DIY Website Options for Entrepreneurs: Pros and Cons of Three Popular Tools
Atlanta Small Business Network (blog)
The most substantial piece of this pie is the website. You know you need one, and you are wondering if you have the skill to do it on your own. Thankfully, there are many website development platforms out there that make it easy for even a beginner ...

Google News

Top 5 Webmaster Tools You Can Pick Up For Pennies

1. SiteSpinner V2 - On Sale www.deprice.com/sitespinner.htmSiteSpinner is a user-friendly... Read More

WYSIWYG Versus Coding: HTML With A Purpose

After years of working with entrepreneurs who developed their first... Read More

Ebooks for Webmasters

Internet has opened a whole new world for web developers... Read More

Growing Your Meetings In CyberSpace

As increasing numbers of people search for information on the... Read More

Creating a Sticky Web Site

When used to describe a web site, the term "sticky"... Read More

Top 7 Tips for Building an Antique Car Website

Like wine cars get more attractive to collectors as years... Read More

The Birth of a Professional Web Site

The Internet has opened a whole New World of opportunity... Read More

How to Create Sizzling Sales online

"Don't Sell the Steak, Sell the Sizzle."Have you heard of... Read More

Up The Sandbox!

Go to any internet marketing forum you want these days... Read More

How to Create a Professional Web Site in 24 Hours

While creating a Web site may seem like... Read More

Trust Us! Sending Credible Messages

A company must earn and keep trust or sales don't... Read More

Why You Need a Website

You hear a great deal about the Internet these days... Read More

Make Your Own Brand!

There are millions and millions of websites on the Internet.... Read More

Make Your Own Website - General Website Design Tips

Wow, we`ve already taken a domain and chosen a web... Read More

Developing A Website: 10 Tips For Getting Started

1. Be clear on your purpose.Building a website can be... Read More

Server Stats ? Analyzing Traffic To Your Site

Analyzing traffic to a site is a key factor in... Read More

Web accessibility for screen magnifier users

The needs of screen magnifier users are overlooked when implementing... Read More

How to Get a Better Web Site ROI

Better Web Site ROIHow to increase your business profitability by... Read More

Achieving Differentiation With Your Website

Internet Marketing is not a miracle marketing strategy ? competition... Read More

But My Business Doesnt Need A Website!

Revenues are often lost because many business owners don't see... Read More

Free Websites & Why You Should Avoid Them

It amazes me how many people try to build serious... Read More

Bring Your Visitors Back Clamoring for More! Maintain and Improve Your Web Site Weekly - Part 1

80% of your Web site is Maintenance!Once your Web site... Read More

Web Content: How Much Should I Pay?

When web content gets discussed on webmaster bulletin boards, the... Read More

Introductory PHP For Non-Programmers

When you started reading this sentence you assumed lo acabaría... Read More

Are You Losing Sales Because of These 4 Simple Website Mistakes?

Losing website sales and traffic is sometimes simply a case... Read More