The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
include
How is it that I can use include to obtain variables from another site. I tryed this but I did not work.
script on http://www.site1.com/vars.php PHP Code:
PHP Code:
Thanks - Neon |
#2
|
||||
|
||||
Worked fine for me...
|
#3
|
||||
|
||||
Quote:
PHP Code:
|
#4
|
||||
|
||||
With the way permissions are, you should read about including remote files. For security reasons, you can't just use variables in a file that you include from somebody else's site.
You can show the output of the file, but you can't access the variable values. If I recall correctly, fopen will let you use the variables, but you will need access permissions to the file. It's been a long time since I had to do this. Search on Google for remote include php |
#5
|
|||
|
|||
More specifically: think about what you could do if you could have scripts between two servers interact. It would be a nightmare. Security would be gone.
|
#6
|
||||
|
||||
thats if you designed it without security measures. Thanks all for the info.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|