David,
Use the "file" command to find out what the file-format is. Probably it is just
a tar-file!
Thanks
Ram

David Lanier wrote:

> This is my first post to this list, so I hope it goes right.  :)
>
> I want to use PHP's mcrypt functions.  The snag I've run in to is that the
> archive file I've downloaded doesn't appear to be in gzip format, even
> though it ends with .tar.gz.  I've downloaded from a couple of different
> locations, so I think that the file is OK.
>
> The file I've downloaded is libmcrypt-2.5.7.tar.gz.
> Here are the commands I've tried:
>
> gzip -cd libmcrypt-2.5.7.tar.gz | tar xvf -
>         which gives me this:
> gzip: libmcrypt-2.5.7.tar.gz: not in gzip format
>
> tar -pxzf libmcrypt-2.5.7.tar.gz
>         which gives me this:
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
>
> tar zxvf libmcrypt-2.5.7.tar.gz
>         which gives me this:
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
>
> I've downloaded from a couple of sourceforge mirrors.  I didn't have any
> luck downloading from mcrypt.hellug.gr.  I couldn't find any documentation
> on the sourceforge site http://sourceforge.net/projects/mcrypt/
>
> Is there a particular FTP or HTTP site I should use to download the mcrypt
> libraries, and use for reference?
>
> Is there a different untar/unzip command I should use?
>
> Possibly the best question to ask is, is there a different
> encryption/decryption package I should be using?
>
> My overall goal is to store some user data in an encrypted format in a MySQL
> database, and retrieve it and decrypt it as needed.
>
> Thanks for any help!
> [EMAIL PROTECTED]

Reply via email to