Web Development Information |
|
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
MORE RESOURCES: Help with Tax Calculator SitePoint UA Little Rock Student Gains International Experience as Web Development Intern in Australia University of Arkansas at Little Rock Welcome animation conflict with barba js SitePoint Web Design and Development Muskegon Community College From accounting to web development: Meet this Ironhack grad making big strides in programming Refresh Miami Button Styles Not Working On Phones SitePoint Will Ukraine nuke Russia if Donald Trump cuts aide? Reports say the country is just months away from build The Economic Times Northeastern grad goes from schooling to working full time at web development startup he created Northeastern University 17 Best Tech Website Designs in 2024 DesignRush The future of programming SitePoint Register for AIM’s Free Web Development Course by Sept. 10 Silicon Prairie News Latest News: Rising Senior Uses Computer Science Coursework to Thrive in Web Development Role Muhlenberg College Best Website Development Tools for 2024 DesignRush Wordpress-Gutenberg/React: MediaUpload? SitePoint Best web development tool of 2024 TechRadar Best PHP Frameworks for Web Development in 2024 Simplilearn 10 Best SEO Services Of 2024 Forbes Best web design software of 2024 TechRadar 38 Web Development Stats You Should Know in 2024 Influencer Marketing Hub Best laptops for programming of 2024 TechRadar WordPress Script Isn't Working SitePoint New Web Development Tool Pulls Design Tokens From Figma The New Stack CSS prevents page scrolling SitePoint Top 10 Front End Languages - A Beginner's Guide Simplilearn 35 Best Web Design Companies 2024 Built In Bachelor of Arts in Web Design and Development - Information Science University of Arkansas at Little Rock 10 Chicago Web Design and Development Agencies You Should Know Built In Chicago Any SEO benefits from Dedicated hosting? SitePoint Catchpoint Empowers Front-end Web Development Teams with Unparalleled Enterprise Insights Business Wire |
RELATED ARTICLES
I Want To Be A Freelancer So you have decided that you want to do freelance work. You have done your homework and have developed your skills in HTML, PHP, CMS, and a slew of other applications. Why Is No-one Buying From My Website? Are you, like many other website owners, frustrated at the amount of time, effort and money you've put into your website, only to see few or no sales?Like most business owners, you probably know your products or services inside out; you know the benefits of them, and what they can give to other businesses or consumers. And you probably paid good money for a website to promote them. The Disability Discrimination Act (DDA) & Web Accessibility There's been widespread speculation about the new legislation being introduced under the DDA (Disability Discrimination Act), which will ensure that websites are accessible to blind and disabled users. Try to find specific information about it on the Internet and chances are you'll come up empty handed. Ten Quick Tests To Check Your Website For Accessibility The Disability Discrimination Act says that websites must be made accessible to disabled people. So how can you check that your website is up to par? There are a number of basic tests you can make to address some of the main issues that provide a good start in increasing accessibility to your site visitors:1. Web Coach Tip: What You Should Know About DIY Web Sites Recently, a friend asked "What's the deal with those DIY companies that advertise "How to get a website with everything your business needs for under $20 bucks a month?". "How can they do that?" she said. Guide to Internet Business - Design and Content After deciding what kind of internet business you want to do, it's time to start planning the design and content of your business. Many people make the mistake of skipping this step, choosing instead to immediately start work on their website. Creating a Sticky Web Site When used to describe a web site, the term "sticky" refers to a site that is able to get viewers to stay at the site longer and come back frequently. Sticky web sites are more likely to turn viewers into customers. Tips to Protect Your Downloads or Products 1. Upload robots. Ecommerce for Beginners Like most average persons, I wanted some extra money to supplement my regular income. I had considered a part time second job at times, but hated that option because it would take me away from the family, make me more tired and probably just pay minimum wage. 3 Ways To Increase Your Websites Conversion rate Everywhere you look these days, people are telling you that in order to sell through your website, you need tons of traffic.Well, even though my business is traffic generation, *I'm* going to tell you that it's a BIG FAT LIE!The secret of a successful website isn't just in the amount of visitors it has; it's in the amount of visitors that are converted to buyers. Make Your Own Website - General Website Design Tips Wow, we`ve already taken a domain and chosen a web host. Great job ! Now it`s time for something special: making your own website. Web Accessibility Myths With more and more countries around the world passing laws about blind and disabled access to the Internet (including the Disability Discrimination Act in the UK), web accessibility has been thrown into the spotlight of the online community. This article attempt to put a stop to the misinformation that has been thrown around and tell you the truth behind web accessibility. What is Blogger.com? In the late 1990's three San Francisco based web developers came up with the idea of being able to share information about anything on the web. The terminology they used was called blog. Beware the Software Siren I've heard several prominent web marketers mention in their classes and public forums how easy it is to create your own software. Why, all you have to do is run over to Elance. Set Up Your Website in Minutes - For Free There was a time not long ago when setting up a website meant endless technical jargons, hiring a web designer, writing the html or jawa codes, selecting the right hosting platform and deciding on the band width.Now setting up a website is like 1. Freelance Programming is Easy to Manage There are several reverse bid freelance sites out there. Beyond the big ones, smaller ones are popping up each day. 1 Simple Solution to All Internet Marketers about Their Website Design Needs It is an undeniable fact that not everybody is keen and knowledgeable to create an above average looking website. It is also true that it is something learnable, but it might take a certain learning time span in order to grasp the minimum ability to create an over than average website. What Business Owners MUST Know BEFORE They Commit To Having A Web Site Q1.Why would I need a web site?A1. The Number 1 Reason Most Websites Fail Failure, just like success, is measured differently by each and every one of us. What one man treats as success another may view as failure. Enhance Your Website With A Yahoo-Style Directory Does your website have a links/resources page?Do you exchange reciprocal with other websites to help boost your targeted traffic and search engine rankings?Do you believe that a relevant, yet comprehensive resources page provides tangible benefits to your site's visitors?If you answered "yes" to one or more of these questions, then you should consider adding an inexpensive (or free!) Yahoo-style Directory to your website. A quality Directory script will add an air of professionalism to your website and provide valuable content for your users. |
home | site map |
© 2006 |