[PHP] Oops!

2008-10-10 Thread "Crash" Dummy
I forgot to close a line with a semicolon. this: $elements=count($para) should be: $elements=count($para); -- Crash Committed to the search for intraterrestrial intelligence. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] oops! flock() not work

2006-05-22 Thread Richard Lynch
On Mon, May 22, 2006 7:11 am, n.g. wrote: > flock() with LOCK_NB not work under , > nor does fopen() with 'x' mode, > my php is compiled as an apache module, and apache is running in > prefork mpm. > php version is 5.1.2 > > my code is > > $haslock=0; > if($lock=fopen('LOCK','w')){ This would wor

[PHP] oops! flock() not work

2006-05-22 Thread n . g .
flock() with LOCK_NB not work under , nor does fopen() with 'x' mode, my php is compiled as an apache module, and apache is running in prefork mpm. php version is 5.1.2 my code is or http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OOPS!!! [PHP] Date/Time problem

2003-06-27 Thread Sparky Kopetzky
Opps! I meant strftime() as I have to pass timestamp from a file. Sparky - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Sparky Kopetzky" <[EMAIL PROTECTED]> Cc: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 11:07 Subject: Re: [PHP] Date/Time problem > ec

[PHP] Oops, sessions. I need to study the subject

2003-06-26 Thread Øystein Håland
> if(isset($_POST['users']) > { > $_SESSION['temp_users'] = $_POST['users']; > } > if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t"; > ...etc > > hope it helps > Pete > Will take a look at function.serialize too. Thank you guys -- PHP General Mailing List (http://www.ph

[PHP] oops - solved re: insert fails w/ postgres database

2002-08-22 Thread Javier Montserat
the filename field is of type 'oid' rather than 'character varying'... yep, inserting a string into an oid feild will make the db baarrrfff... Saludos Javier _ Chat with friends online, try MSN Messenger: http://messenger.msn.co

Re: [PHP] oops - wrong! (was: how to alter assoc_array?)

2001-02-11 Thread Jaxon
ack. ignore me. not enough coffee. the 'while' was in the wrong place. also dropped the array() in favor of array_name[] to ensure I keep it associative. $array = mysql_fetch_array($result, MYSQL_ASSOC); while (list ($key,$value) = each($array)) { $key ="~" . $key; $tagged_arr

[PHP] oops - wrong! (was: how to alter assoc_array?)

2001-02-11 Thread Jaxon
Okay, I don't have it :) This should be recreating a 3 row array of key:value pairs with a "~" character prepended to each key, but is only echoing _one_ key:value pair - anyone see why? while($array = mysql_fetch_array($result, MYSQL_ASSOC)) { list($key, $value) = each($array); $key

Re: [PHP] Select list with PHP/oops!

2001-02-04 Thread Gerry
Well I messed up... I forgot to add the final ";} at the bottom of my sample code but here it is. sorry! Gerry wrote: > > This worked! > But, I get this color selection increment on each subsequent menu where > the colors from the row above mix with the ones below and so on. Assume > that the nu

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Brian Clark
Hello Dominick, (DV == "Dominick Vansevenant") [EMAIL PROTECTED] writes: DV> I deleted all the records from the privileges tables (mysql database) and DV> restarted the daemon. http://www.mysql.com/documentation/mysql/bychapter/manual_Problems.html#Resetting_permissions DV> Now off course I

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Kath
Do you still have r00t access to the database? - Kath - Original Message - From: "Dominick Vansevenant" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 9:05 AM Subject: [PHP] oops, little problem with mysql

[PHP] oops, little problem with mysql

2001-01-22 Thread Dominick Vansevenant
Hello, I deleted all the records from the privileges tables (mysql database) and restarted the daemon. Now off course I cannot access the databases, what can I do? D. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] oops forgot to add

2001-01-09 Thread James Mclean
no particular errors or anything show up. page uses php & mysql -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]