Results 1 to 13 of 13

Thread: PHP-Compressor

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    PHP-Compressor

    This program to compress php code.

    It's remove all remark statement and let code hard to understand



    It's need vbrun file.
    Download it from here:
    http://download.microsoft.com/downlo...VBRun60sp4.exe




    Download php-c
    Last edited by prokhaled; Nov 11th, 2002 at 01:56 PM.

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Why would I want to remove comments and make my code hard to understand?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    For when people l337 H@X0R your website and download your php

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Oh. I guess I don't care about that.

    It just seems weird. If I comment my code, why would I want to then uncomment it?

    Oh well. That's what I get for digging old threads out of the grave.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I think it's for security (code is hard to understand if somehow they download it, but if they're able to download it you're screwed anyway ), but also it does make it a bit smaller. After you're done, putting PHP files that are a bit smaller (take out all the newlines, remarks, etc.) on the server wil save a bit of space (who knows, those may take up 1/3 of the file!).

    Well, thats all I can think.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    it would be semi useful, if you were selling your code.

  7. #7
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    ok so it compresses it, how does the server de-compress it so it will run???

    and I like my code to be uncompressed so I can understand wha tI did last time or whatver.


    if people are going to take the time to download my code form my site then so be it, my code is nothing special and can be learnt form the manual. people like that piss me off because they can't write thier own code... slackers....

  8. #8
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It does no actual compression, just reduces the whitespace to save a bit of bytes on the hard drive.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  9. #9
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    so is everything on one line then? or does it just reduce spaces and tabs?

    I've never written a PHP file that was so huge that I thought I needed to compress it. Maybe a bunch of smaller ones that are called by a medium sized one...they'd probably add up, but still. I don't see a PHP file ever being bigger than 500kb. That'd be crazy.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  10. #10
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    I would guess that prog_tom will need it then for his terabyte php file

  11. #11
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by phpman
    I would guess that prog_tom will need it then for his terabyte php file
    lol, wasn't it 3 TB, according to him?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  12. #12
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    My evil laugh has a squeak in it.

    kristopherwilson.com

  13. #13
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You'll get yours for that remark about Canada, boya
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width