[PHP] Re: Redirection to a named frame

2004-01-05 Thread Geoffrey Thompson
window.top.main.location= 'http://localhost/phase1/report.php''; /SCRIPT; ? Geoffrey Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was only able to find one reference to targeting a named frame on a redirection, in the MySQL Cookbook by O'Reilly. According

[PHP] Re: Redirection to a named frame

2004-01-05 Thread Geoffrey Thompson
BTW - I misquoted - the example below was in the PHP Cookbook (page 173) - not in the MySQL Cookbook - my apologies... Geoffrey Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would prefer not having to use script - is there not a way to handle this by modifying the header

[PHP] Re: OOP design question

2004-01-05 Thread Geoffrey Thompson
Mike Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am starting to get a handle (I think) on OOP. I was wondering if anyone would care to comment on what I think I understand: For simplicity's sake class.php contains AddItem() and DisplayItems(). Since submitting form data

[PHP] Re: Compare Array Elements

2004-01-03 Thread Geoffrey Thompson
One approach: for ($i=0; $i sizeof($xArray); $i++) { if ($xArray[$i] == $yArray[$i]) { new_yArray(); break; } } Wknit [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am a novice, I am sure this is pretty simple... I have two arrays of integers, equal

[PHP] Redirection to a named frame

2004-01-02 Thread Geoffrey Thompson
I was only able to find one reference to targeting a named frame on a redirection, in the MySQL Cookbook by O'Reilly. According to the book, this should work: header('Window-target: main'); header('Location: http://localhost/phase1/report.php'); But, alas, it seems to only load up the current

[PHP] Problems downloading files via https in IE 6

2003-12-06 Thread Geoffrey Thompson
I posted this once under another subject, but didn't get any responses. I'm stuck on this, and could really use some help. I have the following php code for downloading a file to the user via the browser: // Open csv file. $fp = fopen(fileOnServer.csv, r); // Set headers for csv

[PHP] Exporting Data as CSV - IE6/HTTPS Problem?

2003-12-04 Thread Geoffrey Thompson
All: I have the following php code for downloading a file to the user via the browser: // Open csv file. $fp = fopen($fileName, r); // Set file name. $dwnldName = report; // Set headers for csv download. header(Content-Type:application/csv); header(Content-Disposition:attachment;