Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mizzizzippi

    mizzizzippi Guest

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice