Re: [PHP-WIN] php guestbook

2002-08-02 Thread Jason Soza
I think the first things I would check, if your drives are NTFS, are the permissions on the text file. Is it writable by whatever user Apache is running as? Jason Soza - Original Message - From: "Andreas Esser" <[EMAIL PROTECTED]> Date: Friday, August 2, 2002 1:37 pm S

Re: [PHP-WIN] Brain Twister

2002-07-25 Thread Jason Soza
tisort.php Jason Soza - Original Message - From: "R.S. Herhuth" <[EMAIL PROTECTED]> Date: Thursday, July 25, 2002 11:09 am Subject: [PHP-WIN] Brain Twister > > I have a series of offices (11 at the present time). Each office > has a > CITY STATE ZIPCODE and a

Re: [PHP-WIN] Syntax

2002-07-23 Thread Jason Soza
That's (roughly) a shorthand if statement. (if)?(then):(else); So this: if($i==0) { $i++; } else { $i*20; } Is the same as this: ($i==0)?($i++):($i*20); Jason Soza - Original Message - From: "Kit Kerbel" <[EMAIL PROTECTED]> Date: Tues

Re: [PHP-WIN] How do I redirect to another page using PHP?

2002-06-13 Thread Jason Soza
Use an if() statement and header() function. Look at the manual entry for header() here: http://www.php.net/manual/en/function.header.php Jason Soza - Original Message - From: "Blaine Dinsmore" <[EMAIL PROTECTED]> Date: Thursday, June 13, 2002 9:34 am Subject: [P

Re: [PHP-WIN] parms are ignored

2002-06-03 Thread Jason Soza
Most likely your globals are turned off in php.ini. Try this: And see if that returns the value for you. Jason Soza - Original Message - From: "Diego Prusky" <[EMAIL PROTECTED]> Date: Monday, June 3, 2002 4:07 pm Subject: [PHP-WIN] parms are ignored > > &g

Re: [PHP-WIN] how do I access variables passed in a URL?

2002-05-13 Thread Jason Soza
Use $HTTP_GET_VARS['testVar'] or $_GET['testVar'] - $_GET[] is preferred as $HTTP_GET_VARS[] is deprecated. http://www.php.net/manual/fi/language.variables.predefined.php Jason Soza - Original Message - From: "R.S. Herhuth" <[EMAIL PROTECTED]>

Re: [PHP-WIN] mail() problem

2002-05-10 Thread Jason Soza
Did you restart Apache after making the php.ini changes? Jason Soza - Original Message - From: "Tomator" <[EMAIL PROTECTED]> Date: Friday, May 10, 2002 1:52 pm Subject: [PHP-WIN] mail() problem > When I try to use mail() function I see warning "Unknown error in

Re: [PHP-WIN] File Uploader - Progress

2002-05-03 Thread Jason Soza
$.02 - just learning all this stuff myself! Jason Soza - Original Message - From: "Stuart Dallas" <[EMAIL PROTECTED]> Date: Friday, May 3, 2002 12:16 pm Subject: Re: [PHP-WIN] File Uploader - Progress > On 3 May 2002 at 15:57, Mike Flynn wrote: > > At 01:21

[PHP-WIN] PHP/MySQL Query Prob

2002-04-15 Thread Jason Soza
Hey... new to the list, but didn't have time to lurk and watch the traffic, kind of in a bind here. I apologize in advance if I do something wrong... Using this code: generation; $year = $row->year; $owner = $row->owner;