Basics Of PHP Programming?

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 24, 2009, 02:14 PM
431868 members and 298845 Topics
Latest Member: Retrospekt Nikifor
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Basics Of PHP Programming?
Pages: (1) (2) (3) Go Down Send this topic Notify of replies
Author Topic: Basics Of PHP Programming?  (Read 4276 views)
DevDel (m)
Basics Of PHP Programming?
« on: September 26, 2006, 01:02 PM »

Guyz, who can teach us some basics of php programming?
qleyo (f)
Re: Basics Of PHP Programming?
« #1 on: September 30, 2006, 02:59 PM »

Hey read my thread on C because PHP is exactly a copy of C. You then need to learn web techniques like GET and POSt variables, sessions, forms etc. www.w3schools.com is always a good place to learn webstuff.

Here is the tutorial http://www.nairaland.com/nigeria/topic-7535.0.html
Afam (m)
Re: Basics Of PHP Programming?
« #2 on: September 30, 2006, 06:09 PM »

PHP, a copy of C? Wrong and misleading.
qleyo (f)
Re: Basics Of PHP Programming?
« #3 on: September 30, 2006, 07:24 PM »

Right and far from misleading. PHP and C syntax are exactly the same (arrays, conditional statements, data types, standard IO functions) rules might be different (PHP is weaker and less strict, e.g you don't have to declare variables before using them) but if you know C you can pick up PHP in less than a week (provided you know all the other bits). Infact every line of PHP translates to lines of C its based on C and Perl.

Dude I've covered everything PHP has to offer, really, from sockets and network programming to image manipulation and graphics. I work as an interactive developer. My final BEng project (a GPS tracking system) was programmed in C and PHP. Syntax is exactly the same apart from the dollar signs and other bits and bobs. But if you learn the harder stricter one (C) then PHP is a piss of piss (I don't advise anyone to learn a scripting language first). I was a C fanatic before I picked up PHP it took me less than a week.

But as always no programming discussion/argument ever ends with either party agreeing with the other - ever. So lets not brew anything shall we. I still say if you learn C or any other C like language (preferably procedural) everything else will be down hill.
alexis (m)
Re: Basics Of PHP Programming?
« #4 on: October 01, 2006, 03:48 PM »

C and PHP are almost alike. PHP was derived from C
alexis (m)
Re: Basics Of PHP Programming?
« #5 on: October 01, 2006, 03:50 PM »

DevDel,

I have a 7mb pdf file that covers everything in PHP with loads of examples and workable projects after each chapter. If you want it, send me your email and I will email it to you.
Afam (m)
Re: Basics Of PHP Programming?
« #6 on: October 02, 2006, 10:23 AM »

Quote from: qleyo on September 30, 2006, 07:24 PM
Right and far from misleading. PHP and C syntax are exactly the same (arrays, conditional statements, data types, standard IO functions) rules might be different (PHP is weaker and less strict, e.g you don't have to declare variables before using them) but if you know C you can pick up PHP in less than a week (provided you know all the other bits). Infact every line of PHP translates to lines of C its based on C and Perl.

If the rules are different then PHP and C cannot be the same.

About not declaring variables before using them, what version of PHP are you refering to? Such open ended statements do not make sense. Why would you rather prefer that one learnt a different programming language before learning what he/she really wants? It does not make sense.

Quote from: qleyo on September 30, 2006, 07:24 PM
Dude I've covered everything PHP has to offer, really, from sockets and network programming to image manipulation and graphics. I work as an interactive developer. My final BEng project (a GPS tracking system) was programmed in C and PHP. Syntax is exactly the same apart from the dollar signs and other bits and bobs. But if you learn the harder stricter one (C) then PHP is a piss of piss (I don't advise anyone to learn a scripting language first). I was a C fanatic before I picked up PHP it took me less than a week.

If you have covered everything PHP has to offer then you cannot make the statement that PHP is just a copy of C.
Again, it is a complete waste of time to ask someone to learn C before learning PHP, it is not about which language is hardest to learn, it is about the learner going the best route that makes the most sense - learning PHP.

