Search results

  1. TechAsh

    Automatic time triggered events - PHP

    That will not work because the $_GET thing is only for browser requests, for the command line (Which is what Cron uses) you need to do as I said in my above post (Use $argv['1'] instead of $_GET, and "script.php argument" instead of "script.php?func=argument".
  2. TechAsh

    Automatic time triggered events - PHP

    That wouldn't work, but with a line or two added to your script "script.php group1" would work (Note the difference). You will need to add something like this to your script to allow this to work. $update = $agrv['1']; I agree the interface is quite confusing at first. To get the job to run...
  3. TechAsh

    Automatic time triggered events - PHP

    Cron. Create a cron job in cPanel that runs the script you want at the time you want it to. Sample cronjob to run a PHP script:
  4. TechAsh

    PHP email form script...

    You will need to upgrade your PHP Package to Intermediate. You can do this from the AMP (http://x10hosting.com/account/login). Once you've requested the upgrade it can take up to 24 - 48 hours for it to be approved and applied.
  5. TechAsh

    how to create forums on website

    *Closed*
  6. TechAsh

    Hi; this is pojr.

    Welcome to x10Hosting. Your username can't be changed sorry.
  7. TechAsh

    New PTC Site! $5,000+ Worth Of Prizes Giving Away!

    *Moved to Earning Money*
  8. TechAsh

    how to create forums for my website

    *Moved to Scripts & 3rd Party Apps* The quickest way to set-up a Forum would be to use Fantasico (in cPanel). It'll set-up everything for you. Alternatively you could download something like phpBB3 or MyBB, upload it to you website and install it yourself.
  9. TechAsh

    browsing folders very slow

    I suggest doing a complete Virus scan just in case. But also adding a bit more RAM could solve the problem. You may also want to upgrade to XP SP3 (If you haven't already), which is supposed to be slightly faster
  10. TechAsh

    Using name servers with CO.CC

    Done.
  11. TechAsh

    Using name servers with CO.CC

    The nameservers hold the information about where data sent to that domain should end up. So it allows your domain to point to your website. To get it to work with your x10 Account you will need to add either and Add-on or a Parked domain in your cPanel or use the AMP to change you main domian...
  12. TechAsh

    What kinds of USB memory stick are suitable for use as Vista memory

    I've just been reading more about this and it seems that to be able to use ReadyBoost with any USB drive you need to make a couple of registry changes (Tutorial Here).
  13. TechAsh

    What kinds of USB memory stick are suitable for use as Vista memory

    I think any USB stick would work. But make sure is is not too old (USB 1.1 is very slow.) Also USB memory sticks can have a limited life so the repeated writing/re-writing could drastically shorten its life.
  14. TechAsh

    Server details

    Probably the cheapest way would be to get one of x10's VPSs. It depends whether you mind it being hosted in the US though. The good thing about a VPS over your own server (At home) is that you won't have to look after the hardware.
  15. TechAsh

    Probably the best

    Welcome to x10Hosting cargen. I'm glad you like it here.
  16. TechAsh

    Connection from forum<->website

    You can ban IP address from cPanel (Use the 'IP Deny Manager') I'm not to sure about this one. First it would depend on which Forum script you are using. There maybe some API or tutorial out there that would help, but I haven't found one yet.
  17. TechAsh

    Domain and Redirect trouble

    Moved to 'Free Hosting'.
  18. TechAsh

    GRR! Simple problem with mysql - HELP!!

    Have you tried this: $ip = $_SERVER['REMOTE_ADDR']; $uniquetotal = mysql_query("SELECT * FROM uniquetotal") or die(mysql_error()); if($ip !== mysql_fetch_array($uniquetotal)) { $ip = $_SERVER['REMOTE_ADDR']; mysql_query("INSERT INTO uniquetotal(ip) VALUES('$ip')") or...
  19. TechAsh

    GRR! Simple problem with mysql - HELP!!

    In this bit of the code: if($ip = mysql_fetch_array($uniquetotal)){ } There should be two '=' signs (It should be '==') Also you haven't told it what to do if the IP does equal one in the database. Maybe it would be better to do this: $ip = $_SERVER['REMOTE_ADDR']; $uniquetotal =...
  20. TechAsh

    Is it possible to add a time delay in PHP?

    The PHP sleep function does exactly what you want. Just put something like this in the code and it'll make PHP sleep for the given number of seconds. // Make PHP Sleep // Change 10 to the number of seconds that you want PHP to sleep for. sleep(10);
Top