Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
PHP novice

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
Arnab
Just In
Just In


Joined: 10 Mar 2004
Posts: 3

Post Post subject: PHP novice Reply with quote

I need some good recommendations for php.
Wed Mar 10, 04 12:57 am
Back to top
Arnab View user's profile Send private message
quantum
Site Admin
Site Admin


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

Post Post subject: Reply with quote

Hi Arnab,

First thing to do of course, is go to the mother site of PHP.
www.php.net

Download the help file documentation. You will need that through out your php career. If you are somewhat familiar with programming you will find that PHP is very easy to learn and use.

To write and test PHP code in your desktop you will need a web server, php engine, and CGI. If you wanna test a back-end database also, you will need MYSQL too. All of these are free. You can download them seperately from their respective web sites or you can get the PHP Triad. This is also free and includes all three you need to get up and testing PHP. Download this free from:

[http://sourceforge.net/projects/phptriad]

Install it on your computer. Write some php code on your notepad and save it in the c:\apache\htdocs\filename.php. Start apache and type [http://localhost/filename] in your browser. Voila...php is running.

A hello world php code may look like this:
<?php
echo "Hello World";
?>

Type this on your notepad and save in the c:\apache\htdocs\ as helloworld.php

Then start apache from start menu->programs and go to [http://localhost/helloworld.php]
from your browser.


A good book for offline reading on PHP is Beginning PHP4 by Wankyu Choi.

Amazon Site:
[http://www.amazon.com/exec/obidos/tg/detail/-/1861003730/104-6342784-8695141?v=glance]
Author Site:
[http://www.wrox.com/books/0764543644.shtml]

Quantum
_________________

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.
Wed Mar 10, 04 1:37 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

hello quantum,

It's my first try to php learning. I have followed the way you said. Wrote those three lines of php and saved as hello.php to your specifies location. Started apache.exe. And then wrote the address to get the output in Microsoft Internet Explorer. It gives me the result, successfully. But before it shows any output it gives one error and one warning messages. Please, explain what I am doing wrong.

error message:
The procedure entry point zend_list_find could not be located in the dynamic link library php4ts.dll

warning message:
Unknown(): Unable to load dynamic library 'c:\php4\php_gd.dll'- The specifies procedure could not be found.

Thanks
belal
_________________
we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Thu Oct 07, 04 3:22 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
quantum
Site Admin
Site Admin


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

Post Post subject: Reply with quote

Sounds like you have messed up your php runtime server files. Reinstall the php, and everything will be alright.
_________________

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.
Thu Oct 07, 04 7:21 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

Thu Oct 07, 04 1:03 pm
Back to top
hasnut View user's profile Send private message Visit poster's website 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