I want to learn PHP, but I am pretty much computer illiterate. What steps do I take?

1 Answer

Answer :

For HTML, you don’t require any additional software. You can save it on your local computer just like any other file, and the website will be visible to you only. You don’t need any special software to do the HTML coding, but I would recommend the free Notepad++ because it structures the file and adds in color to the tags. You would open the website through your browser, by going to File, then Open File, then browsing to the website location on your hard drive. This is the easiest way to get back into learning HTML since it requires no money. For learning the HTML itself, I recommend the W3 Schools website. It looks a bit old, but their knowledge is rock solid: W3 HTML Tutorials The one downside to having your website on your hard drive is no one on the Internet can see it*. This may be a good thing or a bad thing, depending on what your goals are. While you are learning, there is no real point to paying for a web server, because in all honesty no one will find your website unless you give out the address. If you do want it on the Internet, you need to get some web hosting, and a domain name. The easiest way is to purchase from a web hosting company of which there are many. I personally use A2 Hosting, they offer a $5 a month 10GB plan (which is WAY more than you would need for learning, in fact it’s way more than a reasonable website cound use!) and they sell domain names for $13/year. Note, please be careful when purchasing your hosting, some places sell domain names and web hosting for a higher price to rip people off. A dot com domain name is no more than $15, and you can easily find web hosting for under $10 a month or lower. Another thing to note about web hosting is your requirements. You want to learn and use PHP, so your hosting company will need to provide PHP and a database (most likely MySQL) support. The hosting company I linked to above provides this environment. Many other hosts do as well. Shop around to find a company that suits your needs. PHP is a bit of a different beast. It’s a server-side language, which means you can’t run PHP code on your computer without installing some software. Luckily if you’re running Windows or Linux (probably Mac too, but I have no experience with that), it’s very easy to set up what’s called a WAMP setup: Windows, Apache, MySQL and PHP. Apache is the server, MySQL for databases, PHP for well PHP. Again, W3 has more information and links about how to set this up: W3 PHP Info Now this does require some tech knowledge to set up, but the plus side is it’s free. Again, same as with the HTML on your local computer, no one but you will be able to access the website*. But it’s a great way to learn and practice. You can always purchase hosting and use it as your testground too if you don’t feel up to installing it on your local computer. As for learning PHP, there are hundreds of books and sites to learn from. The best reference library is PHP.net – simply type a function name and its description, examples, and community feedback is displayed. It’s by far the best reference library I’ve ever seen in any language. There are also hundreds of tutorials and pre-build modules you can download, install, and learn from. PHP is not a compiled language, so like with HTML you can learn from the source code (however unlike HTML, PHP source code is not displayed when you go “View Source”. You need to have the actual php file in your hand to view the code.) To make the files “live” on the internet, you upload them. There are many tools to do this. I use FTP (file transfer protocol), and I use a free Firefox plugin called FireFTP. And a final tip: there are some companies that offer “free” web hosting. I do not recommend going this method. First off, they often limit it to HTML (so no PHP, no databases, none of the fun stuff), and they sometimes put an advertisement in your page. As well, it’s good to learn how to manage your files properly in case you want to make another website! Knowledge is power :D Phew, big answer. To sum it up, you can practice HTML on your own computer easily. PHP needs a bit of software installed, but can be done for free. But no one but you will be able to see your website unless it’s on the Internet. If you want your site to be on the Internet, you need a Domain Name and Web Hosting, which many companies offer. Take it slow, start off by not spending any money and learn on your local computer. And have fun! *: Technically there are ways to create an Internet address that would let your computer become the web server, but many ISPs don’t like you doing this and may forbid this in your terms of service.

Related questions

Description : Is there a server-side utility that I can call from PHP to automatically resize and crop an image, such as an avatar, uploaded by a user?

Last Answer : http://www.imagemagick.org/script/index.php

Description : Is there a server-side utility that I can call from PHP to spell check a user's input from a text box?

