Jump to content
xisto Community

cragllo

Members
  • Content Count

    954
  • Joined

  • Last visited

Everything posted by cragllo

  1. The Sims Zone is one of the largest and longest running sims websites, i dont think they have upgraded their phpnuke in years lol
  2. Its my ISP, blocked the Xisto hosted sites server, i was transfering too much data to and from it apparently. lolooo, thats looks awesome, erm... but hard to read the text though.Be good if it went, white > green with red text in the middle lol, like the welsh flag
  3. I hate seing some stupid versions of words, now dont get me wrong, i use some like g2g, lol, lmao, but its the ones like 7hi$ :unsure:So I have a message to all those people (mostly 'townies' who type like that:1f u c4n r34d th1s, u r3411y n33d t0 g37 a 1if3Thats all I have to say on that matter
  4. Frontpage is rubbish, cant set table borders to 0, and i made a template for someone in Dreamweaver, they opened it in Frontpage, and it looked completley different, the background images of tables i added (using css) did noit show at all. and dreamweaver does not have a unique layers system, loads of other programs have the ability to add layers, the same as Dreamweaver does... layers are only for dreamweaver, you dont get different html for different programs, layers arent unique to dreamweaver.
  5. PHPNuke is a CMS (content managment system) you basicaly install it, and its all database driven, you can add new pages, it has built in link dorectory system, built in gallery system, built in downloads system, and is very easy to use, some sites that use it are: http://www.thesimszone.co.uk/
  6. Possible reasons could be::: High server load:: Try changing the cPanel theme back to normal (if that is possible) the current one is quite graphical.
  7. I used a proxy to see it, looks pretty cool
  8. I cant view anything on the Xisto hosted sites server, stupid ISP, also its a G not a Q must be the underline as its a link.... makes it look like a q, but its a g. Thank you, and i wish i could see it.
  9. I LOVE the new skin, but takes too long to load, i know another site with the exact same skin, but their forum loads way quicker!
  10. over here, a new ISP will be offering 24Mbps broadband with ADSL2+, http://forums.xisto.com/no_longer_exists/ there is an artice here: http://forums.xisto.com/no_longer_exists/
  11. Yea, the roof of a bus was blown open, i just woke up now (1:44pm) and someone on msn told me about it, im so shocked! I live in South Wales btw.
  12. hmm, thats a better way to do it, but will that change the actual file name or jsut what is in the database?EDIT: I see, that makes much more sense now, thanks!
  13. hm.... will that rename the files? and insert the new data into the database?... I was shown this: $newnames2 = mysql_query("SELECT * FROM downloads ORDER BY id DESC LIMIT 1;");while($newnames = mysql_fetch_array($newnames2)){$downloadid = $newnames[id];$newlocation = $newnames[location];$newthumbnail = $newnames[thumbnail];$newimage = $newnames[image];}rename("../files/$area/$newlocation.zip", "../files/$area/newfile.zip");rename("../images/$area/$newthumbnail.jpg", "../images/$area/$downloadid_1.jpg");rename("../images/$area/$newimage.jpg", "../images/$area/$downloadid_2.jpg");mysql_query ("UPDATE downloads(location,thumbnail,image) VALUES('$newlocation','$newthumbnail','$newimage') WHERE id='$downloadid'") or die (mysql_error()); Tell me if thats wrong...
  14. Here is the code i am going to use, written originaly for only 2 files, image and location, I added 'thumbnail', can someone check through it please? $submit = $_POST['submit'];$name = $_POST['name'];$description = $_POST['description'];$age = $_POST['age'];$subcat = $_POST['subcat'];$with = $_POST['with'];$added = $_POST['added'];$type = $_POST['type'];$location = $_POST['location'];$thumbnail = $_POST['thumbnail'];$image = $_POST['image'];$area = $_POST['area'];if($submit){//File Upload Scripterror_reporting(E_ALL);//Configuration//Specific File extensions (don't add the dot)$fileextension['image'][] = "gif";$fileextension['image'][] = "jpg";$fileextension['image'][] = "jpeg";$fileextension['image'][] = "png";$fileextension['thumbnail'][] = "gif";$fileextension['thumbnail'][] = "jpg";$fileextension['thumbnail'][] = "jpeg";$fileextension['thumbnail'][] = "png";$fileextension['file'][] = "zip";//Folders to place files in (No trailing slash) (For each different type in the list above, you must add an entry here.$filefolders['image'] = "/usr/local/psa/home/vhosts/universalsims.com/httpdocs/exchange/files/$area/clothing/";$filefolders['thumbnail'] = "/usr/local/psa/home/vhosts/universalsims.com/httpdocs/exchange/files/$area/clothing/";$filefolders['file'] = "/usr/local/psa/home/vhosts/universalsims.com/httpdocs/exchange/images/$area/clothing/";//Database connectivity settingsinclude("../config.php");//image$image['name'] = $_FILES['image']['name'];$image['tmpname'] = $_FILES['image']['tmp_name'];$tmpextension = explode(".", $image['name']);$image['extension'] = $tmpextension[1];$image['OK'] = FALSE;$image['folder'] = $filefolders['image'];//thumbnail$thumbnail['name'] = $_FILES['thumbnail']['name'];$thumbnail['tmpname'] = $_FILES['thumbnail']['tmp_name'];$tmpextension = explode(".", $thumbnail['name']);$thumbnail['extension'] = $tmpextension[1];$thumbnail['OK'] = FALSE;$thumbnail['folder'] = $filefolders['thumbnail'];//file$file['name'] = $_FILES['location']['name'];$file['tmpname'] = $_FILES['location']['tmp_name'];$tmpextension = explode(".", $file['name']);$file['extension'] = $tmpextension[1];$file['OK'] = FALSE;$file['folder'] = $filefolders['file'];//imageforeach ($fileextension['image'] as $value) { if ($image['extension'] == $value) { $image['OK'] = TRUE; } }//thumbnailforeach ($fileextension['thumbnail'] as $value) { if ($thumbnail['extension'] == $value) { $thumbnail['OK'] = TRUE; } }//fileforeach ($fileextension['file'] as $value) { if (!$value = 0) { if ($file['extension'] == $value) { $file['OK'] = TRUE; } } else { $file['OK'] = TRUE; } }//check themif (!$image['OK'] OR !$thumbnail['OK'] OR !$file['OK']) { echo "File Type for image or uploaded file not supported."; die(); }//imageif (move_uploaded_file($image['tmpname'], $image['folder'] . $image['name'])) { echo "Image uploaded successfully!"; }else { echo "<br /><br />Image could not be uploaded!"; die(); }//thumbnailif (move_uploaded_file($thumbnail['tmpname'], $thumbnail['folder'] . $thumbnail['name'])) { echo "Thumbnail uploaded successfully!"; }else { echo "<br /><br />Thumbnail could not be uploaded!"; die(); }//fileif (move_uploaded_file($file['tmpname'], $file['folder'] . $file['name'])) { echo "File uploaded successfully!"; }else { echo "<br /><br />File could not be uploaded!"; die(); }//add themmysql_query ("INSERT INTO downloads (name,description,age,subcat,with,added,type,location,thumbnail,image,area) VALUES ('$name','$description','$age','$subcat','$with','$added','$type','$location','$thumbnail','$image','area') ") or die (mysql_error());} Also, I need the script the change the name of the files uploaded, they need to be changed to the id of the row in the database, as that has not been set yet, how can this be done? Needs to be: image: ID_1.jpg thumbnail: ID_2.jpg file: ID.zip This is quite urgent, and i have no idea what to do, Thanks, Craig.
  15. The biggest game community is the sims community, As it is the best selling game of all time get it! You gotta
  16. I love it, all it needs is a border, and cPanel9 changes to cPanel10 Xisto has cPanel 10 i believe???
  17. It sure is the BEST! Just got mine updated a few hours ago ^^
  18. No he does not, check out 'MTS2' http://www.modthesims.info/
  19. Thats a bit off topic, please keep to the topic at hand, also, its a rasio station, not a show, and the site will be finnished in a few days.
  20. I think thats more the flowers fault...
  21. paypal.login.trap17.com does sound a bit of a scam, its not the Xisto bit you gotta be woried about its the paypal.login bit lol.and hype: you can turn of the pop-up on .tk, not many people know that... its all part of the ambasitor program they run.
  22. You can and a favicon to your pages, but i will not show in the .tk frame, the frame needs to be removed first... You need to create a .ico file (can save as this format in photoshop) then simply use the following code <link rel="Shortcut Icon" href="favicon.ico">
  23. Like most, I just picked it up on the web, following tutorials and what not, Used to use dreamweaver, but takes too long to load when you quickly need to edit something, sop most of the time I use notepad.
  24. Ive given up, or at least im gonna try contacting the person who done it...But if you can find a solution
  25. Domians will never be free, coz thick people who dont know how to make good sies will take all the good ones... and there will be none left for people who actulay can make sites and care about its content and what people think...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.