Results 1 to 6 of 6

Thread: How to create library in php

  1. #1
    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

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    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 ?

  3. #3
    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.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    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.

  5. #5
    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.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    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.

Similar Threads

  1. Help to create a basic Library Software
    By dillon7 in forum Software Development
    Replies: 2
    Last Post: 21-05-2012, 11:53 AM
  2. Replies: 3
    Last Post: 26-03-2012, 03:25 PM
  3. Unable to Create New Library in Windows 7
    By DeepikaP in forum Operating Systems
    Replies: 3
    Last Post: 22-01-2011, 03:08 PM
  4. How to create new Library in Windows 7
    By Mehraj in forum Customize Desktop
    Replies: 3
    Last Post: 27-08-2009, 06:15 PM
  5. How to create image library ?
    By Balgovind in forum Windows Software
    Replies: 3
    Last Post: 06-04-2009, 01:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,113,660.90398 seconds with 17 queries