Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 1 Jan 2008 02:59:18 -0800,    group: microsoft.public.inetsdk.html_authoring        back       


How to get php work in IE6-7   
Hello!
I don´t know if this is the right forum to ask this question, but i try.
We have wrote php for login to our site and it works excellent in Firefox 
but how will i do to get it to work in IE6-7, see the code below. Something 
missing.
We have also more php script for login to this and that but they also 
doesn´t in IE 6-7. Please check the script and tell me what to do.

Benny

<?php
error_reporting(0);
if($_GET['ut'] ==1)|
{
        set cookie["PoV_Cookie_user", $_POST['username'], time()-3600*24);
        set cookie["PoV_Cookie_pass", $_POST['password'], time()-3600*24);
}
else
if(!empty($_POST['username']) && !empty($_POST['password']))
{
        set cookie["PoV_Cookie_user", $_POST['username'], time()-3600*24);
        set cookie["PoV_Cookie_pass", $_POST['password'], time()-3600*24);
        header ("Location: meny.php?send=1");
}
?>
date: Tue, 1 Jan 2008 02:59:18 -0800   author:   Deamon

Re: How to get php work in IE6-7   
"Deamon"  wrote in message
news:563BF106-FCBE-4761-93CE-727EB68A1B23@microsoft.com...
> Hello!
> I don´t know if this is the right forum to ask this question, but i try.
> We have wrote php for login to our site and it works excellent in Firefox
> but how will i do to get it to work in IE6-7, see the code below.
Something
> missing.
> We have also more php script for login to this and that but they also
> doesn´t in IE 6-7. Please check the script and tell me what to do.
>
> Benny
>
> <?php
> error_reporting(0);
> if($_GET['ut'] ==1)|
> {
>         set cookie["PoV_Cookie_user", $_POST['username'], time()-3600*24);
>         set cookie["PoV_Cookie_pass", $_POST['password'], time()-3600*24);
> }
> else
> if(!empty($_POST['username']) && !empty($_POST['password']))
> {
>         set cookie["PoV_Cookie_user", $_POST['username'], time()-3600*24);
>         set cookie["PoV_Cookie_pass", $_POST['password'], time()-3600*24);
>         header ("Location: meny.php?send=1");
> }
> ?>

PHP runs on the server not on the client.  Neither IE nor Firefox execute
PHP code.

Have you checked the IE settings perhaps it is disallowing your cookies.

-- 
Anthony Jones - MVP ASP/ASP.NET
date: Thu, 3 Jan 2008 15:00:37 -0000   author:   Anthony Jones

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us