![]() |
problem with the $vbulletin object
Hi, this is a strange question, but I hope to someone help me to solve..
I explain.. i'm trying to make a thing like a bridge... for the first test I used to retrieve the logged user information... to do this first thing i created a file test.php in the root of the forum and the code is this: Code:
require("includes/config.php"); second step I want check this thing from another place... so I use this code: Code:
$fp = @fopen( "http://forum/test.php", 'r'); what can I solve this thing? thanks in advance! ghiboz |
"Unregistered" == Guest/Not Logged In User
|
yes, this I understand, but my problem is that the user is registered.....
|
Most likely you are calling this script from another domain, and there is no cookie set for this domain.
|
Quote:
is there a chance to make this think working? thanks mate! |
You will have to set cookies at the other domain. Cookies are not shared cross-domain for security reasons.
|
hmm thanks... and to do this how can I do??
|
The only way to set cookies is for the user to load a page/image.
|
so, if before to call my page, i load a vbulletin page it works?
my problem is not to set the vbulletin cookies, but read them from another domain! |
That is basic internet security: You can not read cookies from another domain!
|
All times are GMT. The time now is 02:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|