php-windows Digest 23 Sep 2003 15:29:41 -0000 Issue 1924

Topics (messages 21516 through 21530):

Re: upgrade imap dll problem
        21516 by: Larry_Li.contractor.amat.com
        21518 by: Gareth Thomas
        21519 by: Gareth Thomas

RE Serverside includes
        21517 by: Greg Whitehead

php 4.3.3 and apache 2.0.47 ..... all mucked up
        21520 by: toby z
        21521 by: Larry_Li.contractor.amat.com
        21522 by: toby z

Re: Problem with 2 buttons
        21523 by: toby z
        21524 by: Donatas
        21525 by: toby z
        21526 by: Svensson, B.A.T. (HKG)
        21528 by: malte
        21530 by: William Cheung

Accessing Outlook via COM object
        21527 by: Herhuth, Ron

Imap with ssl not working
        21529 by: Nick P

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Copy All dlls in DLL folder into WinNT or WinNT/System32. 








C-omputerSolutions Webmaster <[EMAIL PROTECTED]>
09/23/2003 11:04 AM
 
        To:     "Mike Brum" <[EMAIL PROTECTED]>
        cc:     [EMAIL PROTECTED]
        Subject:        RE: [PHP-WIN] upgrade imap dll problem
 


all the dlls are in the proper folders for me.

At 09:37 PM 9/22/2003, you wrote:
>And is that DLL in the folder specified?
>
>-----Original Message-----
>From: Gareth Thomas [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 22, 2003 9:36 PM
>To: Mike Brum; [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] upgrade imap dll problem
>
>
>Mike,
>
>extension_dir does point to the correct directory. I do need the DLL 
since
>the application has an email module.
>
>Regards,
>
>Gareth Thomas
>
>
>----- Original Message -----
>From: "Mike Brum" <[EMAIL PROTECTED]>
>To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Monday, September 22, 2003 6:32 PM
>Subject: RE: [PHP-WIN] upgrade imap dll problem
>
>
>I can think of two ways to probably fix this -
>
>1) If you want to get rid of the error you should be able to comment the
>line in your php.ini file:
>
>extension=php_imap.dll
>
>2) If you look at your extension_dir directive in the php.ini file, I'm
>guessing it says something like
>
>extension_dir = d:\php\extensions
>
>Make sure that you have 'php_imap.dll' in that folder.
>
>-M
>
>-----Original Message-----
>From: Gareth Thomas [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 22, 2003 9:12 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] upgrade imap dll problem
>
>
>Hi,
>
>I have just upgraded a client server from 4.3.1 to 4.3.3, the server is =
>running Windows NT SP6. I upgraded by downloading the Zip file and = 
simply
>unzipping over the top of the old install. The webserver is on = drive C,
>and PHP is installed on drive D. After the installation however = I am
>getting the following error:
>
>Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the 
=
>specified module could not be found.
>
>Eveything else seems to work fine, and phpinfo() reports version 4.3.3.
>
>I have copied the extensions into the WinNT and WinNT/System32 = 
directory.
>I have tried modifying the php.ini file to point to the = correct path.. 
all
>to no avail. If anyone has any idea how to resolve = this issue I would 
be
>most grateful.
>
>Regards,
>
>Gareth Thomas
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
DLL's are in WinNT, WinNT/System32 and in the directory pointed to by the
extension_dir setting in php.ini.


Gareth Thomas

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "C-omputerSolutions Webmaster" <[EMAIL PROTECTED]>
Cc: "Mike Brum" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 8:09 PM
Subject: RE: [PHP-WIN] upgrade imap dll problem


