How to store data in php and get data from php?

How to store data to exe files with php?

  • is it possible to modify exe files using php? i want to store data to exe file using php before the user download it. Thank you

  • Answer:

    Is it possible? Yes. Look at the filesystem functions like fopen, fread, fwrite, etc. You would have to create the executable so that you knew exactly where some "empty space" was that you could store this data you're talking about. You would have to be careful not to write data outside of the "empty space" or the executable would be corrupted and not work. What are you trying to accomplish? There's probably a much better way to do it.

Jack B at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.