PDA

View Full Version : zip file running, error - Call to undefined function: gzcompress()


conozco345
07-17-2002, 06:43 AM
I finally got the PHP to work but now its giving me this error.

conozco345
07-17-2002, 06:50 AM
Its giving me the problem with this line:

$zdata = gzcompress($data);

firepages
07-17-2002, 10:27 AM
hi , 'call to undefined function' in this case probably means that your host does not have the zlib library enabled for PHP, run

<? phpinfo();?>

and see if zlib is enabled , it would be unusual for a host not to have zlib