RE: [PHP] Page Rederection Problems

2003-03-14 Thread Michael Roger C. Bianan
Hi Kelly, It would be better if you just take off the second part, the one enclosed in "<>". Also, header("Location: location"); notice, Location starts with capital L . Hope this helps, miches:) -Original Message- From: Kelly Protsko [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13

RE: [PHP] Redirect to a new page?

2003-03-14 Thread Michael Roger C. Bianan
if the browser doesn't support Javascript use this : if (YES) { header("Location: thispage.php"); } else { header("Location: thatpage.php"); } exit(); Just make sure you haven't send any output to the browser yet. A suggestion: place this code before you ever print in your cod

RE: [PHP] Check to see if mysql_fetch_array result is empty

2003-03-12 Thread Michael Roger C. Bianan
$row[developer] $row[title] $row[version] $row[platform] \n"; } } On Thursday,

RE: [PHP] Check to see if mysql_fetch_array result is empty

2003-03-12 Thread Michael Roger C. Bianan
Mike, Use mysql_num_rows($db_query) ; - returns no of rows in the result set. - if none, returns 0. Thanks, Miches -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:17 AM To: php mailing list list Subject: [PHP] Check to see if mysql_fet

RE: [PHP] Looking for partner for credit cards

2003-03-11 Thread Michael Roger C. Bianan
check out http://www.esellerate.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:22 AM To: [EMAIL PROTECTED] Subject: [PHP] Looking for partner for credit cards Hi, I'm sure lot's of you have done their shop with PHP in the US. Co

RE: [PHP] PHP Online Store

2003-03-10 Thread Michael Roger C. Bianan
Hi Pag, In my experience, I usually have two database systems. I have the Live DB which is currently the one used by the website which is the one on the hosting server, and I also have a local DB on our local server just here. What I do is I create the back-end applications for the administra

RE: [PHP] Automatically Save Image?

2003-03-10 Thread Michael Roger C. Bianan
Hi, You can read the file via fopen() and fread(), and then pass the resulting data to the client browser... Thanks, Miches;) -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:44 PM To: Doug Coning; [EMAIL PROTECTED] Subject: RE: [PHP] Automa

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
I try to fread() the html file. Although the file is displayed fine when I point my Browser (Mozilla) to it. I am testing on the MAC OS Jaguar Platform Thanks again --pS On Tuesday, March 11, 2003, at 09:12 AM, Michael Roger C. Bianan wrote: > Garcha, > > Kindly check your file paths

RE: [PHP] arrray

2003-03-10 Thread Michael Roger C. Bianan
you can 'serialize' it and pass it as POST or GET variable too, then deserialize it again. Check out these PHP functions : serialize() and deserialize() Hope this helps, Miches:) -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 9:39 AM To:

RE: [PHP] auto_increment $value

2003-03-10 Thread Michael Roger C. Bianan
I think this is facing a bigger issue when it comes to Concurrency. When two or more apps in a given time pops the auto_increment or mysql_insert_id (they will get THE SAME ID assuming no other transaction issued an INSERT sql to the table while retrieving the ID). Now, I don't know if this has

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
Garcha, Kindly check your file paths. When you export it, it may not point to what really is the real path online. May I ask what are you trying to achieve? -Original Message- From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:45 PM To: [EMAIL PROTEC