PDA

View Full Version : Php


DARKSCORPION
02-21-2008, 11:10 AM
i want to learn php from zero( 0 ) i have no idea of programing at all but i want to learn. no because bring my attention but because is on great demand on my country, so i was wondering if u guys know a book that can help me with my first steps in the php,mysql developing .thanks in advance:cool:

Paul Komski
02-22-2008, 07:12 AM
I don't know about books but there is a lot of help on the web if you look around and google for it. PHP tutorial; learn PHP; PHP help forum; and so on.

One I happened to hit on is http://www.php-mysql-tutorial.com/ and note the first part about first setting-up the Server Software; without it there will be nothing to interpret any code you write and thus give you any results for your efforts.

Leave MySQL aside. First learn HTML, then learn PHP and only then learn MySQL.

If you install the server version of Ubuntu and have a good BB connection you can choose to have these modules of server software (apache, PHP and MySQL) automatically configured but would need to add a desktop GUI by typing sudo apt-get install ubuntu-desktop at the server command prompt. LAMP (http://fslog.com/2006/12/01/setting-up-lamp-on-your-ubuntu-desktop/) on an existing ubuntu desktop is another way.,

Learning code from scratch can be done on one's own but a good tutor (if you can come across a good one) will save you a great deal of time and "stress".

Paul Komski
02-22-2008, 08:01 AM
I hadn't realised there was a Windows Equivalent of LAMP called WAMP (http://www.wampserver.com/en/). I am itching to see if it will be easy to use with Vista Home (which doesn't even come with IIS ready to use).

DARKSCORPION
02-22-2008, 09:20 AM
thank you Paul

Cuc Tu
03-08-2008, 05:55 AM
This is interesting. I talked to my company admin team about building a PHP BB for our website, but they said they run a MS .net server and it would not be compatible.

Not that I even know what I'm talking about.

What direction should I be looking for more enterprise level solutions?

Paul Komski
03-08-2008, 07:53 AM
One should be able to serve PHP scripts under most, if not all, 32bit versions of Windows (http://uk.php.net/manual/en/install.windows.php).

I have only ever used PHP along with MySQL (as the database backend) and the combination works very well together. Possibly there are ways to utilise other backends but I haven't explored them.

If PHP and MySQL have been installed then any pre-configured, adapted or self-made PHP/MySQL BB software should be able to run under IIS or, if preferred, an apache server.

Asp.NET (http://www.w3schools.com/aspnet/default.asp) is the Microsoft way of hosting active server side scripting. I could well be wrong but I wasn't aware that .asp and .php webpages couldnt be supported on the same web server.

Cuc Tu
03-15-2008, 04:20 PM
I hadn't realised there was a Windows Equivalent of LAMP called WAMP (http://www.wampserver.com/en/). I am itching to see if it will be easy to use with Vista Home (which doesn't even come with IIS ready to use).

Can this WAMP be used on a Win98SE system? I'm looking to set up a server on my old system.

Paul Komski
03-15-2008, 08:46 PM
Shouldn't be a problem (http://www.phprojekt.com/documentation/PHProjektWAMPInstallGuide/#stepone). If there are then try the WAMP forum or install the modules one by one.

yawningdog
03-16-2008, 04:12 PM
I've just started digging into php myself. I was able to enable php in my Slackware Apache setup just by uncommenting one line at the end of my httpd.conf file. I'm itching to see what php can do and I've been using the same web page that Paul Komski linked to.

The Ubuntu website says that the server edition sets up LAMP right out of the box. :cool: If anybody else has any cool info on php, please post it.

pangea33
03-20-2008, 11:22 PM
I have been programming in PHP for a couple years now and I absolutely love the open source movement. There are a lot of very talented people contributing to the cause. I started learning ASP.NET for a while, but came to the conclusion that I am an MS hater for the most part. I like the fact that I can develop for the Apache/MySQL/PHP on my windows laptop, and they run without any problems on my Ubuntu LAMP machines.

There are lots of websites, and my employer pays for a subscription to Safari online books, but I just prefer the tactile feel of thumbing through an old-fashioned printed book. When I was learning PHP I bought several books and eventually started referring to one almost exclusively. It's called "PHP and MySQL Web Development" by Welling and Thompson. My copy is 2nd edition and they're now on edition 3. I can't see it being anything but better though. I highly recommend this book to anyone who tells me they're looking to pick up some PHP knowledge. Here is a link (http://www.amazon.com/PHP-MySQL-Development-Developers-Library/dp/0672326728/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1206068884&sr=1-1) to the book on Amazon.

As far as WAMP on Windows machines is concerned, you'll definitely find it a real simple thing to install. In my experience it has some limitations when you're trying to get more sophisticated though, with adhoc additions of modules, php plugins, and the like. It takes a little bit of extra effort to do individual installs of Apache, PHP, and MySQL but it's a good learning experience and is WELL worth the little extra bit of time. Most especially when you're looking to learn this skill as a career-building exercise. Most, if not all, IT professionals understand that systems guys can be a little elitist at times. The best way to break down that barrier is by being well-versed on what you're talking about. The vast majority of web servers are running Solaris, Linux, or some other flavor of Unix. IMHO there is no quicker way to shoot yourself in the foot when trying to interact with systems types, than to only have experience with Windows specific software.

DARKSCORPION
03-26-2008, 11:05 AM
Hey Pangea i went and bought this book that you linked, hope is good and thank you for the tip ^^