Last Answer : There are a bunch of them out there. Here’s a PHP spell checker class.

Description : PHP/MySQL question.... (please read on)

Last Answer : Have you looked through these?

Description : PHP help... contact form problem.

Last Answer : You should probably do an ajax form submit and replace the form with the confirmation message. I’ve got to get to bed, but I’ll find a tutorial for you in the morning if someone else hasn’t already. (basically, opposite of this: http://24ways.org/2005/edit-in-place-with-ajax)

Description : What PHP-based plain text formatting processor do you recommend?

Last Answer : answer:I usually just write my own. Two arrays, str_replace or preg_replace, and you're done (unless you want to add some extra safety measures). For example, for your two examples, I'd do this: ... '); $replace [equal] array('$1', '$1'); $string [equal] preg_replace($search, $replace, $string);

Description : Can you walk me through the steps of creating a website,where I can sell both self made DVDs and download-able content?

Last Answer : How much technical skill do you have?

Description : I would like to learn how to design websites. Where do I start?

Last Answer : In seven years things have changed and awful lot. Your best bet is to start with learning XHTML and CSS. Semantic HTML and the separation of markup and presentation are very important topics ... complicated tasks, and are more difficult to get into without a gerat foundation in computer programming.

Description : How do i learn to create websites?

Last Answer : answer:Personally, I use Textmate and CSSEdit. I would suggest buying a book on HTML and CSS and using that. Really, any book should do. I find that when starting out it is better to learn from a book than a bunch of different online tutorials. http://macromates.com/ http://macrabbit.com/cssedit/

Description : Which is the Best Sources to learn Web Design ?

Last Answer : A lot of people who I’ve talked to that are recently learning about HTML and CSS tell me that W3 Schools has some good information. Of course, the W3 itself has the best info on HTML (check out the “Learn” section on the sidebar) and CSS.

Description : Why do websites always want you to take a survey or give them feedback?

Last Answer : To get your email address.

Description : What if someone links to my website but I don't want them to?

Last Answer : answer:Nope. Any reasonable person probably would, but there’s no obligation. Just ask nicely :) (Anyway… Why don’t you want your website linked to?)

Description : Any one interested in web design want to check out my site?

Last Answer : Hey to all looking. You should be able to add comments, it’s just not working for some reason. Tell me what you think of the UI though. I’ll look into the commenting problem.

Description : I want to build my own CMS from scratch- are there any good tutorials out there?

Last Answer : answer:Just for the uninitiated, CMS [equal][equal] Code Management System. Revision control (also known as version control (system) (VCS), source control or (source) code management (SCM)) is the management of multiple ... on by a team of people. - And um, no, sorry, got no suggestions for ya. :-\

Description : Why am i getting a white box when i try to publish a youtube video on my website?

Last Answer : If you want to share the site I will look it over.

Description : How much does it take to start a dating website? Similar functionality to today's dating web sites. Who can create this for me?

Last Answer : Too much to make it worth it. A dating site is only as good as the people you can find on it. Unless you’re going for a super specific niche that doesn’t already use another site this isn’t something you should do because it’s a good idea in your mind.

Description : Geeky computer question - How do I keep Internet Explorer 6 in Windows installed if I update Windows itself?

Last Answer : If you go to Microsoft update website , you get a “custom installation” option as well as an “express installation”. Doesn’t the “custom” one give you the option not to upgrade IE6?

Description : What would take priority on my website?

Last Answer : I think, for design, the portfolio is more important.

Description : Take web screenshots for a website?

Last Answer : What exactly are you trying to do? Implement it into a web app of yours? Or take screenshots of the web through an online interface?

Description : I know that you can imbed image sets from Flickr to a blog but is it possible to do the same to a regular website? And if so, then how?

Last Answer : Does this help with what you want? edit :: and note the part in the code that says count=10 You could probably bump that up to a bigger number. Say like count=25.

