Jump to content

Application's all PHP files in one file ?


dbots

Recommended Posts

Hi all,

I was wondering if the following is possible :

I have written a web application in PHP with about 80 files in a directory structure.

Is it possible to "package" all these files (like zip them) and then upload this package to the client's server and use it as it is ?

In the past I found something, I think using PEAR and create a specific file, please send your ideas if possible.

Thank you.

Link to comment
Share on other sites

Nothing wrong with zipping them and uploading them to a client server. Just be sure to use relative paths within your application & probably a config file that'll need some editing.

 

I think using PEAR might be overkill unless you're wanting a lot of people to get it. Just my $0.02

Link to comment
Share on other sites

I don't mean zipping them really...it was an example.

I mean if there is a way (maybe some command line tool) to produce one PHP file from all the PHP files that I have in the project (in a specific directory structure) and upload and call this PHP file or whatever it would finally be.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.