• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2208
  • Last Modified:

Convert php code into DLL?

Hi to all

I wanna to know that is it possible to create the dll file of php code?

to be more generalize that i have a php form which interacts to database,its a simple php form insertion.
so is it possible that we make this in dll ??

pl reply me asap


Thanks in advance
Mahendra
0
ebizsupport
Asked:
ebizsupport
  • 8
  • 6
  • 3
2 Solutions
 
KalpanCommented:
0
 
KalpanCommented:
0
 
ebizsupportAuthor Commented:
Hi Kalpan

Thanks for quick reply i had downloaded the roadsend but its too much complicated that, what setting i have to do....???  means how do i  convert the application into dll..

herewith i am attaching very basic code of form and database script .pl guide me what next i have to do in roadsend IDE.

Thanks again

Regards
Mahendra
dummy.zip
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
KalpanCommented:
Please read this...i know it's very lengthy but will help you to understand in certain extent...

http://www.roadsend.com/p/manual/viewManual.php?prIDX=2&pageID=devZone

you need to open the index.php in roadsend complier with POST or GET variables....and than compile the output which can be configured with fastCGI and with Desktop application IDE

http://glade.gnome.org/

http://www.fastcgi.com/drupal/node/5?q=node/10 

thanks, kalpan
0
 
ebizsupportAuthor Commented:
Thanks Kalmax
 and sorry for delay

Actually i was trying to follow your given websites.....But no luck :(   as its too vast settings and too much complicated

So for now i had changed my way to achieve the same.

Actually i found a PHP code which will assemble all php project page and mysql code in single file and make a install file which will execute the all settings on user machine as:

creating all files in root,
installing the database
and a shortcut on desktop (a bat file) which will popup the application in browser.

All is good... BUT now the scenario is suppose my user having no wamp or xampp means no local server then there is big problem

now i need a bat file which will setup local server on users machine WITHOUT asking single question to him.

I had searched the same but not getting anyway....

Pl assist me....

Thanks again for your quick response

Regards
Mahendra
0
 
dinhchung82Commented:
Hi,
You download Zend and use encoder fo this

Regards,
VDC
0
 
ebizsupportAuthor Commented:
means u r talking regarding the dll or unattended installation of local server???

Will you pl more generalize it...

Thanks
0
 
dinhchung82Commented:
I understand that , you want to keep your code secret , don't you ?

0
 
ebizsupportAuthor Commented:
No, no security reason.

well its just user comfortably as user only click on single bat file or exe and the application start the local server and application index page on browser.

So that all is done ....

Now the problem is as above comments,suppose there is no local server then that bat has to first install local server on user machine AND that also has to be UNATTENDED....


0
 
dinhchung82Commented:
I understand , you want to install for customer so you want dll and simple installation , that is right ?
0
 
ebizsupportAuthor Commented:
yup
0
 
dinhchung82Commented:
So , my answer  is hard to do like this .

Customer also need the database and web server .

If database and web server is ready so you need to write a batch file to copy file ( php) and create database based on mysql admin .
It is the same when you try to install scripts like phpbb ...

Hope this helps

Regards,
VDC
0
 
ebizsupportAuthor Commented:
Thanks for reply
 But except the local server installation all  ii already achieved But again it is mandatory that my application first check that if any web server is there or not ? if not then it has to install ... :(
0
 
dinhchung82Commented:
I think : you should request cusomer installed packead inlcude php,mysql,... like XAMPP ,
after that they install based on your script . Don't make everything too hard for you . I think user can do it . :)
0
 
ebizsupportAuthor Commented:
yup you are right?

But i had posted same thing on wamp forum a person is ready to create a wamp exe for me which will complete all task in one hit but he is asking for charge.

As i was thinking if he can do this that means the source code is available of these local server so we can also modify the installation .Can we?? is it feasible?
0
 
dinhchung82Commented:
I think i am not expert to do this . you must wait for another expert in EE .

Hope you soon find the solution :)

0
 
ebizsupportAuthor Commented:
Its OK but didn't fulfilled my requirement 100%
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 8
  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now