[PHP] i have a problem inserting blob data larger than 1 mb

2006-06-05 Thread sunaram patir
hi list, i am facing a problem inserting binary data into a blob field.this is my /etc/my.cnf file. [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock connect_timeout=60 [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/

Re: [PHP] problem with Mail function

2006-02-05 Thread sunaram patir
Dude, Do not use $to = "$email"; instead $to=$email; But i didn't even know what is your problem! On 2/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This may be a bit to obvious, but I miss little stuff all the time. > > You wouldn't happen to have the if(mail(...)) in some form of l

Re: [PHP] put method

2006-01-24 Thread sunaram patir
ml/test2/putMethod.php on line "something" something= the line number for 'echo "";' On 1/24/06, Jay Paulson <[EMAIL PROTECTED]> wrote: > http://us3.php.net/features.file-upload > > > On 1/24/06 11:46 AM, "sunaram patir" <[EMAIL P

[PHP] put method

2006-01-24 Thread sunaram patir
could anyone please tell me how to use put method to upload file to a remote server? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email Form

2006-01-20 Thread sunaram patir
i have en experience of getting blocked by yahoo when i didn't use the extra headers On 1/20/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote: > Hi Richard, > > I'm trying to understand why this is good from a SPAM point of view. > I'm guessing that anyone can just add this when sending his own spam

Re: [PHP] Re: HAPPY NEW YEAR!!

2006-01-01 Thread sunaram patir
happy new year from me too! On 1/1/06, Julio B. <[EMAIL PROTECTED]> wrote: > Feliz año nuevo. > > Saludos, > > Julio Barroso > > ""Jesús Alain Rodríguez Santos"" <[EMAIL PROTECTED]> escribió en el > mensaje news:[EMAIL PROTECTED] > Happy New Year for all. > I weish you the best in this new 2006. >

Re: [PHP] what is the problem with this query?

2005-12-30 Thread sunaram patir
thanks. i have resolved the problem by replacing 'read' with 'read_it'. On 12/30/05, Michael Gross <[EMAIL PROTECTED]> wrote: > "read" is a reserved word in mysql > (http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html). You have > to double-quote reserved words: > > mysql_query("SELECT * FRO

[PHP] what is the problem with this query?

2005-12-29 Thread sunaram patir
hi there, could you please tell me what is the problem with this query mysql_query("SELECT * FROM mailbox WHERE read=''"); i always get this warning: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in index.php on line 24 -- PHP General Mailing List (http

[PHP] mysql select statement in php having three conditions

2005-12-16 Thread sunaram patir
hi, can someone tell me how to do this: i have to retrive data from a mysql table let's sayTABLE . i have to check that the rows i retrive meet this condition: field1='$variable',field2 is false and field3 is also false. as you can see field2 and field3 are bool type. field1 is varchar. i did t

Re: [PHP] unset and sessions

2005-12-12 Thread sunaram patir
http://in.php.net/unset On 12/12/05, Eternity Records Webmaster <[EMAIL PROTECTED]> wrote: > I use php 5.0.5 and was wondering when I use $_SESSION would unset() work > the best for getting rid of the values in that array?? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, v

[PHP] paid help wanted for session management

2005-12-08 Thread sunaram patir
hi guys, anyone will like to help me out from some problem in dealing with sessions in internet explorer for some $10-$30? please send me private mail. no reply to this mailing list please. and sorry guys for sending this mail on the list. i couldn't help myself! i am damn frustrated!

Re: [PHP] php session in ie

2005-11-15 Thread sunaram patir
On 11/14/05, Ford, Mike <[EMAIL PROTECTED]> wrote: > On 11 November 2005 18:47, sunaram patir wrote: > > > array(1) { ["PHPSESSID"]=> string(32) > > "337a44c0d6c9ed3cf4ba4e97d707589e" } is returned by firefox on calling > > var_dump($_C

Re: [PHP] php session in ie

2005-11-12 Thread sunaram patir
On 11/12/05, adriano ghezzi <[EMAIL PROTECTED]> wrote: > to be redirected to login must have at least one of ( > if(!isset($_SESSION['student_username']) && > !isset($_SESSION['student_password'])) ) > > not set, which one (or both) fail under i.e. ??? > > hth > if both of them aren't set, the user

Re: [PHP] Re: php session in ie

2005-11-12 Thread sunaram patir
On 11/12/05, James Benson <[EMAIL PROTECTED]> wrote: > > > sunaram patir wrote: > > Hi, i am having problem with internet explorer. i am working on > > $_SESSION['myurl']=$_SERVER['PHP_SELF']; > > if(!isset($_SESSION['stu

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
On 11/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, November 11, 2005 12:06 pm, sunaram patir wrote: > >> > session_start(); > > session_cache_limiter('private_no_expire'); > > session_set_cookie_params(0,"/","schools.zenr

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
array(1) { ["PHPSESSID"]=> string(32) "337a44c0d6c9ed3cf4ba4e97d707589e" } is returned by firefox on calling var_dump($_COOKIE). NULL in ie. On 11/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, November 11, 2005 12:06 pm, sunaram p

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
> > instead of bouncing the user's agent back and forth > > > session_cache_limiter('private_no_expire'); > > session_set_cookie_params(0,"/","schools.zenrays.com"); > > session_start(); > > ... will probably not match this one here. > > You've set the Cookie Parameters here to very specific values

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
i will for sure. thanks. On 11/11/05, M <[EMAIL PROTECTED]> wrote: > Stephen Leaf wrote: > > For security.. *never* store the password in a cookie.. > > OP stores the password in session > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

[PHP] php session in ie

2005-11-11 Thread sunaram patir
Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. if the user is not logged in, it redirects to

[PHP] php session in ie

2005-11-11 Thread sunaram patir
Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. if the user is not logged in, it redirects to

[PHP] php session in ie

2005-11-11 Thread sunaram patir
Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. if the user is not logged in, it redirects to