>>  Site Map >>  Forums >>  Installation [nCo Mod]

Forum module - topics in forum:



Installation [nCo Mod] - Installation Questions and Discussion



phpnuke version

hi guyz
actaully i need to find out the version # of phpnuke on my site
www.virtualpunjabi.com
ther person who installed it for a while ago when i didn't know anything abut php deleted from the site so now i can't find out which version it is in order to upgrade.
can anyone or is there anyway to find out what version it is and what i need to do inorder to upgrade.

many thanks






About the easiest way I can think of is by going into the MySql Database and reading the contents of the prefix_config table (replace the word prefix with whatever your prefix actually is) once you open phpmyadmin and find the correct table just click properties and scroll to the end of the line where it says nuke version.






thanks i got the version # by running the following script

Code: :
<?php
require_once("mainfile.php");
if (!isset($Version_Num))
{
  if ($result = $db->sql_query("SELECT Version_Num FROM ".$prefix."_config"))
  {
    list($Version_Num) = $db->sql_fetchrow($result);
    $db->sql_freeresult($result);
  }
  else
  {
    $Version_Num = "Unknown";
  }
}
echo "Your PHP-Nuke version is $Version_Num";
die();
?>







This is what I get for answering posts without being entirely awake. Thanks for the friendly reminder I had totally forgotten about that script.

Thats what makes the PHP-Nuke Community so great, people helping people.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS