Re: [PHP] Problem with PHP as CGI

2001-05-23 Thread midget2000x
This is not an answer, but a further question on this subject. Do you (or anybody) know of a way to keep the path to PHP from showing up when the PHP CGI script is hit via HTTP? On Wed, 23 May 2001, Stuart J. Browne wrote: Richard Kurth [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
] - Original Message - From: midget2000x [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 2:52 PM Subject: RE: [PHP] running a stand-alone PHP program I suppose I need to be more clear. I already have PHP running, but I want to run actual PHP code that I write

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
are currently running it as an apache module. If you are running it as a cgi, then it might. But it sounds as if you are running it as an apache module. Nathan Cook [EMAIL PROTECTED] - Original Message - From: midget2000x [EMAIL PROTECTED] To: Nathan Cook [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
: midget2000x [EMAIL PROTECTED] To: Nathan Cook [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, May 17, 2001 3:15 PM Subject: Re: [PHP] running a stand-alone PHP program Excellent. I got this working. From a command line the standalone PHP scripts work well, but if I hit them via

[PHP] running a stand-alone PHP program

2001-05-16 Thread midget2000x
I apologize if this has already been covered...I can't seem to find it in the archives... can PHP be coded and run as a stand-alone program? If so, where can I get more info on that? I am running Linux and would like to pass some data to PHP from a CGI program. Thanks! Rory ---

RE: [PHP] running a stand-alone PHP program

2001-05-16 Thread midget2000x
it -Original Message- From: midget2000x [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 4:18 PM To: [EMAIL PROTECTED] Subject: [PHP] running a stand-alone PHP program I apologize if this has already been covered...I can't seem to find it in the archives

[PHP] coding for 'no match found'

2001-05-15 Thread midget2000x
This is a simple yet fundamental programming question I am hoping somebody will have the patience to explain... I have a mysql database with the email field as the key. Before inserting an new record to it I want to check if there is already a record with that e-mail. This I can do fine. But

[PHP] indexing records

2001-05-13 Thread midget2000x
What I want to do is figure out a way to index MySQL query results on my PHP site that's not dependent on the id of each record. I've got a MySQL photo database that runs my photo site. Right now, the 'id' field is a sequential, auto-incremented number, and I am using that id as an index for

[PHP] One database, different forms

2001-05-13 Thread midget2000x
I am writing a PHP application that will operate on a MySQL database. There will be 4 types of forms (like catalog request, info request, etc.) calling the code which writes the data to the database. Since the variable names on the forms will equal the MySQL column names (as they should), I am

[PHP] Forcing Case

2001-04-14 Thread midget2000x
Is there any way to force case...like if I have a string and want it to appear in all lowercase (or uppercase, God forbid)? Thanks, Rory --- providing the finest in midget technology -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] array output as a variable?

2001-04-12 Thread midget2000x
another newbie programmer question... is it possible to output the results of an array loop into a variable, or directly into an SQL call? Obviously the code below is impossible, but illustrates what I want to do: //declare the array $info_request = array (1 =

[PHP] Case-Sensitivity with PHP and MySQL

2001-04-11 Thread midget2000x
I am writing a PHP script that operates on a MySQL database that uses the e-mail address as the primary key. If the e-mail doesn't exist in the database (when a form is submitted), I want to insert a new record. If it does, I want to update the existing record. How can I make the query that