Development Compressing PHP

Discussion in 'Software' started by Bogomip, 19 Jan 2004.

  1. Bogomip

    Bogomip ... Yo Momma

    Joined:
    15 Jun 2002
    Posts:
    5,161
    Likes Received:
    39
    I have a fat HTML Output from a php scrip ti have written, and i was wondering how to compress it from the file, so it loads up alot quicker. I have tryed .bz compression (writing it all to a file then using that) but i cant seem to make it go any quicker than it does already. I also have no access to the sevrer and ob_start() would appear to be disaled!

    thanks!
     
  2. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Er, well you're kinda stuffed then - I was going to suggest some stuff but without access to the server.. then you can either static-ise your page, break it in to separate pages or improve the efficiency of your HTML (not using frames again, are we? :D;))
     
  3. Bogomip

    Bogomip ... Yo Momma

    Joined:
    15 Jun 2002
    Posts:
    5,161
    Likes Received:
    39
    Grrrrr... How about a way of sending the data direct from the database to the user in compressed format, then using my php scripts to decrypt it at the other end ? could that work ?
     
  4. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    If you sent (somehow) data direct from the DB to the user, then where could PHP come into this? I think you'd have a hard time getting data to the user straight from the db.

    What is it that needs compressing so urgently anyway?
     

Share This Page