RE: [PHP] session variables

2003-09-01 Thread Binay Agarwal
Check out session.cookie_lifetime .. if lifetime =0 then session should disappear once you close the browser else it will stay the time specified in lifetime options. Hope this helps and let me know. Binay "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am havi

[PHP] Tracking Bandwidth usage....

2003-09-01 Thread Binay Agarwal
Hi All, I need to track the bandwidth usage of the different sites hosted on a server. How can i achieve this using PHP,Apache,mysql under Linux environment. Please suggest me as it is urgently needed by client. Thanks Binay

Re: [PHP] problem with a mysql query with data from a form

2003-08-29 Thread Binay Agarwal
- Original Message - From: "Vincent Fievet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 11:55 AM Subject: [PHP] problem with a mysql query with data from a form -Message d'origine- De : Vincent Fievet Envoyé : mercredi 27 août 2003 10:44 À : '[EMAIL

Re: [PHP] server/browser dependancies?

2003-08-29 Thread Binay Agarwal
Hi! Use instead of Find and so Hope this helps .. Cheers Binay - Original Message - From: "VB" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 11:36 AM Subject: [PHP] server/browser dependancies? > Hi, > > I am trying to come up with a form with m

Re: [PHP] converting date into database date format(newbie)

2003-08-29 Thread Binay Agarwal
Hi! U can convert "8-Aug-03" into mysql date which requires -mm-dd format as below. Hope this helps and let me know. Cheers Binay - Original Message - From: "Anil Garg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 11:01 AM Subject: [PHP] converting da

[PHP] Extracting EXIF/IPTC info from jpeg and tiff files

2003-08-27 Thread Binay Agarwal
Hi everybody I need to extract the information (EXIF and IPTC) from jpeg/tiff image files. After that i have to allow my client to modify and put them back in jpeg/tiff files. I want to know whether php has got built-in support in terms of libraries to achieve the goal or i will have to load so

[PHP] Extracting EXIF/IPTC info from jpeg/tiff image files

2003-08-27 Thread Binay Agarwal
Hi everybody I need to extract the information (EXIF and IPTC) from jpeg/tiff image files. After that i have to allow my client to modify and put them back in jpeg/tiff files. I want to know whether php has got built-in support in terms of libraries to achieve the goal or i will have to load so

[PHP] Cookie saving path on Clinet

2003-08-25 Thread Binay Agarwal
Hi Everybody I know this is vague but couldn't find the answer. Where (i mean system path) cookies are saved on Client's machine. I though it is in windows/temp or temporaray internet files (in win 2000) but it wasn't there. Please tell me. Thanks Binay

Re: [PHP] 2 questions

2003-08-25 Thread Binay Agarwal
- Original Message - From: "Thomas Hochstetter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 24, 2003 12:54 AM Subject: RE: [PHP] 2 questions > The register globals is on with the live server, and off at home (my version > is 4.3.2, the other is 4.1.2). does that mat

Re: [PHP] Random selection

2003-08-23 Thread Binay Agarwal
Hi You can use "select distinct names from table_name order by rand() limit 3". Hope this helps and let me know. cheers Binay - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 23, 2003 6:36 PM Subject: [PHP] Random selection > Hi, > > Can yo

Re: [PHP] 2 questions

2003-08-23 Thread Binay Agarwal
- Original Message - From: "Thomas Hochstetter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 23, 2003 5:33 PM Subject: [PHP] 2 questions > Hi guys. > > I have two questions for you today: > > 1. Weired login problem > I am developinig a site for a conference where i

[PHP] session.cookie_path problem

2003-08-18 Thread Binay Agarwal
Hi everybody I am having problem with session.cookie_path. By deafult path is "/". But what i think it should be client side path.. right?? In case client is win2k where does this cookie get saved.Any idea? Binay

[PHP] better understanding of ereg_replace and other functions

2003-08-16 Thread Binay Agarwal
Hi everybody, Lot of places in manual i came across using "ereg_replace" or "ereg" is very resource intensive and hence its better to use "preg_replace" or "str_replace" or "strpos" if they do the jobs. Now i am very curious to look at the source code (implementation) of these function so as t

Re: [PHP] PHP - Interpreted or Compiled Language

2003-08-14 Thread Binay Agarwal
ssage - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Binay Agarwal" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 14, 2003 5:39 PM Subject: RE: [PHP] PHP - Interpreted or Compiled Language > [snip] > Is php Interpreted language or Compile

[PHP] PHP - Interpreted or Compiled Language

2003-08-14 Thread Binay Agarwal
Hi everybody One basic question but still couldn't find the answer. Is php Interpreted language or Compiled Language like C or C++. Thanks in advance Binay

[PHP] Web tools for FTP accounts management

2003-08-04 Thread Binay Agarwal
Hi everybody! can any body suggest me the good resources/snippet for creating and managing FTP accounts through web interface using PHP. My configuration includes: Redhat : 7.0 wu-ftpd (FTP Server) Php - 4.0.6 Apache web server Any help would be highly appreciated. Thanks in advance Binay

[PHP] FTP accounts

2003-08-04 Thread Binay Agarwal
Hi everybody! can any body suggest me the good resources/snippet for creating and managing FTP accounts. My configuration includes: Redhat : 7.0 Php - 4.0.6 Apache web server Any help would be highly appreciated. Thanks in advance Binay

[PHP] Which templates to use??

2003-07-26 Thread Binay Agarwal
Hi all! As a php developer i need to know how can i separate my "business logic tier" with "presentation". I mean wht all different kinds of php Templates are available and which one to go for better efficiency and speed? Where can i find the resources. Please help me out. Thanks in ad

Re: [PHP] help with explode.....

2003-07-24 Thread Binay Agarwal
> Okay... this probably isn't that hard to do... but I am just not sure to > do it... so i will ask you guys... i amsure someone is going to have a > one liner for me here! > > I am making a survey/poll builder everything is dynamic... there is an > admin section where the user can make the new su

Re: [PHP] popping up download dialog box

2003-07-18 Thread Binay Agarwal
> To: <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 4:00 PM Subject: Re: [PHP] popping up download dialog box > On Friday 18 July 2003 06:34, Binay Agarwal wrote: > > Hi every body ! > > > > I am writing a script which pops up download dialog box on click of a &g

[PHP] popping up download dialog box

2003-07-18 Thread Binay Agarwal
Hi every body ! I am writing a script which pops up download dialog box on click of a Link. Headers i m sending out for downloading jpegs are: header("Cache-control: private"); header("Content-Type: image/jpeg"); header("Content-Type: application/octet-stream");