php-windows Digest 13 May 2008 00:42:23 -0000 Issue 3471

Topics (messages 28886 through 28894):

Sessions Question!
        28886 by: Matthew Gonzales
        28887 by: Alf Stockton
        28892 by: Matthew Gonzales
        28893 by: Jarrett Meyer

PHP and Windows - problem with php_mysqli.dll
        28888 by: Brereton, Stephen
        28889 by: Ignacio Moncada González
        28890 by: Ignacio Moncada González
        28891 by: Matthew Gonzales

Re: Running under Windows Vista?
        28894 by: Jeff White

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 --- So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I prevent this from happening. Below is the Script I am using to destroy the session data.

//Unset all of the global variables!
session_unset;

//Destroy the session
session_destroy();


Matt G

--
Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Phone: (706)542-9538

--- End Message ---
--- Begin Message ---
Matthew Gonzales wrote:
So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I prevent this from happening. Below is the Script I am using to destroy the session data.

//Unset all of the global variables!
session_unset;

//Destroy the session
session_destroy();

I would suggest also clearing the browsers cache.


--
Regards,
Alf Stockton            www.stockton.co.za

A is for Apple.
                -- Hester Pryne
My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---
--- Begin Message ---
What function would I use to clear the browser cache.

Matt G

Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Phone: (706)542-9538


Alf Stockton wrote:
Matthew Gonzales wrote:
So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I prevent this from happening. Below is the Script I am using to destroy the session data.

//Unset all of the global variables!
session_unset;

//Destroy the session
session_destroy();

I would suggest also clearing the browsers cache.



--- End Message ---
--- Begin Message ---
As far as I know, you can't clear the browser cache. The browser cache
resides with the client. PHP resides with the server. You can tell the
cookie to expire, but that's about it. To delete the cookie, look at
Example #2 - give it an expiration date in the past.

http://us2.php.net/manual/en/function.setcookie.php

On Mon, May 12, 2008 at 2:41 PM, Matthew Gonzales <[EMAIL PROTECTED]> wrote:
> What function would I use to clear the browser cache.
>
>  Matt G
>
>  Matthew Gonzales
>  IT Professional Specialist
>  Enterprise Information Technology Services
>  University of Georgia
>  Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>  Phone: (706)542-9538
>
>
>  Alf Stockton wrote:
>
> > Matthew Gonzales wrote:
> >
> > > So I have user restricted area to my website. The login works great with
> the session data being passed. I also have a logout button. I notice that
> when I logout I can still click the back button on the browser and you can
> see the previous users restricted data. How do I prevent this from
> happening. Below is the Script I am using to destroy the session data.
> > >
> > > //Unset all of the global variables!
> > > session_unset;
> > >
> > > //Destroy the session
> > > session_destroy();
> > >
> > >
> > I would suggest also clearing the browsers cache.
> >
> >
> >
>
>  --
>  PHP Windows Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Jarrett Meyer, MBA
Email: [EMAIL PROTECTED]
Web: JarrettMeyer.com

--- End Message ---
--- Begin Message ---
I'm trying to get a mysql driven site working, but have hit a nasty problem
Started off with php 5 but that simply refuses to find the dll.
rolled back to 4.2 or some such, which then fails to load when the dll is 
included in the extensions list.
So long as mysqli line is commented out, its fine.

There is definately one copy only of the dll on the server.

using
w2k3, mysql 5

* * * * * * * * * * * *
Help protect the environment - please don't print this email unless you really 
need to.
* * * * * * * * * * * *

This communication is from City of York Council.

The information contained within, and in any attachment(s), is confidential and 
legally privileged. It is for the exclusive use of the intended recipient(s). 
If you are not the intended recipient(s), please note that any form of 
distribution, copying or use of this communication, or the information within, 
is strictly prohibited and may be unlawful. Equally, you must not disclose all, 
or part, of its contents to any other person.

If you have received this communication in error, please return it immediately 
to the sender, then delete and destroy any copies of it.

City of York Council disclaims any liability for action taken in reliance on 
the content of this communication.

