Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2669
I've been thanked 63 times.
Offline
thegyspsy wrote:
Ya know...Mob/North.... there are days I wish I could afford to work with ya'll full time...
Of all the responses.. here and other boards ... yours are still making the most sense...
Flattered! 
Internet Marketing Books
Promote Yourself on Site Reference!
Administrator
From: you know you want a caricature
Registered: 2004-11-08
Posts: 3339
I've been thanked 31 times.
Offline
I like angel eyes idea - costs little - easy for different content - worth a go!
Angel Eyes wrote:
If you want to target the UK market get cheap server in the UK and put a up a few pages, use these to link to and advertise your SA site - alternativly try setting up a 301 redirect from the UK pages to the SA pages to by-pass the duplicate content filters
Get an amazing caricature
Support OBAMA? Get a Tshirt
Get an avatar or mascot for your blog, Facebook or forum use
Member
From: Loughborough, United Kingdom
Registered: 2006-04-14
Posts: 792
I've been thanked 13 times.
Offline
Northie wrote:
thegyspsy wrote:
Ya know...Mob/North.... there are days I wish I could afford to work with ya'll full time...
Of all the responses.. here and other boards ... yours are still making the most sense...Flattered!
Yeah totally flattered!! 
NoSting Hosting - Brightside Hosting Ltd: Member of Nominet / eNom ETP
^^^ Now with over 400 free templates, ShoutCast, LAME + FFMPeg
Ringtones - Palace Marketing Ltd: D2C and B2B mobile content since 2002
Member
From: South Africa, Port Elizabeth
Registered: 2006-08-23
Posts: 1803
I've been thanked 33 times.
Offline
Come this afternoon, my site will be sitting on a server in the UK... and when it trips, ar has power out... i wont know... and wont have anyone to shout at. I think this could get messy. Regardless, i am taking your advice aswell angel eyes, im going to try find free hosting
in different places and create mini Lalibela sites to link to the original. One question though... how do i set up a 301 redirect?
My up and coming... soon to be real website... www.thewebguy.co.za (one day i will finish it
)I found this tip for local targeting in a todays newsletter concerning to the Interactive Site Review session at the 2007 Las Vegas PubCon:
- if you are targeting your site geographically, get links from local
entities (Chamber of Commerce, local directories)
greets,
ak
Member
From: South Africa, Port Elizabeth
Registered: 2006-08-23
Posts: 1803
I've been thanked 33 times.
Offline
Thats not a half bad idea... im listed in most of SA's main tourism sites but it never occured to me to haggle the foreign travel sites.... i like this line of thought. Shot Ak
My up and coming... soon to be real website... www.thewebguy.co.za (one day i will finish it
)Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2669
I've been thanked 63 times.
Offline
there's a waelth of resources on this forum about 301s
You won't get that sort of access on free servers - you'll need to pay a few £££ each month.
to be able to use .htaccess you'll want a linux box running apache
Another point,
why will you not know if your UK server is up or down and be able to know when your SA server is up or down?
The simplest think to do is to set up a file on your local machine that checks the headers of one of your webpages every 5 minutes and emails you if it's down
Internet Marketing Books
Promote Yourself on Site Reference!
Member
From: South Africa, Port Elizabeth
Registered: 2006-08-23
Posts: 1803
I've been thanked 33 times.
Offline
damn... i was hoping to carry on with my... "i never paid nobody" strategy in marketing. I wasnt aware i could write a script to do that... and if i did it would surely slow... no it wouldnt, especially if its only every 5min. Shot again Northie. (when i had hosting in SA i scared the crud out of our hosting company so they phoned me if there were any glitches... i dont think i would get the same response fromt the UK host.)
My up and coming... soon to be real website... www.thewebguy.co.za (one day i will finish it
)Member
From: Loughborough, United Kingdom
Registered: 2006-04-14
Posts: 792
I've been thanked 13 times.
Offline
i cobbled up this remote server checker some time back, needs cron to run but can check the 'status' of one site from another. it's similar to what northie suggested.
http://phpbuilder.com/board/showthread.php?t=10300700
it's and old code hack, i'd do it very differently today but it serves its job well enough.
NoSting Hosting - Brightside Hosting Ltd: Member of Nominet / eNom ETP
^^^ Now with over 400 free templates, ShoutCast, LAME + FFMPeg
Ringtones - Palace Marketing Ltd: D2C and B2B mobile content since 2002
Member
From: South Africa, Port Elizabeth
Registered: 2006-08-23
Posts: 1803
I've been thanked 33 times.
Offline
Cool beans... shot Mob
My up and coming... soon to be real website... www.thewebguy.co.za (one day i will finish it
)Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2669
I've been thanked 63 times.
Offline
I can't find mine, but it was for a local machine and used a javascript meta refresh
computers in the office are on all the time with UPS, so it sits quitely on one of those - I think it even sends a text message if out of office hours (although I didn't write that part!)
php5 has the get_haeders() function, but if you're not using php5, you can use this:
Code: php
<?
if(!function_exists('get_headers')) {
/**
* @return array
* @param string $url
* @param int $format
* @desc Fetches all the headers
* @author cpurruc fh-landshut de
* @modified by dotpointer
* @modified by aeontech
*/
function get_headers($url,$format=0)
{
$url_info=parse_url($url);
$port = isset($url_info['port']) ? $url_info['port'] : 80;
$fp=fsockopen($url_info['host'], $port, $errno, $errstr, 30);
if($fp)
{
$head = "HEAD ".@$url_info['path']."?".@$url_info['query']." HTTP/1.0\r\nHost: ".@$url_info['host']."\r\n\r\n";
fputs($fp, $head);
while(!feof($fp))
{
if($header=trim(fgets($fp, 1024)))
{
if($format == 1)
{
$key = array_shift(explode(':',$header));
// the first element is the http header type, such as HTTP 200 OK,
// it doesn't have a separate name, so we have to check for it.
if($key == $header)
{
$headers[] = $header;
}
else
{
$headers[$key]=substr($header,strlen($key)+2);
}
unset($key);
}
else
{
$headers[] = $header;
}
}
}
return $headers;
}
else
{
return false;
}
}
}
if(isset($_REQUEST['url'])) {
$PageHeaders = get_headers($_REQUEST['url']);
reset($PageHeaders);
}
?>
<br>
<div style='{ width:400px; }'>
<form id='headers' method='get' action='<? echo $_SERVER['PHP_SELF'];?>'>
<p style='{ text-align:center;}'>Enter the url of the page you want to test the headers on.</p>
<input id='url' name='url' type='text' size='64'><br>
<p style='{ text-align:right;}'><input id='submit' name='submit' type='submit' value='Submit'></p>
</form>
</div>
<pre>
<? print_r($PageHeaders); ?>
</pre>
Internet Marketing Books
Promote Yourself on Site Reference!
Member
From: South Africa, Port Elizabeth
Registered: 2006-08-23
Posts: 1803
I've been thanked 33 times.
Offline
i just found out that our server does not support php... any version. Is there any chance you guys have a java version of this script? Unless i just write a simple "if" statement and run it off a freebie server... maybe?
My up and coming... soon to be real website... www.thewebguy.co.za (one day i will finish it
)Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2669
I've been thanked 63 times.
Offline
Ryan_steyn wrote:
i just found out that our server does not support php... any version. Is there any chance you guys have a java version of this script? Unless i just write a simple "if" statement and run it off a freebie server... maybe?
If you wnat to use server side scripting - change hosts!!!!!!!!!
I can't think of any hosts that allow SSS
Internet Marketing Books
Promote Yourself on Site Reference!
| Never |





