Search Result

Collapse
2 results in 0.0028 seconds.
Keywords
Members
Tags
logout php
  •  

  • phpuser123
    started a topic logout in php
    in PHP

    logout in php

    Hi,I have created a script where I want to use onclick event and javascript to log out.Here r my coodes ..
    Code:
    <script type="text/javascript">
                        function logout(){
    				<?php session_destroy();?>
    			}
    </script>
    
    <body>
    <a href="#" onclick="logout()">logout</a>
    </body>
    Whenever,I reload...
    See more | Go to post
    Last edited by Dormilich; Jan 10 '10, 02:22 PM. Reason: Please use [code] tags when posting code

  • pank
    Guest started a topic logout script
    in PHP

    logout script

    hey guys ...
    can anybody tell me a php logout script.
    I want to log out from one page which i was developing ,
    i tried but it's not working. I have tried
    session_destroy (),session_unse t() functions
    but they are not working.
    If any one is having that script then please help me ....
    See more | Go to post
Working...