Simple Machines Community Forum

General Community => Scripting Help => Topic started by: writeto on January 04, 2004, 09:24:09 PM

Title: DLL PHP
Post by: writeto on January 04, 2004, 09:24:09 PM
This is a admission as much as a question.

I do not like PHP. To me it is slow and limiting. This is because I am an old school programmer. I don't even really care for OOP that much. I am using a C++ dll and an ActiveX wrapper to call it in PHP. This works well and dandy on my windows 2003 server. However, my host is unix based. Does anyone have any experience using a C++ dll under unix? Can anyone offer any help/suggestions?

Andrew
Title: Re: DLL PHP
Post by: [Unknown] on January 05, 2004, 12:15:46 AM
Hmm.. you'll just need to compile it under linux, it'll make you an so file... but ActiveX might be a problem, not really sure...

-[Unknown]
Title: Re: DLL PHP
Post by: writeto on January 05, 2004, 12:38:16 AM
It is the active x aspect that is creating the problem. I compiled the code using g++ 3.0 and could get nothing.

Maybe I am having trouble with PHP because I am not as proficient in it as I am in C++. It is just extremely frustrating when things don't run as fast as you want them to.

Anyhow any other suggestion would help.
Title: Re: DLL PHP
Post by: [Unknown] on January 05, 2004, 12:41:59 AM
Well, what all does this dll do?

-[Unknown]
Title: Re: DLL PHP
Post by: writeto on January 05, 2004, 12:46:34 AM
I receives a picture location, the total picture size, and the location to begin showing the picture. What I am creating is a virtual tour for my mother. Basically how the whole thing is suppose to work is like this
[   ]
< >

the [  ] contains a portion of an image.
the actual image size is [                   ]
the image is a 360 degree image laid flat like a map of the planet.
When the arrow is clicked either direction the page reloads (hopefully very quickly) with the image showing the new portion of the image.

Andrew
Title: Re: DLL PHP
Post by: [Unknown] on January 05, 2004, 01:14:48 AM
So, errr... basically, this:

http://www.ipix.com/

-[Unknown]
Title: Re: DLL PHP
Post by: writeto on January 05, 2004, 02:07:23 AM
Yes basically that minus the 50 dollar initial fee and 12.95 a picture.

Andrew