First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
What's wrong in this function? Does not work for me.
Hello, this function does not work for me... And I really don't know what am I doing wrong... Any help?? This function is in a class, and I call it in a form, to create a new user.. $objEmploye=new Employe; if ( $objEmploye->insert(array($name,$lastname,$salary,$dui,$afp,$isss,$nit)) == true){ ... 3 Jul 2010 11:17
SELECT AVG(rating)
Hi - I have a MySQL table full of product reviews and I'm trying to select info for only the top 5 rated products. The only way I can figure out how to do it so far is something like: $query1 = mysql_query("SELECT * FROM products"); for($i=1;$i<=mysql_num_rows($query1);$i++) { $row1 = mysql_fetch_array($query1... 2 Jul 2010 17:58
CFP for Surge Scalability Conference 2010
A quick reminder that there's one week left to submit your abstract for this year's Surge Scalability Conference. The event is taking place on Sept 30 and Oct 1, 2010 in Baltimore, MD. Surge focuses on case studies that address production failures and the re-engineering efforts that led to victory in Web Applicat... 2 Jul 2010 15:45
Delegating variable-length argument lists
Hi, i'm writing a custom wrapper for the mysqli_stmt class. I have to override the method mysqli_stmt::bind_param. This function uses "variable-length argument lists". In my function i want to delegate its arguments to the original function. My first naiv implementation was that: function bind_param($types)... 5 Jul 2010 07:48
filter_var_array: apply multiple filters to one field
Is there any way to apply multiple filters to one field using filter_var_array? Basically I have an email field which I want to sanitize and validate. The docs and any sites I find only tell how to apply one filter at a time using filter_var_array. Regards, Peter Lafferty Software Developer We... 2 Jul 2010 10:13
detect a script crash
Hi all, Bit of a curve ball here (at least I couldn't find anything on Google yet) but I need a way to be able to detect if a particular php script crashes and generate some form of report from it. Here is the system setup: CentOS system, with the PHP scripts running as CLI called from a bash script as part... 2 Jul 2010 09:06
The script tried to execute a method or access a property of an incomplete object.
Hi, i got this error that i can't figure out.. Maybe you can help; Notice: mbConfig(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "classCoreDBtable" of the object you are trying to operate on was loaded _before_ unserialize() gets cal... 1 Jul 2010 16:43
Integers (correction)
Correction I said: 1 x 10^9 = 512 0 x 10^8 = 0 0 x 10^7 = 0 0 x 10^6 = 0 1 x 10^5 = 32 0 x 10^4 = 0 1 x 10^3 = 8 1 x 10^2 = 4 1 x 10^1 = 2 1 x 10^0 = 1 It should have been: 1 x 2^9 = 512 0 x 2^8 = 0 0 x 2^7 = 0 0 x 2^6 = 0 1 x 2^5 = 32 0 x 2^4 = 0 1 x 2^3 = 8 1 x 2^2 = 4 1 x 2... 1 Jul 2010 12:14
mail() + localhost
PHP'ers, I am sure this would have been asked a zillion times but I take this as my turn to get some help. I hate to ask such rhetorical questions but quite couldn't understand how to tweak this. All I am trying to do is send a mail from my localhost to my Gmail ID. I read stuff about how the SMTP port should ... 2 Jul 2010 22:20
Exec not functioning [SOLVED]
I forgot that PHP saves stuff in the /tmp directory (in my case /var/www/html/tmp [with permissins/owner set accordingly]. So, it works with: <?php $command = "/usr/bin/espeak -g0 -ven+m3 -p22 -s170 'Hallo Toofie' -w /var/www/html/tmp/aba.wav"; exec($command); ?> Bt... 30 Jun 2010 23:07
First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42