Thread

PHP SDK (Sdk)

PHP SDK // Sdk

1  2  |  

bowen

Nov 18, 2001, 3:37pm
I was wondering, since I saw this on another post in the wishlist NG.. who
ported the aw sdk to PHP and if there is a copy of it. Thanks ahead of time
:)

--Bowen--

evil overlord

Nov 18, 2001, 3:38pm
Eh, beat me to it.

Yes, any information on the PHP port of SDK would be much appreciated.

[View Quote]

joeman

Nov 18, 2001, 4:16pm
It has been done, and last I heard, hes just not giving it out. You could
make your own... Also, you could use the AWsdkocx, by connecting to it as a
com object, you can get many of the same results, minus the event
handling... If you want any help with it, email me and I can get you
started.

-Joe

[View Quote]

bowen

Nov 18, 2001, 4:29pm
I'm not a very good programmer.. I know a little PHP that's about it in the
web programming area.. I'd know little about anything else.

--Bowen--

[View Quote]

ananas

Nov 18, 2001, 8:25pm
PHP SDK? Where did you see that?

You can add own compiled functions to PHP - but I'm
quite sure that you misunderstood something. Some
use PHP to add features to their object path, or
enhance the world admin tool, but that isn't a SDK
thing, it is done using HTTP and separate compiled
Linux binaries.

[View Quote] --
"_
|
/\
\ /
__/ /_

joeman

Nov 18, 2001, 8:51pm
3dhomepages uses a PHP SDK, my web bot type things use a php SDK. He isn't
misunderstanding anything here. It is a full blown SDK, its just not for
download anywhere. You could make your own, with some work, or you could
use the AWSdkOcx as a com object. Simple as that.

-Joe

[View Quote]

ananas

Nov 18, 2001, 10:09pm
Sounds much like windows :-(

[View Quote] --
"_
|
/\
\ /
__/ /_

joeman

Nov 18, 2001, 11:38pm
Well, yes, currently the SDK only runs on windows. So it would only be
possible for a PHP AW SDK to run on windows.

-Joe

[View Quote]

bowen

Nov 19, 2001, 12:58am
Well since PHP is universal to the operating systems, you'd think you could
use the SDK in a unix system just with few modifications.. since a PHP in
windows is 99% the same as PHP in Unix :).. I hope it's not one of those d1%
deals like my computer is with everything 3d.

--Bowen--

[View Quote]

ananas

Nov 19, 2001, 1:22am
The way functions are added to PHP is not identical
in Linux and Windows, but compareable - but you need
functions that you can add.
The DLL that includes the AW-SDK into PHP cannot be
much more than a wrapper that hangs those function
into the interpreter's chained function list. But in
order to create such a wrapper you need something to
wrap - for windows that is the AW.DLL, but there is no
pendant for Linux.

[View Quote] --
"_
|
/\
\ /
__/ /_

bowen

Nov 19, 2001, 2:31am
well there's only a couple of windows specific things that I've seen.. the
printer one being the major thing. But I really don't think it'll be
incompatible because you might just be able to carry the aw.dll with you and
use it as you would in windows with php. I dunno though, like I said I'm
not the greatest programmer :)

--Bowen--

[View Quote]

joeman

Nov 20, 2001, 12:43am
Well, if your looking to program bots in it, PHP is *not* the way to go.
PHP is more the way to go if you are programming a web-user-registration
system, world information scripts, etc, not welcome bots, etc. Although I
did that once, all that came out of it was a crashed web server. :)

-Joe

[View Quote]

ananas

Nov 20, 2001, 12:53am
A bot and a web page could work well together, especially when
web page (and bot) are on the same host as the world server.
No need to have a separate PC always running.

Sure PHP is not the ideal language for a bot, but a nice
enhancement for a world information page for example.

[View Quote] --
"_
|
/\
\ /
__/ /_

bowen

Nov 20, 2001, 1:41am
exactly what I was thinking.. it'd be a good way to make a bank bot for
example.. it could keep track of things in a database instead of a text
file.. and it might actually be better :) you could assign pin #'s and
etcetera.. it'd still be good to make server enhancements.. say I want to
give someone access to their world I'm hosting.. to make propdumps.. that'd
be a great thing to allow them to do! Even if I can only do it on a windows
system at the moment.

