Re: [PHP] checkbox validation

2001-04-24 Thread Keyur Kalaria
Hi jacky, put an empty square bracket after the variable name as follows: input type=checkbox name=id[ ] value=$id assuming that your above statement is in a loop we will have following structure: * form input type=checkbox name=id[ ] value=$id input

[PHP] problem with storing displaying image in db

2001-04-24 Thread Keyur Kalaria
Hello everybody, I am facing a strange problem while uploading and displaying images in a database table. I have taken blob field to store the images. Images which are less then around 100kb are stored displayed properly but images which are greater than 100kb are giving problems while

[PHP] include file by .htaccess

2001-04-24 Thread Keyur Kalaria
Hello, How can I include any html or php file via .htaccess . I want to include an html file in a site contaning around 1000 pages. I want to add header footer dynamically on these pages . Is there any way to include header footer on these pages using .htaccess file. thanks in advance

[PHP] include file by .htaccess

2001-04-24 Thread Keyur Kalaria
Hello, How can I include any html or php file via .htaccess . I want to include an html file in a site contaning around 1000 pages. I want to add header footer dynamically on these pages . Is there any way to include header footer on these pages using .htaccess file. thanks in advance

[PHP] problem with storing displaying image in db

2001-04-24 Thread Keyur Kalaria
Hello everybody, I am facing a strange problem while uploading and displaying images in a database table. I have taken blob field to store the images. Images which are less then around 100kb are stored displayed properly but images which are greater than 100kb are giving problems while

Re: [PHP] include file using .htaccess

2001-04-23 Thread Keyur Kalaria
thanks for that , it is working fine. keyur - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Keyur Kalaria [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Saturday, April 21, 2001 9:18 PM Subject: Re: [PHP] include file using .htaccess Make sure AllowOverride

[PHP] include file using .htaccess

2001-04-21 Thread Keyur Kalaria
Hello, How can I include any html or php file via .htaccess ? I want to include an html file in a site contaning around 1000 pages. I want to add header footer dynamically on these pages . Is there any way to include header footer on these pages using .htaccess file. thanks in advance

Re: [PHP] store array in a file?

2001-04-16 Thread Keyur Kalaria
Hello Jaxon, use serialize() unserialize() as follows: $store_in_file=serialize(your_array); //and store the details of $store_in_file in your file/database. //while retrieving read the data from file/database into store_in_file and then use the following.

[PHP] antifraud logic for voting poll, banner clicks

2001-04-14 Thread Keyur Kalaria
Hello everybody, I am working on a banner exchange site and a site rating script. Can anyone suggest me how to avoid the fraud rating and fraud banner clicks. What all things we need to take care for the same etc. Thanks in advance. Keyur -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] how to get num of sessions vars?

2001-04-13 Thread Keyur Kalaria
Hey Dave, you can try the following: num = sizeof($HTTP_SESSION_VARS); regards keyur - Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 8:40 PM Subject: [PHP] how to get num of sessions vars? I thought this would work..

Re: [PHP] Need a URL....

2001-04-13 Thread Keyur Kalaria
it is http://marc.theaimsgroup.com/ regards keyur - Original Message - From: "rm" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 14, 2001 11:23 AM Subject: [PHP] Need a URL My hard drive died, lost my bookmarks. Can someone post the url of the site that

[PHP] site review

2001-04-11 Thread Keyur Kalaria
Hello everybody, I recently developed this site : http://www.goodlookingindia.com . I am adding many more sections in it. Pl. let me know how can i improve the performance of this site. Your reviews will be very helpful to me. Thanks in advance. Keyur $$$ -- PHP General Mailing

Re: [PHP] page counter

2001-04-10 Thread Keyur Kalaria
Hi wen, Make sure that the counter file is readable by the user apache or user nobody which ever is your default webserver user. If it is not then just chown it to nobody or chmod it to 777 and you are done. Keyur - Original Message - From: "Keyur Kalaria" [EMAIL PROTECTED

Re: [PHP] what does this error means?

2001-04-10 Thread Keyur Kalaria
Hi Jacky, This means that your key 1 i,e the first field in the table is a primary key and the table contains a record which has a value 10 in the first field. Hope this is clear. Keyur $$$ - Original Message - From: "Jacky@lilst" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] Upload file from my local C:

2001-04-10 Thread Keyur Kalaria
Hi Reiniger, try this : copy(addslashes($file),"1.dat") hope it is clear. keyur - Original Message - From: "Christian Reiniger" [EMAIL PROTECTED] To: "HK Woo" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 4:15 PM Subject: Re: [PHP] Upload file from my local

Re: [PHP] Commercial sites that use PHP

2001-04-10 Thread Keyur Kalaria
this is a commercial site. site : http://www.goodlookingindia.com pl. send me your complete reviews on it . it will be very very helpful to me. - keyur $$$ - Original Message - From: "Phil Labonte" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 7:22 PM

[PHP] Review

2001-04-10 Thread Keyur Kalaria
Hello everybody, I recently developed this site : http://www.goodlookingindia.com . I am adding many more sections in it. Pl. let me know how can i improve the performance of this site. Your reviews will be very helpful to me. Thanks in advance. Keyur $$$ -- PHP General Mailing

Re: [PHP] user login

2001-04-10 Thread Keyur Kalaria
You can use session management keyur - Original Message - From: "george" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 8:19 PM Subject: [PHP] user login I know it is possible, I'm just not sure how, but I want a user to log into the site then if they enter