[PHP-WIN] Re: Tuning mySQL, php and apache

2004-04-10 Thread hubo
You might want to have a look at (persistent connections) http://www.mysql.com/news-and-events/newsletter/2002-11/a86.html and (connection pooling) http://www.mysql.com/news-and-events/newsletter/2003-05/a000173.html or http://dev.mysql.com/doc/connector/odbc/en/faq_3.html#Connectio

[PHP-WIN] IIS 6.0, PHP 4 access violations

2004-04-10 Thread Tomi Viikari
server: Windows server 2003 standard / IIS 6.0 PHP: PHP 4.1.1 I've recently setup PHP on my Win2003 with IIS6, Sometimes PHP works and other time it doesn't... ( after boot, better) When it doesn't it just prints out: PHP has encountered an Access Violation at XXX Any ideas? -- PHP Windows

RE: [PHP-WIN] Including remote PHP script, Return DO NOT works.

2004-04-10 Thread Svensson, B.A.T. (HKG)
You should have a closer look at the concept of a function. A function are suposed to return a value (with "return"), not a script. Try this in your main script: $fu = bar(); echo "$fu\n"; --[in your include file you need to have something likje this:] function bar() $val = "simples";

Re: [PHP-WIN] Including remote PHP script, Return DO NOT works.

2004-04-10 Thread DvDmanDT
Accutually, you _can_ return from included files, see manual for more info on that.. Why it doesn't work, is because the script will include the generated HTML from simples.php, which is probably nothing.. Meaning there will be no return statement,, And when there's no return in the file, include(

RE: [PHP-WIN] Including remote PHP script, Return DO NOT works.

2004-04-10 Thread Svensson, B.A.T. (HKG)
I don't claim a script can't return a value. All I say is that the key word "return" is meant to be used with functions, not with scripts. In other words using "return" in a script, like the previous suggestion, is a semantic mistake/fault, and wont work as intended - in my naive oppinion, the inte

php-windows Digest 10 Apr 2004 14:48:15 -0000 Issue 2203

2004-04-10 Thread php-windows-digest-help
php-windows Digest 10 Apr 2004 14:48:15 - Issue 2203 Topics (messages 23403 through 23408): Including remote PHP script, Return DO NOT works. 23403 by: ricardo.junior.infosoftonline.com 23406 by: Svensson, B.A.T. (HKG) 23407 by: DvDmanDT 23408 by: Svensson, B.

Re: [PHP-WIN] Including remote PHP script, Return DO NOT works.

2004-04-10 Thread DvDmanDT
Quote from the manual: "Handling Returns: It is possible to execute a return() statement inside an included file in order to terminate processing in that file and return to the script which called it. Also, it's possible to return values from included files. You can take the value of the include c

[PHP-WIN] GD doesn't work?

2004-04-10 Thread arno muhren
Hi everyone, I have a Windows 2003 Server installed with IIS, PHP, MySQL and Moodle (Learning Environment) running on it, the problem is that all the jpg-files are been shown as a white square with a red cross on it. I have enabled GD in php.ini and when I take a look at my info.php file, it says

[PHP-WIN] Re: GD doesn't work?

2004-04-10 Thread DvDmanDT
Sounds like it has nothing to do with GD or PHP.. Probably a badly configured Apache.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Arno Muhren" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi everyone, > > I have a Windows 2003 Server installed with IIS,

[PHP-WIN] [POSTGRES] reading blob

2004-04-10 Thread Sara Rubis
Hello, I need a source function example for extracting a blob field from a postgres db and viewing it with browser. Thanks, Sara Rubis