> Copy All dlls in DLL folder into WinNT or WinNT/System32.
>
>
>
>
>
>
>
>
> C-omputerSolutions Webmaster <[EMAIL PROTECTED]>
> 09/23/2003 11:04 AM
>
>         To:     "Mike Brum" <[EMAIL PROTECTED]>
>         cc:     [EMAIL PROTECTED]
>         Subject:        RE: [PHP-WIN] upgrade imap dll problem
>
>
>
> all the dlls are in the proper folders for me.
>
> At 09:37 PM 9/22/2003, you wrote:
> >And is that DLL in the folder specified?
> >
> >-----Original Message-----
> >From: Gareth Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Monday, September 22, 2003 9:36 PM
> >To: Mike Brum; [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] upgrade imap dll problem
> >
> >
> >Mike,
> >
> >extension_dir does point to the correct directory. I do need the DLL
> since
> >the application has an email module.
> >
> >Regards,
> >
> >Gareth Thomas
> >
> >
> >----- Original Message -----
> >From: "Mike Brum" <[EMAIL PROTECTED]>
> >To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >Sent: Monday, September 22, 2003 6:32 PM
> >Subject: RE: [PHP-WIN] upgrade imap dll problem
> >
> >
> >I can think of two ways to probably fix this -
> >
> >1) If you want to get rid of the error you should be able to comment the
> >line in your php.ini file:
> >
> >extension=php_imap.dll
> >
> >2) If you look at your extension_dir directive in the php.ini file, I'm
> >guessing it says something like
> >
> >extension_dir = d:\php\extensions
> >
> >Make sure that you have 'php_imap.dll' in that folder.
> >
> >-M
> >
> >-----Original Message-----
> >From: Gareth Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Monday, September 22, 2003 9:12 PM
> >To: [EMAIL PROTECTED]
> >Subject: [PHP-WIN] upgrade imap dll problem
> >
> >
> >Hi,
> >
> >I have just upgraded a client server from 4.3.1 to 4.3.3, the server is =
> >running Windows NT SP6. I upgraded by downloading the Zip file and =
> simply
> >unzipping over the top of the old install. The webserver is on = drive C,
> >and PHP is installed on drive D. After the installation however = I am
> >getting the following error:
> >
> >Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the
> =
> >specified module could not be found.
> >
> >Eveything else seems to work fine, and phpinfo() reports version 4.3.3.
> >
> >I have copied the extensions into the WinNT and WinNT/System32 =
> directory.
> >I have tried modifying the php.ini file to point to the = correct path..
> all
> >to no avail. If anyone has any idea how to resolve = this issue I would
> be
> >most grateful.
> >
> >Regards,
> >
> >Gareth Thomas
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

--- End Message ---
--- Begin Message ---
Just figured out the problem, it seems to be with the particular DLL shipped
with 4.3.2 and 4.3.3, if you look its different from the one shipped with
4.3.1. So I overwrote the 4.3.3 version and everything now works fine. Must
be a problem only on NT because on Win2K box it works fine.


----- Original Message ----- 
From: "C-omputerSolutions Webmaster" <[EMAIL PROTECTED]>
To: "Mike Brum" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 8:04 PM
Subject: RE: [PHP-WIN] upgrade imap dll problem


