[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 08-12-2007, 02:49 AM   #1 (permalink)
NamePros Regular
 
Join Date: Jan 2005
Posts: 210
85.75 NP$ (Donate)

Balmong is on a distinguished road


picking up PHP

hi,

I am looking for a fast way to learn PHP and whatever accompanies it, no kidding. I know C++, a bit of java and almost all the object oriented principles so whats the most practical way to learn it?
Balmong is offline  
Old 08-12-2007, 05:14 AM   #2 (permalink)
Domains my Dominion
 
sdsinc's Avatar
 
Join Date: Aug 2005
Location: Web 1.0
Posts: 6,284
1,095.94 NP$ (Donate)

sdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond repute

Third World Education Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Animal Rescue Animal Cruelty AIDS/HIV Animal Rescue Wildlife Breast Cancer
The manual is a must read... visit php.net (not .com lol), to have an overview of the functions. For each function there are some useful comments from users and examples too.
The best would be to start with a small project involving a dynamic site with database for example. Perhaps if you have some spare domain to develop it would be a good opportunity.
Your C background will help too
__________________
Buy now - MassDeveloper.com $500
sdsinc is offline  
Old 08-12-2007, 05:20 AM   #3 (permalink)
Senior Member
 
Xyzer's Avatar
 
Join Date: Aug 2005
Location: United Kindom
Posts: 1,506
90.70 NP$ (Donate)

Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all

Tsunami Relief AIDS/HIV
Another way that could help look at pre made snippets like at www.phpfreaks.com and join a few forums to do with php. www.phpsociety.com is a good one...
Xyzer is offline  
Old 08-12-2007, 05:26 AM   #4 (permalink)
Adrian
 
Hitch's Avatar
 
Join Date: Aug 2005
Location: Uk, South Yorkshire
Posts: 1,227
16.00 NP$ (Donate)

Hitch is a splendid one to beholdHitch is a splendid one to beholdHitch is a splendid one to beholdHitch is a splendid one to beholdHitch is a splendid one to beholdHitch is a splendid one to beholdHitch is a splendid one to behold

Animal Rescue Third World Education Find Marrow Donors!
Read the official manual, and look at www.tizag.com

I learned by reading code, looking how it worked etc.
It can be abit daunting at first, but it really isn't that hard.

Quote:
Originally Posted by localhost
www.phpsociety.com is a good one...
Yeh, if Eric ever gets round to opening it again. xD
__________________
NamePros
Hitch is offline  
Old 08-12-2007, 05:27 AM   #5 (permalink)
Senior Member
 
Xyzer's Avatar
 
Join Date: Aug 2005
Location: United Kindom
Posts: 1,506
90.70 NP$ (Donate)

Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all

Tsunami Relief AIDS/HIV
wow Hitch, I learnt at tizag!!
Xyzer is offline  
Old 08-12-2007, 06:32 AM   #6 (permalink)
Senior Member
 
champ_rock's Avatar
 
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,768
8,037.05 NP$ (Donate)

champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute


i also learnt at TIZAG

i do not even know C,but still i managed.. its fairly easy
__________________
Akshay Jain
......................
champ_rock is offline  
Old 08-12-2007, 08:53 AM   #7 (permalink)
Danltn.com
 
Daniel's Avatar
 
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
13.51 NP$ (Donate)

Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute

Ethan Allen Fund Ethan Allen Fund
I learnt by reading code, for me it's still the best way. Learn by example.

But to advise some sites: http://w3schools.com <-- Read this first, it explains a good bit.
Then http://php.net and through that.
Finally go look at snippets etc at http://phpfreaks.com

My advice
Daniel is offline  
Old 08-12-2007, 09:01 AM   #8 (permalink)
NamePros Expert
 
italiandragon's Avatar
 
Join Date: Mar 2006
Location: AUSTRALIA
Posts: 5,734
140.00 NP$ (Donate)

italiandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant future


hi guys, for someone who knows only a bit of HTML like me and I`m trying to start to develop some of my sites......could you give me a good reason for which php is necessary? I don`t know nothing about php yet.

Thanks
italiandragon is offline  
Old 08-12-2007, 09:28 AM   #9 (permalink)
Senior Member
 
champ_rock's Avatar
 
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,768
8,037.05 NP$ (Donate)

champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute


with php u can do everything u can think off with ur server..

with ur site, u can add databases with it , make them dynamic, make them searchable via ur own server, do unlimited things without any restrictions.. (some restrictions till u are really a pro )
__________________
Akshay Jain
......................
champ_rock is offline  
Old 08-12-2007, 03:29 PM   #10 (permalink)
DNOA Certified Seller
 
RegFee's Avatar
 
Join Date: Apr 2005
Location: Arizona
Posts: 3,644
285.00 NP$ (Donate)

RegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond reputeRegFee has a reputation beyond repute

Third World Education Third World Education Save The Children Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health Baby Health
Offer to build sites for free, with the stipulation that you are new and are just looking for experience. I learned A TON of php by agreeing to make an apartment complex listing script. It's always nice to have a project in mind, rather than and endless supply of Hello World tutorials. Don't be afraid to learn optimization along the ways either. Take a second to try and clean up any code you make before moving on. And keep your code snippets tucked away for later use!

http://www.phpbuilder.com has a couple of members (Brad & NogDog) who respond to questions with lightning fast speed and thoughtful insight.

http://www.phpvideotutorials.com offers great free video tuts for visual learners like myself.

Your local community college will most likely have classes starting soon. Tuition is usually around low $xxx depending on the credit hours, and nothing beats hands on experience with an instructor watching over you.

and of course, namepro's own programming section. You'd be surprised how much some domainers know about php
__________________

RegFee.info - Available Domain Names - NEW DESIGN!
DNWholesaler.com - Domains for Sale

<--- baby Rogan says: sorry for spelling/punctuation mistakes, daddy's feeding me
RegFee is offline  
Old 08-17-2007, 06:26 AM   #11 (permalink)
NamePros Expert
 
italiandragon's Avatar
 
Join Date: Mar 2006
Location: AUSTRALIA
Posts: 5,734
140.00 NP$ (Donate)

italiandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant future


Quote:
Originally Posted by champ_rock
with php u can do everything u can think off with ur server..

with ur site, u can add databases with it , make them dynamic, make them searchable via ur own server, do unlimited things without any restrictions.. (some restrictions till u are really a pro )

does not HTML let you add a database?

thank you
italiandragon is offline  
Old 08-17-2007, 06:35 AM   #12 (permalink)
Danltn.com
 
Daniel's Avatar
 
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
13.51 NP$ (Donate)

Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute

Ethan Allen Fund Ethan Allen Fund
HTML doesn't work well with databases unfortunately.
Daniel is offline  
Old 08-17-2007, 07:19 AM   #13 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Quote:
Originally Posted by italiandragon
does not HTML let you add a database?

thank you

HTML is purely for displaying output to a browser. It is the structure of the page. In a sense HTML is not a programming language.

I would advise that you take a look around at places as mentioned such as the php manual as well as http://www.phpbuilder.com/ which has some good tutorials/articles.

As you have a C++ background I would not think it necessary to do a college course as you already have an understanding of programming. Ensure that from the outset that you have a good understanding of security within your application. Unlike C++ memory management is not so much a problem as the zend engine (if I remember correctly it is the zend engine rather than the php engine) handles the memory management for you. Take a read of blogs such as Chris Shiflett's blog. He is somewhat of a security buff with regards to php http://shiflett.org/ .
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Old 08-17-2007, 09:45 AM   #14 (permalink)
NamePros Expert
 
italiandragon's Avatar
 
Join Date: Mar 2006
Location: AUSTRALIA
Posts: 5,734
140.00 NP$ (Donate)

italiandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant futureitaliandragon has a brilliant future


Quote:
Originally Posted by peter@flexiwebhost
HTML is purely for displaying output to a browser. It is the structure of the page. In a sense HTML is not a programming language.

I would advise that you take a look around at places as mentioned such as the php manual as well as http://www.phpbuilder.com/ which has some good tutorials/articles.

As you have a C++ background I would not think it necessary to do a college course as you already have an understanding of programming. Ensure that from the outset that you have a good understanding of security within your application. Unlike C++ memory management is not so much a problem as the zend engine (if I remember correctly it is the zend engine rather than the php engine) handles the memory management for you. Take a read of blogs such as Chris Shiflett's blog. He is somewhat of a security buff with regards to php http://shiflett.org/ .

thank you....but I don`t have C++ background
italiandragon is offline  
Old 08-17-2007, 10:37 AM   #15 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Quote:
Originally Posted by italiandragon
thank you....but I don`t have C++ background

Ahh sorry the 2nd and 3rd paragraph were directed at Balmong. For a novice I would suggest going to the library or local book shop and browse through some books, look at the examples that are given and see if they look real world or totally unrelated also look at the writing style and see if it is something you can follow easily.

Once you have grasped the basics from such a book you are better poised to understand the manual better (as well as online tutorials). Always try and be aware of security issues in fact go out of your way to research about it. I find it highly surprising about peoples lack of comprehension of security. They claim how good they are and how they have been programming PHP for x amount of years yet they don't even sanitize user input.
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Old 08-17-2007, 11:06 AM   #16 (permalink)
NamePros Regular
 
Join Date: Jul 2006
Location: England
Posts: 721
11.75 NP$ (Donate)

chicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to all

Save The Children
I learnt at http://w3schools.com many years ago, and although it is basic it gets you started. Php nowadays is ideal for many things when building sites from creating easy, global pages such as a global site navigation which can be edited from one file. The use of databases, as others have said, is a vital part for most php programers and the use of beeing able to process data server side, doing caculations and processing data or even sending emails.

Php has many benifits and once you have learnt the basics you can build on them from their. I learnt php several years ago, when their were not as many books avalible if any and the web had some but not alot of resources on it. Try to set aside a time each day to learn a bit and it will grow. You never know you may be able to make a living online from it as many here including myself do although nowadays most companys are outsourcing to india.
chicker is offline  
Old 08-17-2007, 01:26 PM   #17 (permalink)
NamePros Regular
 
Join Date: Aug 2006
Location: @ él Computér
Posts: 400
88.40 NP$ (Donate)

LogiK will become famous soon enoughLogiK will become famous soon enough


Quote:
Originally Posted by localhost
wow Hitch, I learnt at tizag!!
So Did I
__________________
Stealing from one person is plagiarism, stealing from many is research.
LogiK is offline  
Old 08-19-2007, 03:16 AM   #18 (permalink)
onArcade.com
 
hanz's Avatar
 
Join Date: Jul 2004
Location: Estonia
Posts: 1,235
541.85 NP$ (Donate)

hanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of lighthanz is a glorious beacon of light

Animal Rescue Animal Rescue Animal Rescue Animal Cruelty
Quote:
Originally Posted by chicker
I learnt at http://w3schools.com many years ago, and although it is basic it gets you started.
I didn't learn PHP from there, but most of my JavaScript and AJAX knowledge comes from there, so it surely is good site.
For PHP (& MySQL) I would suggest www.php-mysql-tutorial.com, they have some good tutorials.
hanz is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 10:49 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85