[PHP] Problems with IIS4 (Win2k)
Hi, I'm having problems with IIS 4 trying to install PHP. If I install the exe in the application mappings, I get the good old: "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" Message, and if I use the php4isapi.dll I get "The specified module could not be found. " Can somebody tell me what I'm doing wrong? Cheers, -Josh -- PHP General 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]
Re: [PHP] Problems with IIS4 (Win2k)
Yeah after a net stop and net start I've got the cgi version working, but I still can't seem to get the PHP isapi module up. What functionality is missing from the CGI version besides http-auth? can it handle uploads? Gfunk - Original Message - From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]> To: "Josh McDonald" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 03, 2001 6:04 PM Subject: Re: [PHP] Problems with IIS4 (Win2k) > At 21:56 04.03.2001, Josh McDonald said: > [snip] > >Hi, > >I'm having problems with IIS 4 trying to install PHP. If I install the > >exe in the application mappings, I get the good old: > > > >"CGI Error > >The specified CGI application misbehaved by not returning a complete set of > >HTTP headers. The headers it did return are:" > > > >Message, and if I use the php4isapi.dll I get "The specified module could > >not be found. " Can somebody tell me what I'm doing wrong? > [snip] > > Make sure the entry is correct for .php extensions: > Executable: %phppath%\php.exe %s %s > Both "%s" must exist, or PHP will do nothing at all. > > > > > ...ebird > >>O Ernest E. Vogelsinger >(\)http://www.1-at-web.at/ > ^ ICQ# 13394035 > > > -- > PHP General 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] > -- PHP General 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]
[PHP] unsubscribe josh@gfunk007.com
unsubscribe [EMAIL PROTECTED] -- PHP General 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]
Re: [PHP] XML
valid and well-formed are different, can php verify neither? G is for the gang of money I make. F is for the gang of fools I break. U is for the undisputed champ. N is 'cause you never gonna get the mic back. K is for the niggaz that I knock on they back. http://www.gfunk007.com/ - Original Message - From: "Plutarck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 11:07 PM Subject: Re: [PHP] XML > If memory serves, I was told that "PHP at the present time can not validate > an XML document". It does everything else, but you will have to validate > everything on your own. > > In other words there is no current PHP function that can parse an .xml > document and judge if it is Well Formed or not. > > > -- > Plutarck > Should be working on something... > ...but forgot what it was. > > > ""Andreas Sisask"" <[EMAIL PROTECTED]> wrote in message > 9afcdk$jug$[EMAIL PROTECTED]">news:9afcdk$jug$[EMAIL PROTECTED]... > > I have a docdef.dtd file which defines a document. Now, if I parse some > > doc1.xml file which refers to this > > docdef.dtd, that is it contains the line > > > > > > > > I want to chek if the doc1.xml really is correct as defined - has the > syntax > > (elements, nesting and whatever I have defined in docdef1.dtd) > > > > And as I got answers from several people, it is not possible. > > > > Andreas > > > > "Joe Stump" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED]... > > > AFAIK php doesn't care about extensions (ie .html vs .htm) - if it's > valid > > > XML and expat supports it then you should be good to go. I've parsed > .rdf > > just > > > fine... > > > > > > --Joe > > > > > > On Wed, Apr 04, 2001 at 03:09:36PM +0200, Andreas Sisask wrote: > > > > Hello, > > > > > > > > Does php have some feature of using .dtd or .xsd in parsing an .xml > > file? > > > > I mean for example if I parse some .xml (which refers to some .dtd) it > > > > checks that the .xml is correct or if not then > > > > gives quite exact error about it. > > > > > > > > Andreas > > > > > > > > > > > > > > > > -- > > > > PHP General 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] > > > > > > > > > > > > /*** > > ***\ > > > *Joe Stump - PHP/SQL/HTML Developer > > * > > > * http://www.care2.com - http://www.miester.org - > > http://gtk.php-coder.net * > > > * "Better to double your money on mediocrity than lose it all on a > > dream." * > > > > > > \*** > > ***/ > > > > > > -- > > > PHP General 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] > > > > > > > > > > > -- > > PHP General 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] > > > > > > -- > PHP General 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] > -- PHP General 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]
Re: [PHP] *** HTML Programming question *** no php at all...
In ie5.x and earlier the select element will also be above all layers. I think ie6 doesn't have that problem, as I remember MS promising to fix it, tho i haven't got my hands on whistler yet so I don't know fer sure G is for the gang of money I make. F is for the gang of fools I break. U is for the undisputed champ. N is 'cause you never gonna get the mic back. K is for the niggaz that I knock on they back. http://www.gfunk007.com/ - Original Message - From: "Chris Albanese" <[EMAIL PROTECTED]> To: "David Diaz i Torrico" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 6:26 AM Subject: RE: [PHP] *** HTML Programming question *** no php at all... > > In Netscape 4.x, form elemtents are always rendered as the top layer, > regardless of z-indexing. You need to move the form element. Netscape 6 (I > beleive) and IE5 are fine. > > -Original Message- > From: David Diaz i Torrico [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 11, 2001 4:54 AM > To: [EMAIL PROTECTED] > Subject: [PHP] *** HTML Programming question *** no php at all... > > > > Sorry if someone takes that as an offtopic but, I can't find good > HTML/Javascript programming lists, if someone can point it out any I'd > apreciate it a lot.And haven't been able to find any reference to my > problem even searching for hours in google. > > > And the question here it goes, I've got a page with a header, > the header is a layer floating around the page, with Explorer I've no > problem but with Netscape, voilĂ , when the layer passes over a textbox, > select or some other typical form widget, the widget remains over the > layer. I've tried all the possible combinations with z-index with no > result. > > There's any workaround to this?, I'm stuck. > > > Thank you very much in advance, and sorry if this is an offtopic. > > > > -- > PHP General 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] > > > > -- > PHP General 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] > -- PHP General 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]
RE: [PHP] eval();
Keep in mind, eval()ing code you pull from the database will also raise the damage from a SQL injection attack or similar from a PITA restore-your-database to a much bigger PITA format-webserver. -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, 31 October 2005 3:57 PM To: John Taylor-Johnston Cc: php-general@lists.php.net; Jasper Bryant-Greene Subject: Re: [PHP] eval(); On Sun, October 30, 2005 8:51 pm, John Taylor-Johnston wrote: > eval( " ?> $contents >>However, if eval() is the answer, you're probably asking the wrong >>question. You should take a hard look at your code and think of a >>better way to do what you need to do. >> >> > Back to the drawing board? It is either store my html+embedded code in > a mysql record, or in an html file, which means playing with fopen. > It's easier to hand tweak in phpmyadmin. > Nonetheless, even though your test code worked (thanks!) this doesn't. > Sigh. > > if ($contents = displaynew()){ echo "CONTENTS:", htmlentities($contents), "\n"; eval( " ?> $contents > function displaynew() > { >$file = basename($_SERVER['PHP_SELF']); >require 'connect.inc'; >$sql = "SELECT HTML FROM `$db`.`$table_editor` WHERE `Filename` > LIKE '".addslashes($file)."' LIMIT 1;"; >if ($myquery = mysql_query($sql) and mysql_num_rows($myquery) > 0) This 'and' should probably be '&&' ... Though I never really used 'and' enough to know for sure. At any rate, you've got *NO* error-checking for an invalid query here. > { >$mydata = mysql_fetch_array($myquery, MYSQL_NUM); >return $mydata[0]; >} >return false; > } -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php