-
Posts
2,215 -
Joined
-
Last visited
Everything posted by DarqFlare
-
I Once Was Leary, Now I'm Ecstatic
DarqFlare replied to ggscheidle's topic in Reviews of TotalChoice Hosting
Welcome to our wonderfully large family, Gina! -
Thanks Raul, I didn't know about the error_log() function. So far so good, I can't seem to find the problem myeslf. I'm sure whenever it happens I'll be able to find it. Thanks!
-
K, I'll take a look into that, thanks.. Well, the problem here is that the error doesn't stop my pages fom executing. I don't know what page the error is at on my website, because it appears on the Error Log under CPanel. I don't want it to die(), but I want it to put the name of the PHP_SELF file in the Error message that gets put in the Error Log...
-
We all know who is REALLY in charge That's the rule, didn't you know? j/k
-
Alright, this is indepth PHP stuff, and it's mostly aimed at Raul. I need to figure this stuff out. Here is a snippet of code from my website's common file: >function db_connect() { global $VARS; $Link = mysql_connect($VARS["DB_Host"], $VARS["DB_User"], $VARS["DB_Password"]); mysql_select_db($VARS["DB_Name"]); return $Link; } //---------------------------------------------------------- function db_query($Query) { return(mysql_query($Query)); } //---------------------------------------------------------- function db_row($Result) { return(mysql_fetch_row($Result)); } //---------------------------------------------------------- function db_num_rows($Result) { return(mysql_num_rows($Result)); } As you can see, I have setup database functions in my website's common file to handle everything. I've done it this way just in case I ever need to migrate to a new database system rather than MySQL... Anyway... I've got my pages all calling the db_row() etc. functions to interact with my database. Well, my problem is that when there's an error related to MySQL, the error always says it's in my common file... Like so: >[Tue Feb 3 23:33:06 2004] [error] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /blah/blah/blah/commonfile.php on line xxx As you can see from this example, I cannot determine exactly what page has the MySQL error: Because the query is actually executed every time by my common file. Is there a way to have PHP, when outputting MySQL errors, to also include the executing script? Also known as: >$_SERVER["PHP_SELF"] Any possibility? Thanks for help.
-
Basically, you would create a backup of your database, transfer the files over to your new TCH account from your old website, and import the database backup. Once that is done, you'd have to edit the phpBB configuration file to edit the website changes (New domain name, paths, etc).
-
Yeah, the IE problem you are having can be solved by: Menu View -> Text Size -> Medium
-
IE automatically grabs the favicon.ico file when it loads your website (Into Favorites, etc)... Even if the HTML doesn't specify the icon, sometimes IE will grab it anyway: I have a website without one and IE still tries to get it. If I were you, I'd go into the templates/generation file (I'm not familiar with phpwebsite), and manually add in the HTML for the favicon.
-
Bill is the man. I have never seen anybody more dedicated to their own customers than he is. If I'm ever able to get my own company up and running, I will run things the way Bill runs things here. (Side note: They gave you a PS2 Bill? Nice!)
-
Kontos, the reason for the blocks is to also protect TCH's property in addition to yours. TCH can't afford to not block certain attachments and have a user who isn't protecting themselves putting a TCH server at risk.
-
My problem is that there are tons of links to my website through link exchanges and voting links for my website's poll... A lot of people just reference the image to my website directly for their image link rather than download it and use it there. One thing that somebody could do to steal your image if they really wanted to: take a screenshot and use Photoshop. Hotlinking only keeps them from using the image off of your website, but if they screenshot it, they can recreate it and steal it. Though, that's a can of worms for another discussion.
-
lol, nice Jikrantz... I'd love a server fountain machine w/Mountain Dew...
-
rofl, nice Bill... Is that just Photoshopped, or did somebody actually make one of those?
-
THat is one insane ride...
-
Whenever I find anybody that needs hosting, I refer them here. I was referred here myself, but my friend never did seem to find the Forums.
-
Nobody really steals my bandwidth... Though I do have some problems with people using my web images. Maybe I'll turn on hotlinking eventually.
-
:hug: Welcome Juma! We hope you enjoy it around here! Don't be afraid to ask questions either!
-
Hey Alan, I've got one for ya: http://www.omgn.com/ I'll add http://www.tinywizard.com/ to OMGN's text links.
-
Wigoweb and I are in the same boat on this one.
-
Welcome!
-
Wow, another Robert Always nice to have more same-names! Welcome!
