Search results

  1. majestyc

    Server xo3.x10hosting.com Down

    I've gotten my site back BUT check your files since some may have become corrupt. The two main areas of my site: INDEX.php and SHOP.php were corrupted and lost...I checked the files and I had to some backups that I had saved a little while back. Lost a bit of work that I have done, but not the...
  2. majestyc

    Clearing Cachewall Outside Of Cpannel?

    Is there a way to clear the Cachewall using PHP for the server at all? I am trying to reduce the amount of times I'm needing to sign into the Cpannel if able. I know that I still have to login to the Cpannel in order to keep my account active but its just easier if I am able to update new...
  3. majestyc

    PHP Thumbnail Generator Not Working

    Thank you for getting back with me on this. I got the issue fixed apparently it was a stupid mistake on my part and simply forgot to do a php include for my functions file lol. Once I included it into my header then it worked perfectly. I think this code might help out a lot of people though...
  4. majestyc

    PHP Thumbnail Generator Not Working

    Hello, I had worked on a code to download an image to the server, resize it and then display the new image. I have it working on my local server but once I try to use it here on x10host, it just continues running or just shows blank. I was wondering if there is a part of my code that is not...
  5. majestyc

    PHP Error: Function Name Must Be String

    Ok, I've figured out the problem and it wasn't with the "user_exists" it was where I put $mysql_query() on line 4. I've fixed it by putting just mysql_query() without the "$" I also had to replace the '' marks with `` and remove the `` marks from WHERE `username` = '$username' to get it to...
  6. majestyc

    PHP Error: Function Name Must Be String

    <?php function user_exists($username) { $username = sanitize($username); $query = $mysql_query ("SELECT COUNT('user_id') FROM 'majestyc_users' WHERE 'username' = '$username'"); return (mysql_result($query, 0) == 1) ? true : false; }; ?> I can't figure out why this is wrong.....can I...
Top