Re: [PHP] problem in onclick

2011-05-20 Thread Ashley Sheridan
On Sat, 2011-05-21 at 00:42 +0430, Negin Nickparsa wrote: > why URL? I've read over this thread and the other one you created earlier. I really think you would do better if you took an hour or so to read over how the typical client/server web model works, as this is leading to a lot of confusion

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
why URL?

Re: [PHP] problem in onclick

2011-05-20 Thread Robert Cummings
On 11-05-20 03:27 PM, Negin Nickparsa wrote: i want to click on the image then it stores the session so i can have many different tables in another one unique page suppose that i have A in my column when i click on image then it showed me the table of A in another page but if i click on the image

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
it is the result!!! Now = getdate(time()+TIMESEED*60); else $this->Now = getdate(($mode? $dd:strtotime($dd))); $this->Now["fyday"] = ($this->Now["yday"]+287)%365; if($this->Now["fyday"]==0) $this->Now["fyday"] = 365; } function getFarsiDate($mode, $fa=true, $echo=true) { $varStr = ""; switch($mode)

RE: [PHP] problem in onclick

2011-05-20 Thread admin
20, 2011 3:46 PM To: ad...@buskirkgraphics.com Cc: Robert Cummings; Andre Polykanine; tedd; php-general@lists.php.net Subject: Re: [PHP] problem in onclick i'm using http://localhost/ i don't have server like something.com i wrote url:'loadsession.php' instead of http:

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
i'm using http://localhost/ i don't have server like something.com i wrote url:'loadsession.php' instead of http://www.yourserver.com/loadsession.php', and i deleted src="http://www.yourserver.com/js/jquery.js"; but it doesn't work what i must write in there?

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
i want to click on the image then it stores the session so i can have many different tables in another one unique page suppose that i have A in my column when i click on image then it showed me the table of A in another page but if i click on the image of B then in the next page it will show me th

Re: [PHP] problem in onclick

2011-05-20 Thread Robert Cummings
On 11-05-20 03:06 PM, Negin Nickparsa wrote: Robert could u plz exactly tell me how i can work with GET and write my SESSION i tried your code abt session but i didn't get it right but for another ones i tried and it was right Hi Negin, What part are you having a problem with? The first part o

RE: [PHP] problem in onclick

2011-05-20 Thread tedd
At 2:57 PM -0400 5/20/11, HallMarc Websites wrote: > At 9:30 PM +0300 5/20/11, Andre Polykanine wrote: >Hi Richard, Tedd, > >Hey guys, you did understand what I meant. I meant you >can't just go and write a session variable by onclicking it in >JavaScript. You need

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
Robert could u plz exactly tell me how i can work with GET and write my SESSION i tried your code abt session but i didn't get it right but for another ones i tried and it was right

Re: [PHP] problem in onclick

2011-05-20 Thread Adam Richardson
On Fri, May 20, 2011 at 2:46 PM, tedd wrote: > At 9:30 PM +0300 5/20/11, Andre Polykanine wrote: > >> Hi Richard, Tedd, >> >> Hey guys, you did understand what I meant. I meant you >> can't just go and write a session variable by onclicking it in >> JavaScript. You need AJA

RE: [PHP] problem in onclick

2011-05-20 Thread HallMarc Websites
> And there are some hosting companies that offer servers that run JavaScript > server side like Jaxer That is not an endorsement of any kind. I have yet to > sign up for an account. I do know that the idea of running JavaScript server > side has been kicked around since I think 1996. I just took

Re: [PHP] problem in onclick

2011-05-20 Thread Robert Cummings
On 11-05-20 02:51 PM, HallMarc Websites wrote: And there are some hosting companies that offer servers that run JavaScript server side like Jaxer That is not an endorsement of any kind. I have yet to sign up for an account. I do know that the idea of running JavaScript server side has been kicked

RE: [PHP] problem in onclick

2011-05-20 Thread tedd
At 2:51 PM -0400 5/20/11, HallMarc Websites wrote: And there are some hosting companies that offer servers that run JavaScript server side like Jaxer That is not an endorsement of any kind. I have yet to sign up for an account. I do know that the idea of running JavaScript server side has been ki

Re: [PHP] problem in onclick

2011-05-20 Thread Robert Cummings
On 11-05-20 02:30 PM, Andre Polykanine wrote: Hi Richard, Tedd, Hey guys, you did understand what I meant. I meant you can't just go and write a session variable by onclicking it in JavaScript. You need AJAX for that, don't you? You need a trip to the server whether it

RE: [PHP] problem in onclick

2011-05-20 Thread HallMarc Websites
> At 9:30 PM +0300 5/20/11, Andre Polykanine wrote: > >Hi Richard, Tedd, > > > >Hey guys, you did understand what I meant. I meant you > >can't just go and write a session variable by onclicking it in > >JavaScript. You need AJAX for that, don't you? > > AJAX = JavaScript.

RE: [PHP] problem in onclick

2011-05-20 Thread HallMarc Websites
And there are some hosting companies that offer servers that run JavaScript server side like Jaxer That is not an endorsement of any kind. I have yet to sign up for an account. I do know that the idea of running JavaScript server side has been kicked around since I think 1996. -- PHP General Ma

Re: [PHP] problem in onclick

2011-05-20 Thread tedd
At 9:30 PM +0300 5/20/11, Andre Polykanine wrote: Hi Richard, Tedd, Hey guys, you did understand what I meant. I meant you can't just go and write a session variable by onclicking it in JavaScript. You need AJAX for that, don't you? AJAX = JavaScript. AJAX is simply Ja

Re: [PHP] problem in onclick

2011-05-20 Thread Andre Polykanine
//oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: ad...@buskirkgraphics.com To: 'tedd' Date created: , 9:19:15 PM Subject: [PHP] problem in onclick I use Jquery eve

RE: [PHP] problem in onclick

2011-05-20 Thread admin
ginal Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Friday, May 20, 2011 2:10 PM To: php-general@lists.php.net Subject: Re: [PHP] problem in onclick At 6:41 PM +0300 5/20/11, Andre Polykanine wrote: >that is completely wrong. You're mixing up two things: PHP is a

Re: [PHP] problem in onclick

2011-05-20 Thread tedd
At 6:41 PM +0300 5/20/11, Andre Polykanine wrote: that is completely wrong. You're mixing up two things: PHP is a server-side language, JavaScript is a client-side language. While that is true, it doesn't mean that the two languages can't communicate. Here's an example: http://webbyted

Re: [PHP] problem in onclick

2011-05-20 Thread Andre Polykanine
(mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Negin Nickparsa To: php-general@lists.php.net Date created: , 4:05:34 PM Subject: [PHP] problem in onclick i want to when clicking on the imag

Re: [PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
I tried,You solved my problem tanx very much Rob

Re: [PHP] problem in onclick

2011-05-20 Thread Robert Cummings
It is completely wrong... JavaScript is client side technology (your browser), PHP is server side technology (your web server). To do what you want, you SHOULD just wrap the image in a link: If you MUST use JavaScript, then you can use onclick() to redirect: onclick="document.location( 'wher

[PHP] problem in onclick

2011-05-20 Thread Negin Nickparsa
i want to when clicking on the image then go to other page or set my $_SESSION i have this in php code: echo""; how can i correct this or if it is completely wrong how 2 solve it? i tried to set header in onclick too but i think it can't do because header is function of php and i echoed the html t

Re: [PHP] Problem in image placing

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 06:35 -0500, Amit Bobade wrote: > Hi, I am Using PHP 5, I am trying to place an image in the black box in > proportional to that black box using the function:- *imagecopyresampled* ( > ). > But image is not placing proportionally. Is their another method to do > that. Plea

[PHP] Problem in image placing

2010-05-26 Thread Amit Bobade
Hi, I am Using PHP 5, I am trying to place an image in the black box in proportional to that black box using the function:- *imagecopyresampled* ( ). But image is not placing proportionally. Is their another method to do that. Please tell me. -- Regards, Amit

[PHP] problem in Computing hash of certificates

2009-12-12 Thread Tanveer Chowdhury
Hi all, I was willing to match two certificates using hash fn but the problem is when I fetch the certificate from apache its in pem format and when I fetch the cert from LDAP its in der so only this one needs to be converted to .pem format which I m doing but its showing me two diff. hashes. When

Re: [PHP] Problem in a generate password function

2008-03-31 Thread tedd
At 12:20 PM -0700 3/31/08, Jim Lucas wrote: I have a very similar routine, but for the previous line, since you can reference a string as an array, I do this: $char = $possible[mt_rand(0, strlen($possible)-1)]; In this example, it would save ten function calls, if not more. just a suggestion

Re: [PHP] Problem in a generate password function

2008-03-31 Thread Jim Lucas
Mário Gamito wrote: Hi, I have the code of a function to generate a random 10 character long password following my signature. To test it i do: $clearpass = create_pass(); print('Clear: ' . $clearpass); die(); But the output is only "Clear:" Why isn't it working ? Any help would be appreciat

Re: [PHP] Problem in a generate password function

2008-03-31 Thread Stut
Mário Gamito wrote: I have the code of a function to generate a random 10 character long password following my signature. To test it i do: $clearpass = create_pass(); print('Clear: ' . $clearpass); die(); But the output is only "Clear:" Why isn't it working ? Works fine here: http://dev.stu

[PHP] Problem in a generate password function

2008-03-31 Thread Mário Gamito
Hi, I have the code of a function to generate a random 10 character long password following my signature. To test it i do: $clearpass = create_pass(); print('Clear: ' . $clearpass); die(); But the output is only "Clear:" Why isn't it working ? Any help would be appreciated. Warm Regards, Már

Re: [PHP] problem in

2007-08-14 Thread Richard Lynch
On Mon, August 13, 2007 11:35 pm, shivendra wrote: > > > Sir,u r not getting what i m trying to say,my problem is how can i > send the > values of s in a perticuler row,by a function in onClick event of > that > row.actuallly the values are coming from database,and i what i want > when i > click a

Re: [PHP] problem in

2007-08-14 Thread sanjeevn
basically you want your page needs to be submitted to the next page when you click on the so do one thing. create 2 forms.. form 1 will have your main table and the datas form 2 will have hidden inputs for each you need to assign a variable called rownumber and create the hidden fields in each

Re: [PHP] problem in

2007-08-13 Thread shivendra
Sir,u r not getting what i m trying to say,my problem is how can i send the values of s in a perticuler row,by a function in onClick event of that row.actuallly the values are coming from database,and i what i want when i click a perticuler row the values are sent to some other page: monu23

Re: [PHP] problem in

2007-08-13 Thread Richard Lynch
On Sat, August 11, 2007 4:58 am, shivendra wrote: > > hello friends, > i need your ehlp,actually i have a tablbe in my php page,the format is > something like this: > > > monu23 > > > monu23 > > > What i want,when i click a row like row "t1" the values of this > particuler > row,i means to sa

Re: [PHP] problem in

2007-08-13 Thread Jim Lucas
shivendra wrote: hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: monu23 monu23 What i want,when i click a row like row "t1" the values of this particuler row,i means to say the value in s((monu,23) of this row is send to some other

[PHP] problem in

2007-08-11 Thread shivendra
hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: monu23 monu23 What i want,when i click a row like row "t1" the values of this particuler row,i means to say the value in s((monu,23) of this row is send to some other page similarly,whe

[PHP] problem in using ldap_add() function

2007-03-05 Thread Arun Sadasivan
Hi , i m trying to insert a new user account into the ldap using php . bt i m getting the following warning and the data is not geting inserted _ Warning: ldap_add() [function.ldap-add]: Value array must have consecutive indices 0, 1, ... in /

[PHP] problem in using ldap_add() function

2007-03-05 Thread Arun Sadasivan
Hi , i m trying to insert a new user account into the ldap using php . bt i m getting the following warning and the data is not geting inserted *Warning*: ldap_add() [function.ldap-add]: Value array must have consecu

[PHP] problem in installing php5

2005-11-30 Thread R.Vijay Daniel
Hi, I tried to install php5 in redhat7.2,but i was unable to do so. There was some problem related to libxml2. I even tried down loading the libxml2 rpm and upgraded the package.Even then some other problem occured related to libxml2. is that possible to install php5 in redhat7.2 ?. with regar

[PHP] problem in create new diretory..

2005-11-18 Thread ganu ullu
Hello all, I have created a new dir, with php code .. which is like that function mkDirE($dir,$dirmode=777) { if (!empty($dir)) { if (!file_exists("./microsite/".$dir)) { preg_match_all('/([^\/]*)\/?/i', $dir,$atmp); $base=""; foreach ($atmp[0] as $key=>$val) { $base=$base.$val; if(!file_exists(".

Re[2]: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Philip, Thursday, November 18, 2004, 6:52:19 PM, you wrote: PT> Someone correct me if I'm wrong on this, but globals are only PT> global to that specific file. I'm being pedantic here, but they're not really global to *files*, more to "sessions" (not in the $_SESSION sense of course). All

Re: [PHP] problem in my php code

2004-11-18 Thread Philip Thompson
On Nov 18, 2004, at 10:46 AM, Hongwei Li wrote: Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. [snip] no values are displayed. Apparently, $obj is not passed to tsnext.php and tsshow.php (the second time), but $ind

Re: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Hongwei, Thursday, November 18, 2004, 4:46:00 PM, you wrote: HL> no values are displayed. Apparently, $obj is not passed to HL> tsnext.php and tsshow.php (the second time), but $ind is. What is HL> wrong in the above codes? Can somebody help me? Unless there was some code missed out, I can

[PHP] problem in my php code

2004-11-18 Thread Hongwei Li
Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. 1. tsstart.php: -- this is the start point to be browsed 2. tsdata.php: -- to get data, here I set it as a 2-d array and assign values to it to simplify the code

Re: [PHP] Problem in the output of an array

2003-11-29 Thread Robert Cummings
On Sat, 2003-11-29 at 19:47, Robert Cummings wrote: > On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote: > > I'm soory but your code doesn't make me understand what you want to do... > > Be more precise, it will help you to get some help > > > > > I have this code, I would like, if this could b

Re: [PHP] Problem in the output of an array

2003-11-29 Thread Robert Cummings
On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote: > I'm soory but your code doesn't make me understand what you want to do... > Be more precise, it will help you to get some help > > > I have this code, I would like, if this could be done > > > > > $array['dim1']['dim2']['dim3'][3] = "value";

Re: [PHP] Problem in the output of an array

2003-11-29 Thread sophie
now i understand your pb but have no idea to solve it good luck... > I'm soory but your code doesn't make me understand what you want to > do... Be more precise, it will help you to get some help > > I have this code, I would like, if this could be done > >> > > > $array['dim1']['dim2']['dim3'][3]

Re: [PHP] Problem in the output of an array

2003-11-29 Thread sophie
I'm soory but your code doesn't make me understand what you want to do... Be more precise, it will help you to get some help > I have this code, I would like, if this could be done > > $array['dim1']['dim2']['dim3'][3] = "value"; > > $dim1 = 'dim1'; > $dim2 = 'dim2'; > $dim3 = 'dim3'; > $dim4 = 3

[PHP] Problem in the output of an array

2003-11-29 Thread orlandopozo
I have this code, I would like, if this could be done The output is : Array[dim1][dim2][dim3][3] I need that the output was: value Thanks in advanced for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem in the output of an array

2003-11-29 Thread orlandopozo
I have this code, I would like, if this could be done The output is : Array[dim1][dim2][dim3][3] I need that the output was: value Thanks in advanced for any help.

RE: [PHP] problem in 2 dimensional Array

2003-10-22 Thread Martin Towell
> Dear Members > > i have 2 problems in 2 dimensional array > > 1. how to declare global 2 dimensional array in php > 2. how to pass 2 dimensional array in function as an > arrgument > > waiting for ur soon reply > Khuram Noman 1. $myvar = array(); $myvar[0] = array(); $myvar[0][0] = "myv

[PHP] problem in 2 dimensional Array

2003-10-22 Thread khuram noman
Dear Members i have 2 problems in 2 dimensional array 1. how to declare global 2 dimensional array in php 2. how to pass 2 dimensional array in function as an arrgument waiting for ur soon reply Khuram Noman __ Do you Yahoo!? The New Yahoo! Shopping - with improv

Re: [PHP] Problem in 2 dimensional Array

2003-10-22 Thread Marek Kilimajer
khuram noman wrote: Dear Members i have 2 problems in 2 dimensional array . 1. how to declare global 2 dimensional array in php $GLOBALS['array_name']=array( ); 2. how to pass 2 dimensional array in function Like any other value. Waiting for ur soon reply Khuram Noman __

[PHP] Problem in 2 dimensional Array

2003-10-22 Thread khuram noman
Dear Members i have 2 problems in 2 dimensional array . 1. how to declare global 2 dimensional array in php 2. how to pass 2 dimensional array in function Waiting for ur soon reply Khuram Noman __ Do you Yahoo!? The New Yahoo! Shopping - with improved product se

[PHP] Problem in sending mail

2003-08-18 Thread murugesan
Hello all, [snip] $subject="Welcome"; $from = "MIME-Version: 1.0\r\n"; $from .= "Content-type: text/html; charset=iso-8859-1\r\n"; $from .= "From: <[EMAIL PROTECTED]>\r\n"; $subject="Welcome"; mail($mailid,$subject,$message1,$from); But I am not able to send the message

[PHP] Problem in configuring freetds

2003-08-09 Thread Dipesh khacharia
Hi, I am Dipesh from BG Broadband, India. I am working on linux-php. I am trying to configure freetds with php, but it does not allow me to connect to mssql server 2000. The problem is not related to login. I can ping the server.Using command 'tsql' i can connect to the d

Re: [PHP] Problem in windows

2003-06-14 Thread David Otton
On Sat, 14 Jun 2003 08:02:57 -0400, you wrote: >I just installed php/mysql on my windows machine, now when I try to run >a script I get this: > >Use of undefined constant s_UID - assumed 's_UID' in >c:\inetpub\wwwroot\php_test\inc\session.php > >And then some Undefined variable: s_UserInfo. > >An

Re: [PHP] Problem in windows

2003-06-14 Thread Brian V Bonini
I love that subject line... All I could think was, "of course"... Sorry, couldn't resist that.. ;-) On Sat, 2003-06-14 at 08:02, James Stanley wrote: > Hello, > > I just installed php/mysql on my windows machine, now when I try to run > a script I get this: > > Use of undefined constant s_UID

[PHP] Problem in windows

2003-06-14 Thread James Stanley
Hello, I just installed php/mysql on my windows machine, now when I try to run a script I get this: Use of undefined constant s_UID - assumed 's_UID' in c:\inetpub\wwwroot\php_test\inc\session.php And then some Undefined variable: s_UserInfo. Any thought why could this be? Thanks. James. -- P

Re: [PHP] problem in writing into an html text file

2003-02-27 Thread Michael P. Carel
thanks it's working now - Original Message - From: "Matt Honeycutt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 7:23 AM Subject: RE: [PHP] problem in writing into an html text file > Check stripslashes(), I think t

RE: [PHP] problem in writing into an html text file

2003-02-27 Thread Matt Honeycutt
Check stripslashes(), I think that will help you. ---Matt -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] problem in writing into an html text file this code add a backslashes in all

Re: [PHP] problem in writing into an html text file

2003-02-27 Thread Michael P. Carel
n advance. > > > > - Original Message ----- > From: "Jason Sheets" <[EMAIL PROTECTED]> > To: "Michael P. Carel" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, February 27, 2003 12:04 PM > Subject: Re: [PHP] probl

Re: [PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
; Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 12:04 PM Subject: Re: [PHP] problem in writing into an html text file > Hello Mike, > > You will need to better describe your problem and preferably show some > source code. > > What characters are being add

Re: [PHP] problem in writing into an html text file

2003-02-26 Thread Jason Sheets
Hello Mike, You will need to better describe your problem and preferably show some source code. What characters are being added to it? You could use str_replace or the regular expression replacement functions but you should not get added characters in general. Jason On Wed, 2003-02-26 at 19:07,

RE: [PHP] problem in writing into an html text file

2003-02-26 Thread John W. Holmes
> Im having a problem writing an HTML code in a text file which comes from > the > html text area as an editor. There's an added characters inserted to it. > How > could i write to it perfectly? You have a problem on line 9 of your script after the 'e'. ---John W. Holmes... PHP Architect -

[PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
hi to all, Im having a problem writing an HTML code in a text file which comes from the html text area as an editor. There's an added characters inserted to it. How could i write to it perfectly? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] problem in PHP with ADODB connection, Microsoft JET Database

2003-02-19 Thread pei_world
when I try to connection to the access file using Microsoft Jet Engine. it come up with following error! can anyone help me? $conn = new COM("ADODB.Connection"); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=$database"); $query = "SELECT * FROM user"; $result = $conn->Execute($que

Re: [PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread Andrew Brampton
As far as I'm aware you should be using $_SERVER["PHP_SELF"] instead of $PHP_SELF its been like this for a while now. Andrew - Original Message - From: "ªüYam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 6:30

Re: [PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread ªüYam
thx a lot "Johannes Schlueter" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] On Thursday 02 January 2003 19:30, ªüYam wrote: > There is warning of my script , the warning msg is about undefined variable > $PHP_SELF..however, when I try to use $_SERVER["PHP_SELF"] instead of > $PHP_SELF,

Re: [PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread Johannes Schlueter
On Thursday 02 January 2003 19:30, ªüYam wrote: > There is warning of my script , the warning msg is about undefined variable > $PHP_SELF..however, when I try to use $_SERVER["PHP_SELF"] instead of > $PHP_SELF, there is no problem Check your register_globals settings! Either switch it on (

[PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread ªüYam
Before, I was using PHP 4.2.3. There was no problem when I just use $PHP_SELF in my script... Whereas the problem is found after using PHP 4.3.0. There is warning of my script , the warning msg is about undefined variable $PHP_SELF..however, when I try to use $_SERVER["PHP_SELF"] instead of

Re: [PHP]Problem in using php-imap in rh7.3

2002-07-09 Thread Rasmus Lerdorf
Try localhost:143/notls there On Wed, 10 Jul 2002, [gb2312] ÚÈ Ñ« wrote: > > Hi all, > I got a problem when I use php's imap functions in rh7.3 system. > In the php script file imaptest.php I wrote such code: > > $user="usernamexxx"; > $password="passxxx"; > $mbox = imap_open ("{localhost:143}

[PHP]Problem in using php-imap in rh7.3

2002-07-09 Thread 谌 勋
Hi all, I got a problem when I use php's imap functions in rh7.3 system. In the php script file imaptest.php I wrote such code: $user="usernamexxx"; $password="passxxx"; $mbox = imap_open ("{localhost:143}", $user, $password) or die("can't connect: ".imap_last_error() But when I use ko

[PHP] Problem in a user auth script. Advice please.

2002-02-16 Thread Matthew Darcy
Hi, After the help given on my last script I got a bit more advanced. I am trying to write a user auth script and start sessions. I wrote this script and ran it and I am getting an error on line 4. Once again I cannot see any problems. I would appriciate you experienced guys casting your eyes ove

Re: [PHP] Problem in mysql connection

2002-01-27 Thread Rio Uniwaly
first, u have to install the mysql. :-) and u have to know your mysql password... maybe you can try this... $connection=mysql_query("localhost","root",""); if ($connection) { echo "Connection to mysql Good"; } else { echo "Connection to mysql Failed"; } hope this can help u.. Rio Uni

[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] Problem in mysql connection

2002-01-25 Thread Jeff Sheltren
What was the error message given? Are you sure that mysql is running and working properly? Jeff > 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"); >

[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 the small code

2001-09-11 Thread Balaji Ankem
What is the problem with following code.. if ( $row!=0 ) { $res=mysql_fetch_object($result); if( $res->inv_status=="ASSIGNED") { echo "It is in assigned state. Please first return it and then change the status"; exit; } elseif( $res->inv_status=="AVAILABLE

[PHP] problem in downloading manual

2001-09-10 Thread S.Maria Goretti\(jouhou\)20010808
Hi All, I am trying to download php mauals. but I couldn't suceed as the server is displaying the message as "Server is Busy and try later". Even I tried by using the link with port number. Can anybody help me in downloading the manulas? Regards, Maria -- PHP General Mailing List (http:/

Re: [PHP] Problem in sending mail with mail() function

2001-04-26 Thread nik
Sigitas Paulavicius wrote: > "Vishak K Tomy" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello, > > I tried to send mail through the mail function but it is not > > working. I am using php version 3.0.12 under linux, following is the > > code I used t

Re: [PHP] Problem in sending mail with mail() function

2001-04-25 Thread Sigitas Paulavicius
"Vishak K Tomy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I tried to send mail through the mail function but it is not > working. I am using php version 3.0.12 under linux, following is the > code I used to send mail. > So what is the problem wit

[PHP] Problem in sending mail with mail() function

2001-04-25 Thread Vishak K Tomy
Hello, I tried to send mail through the mail function but it is not working. I am using php version 3.0.12 under linux, following is the code I used to send mail. So what is the problem with it, any body please solve this. Regards Vishak -- PHP General Mailing List (http

Re: [PHP] Problem in retreving values from more than one multi select in form

2001-03-30 Thread elias
Hi. as you defined the tag of yours i see that you didn't specify the extra parameter: 'multiple', as: as for reading it's values, as you showed should work. -elias "Vishak Tomy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all, > > I have a p

[PHP] Problem in retreving values from more than one multi select in form

2001-03-30 Thread Vishak Tomy
Hello all, I have a problem with the multi select, any body please solve this. In a form there are more than one multi select box, arranged one by one. Following are the way i created it. Vishak Sujith Rajesh Vishak Sujith Rajesh How coud i get the values of the multi select when

[PHP] problem in downloading mysql

2001-03-07 Thread B Satish , Gurgaon
> hi friends > > can any one of you send me the url's to download mysql database since > three > days i have been trying to download that through www.mysql.com but > unfortunately everytime download was incomplete. > i need some url's other than mysql.com where i can download mysql > databas