right i have this now working with a huge difference
i can call anything from photopost now
i modified the thumbincluder to call a script from the photopost scripts instead of using $user, $database,
i called a script using
require
that has the database user and pass included and also has all the globals used
now i have got my pictures aswell as top submitters and diskspace used
it is pretty complicated to do and i will need to talk to pixelfx
i am on holiday in the next few days so i will be away for a while hopefully i can leave all my guides in pixelfx's hands and he can sort it ???
or just wait for me to get back