Hi,
What it is has been explained, but why use it?
I must say I'm impressed with the possibilities that combining PHP with DynAPI2 provide,
although any server side script will do about the same, I was attracted to PHP as it is also
a free open-source product. It has become incredibly popular in the five or so years it exists, and
uses similar syntax as javascript.(although just different enough to be a little confusing)
 
If you take the examples treenode I am setting up ( http://www.resass.f2s.com/dynapi/php/index.php ) it
has a PHP script running on the server which checks the contents of the specified directories, and
then prints the code needed to add the nodes to the tree, a bit like using document.write('node.addnode blah blah').
So if I want to add another example to the tree, I just drop it's html file in the appropriate directory on the server, and
the next time someone visits the page the file is automatically added to the treeview.
If you look at the examples treeview source it looks like someone spent a week typing all the hyperlinks, actually the
original code is about 40 lines, and PHP adds all the values on the fly.
 
As I progress on the combination PHP/DynAP2 I will try to document what I encounter, and I would appreciate any articles
others which to contribute.
 
Cheers,
Richard :o
----- Original Message -----
Sent: Sunday, December 17, 2000 12:16 AM
Subject: [Dynapi-Help] PHP

What exactly is PHP?
What is the benifits of using it?
What are the draw-backs?
 
I would appreciate more info on this..
I have come acros an increaing number of sites that
use this and have become quite curious..
 
Anyone who played Tradewars Back in the day of
BBS's might want to check this out:

Reply via email to