> all the dlls are in the proper folders for me.
>
> At 09:37 PM 9/22/2003, you wrote:
> >And is that DLL in the folder specified?
> >
> >-----Original Message-----
> >From: Gareth Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Monday, September 22, 2003 9:36 PM
> >To: Mike Brum; [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] upgrade imap dll problem
> >
> >
> >Mike,
> >
> >extension_dir does point to the correct directory. I do need the DLL
since
> >the application has an email module.
> >
> >Regards,
> >
> >Gareth Thomas
> >
> >
> >----- Original Message -----
> >From: "Mike Brum" <[EMAIL PROTECTED]>
> >To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >Sent: Monday, September 22, 2003 6:32 PM
> >Subject: RE: [PHP-WIN] upgrade imap dll problem
> >
> >
> >I can think of two ways to probably fix this -
> >
> >1) If you want to get rid of the error you should be able to comment the
> >line in your php.ini file:
> >
> >extension=php_imap.dll
> >
> >2) If you look at your extension_dir directive in the php.ini file, I'm
> >guessing it says something like
> >
> >extension_dir = d:\php\extensions
> >
> >Make sure that you have 'php_imap.dll' in that folder.
> >
> >-M
> >
> >-----Original Message-----
> >From: Gareth Thomas [mailto:[EMAIL PROTECTED]
> >Sent: Monday, September 22, 2003 9:12 PM
> >To: [EMAIL PROTECTED]
> >Subject: [PHP-WIN] upgrade imap dll problem
> >
> >
> >Hi,
> >
> >I have just upgraded a client server from 4.3.1 to 4.3.3, the server is =
> >running Windows NT SP6. I upgraded by downloading the Zip file and =
simply
> >unzipping over the top of the old install. The webserver is on = drive C,
> >and PHP is installed on drive D. After the installation however = I am
> >getting the following error:
> >
> >Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the
=
> >specified module could not be found.
> >
> >Eveything else seems to work fine, and phpinfo() reports version 4.3.3.
> >
> >I have copied the extensions into the WinNT and WinNT/System32 =
directory.
> >I have tried modifying the php.ini file to point to the = correct path..
all
> >to no avail. If anyone has any idea how to resolve = this issue I would
be
> >most grateful.
> >
> >Regards,
> >
> >Gareth Thomas
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Hi all 

Could use some help in trying to get serverside includes under PHP going. 
Examples of some code would be great :)

currently running apache1.3.27 and php4 on windows XP 

Thanks in advance
 
Greg Whitehead 

--- End Message ---
--- Begin Message ---
hay guys

as embarassing as this is ......

im stuck with php 4.3.3 and apache 2.0.47 on win 2k

everything seems to be in order

no errors while restarting apache ...... :S

but when i try
http://localhost

i get " the dammed page cannot b found "

and at 
http://localhost/phpinfo.php

all i  get is 
<? phpinfo() ?>

simply displayed on the screen 

what on earth is goin on ?????

what did i screw up this time ?????



pretty :S n :$ 

toby

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

--- End Message ---
--- Begin Message ---
Edit httpd.conf and add following settings.

LoadModule php4_module "C:/php/sapi/php4apache2.dll"
AddOutputFilter PHP .php 
AddInputFilter PHP .php 
AddType text/html .php 
AddType application/x-httpd-php .php








toby z <[EMAIL PROTECTED]>
09/23/2003 03:19 PM
 
        To:     php hlp list <[EMAIL PROTECTED]>
        cc: 
        Subject:        [PHP-WIN] php 4.3.3 and apache 2.0.47 ..... all 
mucked up
 


hay guys

as embarassing as this is ......

im stuck with php 4.3.3 and apache 2.0.47 on win 2k

everything seems to be in order

no errors while restarting apache ...... :S

but when i try
http://localhost

i get " the dammed page cannot b found "

and at 
http://localhost/phpinfo.php

all i  get is 
<? phpinfo() ?>

simply displayed on the screen 

what on earth is goin on ?????

what did i screw up this time ?????



pretty :S n :$ 

toby

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
thnax fo the reply larry

but it still aint workin 

even with the modifications

n there still aint any error restarting apache or anything ...... :s

any other ideas ?????

thanx again

toby

 --- [EMAIL PROTECTED] wrote: > Edit httpd.conf and add
following settings.
> 
> LoadModule php4_module "C:/php/sapi/php4apache2.dll"
> AddOutputFilter PHP .php 
> AddInputFilter PHP .php 
> AddType text/html .php 
> AddType application/x-httpd-php .php
> 
> 
> 
> 
> 
> 
> 
> 
> toby z <[EMAIL PROTECTED]>
> 09/23/2003 03:19 PM
>  
>         To:     php hlp list <[EMAIL PROTECTED]>
>         cc: 
>         Subject:        [PHP-WIN] php 4.3.3 and apache 2.0.47 .....
> all 
> mucked up
>  
> 
> 
> hay guys
> 
> as embarassing as this is ......
> 
> im stuck with php 4.3.3 and apache 2.0.47 on win 2k
> 
> everything seems to be in order
> 
> no errors while restarting apache ...... :S
> 
> but when i try
> http://localhost
> 
> i get " the dammed page cannot b found "
> 
> and at 
> http://localhost/phpinfo.php
> 
> all i  get is 
> <? phpinfo() ?>
> 
> simply displayed on the screen 
> 
> what on earth is goin on ?????
> 
> what did i screw up this time ?????
> 
> 
> 
> pretty :S n :$ 
> 
> toby
> 
>
________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE
> Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

