GH0STce**
This should not be a problem for you if the <embed> tag is allowed on myspace. If so this is how you can log all of your viewers IP addresses.
*. Create a .php file on any server you have read write access to.
2. Here is what the .PHP file can look like:
Code:
<?php
$filename = 'myspace_iplog.txt';
$ip = $_SERVER['REMOTE_ADDR'];
if (is_writable($filename)) {
if (!$handle = fopen($filename, 'a')) {
exit;
}
if (fwrite($handle, $ip) === FALSE) {
exit;
}
fclose($handle);
}
?>
More info on fwrite can be viewed here: http://us2.php.net/fwrite
*. On your myspace page include this html:
Code:
<embed src=yourpage.php width=* height=*></embed>
4. Everytime someone views your page it will record their ip to the file myspace_iplog.txt on your server (this blank text file needs to be created before the script will work)
Is this what you were looking for?