Description : I got a WordPress blog with my website but no user name or password. My host doesn't know either. How can I get this blog up and running?

Last Answer : If the wordpress blog just came with your website, then I suggest attempting to go here: http://www.GaryDaleCearley.com/blog/wp-login.php And attempting to login with however you login to your web hosting account.

Description : Why is jQuery so much more popular than Prototype and Scriptaculous?

Last Answer : Some reasons off of the top of my head: 1. It is smaller 2. It is faster 3. It is easy to extend (plugins and such) 4. It is true to javascript. Prototype is like a ruby-ized javascript

Description : how much to pay to build a website and whats the rule for the price of building website?

Last Answer : Way too many variables to generate a blanket quote. Do you already have an established visual identity? What will be the features of the site? How heavy in content will the site be? Do you need help acquiring the domain and hosting? How many rounds of edits do you anticipate?

Description : Web design (CSS) question: how can I make something like this?

Last Answer : Looks like it’s based on Cargo Collective’s Montessori template and using their tools. They’ve modified it some to use some more concepts from brutalism, but it looks like all the main functionality would be there if you wanted to do the same.

Description : Why does ask-public have Users login with their published user names?

Last Answer : answer:Honestly, there's probably no other reason than because that was the standard at the time. In 2006 (which is when the site launched), basically every website used a username to login. Even now, the vast ... such a ubiquitous login item? (I'm no web designer either, so I can't say for sure.)

Description : What do I need to do to adapt my Web site to mobile devices?

Last Answer : answer:(Link is broken. But it appears to be: mathed.org.) You could either try to use a mobile framework like bootstrap and do this yourself, or you could move all the content into a simple Wordpress site with a responsive theme/template.

Description : From where I can buy web hosting in cheap rate?

Last Answer : answer:Dreamhost.com and Bluehost.com get great reviews for Linux hosting. I needed inexpensive Windows hosting recently and I signed up for SmarterASP.net.

Description : Is there a wordpress plugin that would allow me to put random quotes on my website (like ask-public has?)

Last Answer : answer:I don’t believe the ask-public quotes are random, in the sense they are auto generated. They are manually generated, but randomly displayed. Similar to what a wordpress random quote widget might provide.

Description : Optimizing a Jquerymobile build for my needs?

Last Answer : answer:I'm sure you saw it, but just in case. Please note that the jQuery Mobile Download Builder is still in alpha, and as such should not be used on production websites. But, let's see if we ... build than you want that works, then weed out the unneeded sections one at a time. Until it breaks.

Description : WYSIWYG maker for making expandable blocks (show/ hide toggle blocks)?

Last Answer : Wow. I have no idea, but should identify WYSIWYG as What You See Is What You Get for those who couldn’t figure it out.

Description : To what degree are the problems with the Obamacare website due to sabotage?

Last Answer : Possibly, but a question for any IT folks out there is, wouldn’t the site have been thoroughly beta tested or am I being naive?

Description : How would I add a page-by-page language "switcher" on a website, and should I - details...?

Last Answer : answer:I've not done it before, but it should be fairly easy if you have properly separated your content from your presentation. The nicer-looking way to do it would be to use an XMLHttpRequest in ... but it gives you the ability to do lots of things you can't do effectively in plain HTML.

Description : How can I get a color scheme with lots of colors?

Last Answer : I doubt that you can get 20 colors that are going to look distinct enough from one another to be obviously different (especially if they are filling small areas) in the eyes of the average viewer. You may have to use texture differences as well.

Description : Could you give me feedback on a website?

Last Answer : answer:Rather than comment on the site's concept, I'll give you some minor things I noticed: - Some of the quotes have sources. Others don't. I would make the source a requirement. - I had a ... to my avatar. I'm assuming this means that I can follow myself. Anyway, those are some initial thoughts.

Description : Building a site in "Google Sites?"?

