[PHP] Regarding cache problem (fwd)

2003-02-20 Thread J.F.Kishor
Hi all, I am attaching the php file that will display a circle and on top of it, it will show the current time. When its reloaded using the browser's reload option. updated time is displayed. If the url is typed in the address bar and the request is sent, it doesnt display updated ti

[PHP] PHP and JAVA

2003-07-14 Thread J.F.Kishor
Hello all, I would like to know if there is a possibility in php to invoke JAVA RMI from php by enabling some options in php in php.ini file. If there is a possibility please let me know, where I can get a document about it. If any one of you have tried this then please send me a sample

[PHP] Compile php

2003-06-27 Thread J.F.Kishor
Hi all, I have a doubt, is there a way to compile php as a class file, so that it would be more secured. And I should be able to be invoked by a HTML client interface. Thanks in adv - JFK kishor Nilgiri Networks

Re: [PHP] String Question

2002-07-31 Thread J.F.Kishor
Hi Randy, Just copy the following code and execute it, it works as you require, tested works fine. string$i : $strDiv[$i]"; } ?> - JFK kishor Nilgiri Networks On Wed, 31 Jul 2002, Randy Johnson wrote: > Hello, > > I would lik

[PHP] Passing Array from one form to another form

2002-08-09 Thread J.F.Kishor
Hello all, I have got a doubt, Is there a way to pass a array from one from to another form while submition. I have tried to do it, but in the second form I just get the string "ARRAY" I'am not able to get the expected result. Please let me know if there is a way to do the above.

[PHP] Scratch card 14 digit number generation

2003-10-28 Thread J.F.Kishor
Hi, Does anyone know howto generate a scratch card number for a phone card, and what are the things that has to be considered, tariff plans validity, expirary etc. If anyone has any idea please let me know. - JFK kishor Nilgiri Netw

Re: [PHP] AUTO_INCREMENT problems

2002-01-17 Thread J.F.Kishor
hello, I think the following may solve your problem. alter table patients change id id mediumint (9) default 0 not null primary key auto_increment; On Thu, 17 Jan 2002, Phil Schwarzmann wrote: > I have an exsisting table without any rows. I tried to add a new column > to it and make it an "a

Re: [PHP] File Uploading

2002-01-21 Thread J.F.Kishor
hi, Solutions for your question is given in the PHP manual, and here's a part from the manual. Hope this would solve you problem. Example 1. File Upload Form --- Send this file: The _URL_ should point to a PHP file. The MAX_FILE_SIZE

Re: [PHP] UPDATE - MySQL having some trouble

2002-01-23 Thread J.F.Kishor
hi, > I can't the UPDATE command in MySQL to work properly. Here is my > query > > $query = "update table set lastname=$lastname, firstname=$firstname ^ replace table with > where username=$username"; ($lastname,

Re: [PHP] IP based redirection

2002-02-04 Thread J.F.Kishor
Hi, This could be done by having a conf file through which you could get the IP address of the machine from where the request is come. ie.. You can include the above conf file in other scripts of yours and you and do a check according to your need, and display pages

Re: [PHP] How to get the URL into a var?

2002-02-05 Thread J.F.Kishor
hi, I don't know whether this will solve your problem, but the following prints the full path of the file that is being used. $uri = getenv('REQUEST_URI'); $path = $HTTP_SERVER_VARS["PATH_TRANSLATED"]; // This prints /~user/subapp/test.php echo "
$uri
"; // This prints /h

[PHP] Get file download time.

