[PHP] php code

2003-10-21 Thread Uma Shankari T.
Hello, Actually i have created the field type as varchar..i am need to insert some decimal values in that varchar field and use that values for calculation...so it is possible to store the float value eventhough i specified as varchar ?..and also i can use that values for calculation ?? Regar

[PHP] data type conversion in mysql using php

2003-10-20 Thread Uma Shankari T.
Hello, Is it possible to update the float value of mysql to varchar field by using php ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Back option using php

2003-10-17 Thread Uma Shankari T.
Hello, Is there any way to restrict the user not to go back once he submitted the html form ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] About PHP introduction

2003-10-08 Thread Uma Shankari T.
Hello, I need to give a presentation about php & mysql. Can any one please tell me the url there i can find useful stuffs about php & mysql ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] remove spaces using php function

2003-10-07 Thread Uma Shankari T.
Hello, Is there any function which will remove extra spaces between each words..?? for example if the user typed asked his friend.. is there any function to remove the extra space between his and asked except one space ?? Regards, Uma -- PHP General Mailing List (http://www.php.n

[PHP] About php String function

2003-09-24 Thread Uma Shankari T.
Hello, I am using strpos function for finding the string position in a particular string .If the string value is equal to zero or greater than zero some steps to be executed. If the position is empty it is taking as zero value and executing the steps under equal to zero loop..Is there any

[PHP] Function in php

2003-09-23 Thread Uma Shankari T.
Hello, I am using strpos function for finding the string position in a particular string . if the searching string is empty it is showing this warning error Warning: Empty delimiter in filename text.php on line 33 is there any other way to avoid displaying this warning error..?? Regards,

[PHP] Database updation

2003-09-05 Thread Uma Shankari T.
Hello, I am running mysql from my hard disk..i am trying to write some contents while during running in to the database the values are not getting updated..it is not giving any error message also..i am running apache and php from the CD itself..is it necessary that the php and apache should

[PHP] Screen Resoultion

2003-08-14 Thread Uma Shankari T.
Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail functions in php

2003-07-23 Thread Uma Shankari T.
Hello, I need to send audio/video files through PHP mail() function. What is the MIME type i need to use?  or else Is there any other way to send attachment as a mail?   Please help me.   Thanx in advance, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Value for entire file

2003-07-17 Thread Uma Shankari T.
Hello, I am facing one problem..i am getting one variable value from another file by using href..I need to use that value in the entire file..how can i do that..?? for example i am using the href like this.. i am passing the Apr1998 to the index file..i need to use the Apr1998 value full

[PHP] Sendmail Problem

2003-06-09 Thread Uma Shankari T.
Hello, I am having some problem in sendmail using this code. $MP = "/usr/sbin/sendmail -t -f [EMAIL PROTECTED]"; i am running this program in one of the server not in the main server.. actually mail will go from this server to mainserver which will deliver the mails outside..but using th

RE: [PHP] Session Handling

2002-11-06 Thread Uma Shankari T.
On Wed, 6 Nov 2002, John W. Holmes wrote: JWH>You must call session_start before any output to the browser. A blank JWH>line or space outside of PHP blocks is considered output. The error JWH>message tells you exactly where the output started. Read the manual for JWH>more information, it's all co

[PHP] Session Handling

2002-11-06 Thread Uma Shankari T.
Hello, I have tried session handling..after starting the session i am trying to get the value by this command session_start(); echo $varname; but it is displaying this error.. Warning: Cannot send session cookie - headers already sent by (output started Can anyone tell me how to go ab

RE: [PHP] Session handling

2002-11-05 Thread Uma Shankari T.
JWH>SESSIONs have nothing to do with it, this is a javascript issue, unless JWH>you plan on submitting the form when the user picks the year. Okay if it is like form submittion Can you please tell me how to do that..?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Session handling

2002-11-05 Thread Uma Shankari T.
Hello, I am having two list box of which one contains the year no and the another one contains the items related to that year..If once i have selected that year then whatever i have selected in the list it have to show the items related to that year until i select the next year..Can anyon

[PHP] Option value

2002-10-15 Thread Uma Shankari T.
Hello, Is it possible to extract the value option which item name selected..for example i am having list of soap brand in the options..is it possible that to tell that the user seleced this brand of soap while in the submittion of the form..can any one please tell me how to do this.. Regard

Re: [PHP] Incrementing the value

2002-10-03 Thread Uma Shankari T.
Hello, PN>src="Gif/nextque.gif" PN> border="0"> i have written code such that initially it will display the value correspond to the value 1..after every click it will increment the value 2,3...so on..but now it is displaying the value 1 and for after each click again it is displaying 1

[PHP] Incrementing the value

2002-10-02 Thread Uma Shankari T.
Hello , While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows platform..the value is not getting increment..Can anyone please tell me how to go abo

Re: [PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello, PN>Hey, PN>Whats the php version on the window machine? register_globals on? I am using php4 and also the register_globals are On only.. PN>Try: PN>src="Gif/nextque.gif" PN> border="0"> Already i have tried this code also..Can anyone please tell me how to go about with this ?? Regards

[PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello , While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows platform..the value is not getting increment..Can anyone please tell me how to go about

[PHP] Install php under some other drive

2002-10-01 Thread Uma Shankari T.
Hello, I am trying to install php under some other drive like d: or e: ..it was installed properly without telling any error...but i couldn't run even the testing program ( ) I have mentioned in the php.ini and apache conf file with d: where ever i have mentioned c: ..but it not coming..C

RE: [PHP] Configure php for windows

2002-09-30 Thread Uma Shankari T.
Hello, On Tue, 1 Oct 2002, Peter Houchin wrote: PH> ScriptAlias /php/ "c:/path-to-php-dir/" PH> PH>one would assume that you change the "C:/path-to-php-dir/" to the path of PH>the cd drive to get it to work I have changed like the following you have mentioned above..abut anyway it couldn;t r

[PHP] Configure php for windows

2002-09-30 Thread Uma Shankari T.
Hello, I am trying to run php from the cd itself..apache and mysql are running.. To what i have to change the following settings so that it will run from the cd.. * ScriptAlias /php/ "c:/path-to-php-dir/" * AddType application/x-httpd-php .php * Add

[PHP] PHP running from CD through windows

2002-09-30 Thread Uma Shankari T.
Hello, I have installed php,apache and mysql under one folder and copied the same folder to the cd .apache and mysql is up and running while executing from the cd ..but php is not working..when i opened the php file it is asking for through which you want to view..I have copied the same wor

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Chris Shiflett wrote: CS>Uma, CS> CS>I'm sorry, but I'm still confused. Maybe someone else better understands CS>your question. CS> CS>Given the following example script, delay.php: CS> CS>echo $_GET["hid"]; CS>?> CS> CS>A URL such as http://example.org/delay.php?hi

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, CS> CS>So, you are saying your URL looks something like this: CS> CS>http://example.org/delay.php?hid=4 Yes..my url is look like this only.. CS> CS>And, when you output the value of $_GET["hid"], it outputs 3? CS> But in the url the value are getting incremented and it is displaying t

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Sascha Cunz wrote: SC>Oops, of course you must add one to it, too. like: SC> SC> Still it is incrementing but not fetching the value correspond from the database..In linux paltform it is working without any error..Can anyone please tell me how to go about with th

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Sascha Cunz wrote: SC>I think your linux plattform has a version of PHP older than 4.2.0 and your SC>Windows machine has a newer Version. In this "old" Versions, Register_Globals SC>was turned on. SC>Try to access $hid by using: SC> I have tried like the code

[PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello , While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows platform..the value is not getting increment..Can anyone please tell me how to go about

[PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello , While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows platform..the value is not getting increment..Can anyone please tell me how to go about

[PHP] PHP & mysql configuration for windows

2002-09-26 Thread Uma Shankari T.
Hello, I have installed and mysql and configured php also..But in mysql it is not fetching the data's.In the mysql error file it is displaying an error message like InnoDB file path is not setup ...Can anyone please tell me in which place have to set the path..?? mysql is up .. Regards, U

Re: [PHP] Configure php for windows

2002-09-25 Thread Uma Shankari T.
On Thu, 26 Sep 2002, Justin French wrote: JF>What test are you running? JF> JF>Justin I am running this code only.. Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Configure php for windows

2002-09-25 Thread Uma Shankari T.
Hello, I have installed php in windows machine and configure php according to the manual given in the net..While running test program it is not displaying the result properly and not showing any error also..Apache is running..Can any one pls tell me how to go about with this..?? Regards,

[PHP] Installing php in windows 95

2002-09-24 Thread Uma Shankari T.
Hello, I need to install php for windows under particular folder namely under C:\web..In the installation manual it is mentioned that dll should be copied to c:\windows..but the dll is not available under c:\web...can any please telll me how to do this.. Regards, Uma -- PHP General Mail

[PHP] Using Javascript

2002-07-21 Thread Uma Shankari T.
Hello, I need to display a value on the text box during onClick event where the data is fetched from the database..I have given the code like this but it is giving unterminated string constant.. "); Can anyone please tell me how to solve this ... Thanks & Regards, Uma -- PHP General M

[PHP] Increment

2002-06-30 Thread Uma Shankari T.
Hello, Can anyone please clear my doubt... Actually i am retrieving the entire record details from the database..I want to display 1 row at a time..after clicking a button i want to display the next record..after clicking the next button i want to display the 3 record and so on..How do i go ab

[PHP] Library Function

2002-06-25 Thread Uma Shankari T.
Hello, Is there any built in function in php to read character by character of the value stored in the variable...?? Thanks & Regards, Ums -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time Delay using phpscript

2002-06-23 Thread Uma Shankari T.
Hello, Can anyone please clear my doubt I need to display some strings one by one after some specific time..In javascript we can use setTimeout() function.Is there any function like this in phpscript ???.. Thanks & Regards Uma -- PHP General Mailing List (http://www.php.net/) To un

[PHP] checking some presence lines continuously using php

2002-06-12 Thread Uma Shankari T.
Hello, Can anyone please tell me how to do the following... I am having one text file..by checking some presence lines continuously i have to extract that line and manipulate them..how i will do this..Can anyone please suggest me how do i go about with this... For example First: <..> Secon

[PHP] Files

2002-06-06 Thread Uma Shankari T.
Hello, Can anyone please clear my doubt... I am having the input data in one file. i need check whether some lines are there continuosly in that file and i have to extract that line using file operation commands in php..how do i go about with that ?? can anyone please tell me Waiting for you

[PHP] Mailing Archieve

2002-05-27 Thread Uma Shankari T.
Hello, Can anyone please tell me how to create a mailing archieve list Thanks in advance Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Display mail

2002-05-10 Thread Uma Shankari T.
Hello, Can anyone please tell me is there any to display the mails like mailing archieve, in one of the folder in Pine.. Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] API Calls

2002-04-01 Thread Uma Shankari T.
Hii, Can anyone please tell me how to write API call code for creating a table in mysql.. How we will know that the user gives how many number of fields Thanks & Regards Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Create table

2002-03-27 Thread Uma Shankari T.
Hello, Can anyone please tell me how to create a table in mysql using php code.. -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorting

2002-03-20 Thread Uma Shankari T.
Hii, Actually i want to sort the files form mysql database using php sorting.I can get the correct result using php sorting if the data's are stored in the array like this format. $temp=array("apple","Orange","Gova") please tell me how i will store the field details in a array fetched from m

Re: [PHP] Store data in array

2002-03-18 Thread Uma Shankari T.
ve many ways to sort. Look at : sort(), asort(), arsort(), usort(), uasort() etc. AH> AH>Best regards, AH>Andrey Hristov AH> AH>- Original Message - AH>From: "Uma Shankari T." <[EMAIL PROTECTED]> AH>To: <[EMAIL PROTECTED]> AH>Sent: Monday, March 1

[PHP] Store data in array

2002-03-18 Thread Uma Shankari T.
Hello, Anyone can please tell me how to store the row details fetched from database to array so that to sort the same array after storing -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorting in php

2002-03-14 Thread Uma Shankari T.
Hello, Can anyone please tell me is there any function in php for sorting in which the contents are stored in array -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Crontab

2002-03-07 Thread Uma Shankari T.
> PH>lynx -dump PH> PH>-philip PH> PH>On Thu, 7 Mar 2002, Uma Shankari T. wrote: PH> PH>> PH>> PH>> Hello, PH>> PH>> I am facing some problem in the crontab...Can anyone tell me how to PH>> solve this PH>> PH>> Actuall

[PHP] Crontab

2002-03-06 Thread Uma Shankari T.
Hello, I am facing some problem in the crontab...Can anyone tell me how to solve this Actually i have written the php script to send mail to the users after a week.In the crontab i have made a entry so that it will trigger after 12.05. 5 0 * * * lynx http://info/php/MailForm.php

[PHP] Crontab

2002-02-26 Thread Uma Shankari T.
Hello, I need to run one php script using crontab.I am having this doubt.If the phpscript run in the command prompt then only we can run the script using crontab...please tell me how do i go about with this.. -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Subdirectory

2002-02-24 Thread Uma Shankari T.
Hello, Is there any function to display the subdirectory structure of the root directory using php... Is anyone know this plz tell me -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sendmail

2002-02-23 Thread Uma Shankari T.
Hello, Can anyone help me in solving this problem.. For sending mail using sendmail i have written the code like this but it is giving some error messages in the From address instead of address $TO=Me; $[EMAIL PROTECTED]; $fd = popen("/usr/sbin/sendmail -t","w"); fputs(

[PHP] Telnet

2002-02-21 Thread Uma Shankari T.
Hello, By using telnet option how i will send a mail from my machine using php..If any one came to know this plz tell me how to do it... -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Difference between two dates

2002-02-20 Thread Uma Shankari T.
Hello, I got the solution for the date difference problem..,, Thankyou very much. -Uma "Uma Shankari T." <[EMAIL PROTECTED]> wrote: > If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it > is displaying the wrong res

Re: [PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
ates in seconds: RL> RL>$diff = strtotime(str_replace('-','/',$str1)) - strtotime(str_replace('-','/',$str)); RL> RL>-Rasmus RL> RL>On Wed, 20 Feb 2002, Uma Shankari T. wrote: RL> RL>> RL>> RL>> RL>> Hello, RL>&g

[PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
Hello, How can i find out the difference between two dates. I am having the date like this $str="10-01-2001"; $str1="01-02-2002"; I need to find out the difference between the date,month and year. If anyone know the solution for this problem plz tell me -Uma -- PHP General Mai

Re: [PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
Andrey Hristov AH> AH>----- Original Message - AH>From: "Uma Shankari T." <[EMAIL PROTECTED]> AH>To: <[EMAIL PROTECTED]> AH>Sent: Tuesday, February 19, 2002 10:50 AM AH>Subject: [PHP] Difference between two dates AH> AH> AH>> AH>> AH>

[PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
Hello, How can i find out the difference between two dates. I am having the date like this $str="10-01-2001"; $str1="01-02-2002"; I need to find out the difference between the date,month and year. If anyone know the solution for this problem plz tell me -Uma -- PHP General Maili

[PHP] php

2002-02-13 Thread Uma Shankari T.
Is there any function to give write permission to one particular user for entire directory using php.. Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file uploading

2002-02-13 Thread Uma Shankari T.
Hello, I have written code to upload files from the browser itself.But only specified user can upload files for specific directory.That one also i have done.I have given permission to upload files to a directory.If there are any subdirectory how will write the code to upload files in the ent

[PHP] php

2002-02-08 Thread Uma Shankari T.
Hello, I have installed php3 in my machine.To make php connection with mysql what are the lines to be comment out in apache conf file.Here i am attaching the some parts of apache conf file -Uma ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA ser

[PHP] Re: [PHP-INST] Default mysql path

2002-02-02 Thread Uma Shankari T.
ldn't guess where is the error Can u guess where is the error?. If u came to know this tell me as soon as possible -Uma On Sat, 2 Feb 2002, David Jackson wrote: > should be /usr/local/mysql. > > "Uma Shankari T." wrote: > > > > Hello, > > > &

[PHP] Default mysql path

2002-02-02 Thread Uma Shankari T.
Hello, I have installed php and mysql in my machine.By default in which path php check for mysql Anyone can know this tell to me as soon as possible -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] Mysql & php

2002-02-01 Thread Uma Shankari T.
Hello, I am trying to connect php and mysql with the following syntax mysql_connect("localhost","username","password"); But it is giving error NoMysql support. Also i have stored the files in another webserver and trying to connect the mysql and php in the localhost it is working prope

RE: [PHP] Problem

2002-01-30 Thread Uma Shankari T.
I have installed php3 -Uma --- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to w

[PHP] Problem

2002-01-30 Thread Uma Shankari T.
I have installed mysql and php successfully.While connecting with mysql it is giving error like this ss.php: No mySQL support on line 11 $link=mysql_connect("$hostname","$username","$password"); Manually i can connect mysql by giving like this mysql -uusername -ppassword It is connecting

Re: [PHP] PHP & Mysql

2002-01-29 Thread Uma Shankari T.
Hello, Already i am having so many details in my mysql database.If i do this it won't affect the previous one.. -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 admi

Re: [PHP] PHP & Mysql

2002-01-29 Thread Uma Shankari T.
Hello, How do i recompile with mysql support -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] PHP & Mysql

2002-01-29 Thread Uma Shankari T.
Hello , I am trying to connect mysql using php script like this $link= mysql_connect('$servername','$username','$password'); but it is giving Fatal error call to undefined function mysql_connect() I have checked wheather php is installed properly by using this phpinfo(); Everything is o

[PHP] Mysql Connection

2002-01-28 Thread Uma Shankari T.
Hello, How do i check php support mysql.. If any one came to know this tell me... 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: [

[PHP] Mysql Connection

2002-01-28 Thread Uma Shankari T.
Hello, I have installed php3 in my system.I want to connect with mysql.I have given this code $link=mysql_connect("localhost","username","password") or die("could not connect"); but it is giving Fatal error: Call to undefined function: mysql_connect() Why it is showing like. Mys

[PHP] Sendmail

2002-01-28 Thread Uma Shankari T.
Hello, The system have to send mail automatically to the username stored in mysql table.I am having the details of usermailid,date.By using php script how do i go about with this Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Problem in mysql connection

2002-01-25 Thread Uma Shankari T.
Hello, I have installed php4 rpm in my machine.while connecting php with mysql it is giving fatal error.I have given like this mysql_connect("$servername","$username","$password"); Why it is so .. Is there any other files i have to install to access the database?? Regards, Uma

[PHP] Problem in mysql connection

2002-01-25 Thread Uma Shankari T.
Hello, I have installed php4 rpm in my machine.while connecting php with mysql it is giving fatal error.I have given like this mysql_connect("$servername","$username","$password"); Why it is so .. Is there any other files i have to install to access the database?? Regards, Uma

Re: [PHP] File Uploading

2002-01-21 Thread Uma Shankari T.
Hello, When i upload the file it is updating only in the document root directory.It is not updated in some other directory except the root directory.why is it so? Any one tell me the solution for this? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Printout paper

2002-01-21 Thread Uma Shankari T.
Hello, How we find out how many printout pages taken by each user using php script? 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: [EMA

[PHP] File Uploading

2002-01-21 Thread Uma Shankari T.
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-m