Jump to content

OJB

Members
  • Posts

    362
  • Joined

  • Last visited

Everything posted by OJB

  1. your upload directory can be anything you want it to be.... but your root home directory is as follows: /home/cpanel-username/ so if you wanted your upload directory to be under your webroot and hence accessible via the internet you would want it something like: /home/cpanel-username/public_html/uploads if you have it outside of your public_html folder it will be inaccessible from the internet /home/cpanel-username/uploads but given that you want a URL I am assuming you want access to it so use /home/cpanel-username/public_html/uploads and this would make the URL to it http://your-domain-name.ext/uploads
  2. This sounds like you have your login credentials incorrect. Looks like you are trying to log in with the non root (default) account i.e. an account you manually set up. So maybe double check you got your username and password correct If it is the root then the username and password will be the same as your cpanel username and password I believe. If you are logging in with a user you have created then the username will be slightly different, it is usually username@domainname.ext (ext being the .com, .co.uk etc etc) and whatever password you set in cpanel.
  3. click on your start menu and (if you are on XP click RUN) and type in msconfig and hit enter .. then click on the Startup tab of msconfig Look down the list for the adobe updater you don't want to start when your PC does, untick the box next to it and click Apply. The next time you start your pc the updater won't run. It may prompt you to restart then and there or restart later, the choice is up to you it should work either way.
  4. Nice link thomas, thanks alot here is another site with 50 of the best ever icon sets speckyboy.com/2009/02/02/50-of-the-best-ever-web-development-design-and-application-icon-sets/
  5. Lets hope for fellow developers out there that it is more compliant than previous versions!!!! I already have too many browsers to check .. google chrome firefox ie6 ie7 opera safari now ie8?? sad times
  6. to view a php file locally (on all browsers) you need an apache installation with php as bruce said. if you are new to apache/php/mysql then i recommend XAMPP as it is a complete installation all in one http://www.apachefriends.org/en/xampp.html Once this is installed you need to run apache as a service through XAMPP and then you will be able to preview your files by putting your file.php in your htdocs under your XAMPP installation directory then navigating to them via http://localhost/file.php
  7. will this work? ><IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> RewriteCond %{HTTP_HOST} ^15minutestoriches.com$ [OR] RewriteCond %{HTTP_HOST} ^www.15minutestoriches.com$ RewriteRule ^(.*)$ http://www.wealthitself.com/$1 [R=301,L] I think the thing you have missed is the the full regular expression ... (.*) in the rewrite rule might need to be ^(.*)$ to denote the start and end of the string. I am no mod rewrite expert though but worth a shot?
  8. Video streaming from a shared host is dodgy territory, 1MB per second per file, per user who watches it will soon enough kill your bandwidth. I personally would look at a third party host.
  9. yellow (a lot of Y words already haha)
  10. narcolepsy
  11. I think you need Adobe Flash which isn't cheap at £562 from Adobe.
  12. That has to be done when you convert the FLA to a SWF.
  13. ^ No problemo. And its superman, not woman hahah. Glad you got it working!! Let me know if you have any other issues.
  14. you need to create a div with a unique id where the SWF is going to be embedded. then somewhere OUTSIDE of that div you need to put the following: ><script type="text/javascript"> var stageW = 650; var stageH = 300; var cacheBuster = Date.parse(new Date()); var flashvars = {}; var params = {}; params.bgcolor = "#efefef"; params.allowfullscreen = "true"; flashvars.stageW = stageW; flashvars.stageH = stageH; flashvars.xmlPath = "accordion.xml"; flashvars.keepSelected = "t"; flashvars.selectedWindow = "4"; flashvars.slideshow = "t"; flashvars.imageWidth = "315"; flashvars.imageHeight = "300"; swfobject.embedSWF("preview.swf?t="+cacheBuster, "YOURDIVID", stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params); </script> Note where it says "YOURDIVID", you replace that with the id you have given the div you want to embed the swf into. so for a very basic example ><html> <head> <title>Page Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript"> var stageW = 650; var stageH = 300; var cacheBuster = Date.parse(new Date()); var flashvars = {}; var params = {}; params.bgcolor = "#efefef"; params.allowfullscreen = "true"; flashvars.stageW = stageW; flashvars.stageH = stageH; flashvars.xmlPath = "accordion.xml"; flashvars.keepSelected = "t"; flashvars.selectedWindow = "4"; flashvars.slideshow = "t"; flashvars.imageWidth = "315"; flashvars.imageHeight = "300"; swfobject.embedSWF("preview.swf?t="+cacheBuster, "flashAccordion", stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params); </script> </head> <body> <div id="flashAccordion"> </div> </body> </html>
  15. I agree with Bill. Dell make quality laptops. If I were in the market for a laptop right now my first port of call would be the dell site.
  16. I thought swfObject 2.1 didn't use the same syntax as before. you are using: >var so = new SWFObject("http://test.krissi.net/wp-content/themes/arthemia-premium/deploy/preview.swf?xmlPath=http://test.krissi.net/wp-content/themes/arthemia-premium/deploy/accordion.xml&KeepSelected=t&selectedWindow=0&imageWidth=420&imageHeight=325&sWidth=600&sHeight=325", "sotester", "600", "325", "8", "#ffffff"); so.addParam("allowFullScreen", "true"); so.addParam("wmode", "transparent"); so.write("flashcontent"); I thought the new version made use of this syntax to embed a swf: >swfobject.embedSWF(swfUrl, id, width, height, version, expressInstallSwfurl, flashvars, params, attributes); where 'id' is the id of the DOM element you are trying to embed the swf into. But then again I am no javascript expert so I might be wrong.
  17. The helpdesk will be able to do this for you/them yes. https://ssl.totalchoicehosting.com/supportdesk
  18. OJB

    Scrabble II

    stain
  19. If you just want to convert two tables to a different character set then this command can be run from within PHPMyAdmin >ALTER TABLE tbl_name CONVERT TO CHARACTER SET charset_name; If you want to convert to latin1_swedish_ci it will be >ALTER TABLE tbl_name CONVERT TO CHARACTER SET latin1; If you wish to change the character set of just particular columns in a table then do this: >ALTER TABLE tbl_name MODIFY col_name TEXT CHARACTER SET latin1; NOTE: Where it says TEXT above you need to put the data type of the column, i.e. text, integer, varchar(200), BLOB etc etc... Before doing any of this take a backup of your db though.
  20. Why are you trying to change the charset from UTF8? UTF8 is very much the preferred encoding for a lot of websites. You can't just change to 'English' you would have to change to a different charset but I don't know why you would want to do that unless you're site is predominantly in a language such as hindi... How large is your database? There are queries that can be run which will create a copy of a database, but if you have thousands of rows in your db you are likely to lock the tables and thus your site will be unable to contact your database until the query has complete. Talk to the help desk and they will be able to transfer data without locking the tables for as long from the command line (I guess)... if you are not sure what you are doing though Bruce is correct, best not to fiddle.
  21. nice one thomas, CCleaner makes a regular appearance on my PC.
  22. I found this on a google search: http://forums.wirenine.com/f11/550-access-...ello-name-t599/ I am afraid I don't know any VB, so am not sure that is even along the right lines of what you are looking for.
  23. In your cpanel on the left hand side the path to sendmail shows as: /usr/sbin/sendmail
  24. This sounds like a default character set issue to me, but I may be incorrect. I'm not sure but try putting this at the top of your html in the <head> tags ><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  25. Spam can be a problem. It certainly was (and in a way still is) on my forum but I won't get into that. If you are setting up a forum for a very select few people then spam should not be an issue because you can manually activate accounts yourself. Make sure guests can't post and members cannot post until they have been approved by an administrator. This way all the annoying bots/people who spam all day should not get the opportunity to do so. Spam is more a problem when you have a very public forum with free registration and email account validation (not administrator validation). But each forum has either core elements built in which help tackle the spam problem or add-ons/modifications you can download which will help.
×
×
  • Create New...