--- End Message ---
--- Begin Message ---
step1. you can find php_mysqli.dllstep2. and put that dll into 
c:\php\extensions\step3. that folder is not available, create it. now our dll 
file is in c:\php\extensions\php_mysqli.dllstep4. go to php.ini, i thought that 
is in c:\windowsstep5. search "extension_dir"step6. after you found that you 
can set the path c:\php\extensionsstep7. inside the php.ini, go to the dll 
section (search dll as your text in the search box)step8. there is something 
like ;extension=php_mysqli.dllstep9. if it is not available, you type the above 
thing and remove the semicolanstep10. save php.ini file
 
step11. restart apache and check it out. 
 
Ignacio
 > Date: Mon, 12 May 2008 15:24:47 +0100> From: [EMAIL PROTECTED]> To: [EMAIL 
 > PROTECTED]> Subject: [PHP-WIN] PHP and Windows - problem with 
 > php_mysqli.dll> > > I'm trying to get a mysql driven site working, but have 
 > hit a nasty problem> > Started off with php 5 but that simply refuses to 
 > find the dll.> rolled back to 4.2 or some such, which then fails to load 
 > when the dll is included in the extensions list.> So long as mysqli line is 
 > commented out, its fine.> > There is definately one copy only of the dll on 
 > the server.> > using> w2k3, mysql 5> > * * * * * * * * * * * *> > Help 
 > protect the environment - please don't print this email unless you really 
 > need to.> * * * * * * * * * * * *> > This communication is from City of York 
 > Council.> > The information contained within, and in any attachment(s), is 
 > confidential and legally privileged. It is for the exclusive use of the 
 > intended recipient(s). If you are not the intended recipient(s), please note 
 > that any form of distribution, copying or use of this communication, or the 
 > information within, is strictly prohibited and may be unlawful. Equally, you 
 > must not disclose all, or part, of its contents to any other person.> > If 
 > you have received this communication in error, please return it immediately 
 > to the sender, then delete and destroy any copies of it.> > City of York 
 > Council disclaims any liability for action taken in reliance on the content 
 > of this communication.> > -- > PHP Windows Mailing List 
 > (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php> 
_________________________________________________________________
Descarga ya gratis y vive la experiencia Windows Live.
http://www.descubrewindowslive.com/latam/index.html

--- End Message ---
--- Begin Message ---
Sorry...
step1. you can find php_mysqli.dll
 
step2. and put that dll into c:\php\extensions\
 
step3. that folder is not available, create it. now our dll file is in 
c:\php\extensions\php_mysqli.dll
 
step4. go to php.ini, i thought that is in c:\windows
 
step5. search 'extension_dir'
 
step6. after you found that you can set the path c:\php\extensions
 
step7. inside the php.ini, go to the dll section (search dll as your text in 
the search box)
step8. there is something like ;extension=php_mysqli.dll
 
step9. if it is not available, you type the above thing and remove the semicolan
 
step10. save php.ini file
 
step11. restart apache and check it out. 
Ignacio> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]> 
Date: Mon, 12 May 2008 11:04:48 -0400> Subject: RE: [PHP-WIN] PHP and Windows - 
problem with php_mysqli.dll> > > step1. you can find php_mysqli.dllstep2. and 
put that dll into c:\php\extensions\step3. that folder is not available, create 
it. now our dll file is in c:\php\extensions\php_mysqli.dllstep4. go to 
php.ini, i thought that is in c:\windowsstep5. search "extension_dir"step6. 
after you found that you can set the path c:\php\extensionsstep7. inside the 
php.ini, go to the dll section (search dll as your text in the search 
box)step8. there is something like ;extension=php_mysqli.dllstep9. if it is not 
available, you type the above thing and remove the semicolanstep10. save 
php.ini file> > step11. restart apache and check it out. > > Ignacio> > Date: 
Mon, 12 May 2008 15:24:47 +0100> From: [EMAIL PROTECTED]> To: [EMAIL 
PROTECTED]> Subject: [PHP-WIN] PHP and Windows - problem with php_mysqli.dll> > 
> I'm trying to get a mysql driven site working, but have hit a nasty problem> 
> Started off with php 5 but that simply refuses to find the dll.> rolled back 
to 4.2 or some such, which then fails to load when the dll is included in the 
extensions list.> So long as mysqli line is commented out, its fine.> > There 
is definately one copy only of the dll on the server.> > using> w2k3, mysql 5> 
> * * * * * * * * * * * *> > Help protect the environment - please don't print 
this email unless you really need to.> * * * * * * * * * * * *> > This 
communication is from City of York Council.> > The information contained 
within, and in any attachment(s), is confidential and legally privileged. It is 
for the exclusive use of the intended recipient(s). If you are not the intended 
recipient(s), please note that any form of distribution, copying or use of this 
communication, or the information within, is strictly prohibited and may be 
unlawful. Equally, you must not disclose all, or part, of its contents to any 
other person.> > If you have received this communication in error, please 
return it immediately to the sender, then delete and destroy any copies of it.> 
> City of York Council disclaims any liability for action taken in reliance on 
the content of this communication.> > -- > PHP Windows Mailing List 
(http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php> > 
_________________________________________________________________> Descarga ya 
gratis y vive la experiencia Windows Live.> 
http://www.descubrewindowslive.com/latam/index.html
_________________________________________________________________
Descarga GRATIS el poder del nuevo Internet Explorer 7.
http://optimized.msn.com/Default.aspx?mkt=es-cl

--- End Message ---
--- Begin Message ---
Brerton,

Here is a guide on a wiki for phpGEDView that I used to get my 2K3 server working.

http://wiki.phpgedview.net/en/index.php?title=How_to:Install_IIS_with_PHP_and_MySQL

Matt G

Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Phone: (706)542-9538


Brereton, Stephen wrote:
I'm trying to get a mysql driven site working, but have hit a nasty problem

Started off with php 5 but that simply refuses to find the dll.
rolled back to 4.2 or some such, which then fails to load when the dll is 
included in the extensions list.
So long as mysqli line is commented out, its fine.

There is definately one copy only of the dll on the server.

using
w2k3, mysql 5

* * * * * * * * * * * *

Help protect the environment - please don't print this email unless you really 
need to.
* * * * * * * * * * * *

This communication is from City of York Council.

The information contained within, and in any attachment(s), is confidential and 
legally privileged. It is for the exclusive use of the intended recipient(s). 
If you are not the intended recipient(s), please note that any form of 
distribution, copying or use of this communication, or the information within, 
is strictly prohibited and may be unlawful. Equally, you must not disclose all, 
or part, of its contents to any other person.

If you have received this communication in error, please return it immediately 
to the sender, then delete and destroy any copies of it.

City of York Council disclaims any liability for action taken in reliance on 
the content of this communication.


--- End Message ---
--- Begin Message ---
Hello Alan,

I have Apache2.2/MySQL/PHP on Vista Home working. Here are a few lines from
my httpd.conf to consider:

In the "LoadModule" section:
        LoadModule php5_module "C:/php/php5apache2_2.dll"
In the "<IfModule mime_module>" section:
        AddType application/x-httpd-php .php
At the end of httpd.conf:
        PHPIniDir "C:/PHP/"

Of course, if you have PHP installed into a different directory than noted
here, you'll have to make the necessary adjustments to the paths.

Jeff





-----Original Message-----
From: Alan M Dunsmuir [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 12, 2008 4:45
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Running under Windows Vista?

Is there some trick to getting PHP5 to install properly under Windows Vista?

I had a successful Windows 'localhost' installation of Apache/MySQL/PHP 
about a year ago, and I've been trying to get the same thing up under Vista 
(Home Premium). MySQL and Apache2 install fine, but I just cannot get Apache

to recognise php coding. If I try to run phpinfo() as a "Hello, World!" 
example, I get the full contents of the source file displayed on the 
monitor:

<?php
phpinfo() ;
?>

I've made what I thought were the required changes to httpd.conv, and 
stopped and restarted Apache, but php just won't kick in.

Would somebody please hold my hand, and walk me through what I need to do 
step by step?

Many thanks. 


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


--- End Message ---

Reply via email to