Quote from: qleyo on September 30, 2006, 07:24 PM
But as always no programming discussion/argument ever ends with either party agreeing with the other - ever. So lets not brew anything shall we. I still say if you learn C or any other C like language (preferably procedural) everything else will be down hill.

This is not about programming language arguement, it is about advicing someone properly as regards learning a programming language.

Read the title of this thread again and you will notice that the poster obviously wants to learn PHP, infact some basics, so why direct him/her to a more difficult language other than PHP?

@Topic,

PHP is fun and easy to learn, throw in a huge followership, good online tutorials and large database of common scripts and you are good to go.
DevDel (m)
Re: Basics Of PHP Programming?
« #7 on: October 03, 2006, 01:50 PM »

thanx Alexis,

I'll appreciate the doc. my email addy is dejiafolabi@developersdelight.com
If you have your own articles or profile i can also put them on my website for free, do you mind? cheers.
alexis (m)
Re: Basics Of PHP Programming?
« #8 on: October 03, 2006, 06:11 PM »

DevDel,

Our bandwidth is maxed out now (8MB), we are an upstream provider. I will send it around 7pm GMT when most of our clients have closed and the bandwidth is a bit free. Our downlink and uplink is maxed out now.
alexis (m)
Re: Basics Of PHP Programming?
« #9 on: October 03, 2006, 06:14 PM »

Devdel,

Just sent it - it may take a few minutes or more to get to you, so check your email and let me know if you received it or not.
alexis (m)
Re: Basics Of PHP Programming?
« #10 on: October 03, 2006, 06:38 PM »

Devdel,

Please send me an alternate email, your dejiafolabi@developersdelight.com is full.

Cheers,
Alex
furlee (m)
Re: Basics Of PHP Programming?
« #11 on: October 05, 2006, 05:55 PM »

Quote from: alexis on October 01, 2006, 03:50 PM
DevDel,

I have a 7mb pdf file that covers everything in PHP with loads of examples and workable projects after each chapter. If you want it, send me your email and I will email it to you.

Please kindly email the file to me at furlee@excite.com. I wish to learn php. Thanks
furlee (m)
Re: Basics Of PHP Programming?
« #12 on: October 06, 2006, 11:46 AM »

Alexis. God bless you. I have received the pdf file
sedan (m)
Re: Basics Of PHP Programming?
« #13 on: October 06, 2006, 02:13 PM »

alexis, I'll be glad if u can send d pdf to me at talentoii@hotmail.com. thanks
sedan (m)
Re: Basics Of PHP Programming?
« #14 on: October 06, 2006, 02:17 PM »

alexis, I'll be glad if u can send d pdf to me at talentoii@hotmail.com. thanks
alexis (m)
Re: Basics Of PHP Programming?
« #15 on: October 06, 2006, 04:00 PM »

Sedan,

I just sent it to you.
DevDel (m)
Re: Basics Of PHP Programming?
« #16 on: October 07, 2006, 03:20 PM »

Alexis,

here iis an alternative email address. dejiafolabi@hotmail.com

thanks
alexis (m)
Re: Basics Of PHP Programming?
« #17 on: October 08, 2006, 08:06 PM »

devdel,

i will send it to you when I get to class tomorrow, we have alot of bandwidth in school. I am in a cafe now and I can bearly load nairaland.com, lol Cry
kitaun (m)
Re: Basics Of PHP Programming?
« #18 on: October 08, 2006, 09:34 PM »

@Alexis

Could you do me a favour and send also to this email;jimmycarto@yahoo.com for someone desperately in need of it, cheers man
qleyo (f)
Re: Basics Of PHP Programming?
« #19 on: October 08, 2006, 09:59 PM »

Quote
C and PHP are almost alike. PHP was derived from C

Thank you Alexis. Alam, my advice/time normally gets paid alot for and I've created a topic to teach people how to program "using C" the techniques and logic will forever be the same - its my opinion and I refuse to argue/justify it with you.

I stand by learning the hard before learning the easy. If he replied saying I already program (which I doubt, I might be wrong) I would have said oh ok then just google a PHP tutorial (only difference is syntax, logic remains the same). But if hes a newbie then I think its a bad idea for a scripting purpose language to be your first - unless of course you plan to only be an interactive developer (though I have use PHP for executable programs). But once again its just my opinion (I'm not saying its the best way) and you just further justified my point of any programming discussion ending up with a compromise - it always just brews into an uncontrollable mess.
Afam (m)
Re: Basics Of PHP Programming?
« #20 on: October 09, 2006, 10:56 AM »

I did state earlier that this is not about defending any programming language, it is about providing answers to questions asked by someone that needed someone to teach him PHP, not C language.

I use PHP a lot, raw coding, real projects and yet I never learnt a line of C language. What this means it that one does not need to learn C language to be able to understand PHP. The fact that C language is believed to be more difficult when compared to PHP makes the issue pretty straightforward.

Your advice/time may be paid for but that applies to people that seek them. Someone wanted to learn PHP and you are advicing the person to learn C language first, this is flat wrong and no justifications can change that.
alexis (m)
Re: Basics Of PHP Programming?
« #21 on: October 09, 2006, 05:19 PM »

Devedel/kituan,

Guys, I have sent the php e-book to your email addresses, if you use yahoo, please check your junk mail as yahoo is fond of sending legitimate emails to your junk folder.

Afam, you are correct. What I think Qleyo was trying to say is that PHP is a subset of C and even though a person wants to learn PHP only, if he or she learns the foundation from which PHP came from (C), he/she will not only be able to program in PHP but do other stuffs with C.

kenshin (m)
Re: Basics Of PHP Programming?
« #22 on: October 10, 2006, 02:52 AM »

Hello @Alexis, pls could you also send the PDF to my email address, my address is lanroguns at yahoo dot com, thanks
alexis (m)
Re: Basics Of PHP Programming?
« #23 on: October 10, 2006, 04:54 PM »

kenshin,

I will send it to you in a few hours
greatguts (m)
Re: Basics Of PHP Programming?
« #24 on: October 11, 2006, 01:25 PM »

Hi alexis

Please can u send me PDF file to my mail address tenderthougth@gmail.com i will be greatful  if u do.

Cheers!
Taysay (m)
Re: Basics Of PHP Programming?
« #25 on: October 12, 2006, 11:28 AM »

@alexis
Good day pls can I have the PHP file my email is taysay@myway.com, thanx have a good day.
alexis (m)
Re: Basics Of PHP Programming?
« #26 on: October 12, 2006, 07:45 PM »

Greatguts, Taysay,

I just sent the php e-book to you guys. happy reading.
alexis (m)
Re: Basics Of PHP Programming?
« #27 on: October 12, 2006, 07:46 PM »

Hi everyone,

You guys can check out www.ebooksportal.org. It is a great website where you can download full versions of books in soft copies.
kitaun (m)
Re: Basics Of PHP Programming?
« #28 on: October 12, 2006, 08:34 PM »

@Alexis

I did not get mine but well thanx for the good job done
alexis (m)
Re: Basics Of PHP Programming?
« #29 on: October 13, 2006, 06:27 PM »

Kituan,

You sure, check again, check all your folders
fellow (m)
Re: Basics Of PHP Programming?
« #30 on: October 15, 2006, 05:18 PM »

hi alex i would love you to please send the tutorial to my email address.its fellowgeneral@yahoo.com

thanks
fellybabe (f)
Re: Basics Of PHP Programming?
« #31 on: October 15, 2006, 09:56 PM »

Alexis,pls i'll b grateful if u can send d7mb pdf file on PHP.2 me as well.my email is fellyadet@yahoo.com
 Database Administrators On Nairaland  Difference Between Visual Basic And Visual Basic .NET  Local Software Piracy (Otigba Boys) - The Way Forward  Page 2
Pages: (1) (2) (3) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.