Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    mizzizzippi
    Guest

    Default PHP code in the logout page?

    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 http://www.yoursite.com:2082/logout/ 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. #2
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    put a redirect in the logout html page to the php page that u want to display.

  3. #3
    mizzizzippi
    Guest

    Default

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

Similar Threads & Tags
Similar threads

  1. Change the webmail logout page in Cpanel 11?
    By ElrondBCN in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-21-2007, 12:16 AM
  2. Weird code on my page - possible server hack?
    By dob3rman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-05-2007, 07:31 PM
  3. cpanel logout page
    By AA2004 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-03-2004, 07:17 PM
  4. Need The Original Code For This Page
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-09-2004, 11:23 AM
  5. Displaying images on the logout-page
    By strauberry in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-10-2003, 04:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube