Re: [PHP] Wrong parameter count for imap_open()

2008-01-02 Thread Richard Lynch
On Wed, January 2, 2008 9:00 am, Adam Williams wrote: > I'm running PHP 5.2.4 and getting the error: > > *Warning*: Wrong parameter count for imap_open() in > */var/www/sites/intra-test/contract/login.php* on line *9 > > *My code is: > > $mbox = > imap_open("\"{mail.mdah.state.ms.us/imap/novalida

Re: [PHP] Wrong parameter count for imap_open()

2008-01-02 Thread Jim Lucas
Adam Williams wrote: > I'm running PHP 5.2.4 and getting the error: > > *Warning*: Wrong parameter count for imap_open() in > */var/www/sites/intra-test/contract/login.php* on line *9 > > *My code is: > > $mbox = > imap_open("\"{mail.mdah.state.ms.us/imap/novalidate-cert:143}INBOX\", > \"".$_POS

Re: [PHP] Wrong parameter count for imap_open()

2008-01-02 Thread Daniel Brown
On Jan 2, 2008 10:00 AM, Adam Williams <[EMAIL PROTECTED]> wrote: > I'm running PHP 5.2.4 and getting the error: > > *Warning*: Wrong parameter count for imap_open() in > */var/www/sites/intra-test/contract/login.php* on line *9 > > *My code is: > > $mbox = > imap_open("\"{mail.mdah.state.ms.us/ima

[PHP] Wrong parameter count for imap_open()

2008-01-02 Thread Adam Williams
I'm running PHP 5.2.4 and getting the error: *Warning*: Wrong parameter count for imap_open() in */var/www/sites/intra-test/contract/login.php* on line *9 *My code is: $mbox = imap_open("\"{mail.mdah.state.ms.us/imap/novalidate-cert:143}INBOX\", \"".$_POST["username"]."\", \"".$_POST["passwor

Re: [PHP] Wrong parameter count for fgets

2003-07-08 Thread Mark
Without seeing any code, we can only guess. But do you have at least two, and no more than three parameters for the fputs() fuction? fputs (PHP 3, PHP 4 ) fputs -- Writes to a file pointer Description int fputs ( resource handle, string str [, int length]) fputs() is an alias to fwrite(), and

Re: [PHP] Wrong parameter count for fgets

2003-07-07 Thread Joel Rees
> > Warning: Wrong parameter count for fgets() in > I had this error on of my scripts, any ideas on this part? Well, I typed "fgets" into the "search for" field on a page at php.net, left the "in the" field set to "function list", and clicked the little non-descript arrow to the right of that, and

[PHP] Wrong parameter count for fgets

2003-07-07 Thread Miranda, Joel Louie M
> Warning: Wrong parameter count for fgets() in I had this error on of my scripts, any ideas on this part? How come this error occur? -- Thank you, Louie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wrong parameter count

2001-04-16 Thread Frank M. Kromann
According to the documentation http://php.net/manual/en/function.mysql-result.php mysql_result takes 2 and an optional third parameter. The second parameter should be the row number. - Frank > Hi, can some one please help me figure out why the value $device isn't being passed >on out of the s

RE: [PHP] Wrong parameter count

2001-04-16 Thread Jason Murray
> $device = mysql_result($rs); // line 19 mysql_result expects the result set, the row number and the field name. You should not need this, anyway. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] Wrong parameter count

2001-04-16 Thread Brian Clark
Hi Peter, @ 11:40:06 PM on 4/16/2001, Peter Houchin wrote: > Hi, can some one please help me figure out why the value $device > isn't being passed on out of the select box? i keep getting this > message when i view the source (OK, lets try this again) > Wrong parameter count for mysql_result()

[PHP] Wrong parameter count

2001-04-16 Thread Peter Houchin
Hi, can some one please help me figure out why the value $device isn't being passed on out of the select box? i keep getting this message when i view the source Wrong parameter count for mysql_result() in D:\erentals/1.php on line 19 '.$row[device].''; } ?>