[PHP-DB] PHP4/Apache on Win95 to remote Oracle

2001-02-08 Thread Jorge Santos
Hi all, Please help. I'm going maaddd trying to figure this out. I've pretty much read all of the online docs and spend countless hours reading through the archives.. I'm running PHP4 and Apache on my Win95 computer. I'm trying to connect to a remote Oracle database. I'm getting a "Warning: _

Re: [PHP-DB] Join Sentences

2001-02-09 Thread Jorge Santos
Hi Gaby, Your best bet is to probably place the statements you want into a function. Then, when the function is called if any one statement fails you simply return from the function with an error code. Hope this answer helps you... -- (No Espanol mas Portugues) O melhor

Re: [PHP-DB] PHP4/Apache on Win95 to remote Oracle

2001-02-09 Thread Jorge Santos
PROTECTED] - Original Message - From: Steve Farmer <[EMAIL PROTECTED]> To: Mark Farver <[EMAIL PROTECTED]>; Jorge Santos <[EMAIL PROTECTED]> Cc: PHP-DB <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 10:36 PM Subject: Re: [PHP-DB] PHP4/Apache on Win95 to r

Re: [PHP-DB] PHP4/Apache on Win95 to remote Oracle

2001-02-09 Thread Jorge Santos
ginal Message - From: Mark Farver <[EMAIL PROTECTED]> To: Jorge Santos <[EMAIL PROTECTED]> Cc: Mark Farver <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 9:55 AM Subject: Re: [PHP-DB] PHP4/Apache on Win95 to remote Oracle > On Thu, 8 Feb 2001, Jorge Santos wrote: >

Re: [PHP-DB] PHP4/Apache on Win95 to remote Oracle

2001-02-14 Thread Jorge Santos
Hi Stas, I already tried that solution to no avail... Later, Jorge Hello, "Jorge Santos"! You wrote: > $connect = OCIPLogon ("MDC", "MDC", $tns) or die ("It's > not possible to > connect"); Try to put "MDC6" as your 3rd par

Re: [PHP-DB] Undefined Variable and argument not valid . . .

2001-02-14 Thread Jorge Santos
Hi John, You're trying to use a variable that is not set. Try using the isset function... Like this: if (isset($COCOD)) $result = mysql_query("SELECT * FROM tblAA_MIKER_COMPDAT WHERE COCOD=$COCOD",$db); Hope this helps... Later, Jorge [EMAIL PROTECTED] - Original Message - From

Re: [PHP-DB] Undefined Variable and argument not valid . . .

2001-02-14 Thread Jorge Santos
rge [EMAIL PROTECTED] - Original Message - From: John Halladay <[EMAIL PROTECTED]> To: 'Jorge Santos' <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 1:11 PM Subject: RE: [PHP-DB] Undefined Variable and argument not valid . . . > Great! That fixed the first er

Re: [PHP-DB] Passing vars

2001-02-14 Thread Jorge Santos
Another possible way is to perhaps use an external file... For instance take the variable that is 30 lines long write it into a temporary directory/file and then use the include function to include that file. Write the output such that the data is assigned to a variable. Something like this: ");

Re: [PHP-DB] Oracle & WinNT4/2000

2001-02-18 Thread Jorge Santos
se have this problem (PHP to Oracle 8.0.5)?? Later, Jorge [EMAIL PROTECTED] - Original Message - From: Randall Barber <[EMAIL PROTECTED]> To: Jorge Santos <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 10:42 PM Subject: Re: [PHP-DB] Oracle & WinNT4/2000 > Try upgr

Re: [PHP-DB] Oracle & WinNT4/2000

2001-02-19 Thread Jorge Santos
gt; To: Jorge Santos <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 1:18 AM Subject: Re: [PHP-DB] Oracle & WinNT4/2000 > They won't let you upgrade the client? That sounds strange. Let them leave > the server at 8.0.5 and you upgrade the Windows Oracle client to

Re: [PHP-DB] deleting carts

2001-02-24 Thread Jorge Santos
Hi Nick, Of course it's possible. Anything is possible. Simply generate a simple PHP script that will be executed from the command line which is called from a cron. The PHP script would simple delete any records where (current date) - (your date_added) >= 90 days. On the other hand, on the shopp