2002-02-06 Thread J.F.Kishor
Hi all, Is there any way to get file download time, using php functions?, if not, could any one help to get it done. Thanks for sparing your precious time. Cheers, - JFK kishor Nilgiri Networks -- PHP General Mailing List (h

[PHP] Advantages of php

2002-05-29 Thread J.F.Kishor
Hi all, I'am a php programer, I have got an seminar on 31st of May(hardly one day left) on PHP, I have to expose its advantages and advantage of PHP's security when compared to other languages. I would be thankful if you people could send me some useful information regarding its

[PHP] Is there a way to put a scroll in a table ???

2002-02-25 Thread J.F.Kishor
Hi all, I'am breaking my head by trying to put a scroll in a table, my problem is, using php 'am trying to display a report and the report should have three tables, data to display are taken from three different tables and number of rows returned are three different values, the n

Re: [PHP] Is there a way to put a scroll in a table ???

2002-02-26 Thread J.F.Kishor
lenty more options > out there if I where to give it some concreate thought. > > > > ----- Original Message - > From: "J.F.Kishor" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 26, 2002 12:21 AM > Subject: [PHP] Is the

Re: [PHP] Return the column names of MySQL table?

2002-03-19 Thread J.F.Kishor
Hi, Try the following, Column name ($index) : $columnName"; $index++; } ?> On Tue, 19 Mar 2002, Kevin Stone wrote: > Forgive me for the off topic question. This is a MySQL question.. has > nothing to do with PHP directly. However I was not able to find an > answer in th

[PHP] How can the Surfer download without any button

2002-04-11 Thread J.F.Kishor
Hello, I have a doubt, Is there way to download a file as soon as an URL is entered. (i.e) the surfer should be able to downloaded a file as soon as he/she type's the URL and press enter key. If it is possible please send a sample script. Thanks in advance

[PHP] Logout problem

2001-12-12 Thread J.F.Kishor
hello all, I have designed a web page using php, as a security measure I have kept it password protected. I have used Apache authentication, using htpasswd file. Now I want to keep a logout in this web page, I tried to send a header request "http/1.0 401 Unauthorized" to force i

Re: [PHP] Re: Simple Question

2001-12-12 Thread J.F.Kishor
hello, I don't know how for I got your problem but, If you trying to print a string like this eg : print "This is Tom's book"; In the above case you need not use a back slash to escape the single quote coz' php accepts single quote's within a double quote. Otherwise you

[PHP] Header error while creating an Image

2001-12-14 Thread J.F.Kishor
hello, I'am trying to create an image using php image functions it gives a warning and outputs a image with GIF87a format, why does this happen, could some help me out in this problem. This is the script -- Warning alerted is ---

[PHP] Is there a way to Unset environment variables ?

2001-12-14 Thread J.F.Kishor
hello all, I have got a problem I want to remove one or more evvironment variables from those passed by apache authentication. eg : $PHP_AUTH_USER, $PHP_AUTH_PW, REMOTE_USER and similar ones I went through apache documentation and I found some options like "PassEnv, SetEnv and UnsetEnv", is t

[PHP] Logout problem - help me out....!

2001-12-14 Thread J.F.Kishor
hello all, I have already posted this mail, Is there anyone to help me out?, it's urgent plz.! I have designed a web page using php, as a security measure I have kept it password protected. I have used Apache authentication, using htpasswd file. Now I want to keep a

Re: [PHP] PHP command for issuing UNIX command???

2001-12-14 Thread J.F.Kishor
hello scott, Yes..! you can use system() comand It goes like this system("touch filename.ext"); // creates a file and file will be owned by nobody If you want to change the file permission do the following chmod("filepath/filename", 755); decimal; probably

[PHP] Error while calling a function

2001-12-18 Thread J.F.Kishor
hi all, I have got a problem, when I execute the following script it gives a Fatal error, could any one tell me why is it ?, If this is a silly problem please execuse me but, plz do reply me. The script is - Telephone Number : } else { function is_allnu

Re: [PHP] Error while calling a function

2001-12-18 Thread J.F.Kishor
the closing "" tag. > > Jim > - Original Message - > From: "J.F.Kishor" <[EMAIL PROTECTED]> > To: "PHP Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, December 18, 2001 5:26 AM > Subject: [PHP] Error while calling a funct

Re: [PHP] Error while calling a function--Thanks

2001-12-20 Thread J.F.Kishor
Hi pals, Thanks a lot for all the PHP pals , I have recoded my script an' now itz working fine. cheers an' regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] How to insert and select images from postgres db

2005-03-30 Thread J.F.Kishor
Hi, I am having a problem in storing and selecting images in and from postgres. My requirement is I have to select the image from the database and display it in User Interface. Can anyone help me through this problem, I'am in need of this solution

RE: [PHP] How to insert and select images from postgres db

2005-03-30 Thread J.F.Kishor
mails, otherwise You will receive no or poor help since the question is HUGE > > Sincerely > Kim Madsen > Systemdeveloper > > > -Original Message- > > From: J.F.Kishor [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 30, 2005 1:41 PM > > To: php-

[PHP] Two version of PHP in single server

2005-11-28 Thread J.F.Kishor
Hi, I have a query, can we run two versions of PHP in linux 7.2 server. I want to use PHP 4.x for one application and PHP 5.1.0 for another application in the same server. Do I need to do some configuration changes to set the php path. T

Re: [PHP] Two version of PHP in single server

2005-11-28 Thread J.F.Kishor
can (or at least should be able > to) install one version as server-parsed and the second as cgi, > though that may not meet your needs. > > > Original Message ---- > > Date: Monday, November 28, 2005 12:07:02 PM +0530 > > From: "J.F.Kishor&qu