Re: [PHP] mysql_free_result() question

2001-06-23 Thread Jakob Kruse
a "row" from such a result. Using mysql_free_result on a row is not advisable. Also, in my terminology, the "query" would be the string passed to mysql_query(), so you could do like this: $query = "select ..."; $result = mysql_query($query); $row = ... Regards, Jakob K

Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-19 Thread Jakob Kruse
. It really is quite nice, and it *will* teach you how to write compliant HTML. Regards, Jakob Kruse "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is the HTML that is returned by PHP. Does anyone know why Net

[PHP] exit in function

2001-05-18 Thread Jakob Kruse
ashes. Why? Regards, Jakob Kruse PS: I know it isn't very nice to use exit that way, but I'm trying to run some PHP software that uses it extensively. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] zlib or gzip compression?

2001-05-16 Thread Jakob Kruse
fast. Regards, Jakob Kruse "Alex Dupre" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What are the differences between "output_handler = ob_gzhandler" and > "zlib.output_compression = On" ? > > Alex Du

Re: [PHP] include("../file.inc");

2001-05-11 Thread Jakob Kruse
You may need to set your include_path to "." in php.ini. Than again maybe not. Try it. Then include "../file.inc" should work (on Unix or Linux, use "\" on Windows). Regards, Jakob Kruse ""Matthew Ralston"" <[EMAIL PROTECTED]> wrote

Re: [PHP] Php.ini style change

2001-05-11 Thread Jakob Kruse
problem separating the comment lines from the rest. Such is life - always people to disagree with ;-) Regards, Jakob Kruse "Jonatan Bagge" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anyone tell me why they checnged the sty

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Jakob Kruse
Well, that just means you have to rewrite the line: header("Location: $HTTP_GET_VARS['fred']"); like this: header("Location: " . $HTTP_GET_VARS['fred']); But have you tried it with just $fred? You shouldn't have to use $HTTP_GET_VARS.

Re: [PHP] SESSIONS: Why does PHP not erase session files in /TMP

2001-05-10 Thread Jakob Kruse
do garbage collection every time a session starts. Lower values should work as well, just with a little delay. Regards, Jakob Kruse ""Davor Pleskina"" <[EMAIL PROTECTED]> wrote in message 9ddf72$j2t$[EMAIL PROTECTED]">news:9ddf72$j2t$[EMAIL PROTECTED]... > I ha

Re: [PHP] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Jakob Kruse
Ehm... did you enable the tags in the php.ini file? If the code is being shown on the page it stands to reason that PHP did not process the page at all. Regards, Jakob Kruse "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message DC017B079D81D411998C009027B7112A015

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Jakob Kruse
You should probably urlencode the address first, like this: ">test link Not sure if it solves the problem though. Regards, Jakob Kruse ""Steve Wade"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ahh

[PHP] zlib.output_compression, how to turn it OFF?

2001-05-10 Thread Jakob Kruse
Hi. I have turned on zlib.output_compression in my PHP 4.0.5 php.ini file, and it works beautifully. But if I want to turn off all buffering/compression for a single page, how do I do that? Regards, Jakob Kruse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL