PDA

View Full Version : Including php file?


soundboy
10-18-2008, 11:23 AM
I need to include a php file.. is it ok if it makes external connections (like to another database?) through the plugin system?

Thanks :o

Dismounted
10-18-2008, 11:54 AM
Other connections should be OK if they use their own link identifier.

soundboy
10-19-2008, 02:07 AM
This is one of the pages id like to put in a plugin..


edited.


Would that be safe?

Dismounted
10-19-2008, 02:58 AM
No - when querying for data, you are not using any link identifier. And in any case - I do not know how the connection is established, as that is in another file included.

If they are on the same server, why not use the "database.table" syntax?

soundboy
10-19-2008, 03:03 AM
Dont worry, i found a way :)
Thanks for you help!