The Arcive of vBulletin Modifications Site. |
|
A quick question installing last10.php! please Help! Details »»
|
|||||||||||||||||||||||||||
|
A quick question installing last10.php! please Help!
Developer Last Online: Nov 2014
I have two websites with two different hosting companies I use SSI with all my pages in my main website them the other website Im using Vbulletin board.
Now I want to put the last ten post script in my main site how do I call the last ten post script that is located @ my myforumsite.com ?? this is what i mean take a look! From my mainsite.com using SSI I need to call this script (last10.php), that is located at myforumsite.com how can i do that i already tried this but is not working: <!--#include virtual="/www/myforumsite/admin/last10.php" --> Your help will be apreciated! Thanyou, JEO Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I think the syntax is correct, make sure you put it in an shtml document so it will be parsed.
|
|
#3
|
|||
|
|||
|
FireFly I already did that, but someone from sitepointforums told me that I CAN'T include files that are not on my server using SSI!
And what i did was copy over the last10.php and the config file (& what ever points to the database) But them im getting this error Warning: MySQL Connection Failed: Host is not allowed to connect to this MySQL server in /home/www/mymainsite/last10.php on line 14 Can't open connection to MySQL I wonder how sitepoint.com is calling this script from sitepointforums.com?? |
|
#4
|
||||
|
||||
|
You need to ask your host to allow connections to your MySQL database from your other site (currently you can only connect to it from localhost, i.e the same server; ask him to let you connect from your other server).
|
![]() |
|
|