How to call a VB dll from PHP ?

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
User avatar
s_narkar
New php-forum User
New php-forum User
Posts: 20
Joined: Tue Nov 02, 2004 11:29 pm
Contact:

Tue May 24, 2005 2:30 am

Hello All,

My requirement is to call a VB (.dll) file from PHP. This dll will list down all the *.pst file from the user's pc.

Relpy asap.

Thanks in advance.

User avatar
swirlee
Moderator
Moderator
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Tue May 24, 2005 10:33 am

You can't call a .dll that's on the user's system, and a .dll on your server won't be able to find files on the user's system.
Image

sadisticmachine
New php-forum User
New php-forum User
Posts: 109
Joined: Tue Nov 02, 2004 5:33 am

Tue May 24, 2005 5:55 pm

you need activeX controls for this sort of thing, Not php.

User avatar
s_narkar
New php-forum User
New php-forum User
Posts: 20
Joined: Tue Nov 02, 2004 11:29 pm
Contact:

Tue May 24, 2005 11:24 pm

Thanks for all your's reply.

Can any one tell me how can i accomplish this task. I want to search the *.pst file from the user's PC and display in list. On selection of any one pst file. it will import all the records in database.

sadisticmachine
New php-forum User
New php-forum User
Posts: 109
Joined: Tue Nov 02, 2004 5:33 am

Wed May 25, 2005 4:31 am

ActiveX coding is beyond my knowledge, and generally frowned upon given the exploitations it is used for. You can have the user browse for a file to upload to your server with a common file box, but other than that...

I wonder of a Java applet could do this.

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2214
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Fri May 27, 2005 10:16 am

ActiveX is not a good solution as most people do not like to install them and almost all browsers (even IE) block activeX installations..
try looking into Java Applets, however i dont thing its possible as well: it is actually a security breach..
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Tue May 31, 2005 2:11 am

You can only if you are have a good permissions and your server is Windows.
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2214
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Tue May 31, 2005 2:17 am

Okej... i think we already discussed this... and no wizard you are wrong as the files are not to be listed from the server but from the clients PC.. :) please read more carefull
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Tue May 31, 2005 2:26 am

Alexei Kubarev wrote:Okej... i think we already discussed this... and no wizard you are wrong as the files are not to be listed from the server but from the clients PC.. :) please read more carefull

ouch
ой
мазафака
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2214
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Tue May 31, 2005 2:35 am

hehe... nee.. prosto chitat umeju :P
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests