Hello everyone, i have a question abou ssi.php...
i have install gallery (vers. 1.2) in a sub subdomain... (http://gallery.mysite.com) in my primary domain i use phpnuke, so i'd like put in lateral block last picture add... i think ssi.php it's right, but i don't know how include the php code in a block :roll:
Can you help me???
Thanks
the usage of ssi.php is not recommended anymore (as it doesn't take into account any permission settings). I moved your posting from mods board here to phpnuke support, as I don't know block strutcure etc. of phpnuke. If hope somebody here can/will help you.
GauGau
Your block-??.php must be made in one of 2 ways:
Coppermine tables in same database as nuke tables
Just download Coppermine for phpNuke and modify the blocks to connect to standalone tables.
Coppermine tables in seperate database
You need to create a database connection to your standalone Coppermine database. Run a query to it and echo the output in your way.
can't you make use of the code for producing the random image table? i think it's in include/functions.php
Yes if you use the second option i gave you and the block- needs the include path to your functions.inc.php
another option for Apache:
install CPG 1.2 for phpNuke and modify some .htaccess files that that correspond with the subdomain