A little stuck...(newbie alert!)

C

Claw

Guest
Hi I was wondering if anyone can help me with a couple of questions...

1: What version of php4 is running on the hosted sites? 4.02, 4.12 etc...

2: I'm trying to get a game running on http://www.clawspad.barrysworld.net/ngs/login.php so that I can hopefully learn from the experience, I've got my absolute path but the bit that I'm struggling with is the following:
// Path on the filesystem where the Nova Gaming System files
// will reside:
$gameroot = "/var/www/html/ngs/";

should that read
$gameroot = "/var/websites/hosted/clawspad/ngs/";
or
$gameroot = "/var/www/clawspad.barrysworld.net/ngs/";
or something else?

I'm a total newbie at this stuff :)

many thanks for your help on these questions an old brain is trying to learn new tricks :uhoh:
 
C

Claw

Guest
Update time

I've since got hold of setup_info.php which has given me the paths i need, an interesting twist though, if i put it in my root dir it works, put it in a created dir for e.g. /ngs/setup_info.php and it doesn't work, I get the same blank screen when i try to access it.
 
J

Jonty

Guest
Sorry, just a flying visit, so I have only skimmed your posts. The absolute path for BarrysWorld hosted sites is websites/hosted/mysite where mysite is your website name. So, perhaps $gameroot = "websites/hosted/mysite/ngs/"
is what you're after (if you create an 'ngs' folder). I'll check this post more thoroughly later on, sorry if this is of no use.

Kind Regards
 
J

Jonty

Guest
Forget to mention that we're running version 4.2.2 of PHP, if you really need to know

Code:
<?php echo 'The current version of PHP is ' . phpversion(); ?>
Kind Regards
 
C

Claw

Guest
ahh 4.22, the game i've been attempting to setup and run is wrote for 4.12 :rolleyes: back to the drawing board methinks lol.

cheers for the replies Jonty, much appreciated.
 
J

Jonty

Guest
Glad to be of some assistance. It should be noted that PHP is generally, as a rule of thumb, backwards compatible so things are usually only added to newer builds, rather than taken away. So, in theory at least, a 4.1.2 script should be able to run o 4.2.2 If in doubt, contact the author :)

Kind Regards
 
C

Claw

Guest
yes i've been in contact with the author throughout this (getting install help etc) and he assures me its not compatible, must be something to do with the way in which he's re-writing the code for the game.
 
M

Mr. 47

Guest
should work...

who knows

there are some things removed in version 4 upgrades
 

Users who are viewing this thread

Top Bottom