Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: making php exe

  1. #1
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default making php exe

    My links in a php exe is not working. I my using bamcompiler for making php exe my paths are correct. It works only when the sourefile is the path But when i remove that source file exe is not working

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You would need to provide your link, and a link to the bambalam page.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    PHP really isn't the best language for application development. It's highly specialised. Try another, like Haskell, Python, or C# (especially for Windows development).
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the suggestion Twey, but I would appreciate if you could provide the information, if any, about the bamcompile tool that I am trying to crack.

    I wonder why this tool at all ( Bamcompile) If php isn't meant for the application develpment , Any ideas ?



    Arun - Webdeveloper,

    ProximaSystemsIndia.com

    P.S. :Sorry about the substantial delay in the post , I am back on it.

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I doubt anyone but the developer will know, if your paths are truly correct. You might want to double-check them. I don't think it's been updated to work with PHP5 yet, despite the fact that it's been out for several years now, so that may be the issue if you're using an up-to-date version of PHP.
    I wonder why this tool at all ( Bamcompile) If php isn't meant for the application develpment , Any ideas ?
    'When your only tool is a hammer, all problems look like nails.' PHP is a Turing-complete language, and as such it can technically be used for most tasks to which a programming language can be applied. As such, some people, generally those who have learnt it for the purposes of web development, see this power and think 'hey, this is cool, I can use it for all these other things!', never suspecting that there may be a better way, and that there's a reason most people don't.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You'd need to post your source code if we were to do anything with it. If this really is an issue within bamcompile, if your files work on a server, etc., then it may have to do with PHP5, or perhaps your method of output. But that is uncertain until you show us the source code.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    djr33 / Twey ,

    Earlier, I tried it with php5 and hit lot of problems, and then read the documentation (I hope I don't get penalized by bamcompile for reading documentation after trying it out )

    I am aware of the fact that it is not compatible with php5 and I am definitely using php4.
    Well, I have checked the paths, but if you insist I am posting the source files shortly.

    Shall get back,
    Thanks guys.

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Basically, the solution to your problem is to stop trying. bamcompile is out of date and seemingly unmaintained for three years, and the approach you've chosen to solving this problem is practically the worst possible. Learn a real applications-programming language such as one of those I mentioned above and do it properly.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default



    What say you djr33 ?

    After all the effort i put into this research , looks like everything going down the drain.

  10. #10
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It would have been a lot less effort had you done it properly from the start, at least once you got past the hurdle of new technologies. As it is you should probably just chalk it up as a learning experience and move on.

    If you're really desperate to use your PHP version, there are better ways to distribute it than bamcompile — you can simply include the PHP interpreter and a small executable launcher (shown here in C):
    Code:
    #include <stdlib.h>
    
    int main(int argc, char **argv) {
        return system("php bootstrap.php");
    }
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •