[PHP] Regarding cache problem (fwd)
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 time. As a test I tried it in Netscape 7 instead of Netscape 4.75 and it worked as expected. I would like to get some help to fix it in the earlier version of Netscape. With lots of hope I'am expecting valuable solution. Thanks & Regards, - JFK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and JAVA
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 and steps involved in it, so that I can start experimenting on it further. I'am in a urgent, I request you to help me as soon a possible. Thanks in advance cheers, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compile php
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] String Question
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 like to be able to do the following but have not figured out a way to handle >it > > $string="abcdefghijklmnopqrstuvwxz"; > > I would like to divde the above string into separate strings 8 charactes long , >example > > $string1=abcdefgh > $string2=ijklmnop > $string3=qrstuvwx > $string4=yz > > if the string were only 10 long > > $string=abcdefghij > > then > > $string1=abcdefgh > $string2=ij > > any suggestions would be greatly appreciated. > > Thanks, > > > Randy > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Passing Array from one form to another form
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. Thanks in adv, Cheers, kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Scratch card 14 digit number generation
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 Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] AUTO_INCREMENT problems
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 "auto increment" column. But when I do I get > this... > > ALTER TABLE patients CHANGE id id MEDIUMINT (9) DEFAULT not null > AUTO_INCREMENT > > MySQL said: You have an error in your SQL syntax near '' at line 1 > > ..what did i do wrong? > > Thanks! > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] File Uploading
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 hidden field must precede the file input field and its value is the maximum filesize accepted. The value is in bytes. In this destination file, the following variables will be defined upon a successful upload: * $userfile - The temporary filename in which the uploaded file was stored on the server machine. * $userfile_name - The original name of the file on the sender's system. * $userfile_size - The size of the uploaded file in bytes. * $userfile_type - The mime type of the file if the browser provided this information. An example would be "image/gif". Example 2. Uploading multiple forms -- Send these files: When the above form is submitted, the arrays $userfile, $userfile_name, and $userfile_size will be formed in the global scope (as well as in $HTTP_POST_VARS). Each of these will be a numerically indexed array of the appropriate values for the submitted files. For instance, assume that the filenames /home/test/review.html and /home/test/xwp.out are submitted. In this case, $userfile_name[0] would contain the value review.html, and $userfile_name[1] would contain the value xwp.out. Similarly, $userfile_size[0] would contain review.html's filesize, and so forth. cheers, kishor Nilgiri Networks > On Mon, 21 Jan 2002, Uma Shankari T. wrote: > > > > > > > Hello, > > > > How to upload files in a particular directory using php script in the > > browser itself > > > > > > Regards, > > Uma > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] UPDATE - MySQL having some trouble
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, $firstname, $username ) should be enclosed by quotes, if all the fields are character. > > Anything wrong with my syntax here? Goodluck! cheers, kishor Nilgiri Networks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] IP based redirection
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 according to the result of the check. Good luck cheers JFK kishor Nilgiri Networks. On Sat, 2 Feb 2002, [EMAIL PROTECTED] wrote: > Could you please help us, to redirect some of our pages to based on IP > address. We have used SmartRedirect program but it is not working on > with some of our ISP's IP address. We are located at India, and like > to have some language specific pages to be displayed to our Indian > user while english language to other world. Thanks, > > Hemant Kumar > DInsol.com > http://www.dinsol.com/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to get the URL into a var?
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 /home// /public_html/subapp/test.php echo "
path : $path
"; regards - JFK kishor Nilgiri Networks On Sat, 2 Mar 2002, Andy wrote: > Hi there, > > I am trying to find out which dir the user is browsing. How can I get the > URL into a var? I tryed path_info, but it only returns the filename. > > Here is an example: > > URL: http://www.server.com/subapp/test.php > > Should return : > > subapp > > Is this possible?? > > Thanx for any help > > Cheers Andy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Get file download time.
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Advantages of php
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 security and other important features. What is the main difference between Form Post and Get method.? Note : I need atlest 10 points on PHP's security. Thanks in Adv - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Is there a way to put a scroll in a table ???
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 number of rows returned may be 10, 100 or more then 100, since I have to show all three table in a single form, I have decided to display five rows in each table, so I need to put a scroll in all the tables through which the user could scroll till the last records. 1. Is there any other solution to solve it out ? 2. Is there a way to put a scroll in a table ? I tried using layers and its working fine in Internet explorer, and in Netscape the scroll does'nt work. I kindly request you, to help me out in this problem. Thanks in adv.. - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a way to put a scroll in a table ???
Hello Sir, Thanks for your response, but my problem is I have a main form, from which I get the user's input(i.e user can select the start date and end date), using these date I have to fetch records from the tables. If I use frames, then how to send the prameters from main form to other three scripts, I tried this before but I'am not able to get the arguments in the frames file. I don't want to use Java Applet. I have to do this with PHP and HTML, If there is a way to send a value to three different file at a time then that would be great. If possible please send me some samples. > Heck I would probably suggest using frames. You could even get pretty slick > with it by going with iFrames for IE and frames for Netscape. Of course > there is the other option of using a Java Applet... > > There are what first occured to me, Im sure there are plenty 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 there a way to put a scroll in a table ??? > > > > 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 number > > of rows returned may be 10, 100 or more then 100, since I have to show > > all three table in a single form, I have decided to display five rows in > > each table, so I need to put a scroll in all the tables through which the > > user could scroll till the last records. > > > > 1. Is there any other solution to solve it out ? > > 2. Is there a way to put a scroll in a table ? > > > > I tried using layers and its working fine in Internet explorer, and in > > Netscape the scroll does'nt work. > > > > I kindly request you, to help me out in this problem. > > > > Thanks in adv.. > > > > - JFK > > kishor > > Nilgiri Networks > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Return the column names of MySQL table?
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 the MySQL documentation, on Usenet, or the MySQL mailing list > archives. Also MySQL.com's mail manager is on the fritz so I can't > even subscribe to the MySQL email list. Anyway since many of you are > familiar with SQL this is as good a place to ask this question as any. > > I simply need to return a list of column names of a MySQL table. What's > the syntax to do that? > > Thanks, > Kevin > -- - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How can the Surfer download without any button
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 Arun E-mail ID : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Logout problem
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 it to reauthenticate when the logout link is clicked in the form, but this dose not work. I tried using session_destroy() even that does not work. To get the authenticated users name I have used GetEnv("REMOTE_USER") in all the form and with that username I'am handling mysql and other requests. I don't know where exactly the REMOTE_USER gets stored. So please help me out in this problem. I want to remove the window's authentication cache. Please give me some ideas and suggestion to remove the user name and make the page fresh for the other user to log in. If possible please send me a sample script. kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Simple Question
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 can use stripslashes() which works like this. string stripslashes(string str); Returns a string with backslashes stripped off. (\' becomes ' and so on.) Double backslashes are made into a single backslash. regards - JFK > >"Tom Ray" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > >>I have a quick question that I haven't been able to find the answer to > >>yet. I've made a couple of guest books via PHP but the biggest problem > >>I'm having is if any one inputs a ' or " or anything like that, the > >>output in the book shows the stupid \ for the escape. So the word > >>"Tom's" looks like "Tom\'s" Is there anyway for me to handle those > >>characters so the backslash doesn't appear in the output? > >> > >>Thanks, > >>Tom > >> > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Header error while creating an Image
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 -- Warning: Cannot add header information - headers already sent by (output started at /home/kuruvi1/kishor/public_html/GD/creatingIMG.php:2) in /home/kuruvi1/kishor/public_html/GD/creatingIMG.php on line 4 -- Junk output is --- - GIF87a9CU_11EraalUYIAAf11__O<99 @ ` @\*6Z>@<6#%,9I#< A"A CI"ACA E#YU ( @ a#",EX(R X#Y"*(B H#I3> " EC< A [] - Thanks for sparing time for this mail with regards -JFK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Is there a way to Unset environment variables ?
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 there anything as such in php to do similar jobs. please help me out to solve this problem. Thanks a lot for spending time for my mail. with regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Logout problem - help me out....!
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 logout in this web page, I tried to send a header request "http/1.0 401 Unauthorized" to force it to reauthenticate when the logout link is clicked in the form, but this dose not work. I tried using session_destroy() even that does not work. To get the authenticated users name I have used GetEnv("REMOTE_USER") in all the form and with that username I'am handling mysql and other requests. I don't know where exactly the REMOTE_USER gets stored. So please help me out in this problem. I want to remove the window's authentication cache. Please give me some ideas and suggestion to remove the user name and make the page fresh for the other user to log in. If possible please send me a sample script. Thanks for sparing time on this mail. with hope's, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP command for issuing UNIX command???
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 incorrect chmod("filepath/filename", 0755); correct value of mode if you want to change the file owner chown(string filename, mixed user); Attempts to change the owner of the file filename to user user. Only the superuser may change the owner of a file. Returns true on success; otherwise returns false. Note : Windows does nothing it just returns true same as above you can also change the group chgrp(string filename, mixed group); Attempts to change the group of the file filename to group. Only the superuser may change the group of a file arbitrarily; other users may change the group of a file to any group of which that user is a member. Returns true on success; otherwise returns false. Note : Windows does nothing it just returns true since you want to create a file temporarily you can keep the file owned as nobody. After your work is over you can remove it. system("rm -f filename"); for more informations about the above commands go through the manuals cheers - JFK On Fri, 14 Dec 2001, Scott Fletcher wrote: > Hi! > > I wanted to know if there is a PHP code or function that would allow the > PHP to issue the UNIX command. > > What I'm doing here is I'm trying to tell PHP to create a file by > issuing hte UNIX command then I can use the PHP to open the file to enter > the data. Once I'm done with the file, I can use the UNIX to run the script > in the file to communicate with the modem by executing the file. When I'm > done then I can open an another file to grab the data that had be received > by the modem and do the PHP things to do something with hte data. When > done, then I can use the PHP to tell UNIX to delete the file and Voila! > > Thanks, > Scott > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Error while calling a function
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_allnumbers ($text) { if( (gettype($text)) == "integer") { print "the value is an integer"; return true; } $Bad = $this->strip_numbers($text); if(empty($Bad)) { print "the value is empty"; return true; } return false; } function clear_error () { $this->ERROR = "this is an error"; } function is_phone ($Phone ="") { if($this->CLEAR) { $this->clear_error(); } if(empty($Phone)) { $this->ERROR = "is_phone: No Phone number submitted"; return false; } $Num = $Phone; $Num = $this->strip_space($Num); $Num = eregi_replace("(\(|\)|\-|\+)","",$Num); if(!$this->is_allnumbers($Num)) { $this->ERROR = "is_phone: bad data in phone number"; return false; } if ( (strlen($Num)) < 7) { print "the number is less then 7"; $this->ERROR = "is_phone: number is too short [$Num][$Phone]"; return false; } if( (strlen($Num)) > 13) { print "the number is > then 13"; $this->ERROR = "is_phone: number is too long [$Num][$Phone]"; return false; } return true; } } $result = is_phone($Phone); if($result == "true") { echo "success"; } else { echo "failure"; } The error is Fatal error: Call to undefined function: is_phone() in /home/kuruvi1/kishor/public_html/IMS/ADMIN/test/is_phone.php on line 87 Thanks for your tolerance, - JFK kishor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Error while calling a function
Hello Sir, Thanks for spending time for my mail and thanks for you kind response, but sir though php is a server side scripting language it supports the following tag This is mentioned in the php manual, and I have done lot of scripts of same kind using above tags an' all of them are working fine. This is part of php manual --- Migrating from PHP/FI 2.0 to PHP 3.0 Start/end tags The first thing you probably will notice is that PHP's start and end tags have changed. The old form has been replaced by three new possible forms: Example A-1. Migration: old start/end tags As of version 2.0, PHP/FI also supports this variation: Example A-2. Migration: first new start/end tags Notice that the end tag now consists of a question mark and a greater-than character instead of just greater-than. However, if you plan on using XML on your server, you will get problems with the first new variant, because PHP may try to execute the XML markup in XML documents as PHP code. Because of this, the following variation was introduced: Example A-3. Migration: second new start/end tags Some people have had problems with editors that don't understand the processing instruction tags at all. Microsoft FrontPage is one such editor, and as a workaround for these, the following variation was introduced as well: Example A-4. Migration: third new start/end tags echo "This is PHP 3.0 code!\n"; Thanking you, cheers :) - JFK kishor Nilgiri Networks On Tue, 18 Dec 2001, Jim Lucas wrote: > Plus, what is the tag for. > PHP is a server side language, not client side. > and you have the above mentioned tag inside of an IF statement. so, if the > statement doesn't return true, it will never print the openning tag but it > will always print 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 function > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Error while calling a function--Thanks
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-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to insert and select images from postgres db
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 by today. Regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] How to insert and select images from postgres db
Hi Kim, Thanks for your reply, I have'nt recived any other other help or suggestion from anyone other then you. Any how I have made it work it is working fine. Thanks again for your acknowledgement. Have a great day.! Regards, - JFK kishor Nilgiri Networks > Hi, > > I´ve never worked with postgres, but 2 things I can tell You. > > 1. look at php.net, search for postgres > 2. If You expect quick help, You better copy some of the code into Your > 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-general@lists.php.net > > Subject: [PHP] How to insert and select images from postgres db > > > > 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 by today. > > > > > > > > Regards, > > > > - JFK > > kishor > > Nilgiri Networks > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Two version of PHP in single server
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. To look up different versions based on the request of the application. Regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two version of PHP in single server
Hi, Thanks...! Even the second is server-parsed not cgi Some more suggestions are welcomed, so we can succeed in experimentation of Two version of PHP in same server. > i haven't tried this since php3/4, but it used to be that you could > install them both (as server parsed, not one as a cgi) and then use > different file extensions (and appropriate apache entries) to direct > which php version parsed the page. e.g., we used ".php3" to use the > php3 install and ".php" for php4. > > i have a sense that this may be harder (or potentially impossible) > now, but you may want to look at the apache install documentation to > see if it gives hints. there used to be information in, i believe, > the apache source install documentation explaining how to do this. > > as someone else has indicated, you 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" <[EMAIL PROTECTED]> > > To: php-general@lists.php.net > > Subject: [PHP] Two version of PHP in single server > > > > 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. To look up different versions based on the request of > > the application. > > > > > > > > Regards, > > - JFK > > kishor > > Nilgiri Networks > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- End Original Message -- > -- Regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php