php-windows Digest 28 Apr 2001 22:03:40 -0000 Issue 569 Topics (messages 7109 through 7117): Re: Global variable 7109 by: Ruslan Ohitin How to get the Option Value? 7110 by: Gu Weidong-a1923c 7111 by: Gu Weidong-a1923c Socket dll extention for all win platforms 7112 by: Milcoveanu Radu Re: Mcrypt 7113 by: carteBlanche Re: Quick question about Apache+NT 7114 by: Phil Driscoll INSTALL ON WINNT+IIS 7115 by: ro-e ?: Development ?: PHP 4.0 on Windows XP with Apache 2.0.17 7116 by: Dickerson, Monty IIS 5 and Tomcat? 7117 by: Chris Boothe Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Hello Olivier, There is no print_r in PHP3. It's my error. Try this reset($HTTP_SERVER_VARS); echo "Server variables:<br>"; while(list($name, $val) = each($HTTP_SERVER_VARS)) { echo "$name = $val<br>"; } -- Best regards, Ruslan mailto:[EMAIL PROTECTED]
I try to create the dynamic list and want to get the selected value. But every time I got the '2001' whatever I selected from the list. Like to hear your advice. Thanks, Weidong ------------------------------------------------------------------------------------------------------------------------- /*test_option.php*/ <?php $today=getdate(); $year=$today[year]; ?> <html> <body> <form action="test_option.php" method="post"> Year<SELECT NAME="year"> <OPTION VALUE="" SELECTED> <? for ($i=0; $i<= 10;$i++) { ?> <OPTION VALUE=<?echo $year-$i;?>><?echo $year-$i;?> <?}?> </SELECT> <input type="submit"> </form> </body> </html> <?php echo $year; ?>
I made one childish mistake. Sorry to bother you. Regards, Weidong Gu -----Original Message----- From: Gu Weidong-a1923c [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 1:55 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] How to get the Option Value? I try to create the dynamic list and want to get the selected value. But every time I got the '2001' whatever I selected from the list. Like to hear your advice. Thanks, Weidong ------------------------------------------------------------------------------------------------------------------------- /*test_option.php*/ <?php $today=getdate(); $year=$today[year]; ?> <html> <body> <form action="test_option.php" method="post"> Year<SELECT NAME="year"> <OPTION VALUE="" SELECTED> <? for ($i=0; $i<= 10;$i++) { ?> <OPTION VALUE=<?echo $year-$i;?>><?echo $year-$i;?> <?}?> </SELECT> <input type="submit"> </form> </body> </html> <?php echo $year; ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
I need to know where can i get a dll with php socket functions (sock,bind,accept,write,recv,close,setsockopt,getsockopt) >From what i already know, there is no such dll available on the net. Can anyone tell me how to compile it and with what (I tried with Visual C++ 6.0 and failed). Besides, I'm desperate and I need it for my highschool project ... in about one week. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Hi, How did you configure mcrypt into php? Many thanks for your help! ""Dreamvale"" <[EMAIL PROTECTED]> wrote in message 000b01c0b240$220e7dc0$5800a8c0@moklc">news:000b01c0b240$220e7dc0$5800a8c0@moklc... > Hi, > > While trying out the following sample codes, > <?php > $key = "donkey kong"; > $input = "Let us meet at 9 o'clock at the secret place."; > $encrypted_data = mcrypt_ecb (MCRYPT_TripleDES, $key, $input, > MCRYPT_ENCRYPT); > ?> > > > I got this warning. > > "Warning: attempt to use an empty IV, which is NOT recommend in ...." > > How to get rid of it? > > Thanks. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
>Does Apache only support CGI mode but not ISAPI on WINNT? It has its own server API - and an apache module version of PHP for windows is available in the full zip distribution. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org
hi i need to know what to do in order to allow php in my iis web sites Ro-e
I noticed that there doesn't seem to be much focus on making PHP4 stable as an ISAPI under pre-.NET Microsoft IIS using the Microsoft SQL Server DLL extension (works ok as a cgi though), or even on making Apache 1.3.x sapi stable (Apache 1.3 for Windows is forever branded "beta" so corporations stay away from it, although developers know it is better than IIS in some uses, anyway) although as cgi it is stable. So we run in CGI mode on Windows 2000/NT and we're happy, for now. But I'd like to see PHP kick .NET's butt back to Redmond! To be considered serious by corporations (meaning that PHP jobs on dice.com will pay near what ASP or Perl or JSP pays, and somewhat comparable quantity of positions), php4 has got to compete head to head with Asp Dot Not and Visual Fred. Running as an ISAPI is great *for transition*, but, Apache 2.0 for Windows XP/Whistler is THE future of PHP, commercially - can you disagree? I'm wondering if any of you guys are seriously considering Apache 2.0.16 and if working on mod_php is a real priority to you. (Someday, I'll be skilled enough to help you, but for now I'm just trying to get my college's website away from the grips of non-extensible non-maintainable webstuff, eh.) Again, thanks for all the work you do. As soon as I can sell php to upper management, we'll support Zend (et.al.) as much as possible! Blessing & Insight!, montyd > -----Original Message----- > From: Gu Weidong-a1923c [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 8:01 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Quick question about Apache+NT > > > Does Apache only support CGI mode but not ISAPI on WINNT? > > Thanks > Weidong > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] >
Does anyone have any experience with setting up IIS 5 with Tomcat? I have downloaded the Win32 version of tomcat in several zip files. However they only consist of one DLL each. I need to get more information where can I look? Thanks, Chris Boothe [EMAIL PROTECTED]