So... to start this forum off, here's a question.

When and why did you learn PHP?

For me, my workplace wanted more automated software. (I was hired as a student at the time.) My coworker wrote scripts in perl and then he discovered PHP. So my first project was to write a Trouble Ticketing system for our department. I also had to learn mysql along the way to get this to work. 😉

I've almost given up on programming because all I learned in college was C and C++. But PHP gave me a whole new perspective. I was already obsessed with HTML and web design.... learning PHP was the best thing that could have happened to me. 🙂

I later got a full-time staff position programming/scripting new software to help my department as well as others.

I picked up PHP more than 3 years ago and have been using it for both work and personal use since. 🙂 So... how about you?

    I'm a student just about to go into my second year.

    I learnt C as part of my course, but wanted to learn a webby language, so I took a look at Perl briefly (oh I was so chuffed when I wrote my first script....🙂 )

    Then I heard about PHP and took a look and fell in love (if it's possible to do such a thing with a programming language).

      Yes, I am also a student.

      How and Why I started coding in PHP?
      1) I was free.
      2) I wanted to learn something new (but something that is not ...).
      3) I bumped into it, when I was scratching my head in Perl. (Hey, that doesn't mean I found PHP better than Perl. I love Perl far more than PHP. PHP is like everything readymade)

      Need I say anything else? 🙂

        2 weeks in, for me. I've been doing linux and html stuff and it seemed the way to go in order to avoid having to build yet another bloated, useless, inaccessible msaccess database for the company.

        I've been building my first dynamic pages producing software test paperwork the last 2 weeks; when this is finished I'm going to start using postgresql with the php.
        I was told that php comes with rope to hang yourself, I see why already!
        Ergates-with-head-in-noose.

          I started web programming in ASP in february 2000, when a search engine needed to be converted from CGI to ASP. Since then I worked with ASP and kept getting better at it, but I had so much work that I had no room to study and experiment the language.

          Last february I quit my job. Sick of ASP, being surrounded by MS fanboys, 'differences' with my boss, and an insatiable curiosity towards PHP.
          I found a job at a hosting/design company that hosts on Sun Cobalt servers (Linux), so the main server language was PHP. One of the main reasons I was chosen was because of my interest in PHP.

          As Eminem nicely put it: I lit a fire under their asses.

          In 5 months I'm doing more stuff with PHP that I could've mastered with 2 years of ASP.

          By now I've forgotten most of my ASP knowledge. Mainly because PHP really has become an obsession.
          Now my breakfast and dinner consists mostly of Zend, PHPBuilder, and Webmonkey articles. 🙂

            I just learned it this July, so I am still quite new to it. I was going to learn Perl, but one person I knew who had been programing in PHP for a while said this would be a better language for me for what I want. Someday I hope to program a message board like he did.

              Way back in 2000, Tim Perdue started this site, and I was the son of a sharecropper.

              The scene was a dark musty apartment near Buckley and Illiff in Aurora, CO. Local Pirates surrounded me, exchanging gold for Cuban Cigars, when in walked this thought:

              I volunteered to create a poll for the local Linux Users Group and I happened upon PHP Builder. It wasn't easy. Little did I know about print_r() or even a swift echo. But coming from a solid background, I was determined. So I did the next, most logical thing, I whipped up a Mudslide, and it was all downhill from there 🙂

              I haven't left the house since.

                How and Why I started coding in PHP?

                Lessee... July 2000 I started a new job as a web developer. The company boss had told me that the recruitment officer from the agency had told him that she'd seen me reading a textbook on SQL while I was waiting for my interview; apparently this "self-education" thing impressed him. (Helpful hint there, lads!)

                A couple of days after first meeting the boss, he called to say I had the job. Monday morning I went in and met the other three developers; one of the two seniormost was preparing to move on, which was why the company was looking for new staff.

                Their current big job - with the usual impending deadline - was for a major appliance manufacturer. The product sections of course were all database-driven, and I got some of these to do.

                Now, let me make this clear: until this point I had never actually heard of PHP at all, and my knowledge of SQL was purely theoretical (in fact, based entirely on that book I'd been reading before the interview). But once I was sitting at my PC and staring at the source code on the first day of work I kinda felt it wouldn't be too smart to say so. At least until my probationary period was over....

                Now my real computing background is thoroughly academic. And even the fact that it had anything to do with computing was somewhat incidental. I'd seen (as opposed to worked in) all sorts of odd languages (ranging from Pascal to brainf**k to some that never see the outside of CS departments) - and that was way back when computers easily cost millions and filled rooms. So: clench teeth, grin widely, say "I can do this", and begin figuring things out.

                I mostly cut-and-paste bits of already-written parts without fully understanding what they did; saw the results; fiddled and saw what changed; and by the end of the week had written something that worked! And not only that, but that something was the script I'd been supposed to write!

                Well, I was happy, the other developers were happy, the boss was happy, the manufacturer was happy and the employment agency was happy. Warm fuzzies all 'round. And that script is still outputting pages today.

                Obviously, today I'd write it differently but for one thing this was in PHP3, and for another - well, the important thing is to get it up and running. If you can make it conncinitous in the available time, great, but so long as it doesn't spew errors or run like a dead haddock it should satisfy. You may be able to sneak in afterwards and do tweaks later. If they're happy first time around, they'll come back and ask you to add more features. While you're waiting for them to ask, you can tinker with a copy of their site and figure out what other improvements you can make at the same time as fulfilling their wishes. (And if such tinkering itself fulfills their wishes, you can even bill for it - and give very well-considered quotes into the bargain!) Know Thy Site.

                I found php.net and started reading bits and pieces of the manual; found better ways of doing stuff; tinkered and experimented; found other better ways; rewrote the same bit of code half-a-dozen times in different ways. Clients came in with all sorts of weird and wonderful requirements, which meant all sorts of weird and wonderful programming tasks. The fact that web-based content administration was a standard feature of our products meant that even something that was little more than a photo gallery required sufficient coding that even a total computing neophyte could maintain it.

                These days PHP programming is one of the skills I contract on at rates varying between - um - something like €20 - €80 an hour depending on circumstances. (And I occasionally dream in PHP...).

                Ah, now that was a pleasant stagger down Memory Lane - hey, any good pubs at this end...?

                  yeah, snicker snicker, but this was actually basic way back when (like 1983)...took a web design course in 2000 learned lots about ASP and my job deals a lot with DBs (mainly oracle and access for smaller apps)

                  decided somewhere along the way that learning more was better and someone recommended PHP. bought a book and started programming.

                  like PHP, don't mind ASP (hey you gotta play to get paid right) and started looking for work. (my office job only lets me play with recoding html pages that are autogenerated and look crappy) found some stuff here and there...hoping to find a real job soon where i can make a go of using all the stuff that i know...

                    I started learning about 4 / 5 days ago.. picking up rather fast cause like.. umm I already know c++ so the concepts are pretty much the same.. just have to learn different functions and rember to declare variables differntly 🙂 And I picked it up because i wanted to create an AIM info tracker, so that I could see who had viewed my info (they have to click on the link of course so the data is passed through.. and its all saved in mysql db which is pretty neat to.. can handle more then just me.. hehe) So the first version if that i finished in about a day.. kind of crap though.. but I am also using it for work, i work for my dad, do his website, and anything else computer related he needs really, and im sick and tired of copy and pasteing html for his stuipd news, so I'm working on a news script to automaticaly update it, edit his news, delete news posts, place them anywhere he wants, etc. It'll also help me out with the rest of his site(have to re-design the whole thing, doesnt look so great anymore, I designed it 2 years ago) with templates, etc. I'm a tad bit mad though, once I finish his news script, it would be the last project i really have, the AIM profile tracker is pretty much done and just needs tweaking.. so my new found PHP skills seem like they are going to go to waste after I finish this news script.. 🙁 Maybe I should work on it really slow.. LOL. Oh, and I also am a student, one more year of HS, then off to college were i get to go and do computer courses, woohoo!

                      I'm still pretty new to PHP. I just got this fun new job and the first thing introduced to me - PHP. I was instructed to write a web-based query that would pull data from a MySQL database. This little project or lesson if you will spanned 2 weeks in which I learned how to write an address book that was fully searchable, editable, all that fun stuff. Given my prior C++ knowledge plus the knowledge I have of other programming languages I excelled at my "lesson". Much faster than planned. I'm now working on a book keeping application for my office - I work in my campus' ITS area - so we can keep track of the books we have, where they are, who owns them and all that. It was done within 3 weeks or so, and now I'm working on using classes and PEAR to make it even more fun. All this learning is challenging to me, but it's good in the long run. It'll make my next few years of classes go by pretty good.

                      So, I've had about 3 months to become aquainted with PHP, and I can say, I'll stick with it for the long run. :p

                        Christmas 1999, my Mom bought me a number of programming/computer related books (from a large list). One of them was a PHP book. After reading it, I discovered I could put my new found knowledge to improving the processes within my dept at work (tracking network abuse incidents for an ISP).

                        2 years later, and just about everything in the dept in run with mySQL backends with PHP scripts. One of the best Christmas presents ever bought I reckon 😃

                          6 days later

                          Hired for a web-project (😉) last September as a web-designer (not really much of it) I found out that it must be database-driven (yes, i already knew there's something called MySQL and PHP 🙂). Half a month of research gave me enough knowledge to start with. Since then, I use PHP&MySQL in anything I do, because it's quick & easy. Tried to learn Perl, but having little motivation, got only the very basics. As for now, i think PHP be enough powerful for any project I may ever run. I try to increase my skills (e.g. reading & posting to this forum) not because high level is really needed, but only to keep moving.

                            Got hired as a programmer/IT after graduating and then first project was VB. After that they decided to migrate some of their in-house programs to the web for intranet purposes, because of maintainability. Didn't know anything about php and very little html😕 :eek: , they gave me web projects and said used whatever you like php or asp??? Becuz of the syntax, I chose php over asp. Grabbing the useful php.chm 😉 and some cool sites like phpbuilder and webmonkey 🆒, let's get ready to RUMBLE...

                              Originally posted by daynah
                              When and why did you learn PHP?

                              I first started learning PHP way back in January of 2000. While working at a 'not-very-major' software and controls system company, there was a need for a variety of tools for managing such things as 'what client had what service pack' installed on their system, when was their last system backup performed, etc...

                              The suits had decided that a browser-based solution which would run on our LAN would be a good way to go, and with that being said, all eyes had turned to me...

                              I had plenty of HTML history, which I've playing with since 1996. I also had a very short-lived love affair with JavaScript (doesn't behave consistently across browser versions and platforms, and can be turned off on most browsers are the primary reasons that that love affair ended)...

                              I had some Java experience, but I decided it was painfully slow and that 'write once, run anywhere' motto was more like 'write once, debug everywhere'. And besides that 'Thing.thingy = new Thingy()' syntax just looks stupid as sh*t...

                              I had tinkered and tampered a bit with C, but if you want the project done in any reasonable amount of time, please don't make me dick around with malloc() and free(); gimme an environment where that low-level shtuff is handled for me...

                              I had plenty of experience working with a variety of UNIX shells: sh, ksh, bash and some csh...

                              I had even tampered a bit with Perl and deployed a few amateur-ish CGI applications using Perl, but darnit Perl is weird and looks a lot C after a hit of acid with all those special characters...

                              I kind of swerved backwards into PHP; after knowing what I needed to do, and deciding what tools I didn't want to use, I fell bass-ackwards into PHP. I had arrived. I found a language that does what I need it to do. It's mission-specific. It plays nice with lots of database engines. It doesn't look like it was dragged in from the stone ages like those UNIX shells. It runs on every platform I that I've ever had any use for. It's free, and free is affordable.

                              It's not a MicroShaft product, and that's a good thing.

                              Sun Microsystems isn't going to 'upgrade' the virtual machine next week and break all my code in the process.

                              IBM isn't going to charge me $1,000 per-seat license to use it.

                              And well, it just works. And works damn well, I might add...


                                I started about a year and a half ago when I observed that Perl's DBI/DBD modules ran much too slowly on my server.

                                  I've been using php for about 2 weeks, but I was on vacation so that only makes up for about 3 or 4 days. I started using it because I liked how fast and easy it was to make simple login scripts, news scripts, etc., and it turned out to be funner making your own php scripts than using them, even if they weren't needed it is fun just to make php.

                                  So that's my story, I'm still learning. Eventually I might buy a book, which is what I should do to learn, but I know I won't just yet have time, so I'm learning online and I've learned quite a bit, already I find myself making my own login page with password encryption, registration, and soon password changing as well as fully functional news scripts, which really are both all I need.

                                    I'm graduate Computer Science student. I love all "core" programming languages and the hard core UNIX stuff. I'm by no means a web designer, but I do enjoy the occasional web application.

                                    I've been holding a co-op position for the last 2.5 years and one of my projects (started a year ago) was to develop a web application that would do a lot of test engineering stuff you probably don't care to read about and run on the intranet. Perl, which I love, was not going to cut it because it's best application is text processing and I needed more. I did some looking around a nd chose PHP for these reasons:

                                    1. It's free
                                    2. its OO capabilities
                                    3. It's MySQL functions
                                    4. The fact that it does allow use of Perl regular expressions
                                    5. Its likeliness to both Perl and C made it a breeze to learn
                                    6. It was something new to learn 🙂

                                    I've been working with it for about a year, I guess. My boss was rather pleased with the result of what I did with PHP/MySQL and gave me another project to expand on the usability of the first and make further use of the database I had established.

                                      I started using PHP about 2.5 - 3 years ago (version 3.0.5, I can still remember it).

                                      We used it back then because it provided an easy to use interface to things like pdf generation and other goodies. After 6 months of trying to teach myself the nuances of PERL, I was quite grateful for a language that seem so much more self documenting than Perl had been.

                                      Now I head a team of four PHP developers writing intranent / custom apps for customers, all with Linux Apache Postgresql and PHP. (LAPP). Our box is pretty much the data warehouse for huge chunks of internal shipping and sales info, as well as the company phonebook and other things like that.

                                      I like PHP because it lets me think like a C programmer in terms of structure and function, but I don't have to spend my days remembering how many * characters I need to put in front of my function vars.

                                      Now if you'll excuse me, I have another little app to write. ;)

                                        Originally posted by marianna
                                        I love all "core" programming languages and the hard core UNIX stuff.

                                        Will you marry me?