[PHP] Storing password in cookie

2005-04-08 Thread Computer Programmer
What is a better way to store password in a cookie?

md5()?
base64_encode()?
mhash()?
mcrypt_generic()?
crypt()?

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



Re: [PHP] Need libmcrypt.dll for Windows PHP 4.3.9

2005-04-09 Thread Computer Programmer
Go to http://ftp.emini.dk/pub/php/win32/mcrypt/

On Apr 9, 2005 2:05 PM, HarryG <[EMAIL PROTECTED]> wrote:
> Need libmcrypt.dll for Windows PHP 4.3.9. Can anyone send it to me?
> 
> Thanks
> 
> HarryG

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



Re: [PHP] Storing password in cookie

2005-04-09 Thread Computer Programmer
Thanks for all of your reply. :)

Just like what trlists said, I'd like to create an auto-login at least
with a maximum of 30 days. Users will have the option to choose
whether to logout and/or prompt for their password for the next 1
hour, 4 hours, etc. just like what Yahoo! is doing.

What is the difference between what Richard Lynch has suggested (using
sessions) and the one suggested by Andy (using table links)?

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



[PHP] Finding out their server type

2005-05-04 Thread Computer Programmer
I asked a question at Apache.org mailing list about how to hide my server 
type; and now I'm asking here how can I know someone's server type using PHP?

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


[PHP] RE: Finding out their server type

2005-05-04 Thread Computer Programmer
How do I use that to find out the server type of yahoo.com or google.com or 
cnn.com, etc.?

Ang sabi sa akin ni Jay Blanchard noong 09:14 PM 5/4/2005...
Check here
http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.e
nvironment
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] RE: Finding out their server type

2005-05-04 Thread Computer Programmer
Why?
Ang sabi sa akin ni Jay Blanchard noong 09:33 PM 5/4/2005...
Ah, now we get to the real question...and the answer is that you don't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: WebHosting suggestions

2005-07-02 Thread Computer Programmer

Here are some sites that list free PHP web host:
http://www.oinko.net/freephp/
http://www.free-php-hosting.com/
http://www.web-hosting.com.bz/

I do agree with the other people who replied that you should pay for 
your web hosting needs. However, when I was starting out with PHP, I 
had to rely on several of the free PHP web host provider out there. 
Sure, they won't last long but I don't really need them to last long. 
I just need them so that I would be able to learn PHP. Back then, I 
don't even know how to install PHP in my computer. Those free PHP web 
host provider really did help me get hooked with PHP. ^_^


I was first hosted at F2S (Freedom 2 Surf) but they don't offer free 
hosting anymore. I'm not sure if they still offer their services.


You could also try Lycos UK (http://www.lycos.co.uk). However, Asian 
countries are banned from registering.


There's also 90Megs.com and a lot of others like them that uses 
advertisement to power their site. Not sure how long they will last though.


Ang sabi sa akin ni John Jairo Vega Angulo noong 01:05 PM 7/2/2005...

Hi, hope you have a good programming:
 I'm still a novice in php topics and I'm looking forward to find a FREE
hosting site to publish my .php's, so I hope you could give me an advise,
and if the service provides MySQL hosting too, it would be great. That's
all, greetings from a really php fan.
 Thanks in advance.
 John


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



[PHP] Removing special characters

2005-07-13 Thread Computer Programmer
Is there a PHP built-in function to retrieve only the alphanumeric 
characters from a given string?


I know that I can check for alphanumeric characters using the 
function ctype_alphanum () but it won't retrieve the alphanum characters.


I also know that I can use str_replace to replace an array of special 
characters such as the example below:


$str = "I*m using  with special/chars like | how to get 
rid of it???";

$removeChars = array ('*','?','|','>','<','/','\\');
$str = str_replace ($removeChars, "", $str);

However, could there be a specific function for just retrieving 
alphanumeric characters? or a specific function for just stripping 
special characters? Or maybe a better way to do those things from the 
example given above?


Thanks in advance. :)

___
PHP Version: 4.4.0

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