--Bowen--

[View Quote]

evil overlord

Nov 20, 2001, 2:00am
This was kinda along the way I was thinking, I wanted a web form people
could fill out for land plots, and the bot would go there and uncover the
land.

[View Quote]

joeman

Nov 20, 2001, 1:35pm
Why not just use straight PHP and MySQL for a bank bot? Also, propdumping
in PHP is very, uhm, un-workable :). I implemented it in my world
administration program, and it did not work very well, it often time timed
out or crashed the server. You could have a background C\C++ app doing
everything and have PHP communicate with it :).

-Joe

[View Quote]

joeman

Nov 20, 2001, 1:37pm
Try using a C\C++ bot in the background, and PHP in the front. I forget at
the moment how to do it, but I know it can and has been done :). I was
going to work on something like this soon, but I have been a bit tooooo lazy
to do much at the moment. PHP is nooot the ideal language to program this
type of application in, but it is ideal to program the interface in :).

-Joe

[View Quote]

joeman

Nov 20, 2001, 1:38pm
[View Quote] I do agree with you there :). Its the perfect language to program these
types of things in. Maybe I should stick some of my stuff up on the web.
Maybe, soon....

-Joe

>
[View Quote]

bowen

Nov 20, 2001, 3:20pm
LoL like I said.. I'm not good with programming C\C++ VB(I'm anitMS for the
most part) and all the rest.. so if I can get ahold of the SDK for PHP it'd
make my life easier :) You could be doing something wrong with the PHP that
causes it to crash.. or you're using an out of date server or php module.

--Bowen--

[View Quote]

joeman

Nov 20, 2001, 3:24pm
Nope, its all up to date. Latest version of PHP, latest version of windows,
all updated, there is nothing wrong with the code. PHP just isnt designed
for such things. You cant make welcome bots or something with it. Come to
the dark side, pick up a copy of VB and program with that, it is the best
way to do what you want.

-Joe

[View Quote]

bowen

Nov 20, 2001, 3:52pm
VB? hah that'd be backstepping ;). If I'm going anywhere it's to C++ LoL..
since php is basically a form of it.. what kind of webserver are you using
anyways? apache, or that other crap like xitami or whatnot.

--Bowen--

[View Quote]

joeman

Nov 20, 2001, 4:13pm
Im using a off the shelf version of apache, sometimes Sambar, sambar is to
the internet, apache if its on the network :).

-Joe

[View Quote]

bowen

Nov 20, 2001, 4:20pm
oh wow you payed for apache? That's crazy :) I'm too cheap that's why I
don't get into non free things.. I'm not made of money like gates is and
can't pay hundreds of dollars for his compilers and etc.

--Bowen--

[View Quote]

joeman

Nov 20, 2001, 4:22pm
..... apache is free....

-joe

[View Quote]

agent1

Nov 20, 2001, 4:22pm
Did I miss something? Apache is free... http://www.apache.org/

-Agent1

[View Quote]

bowen

Nov 20, 2001, 4:25pm
you said off the shelf version.. that generally means you payed for it from
a retail store
[View Quote]

bowen

Nov 20, 2001, 4:26pm
read the above response to joeman and yes it is free.. like I said.. I don't
use the things that aren't ;)
[View Quote]

joeman

Nov 20, 2001, 4:27pm
I'm sorry, I *ment* it to mean as in, I haven mess with it, its standard,
etc...

-Joe

[View Quote]

bowen

Nov 20, 2001, 4:36pm
oh ok my bad ;) so it's just the standard apache then.

--Bowen--

[View Quote]

foxmccloud

Nov 21, 2001, 1:49am
AW isn't free :P

Fox Mc Rant

"bowen" <bowen at omegauniverse.com> a écrit dans le message news:
3bfaa042$1 at server1.Activeworlds.com...
> read the above response to joeman and yes it is free.. like I said.. I
don't
> use the things that aren't ;)

1  2  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn