RE: [PHP-WIN] Problems coding in PHP

2001-05-23 Thread andrew morton
Not that this message is helpful but one of the few things I miss from ASP is the session object. PHP's session handling leaves quite a bit to be desired. Get in the docs and look up session functions. The examples are good but just remember one thing. session_start(); needs to go before any cod

RE: [PHP-WIN] php 4.0/win 2000/sql server

2001-05-22 Thread andrew morton
Are you running PHP through ISASP or CGI? If you're not I'd recomend switching to CGI or if you don't have any ASP code switch to Apache. andrew -Original Message- From: PHPFAN [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 14:03 To: [EMAIL PROTECTED] Subject: [PHP-WIN] php 4.0/w

RE: [PHP-WIN] SQL Server stored procedures and functions

2001-05-22 Thread andrew morton
I'll back that up, I ended up having to reboot constantly to clear out a stalled IIS service. Two problems with stored procedures, no return value and no output parameters. You'll need to reformat all your procedures to have a SELECT statement return those values. I've been told that the 4.0.6

RE: [PHP-WIN] DNS/WEB SERVER WITH APACHE/PHP/WIN98

2001-05-21 Thread andrew morton
If you do want a DNS name you might want to check out http://www.dyndns.org/ they'll give you yourname.dyndns.org or yourname.dnsalias.com etc. It's a free service that accepts donations. andrew -Original Message- From: Mike Kelley [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 20

RE: [PHP-WIN] Question about TRUE and FALSE

2001-05-21 Thread andrew morton
Err never mind it's there in the manual under expressions, I expected it to be in the constants section. sorry, andrew -Original Message- From: andrew morton Sent: Monday, May 21, 2001 13:21 To: Php-Windows (E-mail) Subject: [PHP-WIN] Question about TRUE and FALSE Anyone hav

[PHP-WIN] Question about TRUE and FALSE

2001-05-21 Thread andrew morton
Anyone have any idea why the constant TRUE evaluates to 1 but FALSE evaluates to "" and not 0? The fragment if (!"") print "true"; else print "false"; works the same as if (!FALSE) print "true"; else print "false"; I'm used to the Cish behavior of false=0 and true!=0, is this something th

RE: [PHP-WIN] PHP and Multiple databases

2001-05-17 Thread andrew morton
Yes you can. I'd say the major annoyance is that each database has it's own functions that you have to learn. There are some projects to create a uniform database wrapper classes. andrew -Original Message- From: Scott Ellis [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 08:43 To

RE: [PHP-WIN] REBUILD of PHP

2001-05-16 Thread andrew morton
Umm I'm sort of new to this whole PHP thing but isn't the only nice thing about running the windows version that you don't have to recompile to add an extension? I think you can just uncomment it in your php.ini file... I'm sure I'll be corrected if I'm wrong. andrew -Original Message- F