Jump to content

JonnoTheDev

Staff Alumni
  • Posts

    3,584
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by JonnoTheDev

  1. If you have no reason to upgrade, then don't. XP is still supported. I still use XP, colleagues use Vista. The cost of licence upgrades for no benefit to working practice is the main factor.
  2. css vertical-align: top;
  3. Register a DNS server with a reliable hosting provider and point the nameserver records for all your domains at it. Manage all your zone records from this server.
  4. SELECT * FROM movielist ORDER BY dateadded DESC LIMIT 4
  5. How the f*** are you supposed to guess that. I thought that was a killer whale or something. Oh hang on, Okra not Orca, my bad. I was thinking oranges, olives, organic potatoes. F***ing okra pods, what.
  6. Wherever you are saving this to, if the final output is HTML then it should be converted to a html entity before saving. £ should be saved as £ You will get issues for instance if you try and save a £ symbol straight into a database table without the correct encoding.
  7. Depends what country you are in. The recession has definately had an impact. In the UK there has been lots of cuts in IT services.
  8. Come on give us the damn answer, its doin my head in
  9. It's for beating camels
  10. It is in a template as I can see it here <a href="http://www.zaypay.com/pay/67112" onclick="ZPayment(this); return false"><img src="http://www.zaypay.com/pay/67112/img" border="0" /></a> Find the part of the template where it is displayed and remove it, whether it is being echoed from a variable or simply the HTML above.
  11. Simple, READ THE ERROR! The username and password you are using is incorrect. 1. Do not use 'root' as the user for connecting to the database. If this password gets out you are in big trouble. 2. As I have said, you should have setup a username and password to use to connect to your database. 3. If you have access to the mysql server via SSH or whatever then setup a user for this database, otherwise get the server admin to do it. 4. Don't use persistent connections mysql_pconnect() use mysql_connect().
  12. How is anyone supposed to know what you admin control panel looks like? Simple answer: Find the template where the button is and remove it.
  13. You need the database name, username, password, hostname. The host is usually 'localhost'. Whoever set the database up for you should have set a user up also. if this is your server or you are paying for hosting on a shared server then do it yourself. mysql_connect('localhost', 'username', 'password'); mysql_select_db('database_name');
  14. Google Analytics www.google.com/analytics Use Webalizer or AWStats on your webserver to parse you website access logs to give you traffic / user / keyphrase information.
  15. What are your Google rankings for your target keyphrases? The issue with your site is that it has no solid content that a search engine could use to understand what the site is actually about. To me it just looks like a mish mash of all kinds of random stuff like pictures / videos etc. It looks like one of those crappy directory / social bookmarking based scripts with a skin on it like pligg or php motion. Another thing is that your urls are totally unfriendly to search engines. use mod_rewrite to make them friendly and get some keywords in them. Also your page titles are duplicated across the site. Each click should use a different title to indicate to a search engine that this page is different content to the last page. If all your page titles say 'Visual Skirmish | Video Contest, Photo Contest, Win Cash Prizes' then Google will put this site in the sandbox (duplicate content) bin.
  16. What do you mean by 'database properties'. Also check you directory structure/naming is correct for your includes or use set_include_path() to set the parth.
  17. Good one. Thats got me stumped. Maybe a meat tenderizer or something along those lines.
  18. Take a look at http://www.adobe.com/products/flashplayer/download/detection_kit/
  19. And why do you need to store in a server side variable? If you are using the result of the test to display certain elements on the screen then this call all be acheived client side.
  20. Please explain in detail what you are trying to achieve.
  21. Because Javascript is client side and php is server side. You cannot set a server side variable (php) to the value of a client side result using javascript (not without using ajax). All you are doing is assigning a string to $has_flash containing javascript code. if you echo it out it will run the javascript in the client browser.
  22. If you have yum: yum install php yum install mysql-server yum install php-mysql start the services service httpd restart service mysqld start make sure you change the root password for mysql
  23. You need to specify the field name that you want to be distinct within the query. It is the first field you specify i.e SELECT DISTINCT name,userId,email FROM users The field 'name' is distinct. If it is the case that you have duplicate records in your database you should be preventing this and not writing queries to compensate.
  24. The GET data should be available within the include file i.e <?php // originating file include('menus/customerdetails.php'); ?> <?php // customerdetails.php print $_GET['id']; exit(); ?>
  25. Yes it is possible. Have a look at the graphics functions that php provides with its GD library. http://uk3.php.net/manual/en/book.image.php
×
×
  • Create New...

Important Information

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.