Last Answer : Ouch. I thought Google had abandoned this back in 2008. It actually does look abandoned. But you don't need me to come in here and tell you to use Wordpress because you've already told us not to. ... one of those times you either convince the client that it is a bad idea, or walk away. Sorry.

Description : Why do some websites automatically reload soon as they open?

Last Answer : I don’t see either of those sites reload when I use Firefox or Chrome.

Description : Know any websites that serve the same content successfully on big desktop monitors and on hand-held devices?

Last Answer : answer:None spring to mind, but I’m curious if others have encountered such sites. It’s an interesting concept, and you could probably make a mint if you build such a service! We’re an OSX/iOS household, if you need beta testers.

Description : What's the best way to redesign and test a website's CSS that you don't control?

Last Answer : Turn your own machine into a webserver. http://www.apachefriends.org/en/xampp.html

Description : What are the requirements for supporting millions of users on your website?

Last Answer : Supporting in what? Can you maybe add some detail?

Description : What is a flowchart?

Last Answer : Here is a complete tutorial on flow charts.

Description : Why can't I get favicon.ico to show up as my website tab and bookmark icon?

Last Answer : answer:Excuse me for only reading the last sentence of your detailed question, but they are the black and white things which, after you pressed them, will make that a variety of sounds will ... to the correct position on your computer like C/poison/images/website instead of C/poison/music/website?

Description : A free image hosting service that won't re-size or lower the quality of my images?

Last Answer : answer:Google's Picasaweb https://picasaweb.google.com/home As well as allowing full-scale uploads, it will do on-the-fly resizing for you. For example, I uploaded this photo once, but ... . Conversely, if you move things around on your drive, Picasa automatically and instantly reflects the changes.

Description : How would you form an if statement in a jQuery function, then call that function using a .click() handler?

Last Answer : Can you show us what your current code looks like? Perhaps you could paste it to http://jsfiddle.net/ or https://gist.github.com/ and give us a link? It’s easier answer if we’re referencing the same things.

Description : What resource or service would you like to be able to find online for free?

Last Answer : answer:A real certified IQ test, made by, like, Stephen Hawking or something. A website akin to Wikileaks for disgraced politicians, where we get to see exclusives on their latest illegalities and such A site ... people I think. Or maybe they have something like this already, that I don't know of.

Description : Are there alternatives to multi-line comment boxes in a contact form?

Last Answer : Wow is that the wrong way to go about solving your problem. The correct answer is not to restrict what a user wants to tell you, but to ensure that your site is secure. If you don't already have an ... you aren't using HTTPS, start using it. If you aren't encrypting the transmission of data, do so.

Description : What are the most common age groupings on sign-up forms?

Last Answer : answer:Under 16 16–18 18–21 21–35 35–50 50–75 Over 75 Although I have to admit I picked these numbers at random.

Description : Why do websites constantly redesign their site?

Last Answer : answer:In response to some anonymous feedback? They do this with the website for the organisation I work for. Drives me doolally. Just get used to where everything is and Bam.. new site and things have ... have to guess they haven't got it right yet. Keeps web design people in work too I guess.

Description : Is there somewhere I can download the iPhone map location gif?

Last Answer : Even if you do find one you’ll get your ass sued right off you. Don’t try to copy other peoples materials.

Description : What is it about certain websites that prevents you from using the Back button?

Last Answer : I expect that they want to hold you there long enough to be malicious.

Description : Whats a good prototyping tool for designing Web Layouts?

Last Answer : answer:Huh? Why not just produce photoshop templates? Proof in PDF. Ask ETPro… he knows more than I.

Description : Best Open Source Web Software for a small book club?

Last Answer : answer:It's not exactly lightweight, but Drupal can certainly handle all those things and much more. I usually recommend Drupal for things like this because it has a good combination of user-friendliness ... or Rails. Cue framework fanatics flaming for daring to compare their babies to a mere CMS.