Thread: Version Checker
View Single Post
Old 03-04-2008, 10:36 AM   #19 (permalink)
ReSpawN
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

Well that won't work I guess. You're opening the variable with a single quote and escaping it with a double quote.

It should be;
PHP Code:
    $aeburl 'http://www.'$global['usite'].'.com/aebinfo.js?version='.$globals['version']; 
You can also check the version with;
PHP Code:
 $versionCheck file_get_contents('http://www.'$global['usite'].'.com/aebinfo.js');
$versionCheck explode('::'$versionCheck);
foreach (
$versionCheck as $key => $value) {
echo 
$versionCheck[$key]. '<br>';

The source of that will will look like;
VersionName::Version::Publisher::TalkPHP::WhatEver
And it'll display it all with an enter.
__________________
"Life is a bitch, take that bitch on a ride"
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote