[PHP] Force zero numbers on a integer

2007-06-19 Thread listas
Hello,

I have a integer that is submitted by the user and i need it to always
contain 5 digits.

If the user submitted 45, i need it to be 00045.

If the user submitted 4595, i need it to be 04595.

How can i do this?

Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Formatting output

2007-06-11 Thread listas
Hello,

I would like to format the output of a PHP page into a single line and use
gzip compression too.

I know that i can use something like this to get in a single line ( will
workout on this function later to remove spaces ).



And gzip compression is used with



Is there a way to "mix" those codes?

Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Save page as text

2005-06-29 Thread rm2004mail-listas
Hi,
I have page with PHP and Javascript code and I need to a link or bottun in it 
to save its content to a plain text file. (I'm using an apache server in a 
machine running Windows 2003, and I want to be able to use this feature in IE 6 
and Mozilla 1.7)
I saw some information about how to do that with PHP, but I wasn't able to do 
it.
Can some one help me with that?
 
Thanks in advance,
Rafael Magrin


-
Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!

[PHP] mcrypt mhash

2003-07-30 Thread AECT Listas
Hi,

What is utility of mcrypt and mhash?

Thanks,

_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Hash

2003-07-30 Thread AECT Listas
Hi,

How set up functions hash in php4.3.2

thanks

_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php