Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
PHP Programming for Newbie

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: PHP Programming for Newbie Reply with quote

Quantum,

Do you care to pour a short lecture on PHP? So, other people can start working on it. As you know there are lot of guides on the net and I'm also seeing those. But I like to know from a expert, so I can grasp it quickly. I also like to know few books name which I can find at nilkhet. Thanks for your kind consideration and time.

DK.
_________________
...we too are stardust...
Sat May 22, 04 8:38 am
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Ghosh DK. What can I personally say, when there are literally thousands of sites with millions of PHP tutorial out there, which a simple Php Tutorial search in Google will bring up!

[http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=php+tutorial]

I think I have mentioned several resources and a beginner's guide already in previous threads. Another good starting point from the very basic would be:

[http://us2.php.net/tut.php]

Some very good books' name I came across, besides the one I already mentioned are:

1. PHP in easy steps
2. PHP Functions - Essential Reference
Published by New Riders
Authors: Zak Greant, Graeme Merrall, Torben Wilson, Brett Michlitsch.
3. PHP Advanced for the World Wide Web

I do not know if they are available in Nilkhet or not. You have to check it out yourself when you come to dhaka.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Sun May 23, 04 10:32 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: php tutorial Reply with quote

Oh here is another one for Php with Mysql database. I always loved webmonkey tutorials for their fun writing style and simplicity.

[http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html]

I do not think you really need a basic tutorial on php from me. There are so many sites already out there! What I can do instead is tell you what to try with php, so that you can learn important things first. Since you already have a very good grasp on Programming in general.

Start with a guest book. Lear how to read and write to files and show them to the users of a web site.

Get a open-source php guestbook and examine the source code.

Start to write a simple script, having users post to the guestbook.

The very simple guestbook or dynamically updated page should include at least the following basics:

A view guestbook page - where surfers can navigate subjects between posts. sequentially by date.
Post a message page - will be where people post their ideas and messages.


Depending on the sophistication of your guestbook's options and features, your topic pages can be fom very boring to something similar to the high quality of QC forum on multimedia and programming. Gentle smile

You can start with using a database to hold posts, names etc. . . . Or use a flat file database. Maybe try using folders as your topics, and just create a folder to hold your posts, or your text file for posts. You could even use php to scan a file, hold all info as a string in a array, and then just append to that string. (when you append to the string, you will be adding to the post.) Then, you will output the string to a file ex: flash_forum.html. If you do this, you will have to have a code within your html file that will signal the end of the forum posts. This method would cut down on load time and server drag. Every guestbook page would be updated when the users submits his reply. You will have to be very careful to your file permissions, and will want to have your php page login to the server when reading/writing to your files.. . .

So, ready to roll?
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Sun May 23, 04 10:50 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Thanks for your help.
I think I can roll from here.

-DK.
_________________
...we too are stardust...
Sun May 23, 04 11:31 pm
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group