Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-12-2008
Member
 
Join Date: Dec 2008
Posts: 40
How to create library in php

Hi,

I Want To Know Is it possible to create libraries (dll) in php ?

Thank you in advance
Reply With Quote
  #2  
Old 15-12-2008
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: How to create library in php

what do you mean? and What do you want do exactly? It is best to expose to the problem directly that you are facing ?
Reply With Quote
  #3  
Old 15-12-2008
Member
 
Join Date: Dec 2008
Posts: 40
Re: How to create library in php

I have a set of classes that I use in my project, which can be used elsewhere, including conversion of class time and money, ... and I want to know if I can put them together into a library that I would thereafter create util.dll or something like that.
Reply With Quote
  #4  
Old 15-12-2008
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: How to create library in php

In fact you have several possibilities to create your library:
  • You created the PHP files that you included on the pages they need. In this case I advise you to use the PHP include_path directive to keep life simple.
  • You created files in C in for which you created specific PHP functions. In this case you can add them to PHP.
Reply With Quote
  #5  
Old 15-12-2008
Member
 
Join Date: Dec 2008
Posts: 40
Re: How to create library in php

Quote:
Originally Posted by MindSpace View Post
In fact you have several possibilities to create your library:
  • You created the PHP files that you included on the pages they need. In this case I advise you to use the PHP include_path directive to keep life simple.
  • You created files in C in for which you created specific PHP functions. In this case you can add them to PHP.
The first solution is what I take now, but the second i think is not very useful, against me by what I want is a dll whose source code is hidden, and I want to 'includes it once and for all in my application.
Reply With Quote
  #6  
Old 15-12-2008
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: How to create library in php

Quote:
Originally Posted by Chaya View Post
The first solution is what I take now, but the second i think is not very useful, against me by what I want is a dll whose source code is hidden, and I want to 'includes it once and for all in my application.
But whatever happens anyway in your PHP source code is not visible (at least from the time an application is hosted on remote server and the user has no control over files). Only the result HTML generated by the PHP which is visible. Unless you speak of an application where the files offline sources are available to the user?

If this is the second case it is and you do not want the source code is visible to the user who owns the files, PHP is not the proper language. You need a compiled language.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create library in php"
Thread Thread Starter Forum Replies Last Post
Help to create a basic Library Software dillon7 Software Development 2 21-05-2012 11:53 AM
Move iTunes library to WD My Book Live Duo without losing library settings FLU|TER Hardware Peripherals 3 26-03-2012 03:25 PM
Unable to Create New Library in Windows 7 DeepikaP Operating Systems 3 22-01-2011 03:08 PM
How to create new Library in Windows 7 Mehraj Customize Desktop 3 27-08-2009 06:15 PM
How to create image library ? Balgovind Windows Software 3 06-04-2009 01:35 PM


All times are GMT +5.5. The time now is 09:16 AM.