php-windows Digest 18 Oct 2001 07:39:11 -0000 Issue 810
Topics (messages 9892 through 9904): Re: variables in URL 9892 by: Svensson, B.A.T. 9893 by: Svensson, B.A.T. 9894 by: Carlos Andre Marques Moreira Re: php_mcrypt.dll ? 9895 by: Brian Gleason Cgi Error 9896 by: Guitar Man 9897 by: Flint Doungchak 9900 by: Guitar Man 9903 by: Eric Pankoke Help on using mail() function 9898 by: Carlos Alberto Uribe Cano 9899 by: Flint Doungchak 9902 by: DL Neil 500 internal server error bug 9901 by: Andrew Saturn released 9904 by: suraj 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] ----------------------------------------------------------------------
Is there a special reason for you not wanting to use the POST method instead? (other wise just concatenate the variables with ampersand '&'.) >-----Original Message----- >From: Tony Leach [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, October 17, 2001 4:12 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] variables in URL > > >How do I construct a URL to pass more than one variable to a php page? > >main.php?sectionName=home > >works fine for one variable, how do I pass more than one? > >Many thanks >Tony > >================================ >WordWrap Web Development Limited > t +44 (0) 131 555 3535 > f +44 (0) 870 135 3656 > m +44 (0) 7768 626588 >================================ > >-- >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] >
That why one might want to look for HTML/HTTP specific things at www.w3.org instead. >-----Original Message----- >From: Tony Leach >Sent: Wednesday, October 17, 2001 6:34 PM >To: [EMAIL PROTECTED] >Subject: RE: [PHP-WIN] variables in URL > > >Thanks, I knew it was simple but it isn't easy to find in the >php manual !
main.php?var1=value1&var2=value2&var3=value3&...&varn=valuen if any value would contain spaces, caracters such as á,é,Ã,ç you should use urlencode($value) <a href="main.php?var1=<?php echo $value1;?>$var2=<?php echo $value2;?>&var3=<?php echo urlencode($value3);?>"> LINK </a> or <?php echo "<a href='main.php?var1=$value1&var2=$value2&var3=".urlencode($value3)." > LINK </a>"; ?> Carlos André Marques Moreira Bolsista CNPq / RHAE SENAI / CETAE [EMAIL PROTECTED] 2001 Ano Internacional do Voluntário -----Original Message----- From: Tony Leach [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 17 de outubro de 2001 11:12 To: [EMAIL PROTECTED] Subject: variables in URL How do I construct a URL to pass more than one variable to a php page? main.php?sectionName=home works fine for one variable, how do I pass more than one? Many thanks Tony ================================ WordWrap Web Development Limited t +44 (0) 131 555 3535 f +44 (0) 870 135 3656 m +44 (0) 7768 626588 ================================
I have tried to compile it myself, but in this process it asked for libmcrypt.lib that I can not find anywhere. I can make the .lib if anyone can find "libmcrypt.c". I have not found either of these files...... Brian "Squirre1" Gleason Mid-West Gaming League http://www.mwgl.org -----Original Message----- From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed, 17 Oct 2001 12:25:01 +0100 Subject: Re: [PHP-WIN] php_mcrypt.dll ? > I just found this... > http://cvs.php.net/cvs.php/php4/ext/mcrypt/ > > Anybody know how to compile it?? > > Thanks, > Paul > > "Brian Gleason" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > there is nothing to compile. it is already a dll, but if you try and > use > > it it says it is not a valid php dll file.... > > > > Brian "Squirre1" Gleason > > Mid-West Gaming League > > http://www.mwgl.org > > > > > > > > -- > 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] > >
Sorry to bring up this topic again. I haven't found lots of discussion on this, but still couldnt figure it out. I am gettng this error: "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" I have php 4.0.6 win2k IIS 5 I put all my dll in c:\php\extensions and i changed this in php.ini (which is in c:winnnt) Also in IIS setting i added that check file exits. I tried lots of things to make this work, but the error is not going away. Any help? Please write some details as I am a newbie here. Thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Guitar Man, Are you getting the error intermittently or all the time? If the later, please refer to the install.txt file that comes with the distribution. It's almost always a permissions or setup problem. -Flint -----Original Message----- From: Guitar Man [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 12:29 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Cgi Error Sorry to bring up this topic again. I haven't found lots of discussion on this, but still couldnt figure it out. I am gettng this error: "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" I have php 4.0.6 win2k IIS 5 I put all my dll in c:\php\extensions and i changed this in php.ini (which is in c:winnnt) Also in IIS setting i added that check file exits. I tried lots of things to make this work, but the error is not going away. Any help? Please write some details as I am a newbie here. Thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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 am getting in all the time. I am pretty sure I have all the permission needed for read and execute. I will double check it. thanks >X-Mailer: Internet Mail Service (5.5.2653.19) > >Guitar Man, > >Are you getting the error intermittently or all the time? If the later, >please refer to the install.txt file that comes with the distribution. It's >almost always a permissions or setup problem. > >-Flint > >-----Original Message----- >From: Guitar Man [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, October 17, 2001 12:29 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] Cgi Error > > >Sorry to bring up this topic again. I haven't found lots of discussion on >this, but still couldnt figure it out. I am gettng this error: >"The specified CGI application misbehaved by not returning a complete set >of > >HTTP headers. The headers it did return are:" > >I have >php 4.0.6 >win2k IIS 5 > >I put all my dll in c:\php\extensions and i changed this in php.ini (which >is in c:winnnt) >Also in IIS setting i added that check file exits. I tried lots of things >to > >make this work, but the error is not going away. Any help? Please write >some > >details as I am a newbie here. >Thanks > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >-- >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] _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Did you set up a virtual directory to where your .php files are stored? If so, and the alias is not the same as the directory (ie: if the directory is c:\projects\webpages\MySite, then the alias must be MySite), you will get the error you have listed. I have had this happen to me both in IIS and Personal Web Server. At 09:59 PM 10/17/01 +0000, Guitar Man wrote: >I am getting in all the time. I am pretty sure I have all the permission >needed for read and execute. I will double check it. >thanks > > > >>X-Mailer: Internet Mail Service (5.5.2653.19) >> >>Guitar Man, >> >>Are you getting the error intermittently or all the time? If the later, >>please refer to the install.txt file that comes with the distribution. It's >>almost always a permissions or setup problem. >> >>-Flint >> >>-----Original Message----- >>From: Guitar Man [mailto:[EMAIL PROTECTED]] >>Sent: Wednesday, October 17, 2001 12:29 PM >>To: [EMAIL PROTECTED] >>Subject: [PHP-WIN] Cgi Error >> >> >>Sorry to bring up this topic again. I haven't found lots of discussion on >>this, but still couldnt figure it out. I am gettng this error: >>"The specified CGI application misbehaved by not returning a complete set of >> >>HTTP headers. The headers it did return are:" >> >>I have >>php 4.0.6 >>win2k IIS 5 >> >>I put all my dll in c:\php\extensions and i changed this in php.ini (which >>is in c:winnnt) >>Also in IIS setting i added that check file exits. I tried lots of things to >> >>make this work, but the error is not going away. Any help? Please write some >> >>details as I am a newbie here. >>Thanks >> >> >>_________________________________________________________________ >>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp >> >> >>-- >>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] > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >-- >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]
Hello, I can't use the mail function with Win2k Server/IIS5, I'm ussing PHP4, what can I do??? Thank You Carlos Uribe [EMAIL PROTECTED]
Have you set your SMTP server in the php.ini file? What error message are you getting? -Flint -----Original Message----- From: Carlos Alberto Uribe Cano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 2:05 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Help on using mail() function Hello, I can't use the mail function with Win2k Server/IIS5, I'm ussing PHP4, what can I do??? Thank You Carlos Uribe [EMAIL PROTECTED] -- 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 can't use the mail function with Win2k Server/IIS5, I'm ussing PHP4, what > can I do??? Carlos, It worked for me! If you provide details of the problem we might be able to identify a solution. Regards, =dn
in the current version (4.0.6?) there is a slightly annoying bug (which might actually be two) when you run the Apache server (1.3.20) for a little while, PHP eventually stops working (it "falls asleep" -- the PHP ms-dos window just stays in the tray doing nothing and has to be force quit), and all requests to the site for a PHP file return a 500 "internal server" error, like "blah.php" -- "blah.html" or any other non-PHP files are downloaded perfectly. this also happens when you cause a 404 with a php file, example: http://www.roogroup.com/this_file_does_not_exist_and_never_will.php <-- returns a 500 (instead of 404), even when PHP isn't "asleep" also, both leave only this in the error log: [Wed Oct 17 18:00:41 2001] [error] [client 1.2.3.4] couldn't spawn child process: c:/php/php.exe the only way around this that I've found is restarting Apache and closing any locked up instances of PHP. I won't do that for now, so that you can all see at my server: http://www.roogroup.com/ I was told this had been fixed in a new version, but I can't seem to find this version anywhere. if anyone knows if this is my fault, and how to fix it, PLEASE let me know, otherwise, I hope the folks at php.net can fix this in the next win32 release. my info: AMD K6\2 450mhz w/ 128 MB ram Windows ME (4.90.3000) Apache 1.3.20 PHP Win32 4.0.6 MySQL (newest... forget the version) <-- note about MySQL: I had the bug before I installed MySQL, so I don't think this is causing it. regards, -andrew saturn
Hello php-windows, apache 1.3.22 and mysql 4.0 are released.... :) but php 4.0.7 / 4.1.0 is delayed yet :( -- Best regards, suraj mailto:[EMAIL PROTECTED]