Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Wow to link without "page.php?do=page" ?

Quote Reply
Wow to link without "page.php?do=page" ?
Hi!



I'd like to keep the files in .php, but i want to link to them directly:

e.g. http://www.domain.com/links/New/index.php instead of http://www.domain.com/...=page&action=new

What needs to be changed?



Greetings,

sun
Quote Reply
Re: [sun112] Wow to link without "page.php?do=page" ? In reply to
I think what you'd need to do is write out your site in static mode, with a php extension.

That would allow including dynamic content in the page, but it would _NOT_ give you access to the Links variables, globals, logon info, etc. You'd have access to php variables and functions, but NOT Links SQL.

The only way to do that is to go through page.cgi, which does a lot of the work for you, including initializing the Links SQL session.

I don't use php mode, so this is only a guess.


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.