[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

[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

[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/)

[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

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

[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