The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP code in the logout page?

Discussion in 'User Experience' started by mizzizzippi, Dec 15, 2004.

  1. mizzizzippi

    mizzizzippi Guest

    I have looked and looked around to see if I can find a way to place PHP code in the logout page of CPanel but can not find a way. It seams that when you go to it will display what ever is in the logout.html page which I can modify all day long without problems but I can not put PHP code in that page because of the HTML extention. Does anyone know how I might be able to get PHP code to run in the logout page? I have already tried to rename the page to logout.php butthat does not work. Any help would be great! Thanks
  2. linux-image

    linux-image Well-Known Member

    Jun 8, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    put a redirect in the logout html page to the php page that u want to display.
  3. mizzizzippi

    mizzizzippi Guest

    Thanks for the help. That worked for me. I did the <cpanel include="file.php"> tag.

Share This Page