[PHP] Re: [PHP-WIN] htpasswd question

2003-01-28 Thread Dash McElroy
I would try something like this instead: $params = escapeshellarg($params); $output = system(c:\path\to\htpasswd $params); //check for output errors or what not There very well could be a better solution (especially since I have not tried the above code...). I remember seeing somewhere that the

[PHP] content type header for downloading files

2003-01-28 Thread Dara Dowd
I have the following headers in download.php which forces a download dialog box to be opened when a user clicks on a desired file: header("Content-type: application/octet"); header("Content-Length: $filelength"); header("Content-Disposition: attachment; filename=".basename($fname).";"); This w

[PHP] php and sql problem with mysql_query and insert

2003-01-28 Thread Sunfire
hi ... im having a little problem with mysql_query("insert into members ('$company', '$name1', '$name2', '$address1', '$address2', ''$ac1', '$ext2', '$num1', '$ac2', '$ext2', '$num2', '$city', '$state', '$zip', '$desc', '$flags')"); for some reason those variables are empty by the time they get i

[PHP] Remembering which option in a SELECT tag the user had chosen

2003-01-28 Thread Webapprentice
Hi, I have a SELECT on a web form. Friday August 22, 04:00 PM - 06:00 PM Friday August 22, 06:00 PM - 08:00 PM Friday August 22, 08:00 PM - 10:00 PM Friday August 22, 10:00 PM - 12:00 AM Saturday August 23, 12:00 AM - 02:00 AM Saturday August 23, 12:00 PM - 02:00 PM Saturday August 23, 02:00 PM -

Re: [PHP] content type header for downloading files

2003-01-28 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Change header("Content-Disposition: attachment; filename=".basename($fname).";"); to header("Content-Disposition: inline; filename=".basename($fname).";"); On Tuesday 28 January 2003 06:27 pm, Dara Dowd wrote: > I have the following headers in downlo

[PHP] best way to pass variables to

2003-01-28 Thread Mantas Kriauciunas
Hey! I believe there was question like this, but I was wondering if someone could point me with useful information about passing variables to . Is there some tutorials about that? Or some help files about that, ways to do it. Thanks! -mNTKz

[PHP] Functions and arguments

2003-01-28 Thread Blaine von Roeder
Greetings, I'm working on a system to track homework and assignments for teachers/students. I'm in high school, and I decided I was sick of writing down the homework for the day, so I'm building a site that will allow teachers to post assignments/homework for each of their classes. Students can the

Re: [PHP] Functions and arguments

2003-01-28 Thread Jason Wong
On Wednesday 29 January 2003 13:31, Blaine von Roeder wrote: > I'm working on the part of the site to parse your session for student id, > check the students table for your class listing(named period1, period2, > period3, etc), and then check the classes table based on the id numbers in > your stu

Re: [PHP] best way to pass variables to

2003-01-28 Thread Justin French
on 29/01/03 4:35 PM, Mantas Kriauciunas ([EMAIL PROTECTED]) wrote: > I believe there was question like this, but I was wondering if someone > could point me with useful information about passing variables to > . To point out the obvious, you can pass variables to any URL by using GET: iframes c

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Hugh Danaher
You could use the mail() function to automatically send an email to your user. In the email could be an html page with the same form they'd filled out plus some hidden input fields which would tell you that they are updating their stored information. With this, your user gets confirmation of what

Re: [PHP] content type header for downloading files

2003-01-28 Thread Dara Dowd
No, that doesn't change anything with Mozilla, and as for IE the file is automatically displayed in the browser. I actually want the Dialog Box to appear. I think Mozilla doesn't know what to do with 'application/octet.' Dara - Original Message - From: Evan Nemerson <[EMAIL PROTECTED]> D

Re: [PHP] Remembering which option in a SELECT tag the user had chosen

2003-01-28 Thread Jason Wong
On Wednesday 29 January 2003 12:48, Webapprentice wrote: > I have a SELECT on a web form. > > > Friday August 22, > 04:00 PM - 06:00 PM Friday August 22, 06:00 PM - 08:00 PM value="Friday August 22, 08:00 PM - 10:00 PM">Friday August 22, 08:00 PM - > 10:00 PM Friday August 22, 10:00 PM - 12:00 A

<    1   2