php includes or SSI

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

sorry I can't help you here. the code is under copyrite.
and cut the code out of your post: posting it here is infringing the copyrights
Haaid
Posts: 18
Joined: Sun 18. Apr 2004, 15:23
Location: Brissels, Belgium

Post by Haaid »

done

tx
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you could search hot scripts for an open source file ;)
User avatar
Oliver Georgi
Site Admin
Posts: 9928
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

when you are using {PHP:myscript.php} myscript.php has to be placed in the same directory where phpwcms is installed.

myscript.php can be ANY kind of html or text or php file.

when you try to access mysql inside your script and the table is in the same database as phpwcms then you do not need to connect to your database again.

do it like this:

Code: Select all

mysql_query($sql, $GLOBALS['db']) ...
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

This must be ~almost~ a candidate for a -=STICKY=- you think? :lol:
Thanks O.G.
Could you add one (or more) little extra tidbits to flesh this out??
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

the names for ALL the index.php extentions would br nice :) i have seen the descripotions of these in other posts such as $GLOBALS[content][cat_id] & $GLOBALS[content][article_id] but the others?

I reaslse i am THIS dumb :oops: but please humour me :?
User avatar
Oliver Georgi
Site Admin
Posts: 9928
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

no problem - I will write a documentation for this.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply