dontretail
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t upload images, no error messages. WP2.7I used the simple scripts function from my BlueHost cpanel…. shouldn’t I be able to assume that everything was done correctly? I don’t know how to verify that everything’s there :-S
Forum: Fixing WordPress
In reply to: Can’t upload images, no error messages. WP2.7I don’t get any sort of red cross at all, just a blank space where the image should be
Forum: Fixing WordPress
In reply to: Can’t upload images, no error messages. WP2.7I tried downgrading to flash 9 and it didn’t solve the issue 🙁 this sucks 🙁
Forum: Fixing WordPress
In reply to: Can’t upload images, no error messages. WP2.7Flash 10. Yes, I’ve used both the flash and non-flash uploader. It’s weird, everything seems alright, and the upload completes as if it were just fine… but there’s just no image!
Forum: Fixing WordPress
In reply to: Can’t upload images, no error messages. WP2.7Thanks for the help! I haven’t upgraded however, this is a brand new fresh start, so I wouldn’t understand why there would be files missing. How can I verify if there are files missing?
Forum: Themes and Templates
In reply to: Positioning issues in my Template🙁
Forum: Plugins
In reply to: Redirect based on geo-locationI was looking for the same thing. I have found this: http://www.ip2nation.com/ip2nation/Sample_Scripts
<?php
$server = ”; // MySQL hostname
$username = ”; // MySQL username
$password = ”; // MySQL password
$dbname = ”; // MySQL db name$db = mysql_connect($server, $username, $password) or die(mysql_error());
mysql_select_db($dbname) or die(mysql_error());$sql = ‘SELECT
country
FROM
ip2nation
WHERE
ip < INET_ATON(“‘.$_SERVER[‘REMOTE_ADDR’].'”)
ORDER BY
ip DESC
LIMIT 0,1′;list($country) = mysql_fetch_row(mysql_query($sql));
switch ($country) {
case ‘se’:
// Get the swedish to a swedish newssite
header(‘Location: http://www.thelocal.se/’);
exit;
case ‘us’:
// And let the folks from american go to CNN
header(‘Location: http://www.cnn.com/’);
exit;
default:
// The rest can go to BBC
header(‘Location: http://www.bbc.co.uk/’);
exit;
}?>