--- End Message ---
--- Begin Message ---
:)

you didnt close the input tag pal

</input>

:)

toby

 --- William Cheung <[EMAIL PROTECTED]> wrote: > Please ignore the
word "DEFANGED_". I don't know why it is there
> when I
> paste it.
> 
>  
> 
> William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
> 
> Databyte Corp. <http://www.databyte.com/> 
> 
>  
> 
> -----Original Message-----
> From: William Cheung [mailto:[EMAIL PROTECTED] 
> Sent: September 22, 2003 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Problem with 2 buttons
> 
>  
> 
> --> 
> 
> I have 2 buttons sitting next to each other. One to update; the
> other to
> cancel. However, no matter which button I click, the
> isset($_POST["CHANGE"])
> always returns true. My template code is list below. Could someone
> tell me
> what's wrong with my code?
> 
>  
> 
> <tr height=60>
> 
>        <td width="5%">&nbsp;</td>
> 
>        <td valign=bottom>
> 
>                    <input type="hidden" name="CHANGE">
> 
>                    <input type=image name=CHANGE
> src={#img_dir#}{#template#}page6grid_g3.gif
>
DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"
>
DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">
> 
>                    <font class=mpanel_mid_data style="font-weight:
> lighter;">Update order</font>
> 
>        </td>
> 
>        <td valign=bottom>
> 
>                    <input type="hidden" name="CANCEL">
> 
>                    <input type=image name="CANCEL"
> src={#img_dir#}{#template#}page6grid_g11.gif
>
DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"
>
DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">
> 
>                    <font class=mpanel_mid_data style="font-weight:
> lighter;
> text-indent: 0px;">Cancel order</font>
> 
>        </td>
> 
> </tr>
> 
>  
> 
> William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
> 
> Databyte Corp. <http://www.databyte.com/>  
> 
>  
> 
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

--- End Message ---
--- Begin Message --- input doesn't have a closing tag, DUH

http://www.w3schools.com/tags/tag_input.asp


toby z wrote:


:)

you didnt close the input tag pal

</input>

:)

toby

--- William Cheung <[EMAIL PROTECTED]> wrote: > Please ignore the
word "DEFANGED_". I don't know why it is there


when I
paste it.



William Cheung <mailto:[EMAIL PROTECTED]> B.Sc, MCSE, MCDBA

Databyte Corp. <http://www.databyte.com/>



-----Original Message-----
From: William Cheung [mailto:[EMAIL PROTECTED] Sent: September 22, 2003 10:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Problem with 2 buttons




-->

I have 2 buttons sitting next to each other. One to update; the
other to
cancel. However, no matter which button I click, the
isset($_POST["CHANGE"])
always returns true. My template code is list below. Could someone
tell me
what's wrong with my code?



<tr height=60>

<td width="5%">&nbsp;</td>

<td valign=bottom>

<input type="hidden" name="CHANGE">

                  <input type=image name=CHANGE
src={#img_dir#}{#template#}page6grid_g3.gif



DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"


DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">


                  <font class=mpanel_mid_data style="font-weight:
lighter;">Update order</font>

</td>

<td valign=bottom>

<input type="hidden" name="CANCEL">

                  <input type=image name="CANCEL"
src={#img_dir#}{#template#}page6grid_g11.gif



DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"


DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">


                  <font class=mpanel_mid_data style="font-weight:
lighter;
text-indent: 0px;">Cancel order</font>

</td>

</tr>



William Cheung <mailto:[EMAIL PROTECTED]> B.Sc, MCSE, MCDBA

Databyte Corp. <http://www.databyte.com/>







________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk




--- End Message ---
--- Begin Message ---
ever herdda xml ?????

and the rules ?????

which by the way bind u to close every tag u begin ..... ! ! ! ! 

and i'd rather hear william's response right now :)

will ????
howz it comming ?????


chao .....
toby


 --- Donatas <[EMAIL PROTECTED]> wrote: > input doesn't have a
closing tag, DUH
> 
> http://www.w3schools.com/tags/tag_input.asp
> 
> 
> toby z wrote:
> 
> >:)
> >
> >you didnt close the input tag pal
> >
> ></input>
> >
> >:)
> >
> >toby
> >
> > --- William Cheung <[EMAIL PROTECTED]> wrote: > Please ignore
> the
> >word "DEFANGED_". I don't know why it is there
> >  
> >
> >>when I
> >>paste it.
> >>
> >> 
> >>
> >>William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
> >>
> >>Databyte Corp. <http://www.databyte.com/> 
> >>
> >> 
> >>
> >>-----Original Message-----
> >>From: William Cheung [mailto:[EMAIL PROTECTED] 
> >>Sent: September 22, 2003 10:43 AM
> >>To: [EMAIL PROTECTED]
> >>Subject: [PHP-WIN] Problem with 2 buttons
> >>
> >> 
> >>
> >>--> 
> >>
> >>I have 2 buttons sitting next to each other. One to update; the
> >>other to
> >>cancel. However, no matter which button I click, the
> >>isset($_POST["CHANGE"])
> >>always returns true. My template code is list below. Could
> someone
> >>tell me
> >>what's wrong with my code?
> >>
> >> 
> >>
> >><tr height=60>
> >>
> >>       <td width="5%">&nbsp;</td>
> >>
> >>       <td valign=bottom>
> >>
> >>                   <input type="hidden" name="CHANGE">
> >>
> >>                   <input type=image name=CHANGE
> >>src={#img_dir#}{#template#}page6grid_g3.gif
> >>
> >>    
> >>
>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"
> >  
> >
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">
> >  
> >
> >>                   <font class=mpanel_mid_data
> style="font-weight:
> >>lighter;">Update order</font>
> >>
> >>       </td>
> >>
> >>       <td valign=bottom>
> >>
> >>                   <input type="hidden" name="CANCEL">
> >>
> >>                   <input type=image name="CANCEL"
> >>src={#img_dir#}{#template#}page6grid_g11.gif
> >>
> >>    
> >>
>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"
> >  
> >
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">
> >  
> >
> >>                   <font class=mpanel_mid_data
> style="font-weight:
> >>lighter;
> >>text-indent: 0px;">Cancel order</font>
> >>
> >>       </td>
> >>
> >></tr>
> >>
> >> 
> >>
> >>William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
> >>
> >>Databyte Corp. <http://www.databyte.com/>  
> >>
> >> 
> >>
> >> 
> >>    
> >>
> >
>
>________________________________________________________________________
> >Want to chat instantly with your online friends?  Get the FREE
> Yahoo!
> >Messenger http://mail.messenger.yahoo.co.uk
> >
> >  
> >
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

--- End Message ---
--- Begin Message ---
What is the purpose of the HIDDEN elements?

On Mon, 2003-09-22 at 19:43, William Cheung wrote:
> I have 2 buttons sitting next to each other. One to update; the other
> to cancel. However, no matter which button I click, the
> isset($_POST[“CHANGE”]) always returns true. My template code is list
> below. Could someone tell me what’s wrong with my code?
> 
>  
> 
> <tr height=60>
> 
>        <td width="5%">&nbsp;</td>
> 
>        <td valign=bottom>
> 
>                    <input type="hidden" name="CHANGE">
> 
>                    <input type=image name=CHANGE
> src={#img_dir#}{#template#}page6grid_g3.gif
> onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"
> onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">
> 
>                    <font class=mpanel_mid_data style="font-weight:
> lighter;">Update order</font>
> 
>        </td>
> 
>        <td valign=bottom>
> 
>                    <input type="hidden" name="CANCEL">
> 
>                    <input type=image name="CANCEL"
> src={#img_dir#}{#template#}page6grid_g11.gif
> onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"
> onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">
> 
>                    <font class=mpanel_mid_data style="font-weight:
> lighter; text-indent: 0px;">Cancel order</font>
> 
>        </td>
> 
> </tr>
> 
>  
> 
> William Cheung B.Sc, MCSE, MCDBA
> 
> Databyte Corp. 
> 
> 
>  
> 
> 

--- End Message ---
--- Begin Message ---
----- Original Message ----- 
From: malte 
To: [EMAIL PROTECTED] 
Sent: Monday, September 22, 2003 10:43 PM
Subject: Re: [PHP-WIN] Problem with 2 buttons


what do you need this for? -><input type="hidden" name="CHANGE">
it does nothing

give your image inputs hard-coded values, like  
<input type="image" name="cancel" src="bla.gif" value="true">
<input type="image" name="cancel" src="bla.gif" value="false">

and don't use isset try:

 if($cancel=='true') do_some_stuff();
  ----- Original Message ----- 
  From: William Cheung 
  To: [EMAIL PROTECTED] 
  Sent: Monday, September 22, 2003 7:43 PM
  Subject: [PHP-WIN] Problem with 2 buttons


  I have 2 buttons sitting next to each other. One to update; the other to cancel. 
However, no matter which button I click, the isset($_POST["CHANGE"]) always returns 
true. My template code is list below. Could someone tell me what's wrong with my code?



  <tr height=60>

         <td width="5%">&nbsp;</td>

         <td valign=bottom>

                     <input type="hidden" name="CHANGE">

                     <input type=image name=CHANGE 
src={#img_dir#}{#template#}page6grid_g3.gif 
onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'" 
onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">

                     <font class=mpanel_mid_data style="font-weight: lighter;">Update 
order</font>

         </td>

         <td valign=bottom>

                     <input type="hidden" name="CANCEL">

                     <input type=image name="CANCEL" 
src={#img_dir#}{#template#}page6grid_g11.gif 
onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'" 
onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">

                     <font class=mpanel_mid_data style="font-weight: lighter; 
text-indent: 0px;">Cancel order</font>

         </td>

  </tr>



  William Cheung B.Sc, MCSE, MCDBA

  Databyte Corp. 



--- End Message ---
--- Begin Message ---
Thanks for clearing up my confusion. But the problem is still there. I now
wonder if anyone ever put two clickable images in a form.

William Cheung B.Sc, MCSE, MCDBA

Databyte Corp.

-----Original Message-----
From: Donatas [mailto:[EMAIL PROTECTED] 
Sent: September 23, 2003 2:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Problem with 2 buttons

input doesn't have a closing tag, DUH

http://www.w3schools.com/tags/tag_input.asp


toby z wrote:

>:)
>
>you didnt close the input tag pal
>
></input>
>
>:)
>
>toby
>
> --- William Cheung <[EMAIL PROTECTED]> wrote: > Please ignore the
>word "DEFANGED_". I don't know why it is there
>  
>
>>when I
>>paste it.
>>
>> 
>>
>>William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
>>
>>Databyte Corp. <http://www.databyte.com/> 
>>
>> 
>>
>>-----Original Message-----
>>From: William Cheung [mailto:[EMAIL PROTECTED] 
>>Sent: September 22, 2003 10:43 AM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-WIN] Problem with 2 buttons
>>
>> 
>>
>>--> 
>>
>>I have 2 buttons sitting next to each other. One to update; the
>>other to
>>cancel. However, no matter which button I click, the
>>isset($_POST["CHANGE"])
>>always returns true. My template code is list below. Could someone
>>tell me
>>what's wrong with my code?
>>
>> 
>>
>><tr height=60>
>>
>>       <td width="5%">&nbsp;</td>
>>
>>       <td valign=bottom>
>>
>>                   <input type="hidden" name="CHANGE">
>>
>>                   <input type=image name=CHANGE
>>src={#img_dir#}{#template#}page6grid_g3.gif
>>
>>    
>>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"
>  
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">
>  
>
>>                   <font class=mpanel_mid_data style="font-weight:
>>lighter;">Update order</font>
>>
>>       </td>
>>
>>       <td valign=bottom>
>>
>>                   <input type="hidden" name="CANCEL">
>>
>>                   <input type=image name="CANCEL"
>>src={#img_dir#}{#template#}page6grid_g11.gif
>>
>>    
>>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"
>  
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">
>  
>
>>                   <font class=mpanel_mid_data style="font-weight:
>>lighter;
>>text-indent: 0px;">Cancel order</font>
>>
>>       </td>
>>
>></tr>
>>
>> 
>>
>>William Cheung <mailto:[EMAIL PROTECTED]>  B.Sc, MCSE, MCDBA
>>
>>Databyte Corp. <http://www.databyte.com/>  
>>
>> 
>>
>> 
>>    
>>
>
>________________________________________________________________________
>Want to chat instantly with your online friends?  Get the FREE Yahoo!
>Messenger http://mail.messenger.yahoo.co.uk
>
>  
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
I'm pulling my hair out trying to simply create a MAPI session by
instantiating the Outlook.Application COM object.  We have followed
instructions on setting up the server so that appears to be set up okay
with the appropriate permissions but everytime I run this simple 3 line
script I get the following message:

<-- SCRIPT -->
  $oOutlook = new COM("Outlook.Application");
  $session= new COM("MAPI.Session");

  $vbLF = "Chr(10)";
  $strExchangeServer = "exchange";
  $strMailbox = "testmail";

 echo $session->Logon("'','',False,True,,True," . $strExchangeServer .
$vbLF . $strMailbox);





This was extracted from VB code that does the same thing...here is that
code:

strExchangeServer = "exchange"
strMailbox = "testmail"
vbLF = Chr(10)

Set objSession = Server.CreateObject("MAPI.Session")
objSession.Logon "", "", False, True,,True, strExchangeServer & vbLF _ &
strMailbox








The Error:

The Outlook Application instantiation works and returns an object as
expected.

The MAPI session instantiates and returns an object as expected.

The logon fails and returns this error:

Warning: Invoke() failed: Exception occurred. Source: Collaboration Data
Objects Description: [Collaboration Data Objects -
[MAPI_E_LOGON_FAILED(80040111)]] in hs~MAPI001.php on line 8

Am I passing the wrong values?  Am I converting the code to PHP correctly?
What else can I try?  I know this should work but the logon method is
quite complex.

Thanks,
Ron

--- End Message ---
--- Begin Message ---
Hello all,

I am trying to make a connection to an imap/ssl server
but without success.
I use this simple script 
<?
$mbox = imap_open
("{localhost:993/imap/ssl/novalidate-cert}INBOX",
"proto", "pass");
?>

When I put out the ssl part of this script
(ie{localhost:993/imap}INBOX") there is a tcp
connection with the server but of course unsuccessful
since it is not ssl compliant. With the ssl part
present no tcp connection is attempted and the
returned error is "imap_open(): Couldn't open stream
..."

I use PHP 4.3.3 for Windows I have commented out
php_imap.dll and php_openssl.dll in php.ini.

What is wrong?
Is it possible that php4ts.dll is compiled without
--with-imap-ssl support?

I would appreciate any help
Nick Proto


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--- End Message ---

Reply via email to