-
Posts
9153 -
Joined
-
Last visited
-
Days Won
146
Everything posted by Byron
-
Please Clear your cache.
-
This support request is being escalated to our root admin.
-
Your account has been manually unsuspended. If you still see the suspended page then you should try clearing your browsers cache. http://wiki.helionet.org/Clear_your_cache -- Please spare a few minutes to take our brief survey: http://feedback.heliohost.org/ Your participation in this survey is greatly appreciated.
-
We're objects of God's love. Now to be an object of love, what does the giver expect in return? Love, and that's why He made the human race. Angels couldn't respond, and so He made the human race with that indwelling attribute of will to either respond to His love or to reject it.
-
Your account has been manually unsuspended. If you still see the suspended page then you should try clearing your browsers cache. http://wiki.helionet.org/Clear_your_cache -- Please spare a few minutes to take our brief survey: http://feedback.heliohost.org/ Your participation in this survey is greatly appreciated.
-
I should have mentioned also that you don't actually need a true type font. We can use the server fonts that come with ImageMagick. This tool will give you the font names and show you what they look like: http://byrondallas.heliohost.org/php/tools...font-viewer.php Just replace this line in the script: $draw->setFont("trebuchet_italic.ttf"); With something like this (depending on the font name): $draw->setFont("URW-Palladio-Roman"); That's the font I'm using now on my demo page: http://byrondallas.heliohost.org/php/counter/demo.php btw, this script only works for Stevie. Johnny doesn't have the Imagick Class.
-
My website recently has had a lot of 500 Internal Server Errors
Byron replied to Nathan Johnson's topic in Customer Service
This support request is being escalated to our root admin. -
My website recently has had a lot of 500 Internal Server Errors
Byron replied to Nathan Johnson's topic in Customer Service
Have you checked your Error log at your cPanel? -
Your solution was MUCH better than my long drawn out solution. Thank you!
-
The only way that I know to do it would be with a cron job. The cron job would delete the count text file EVERY 24 hours. Or you could add this to your script. What it does is create a text file just for the purpose of checking how old it is. If the "time_check.txt" is older than 24 hours when somebody visits your page, it will delete the "time_check.txt" and the "$file.txt" causing the counter to start over. The problem with this is that it might get reset in the middle of the day depending on when your last visiter was. $ckfile = "time_check.txt"; if (!file_exists($ckfile)) { file_put_contents($ckfile, "nothing"); } else { # check file age $age = time()-filemtime($ckfile); # how many days before file gets deleted $dys = 1; $expire = 60*60*24*$dys; if ( $age > $expire ) { unlink($ckfile); unlink("$file.txt"); } }
-
Also if you wanted to get a few stats from your visitors you could add this to the script: # variables for data $agent = $_SERVER[HTTP_USER_AGENT]; $ip = $_SERVER[REMOTE_ADDR]; $host = gethostbyaddr($ip); $page = $_SERVER[HTTP_REFERER]; # compile new entry $time = date( "m/d/y G.i:s", time() ); $stats = "<b>Time:</b> $time<br><b>IP:</b> $ip<br><b>Host:</b> $host<br><b>Agent:</b> $agent<br><b>Viewed</b> <a href=\"$page\">$page</a>\n"; # write data to the file file_put_contents("$file.stats.txt", $stats, FILE_APPEND); Then read the data file to an html output like so: Time: 04/24/11 11.08:10 IP: 207.7.92.114 Host: setcronjob.com Agent: SetCronJob/1.0 (+http://www.setcronjob.com/) Viewed http://your_site.heliohost.org/tracker.php
-
I had to manually unsuspend your account. Refresh your cache if you still see the suspended page.
-
Here's a custom image counter that can be used with multible pages. Requires the font I've provided or one of your own. The way I use it on my site is to just put it in it's own directory because it will create a seperate data (text file) file for every page you use the counter on. Once you upload the script and the font to your site it's just a matter of adding the counter image tag to your pages like below: <img src="http://byrondallas.heliohost.org/php/counter/index.php?file=demo_page&back=yellow&color=red"> You change the page identifier and colors by appending it to the url: file=demo_page = identifies the page your counting back=yellow = the image color color=red = the font color Here's a Demo Page with the script: http://byrondallas.heliohost.org/php/counter/demo.php
-
If you plan on using ASP.NET on your site then you need to be on the server Johnny. ASP.NET doesn't work on Stevie.
-
Please post your old domain and the domain you tried to change it to.
-
-
I'm not seeing that account in our database. Did you forget to login every 30 days? Feel free to create another account if you like.
-
The email was a reminder to login before your account became inactive. Your alright just make sure you login at least once every 30 days.
-
Though I speak with the tongues of men and of angels, and have not love, I am become as sounding brass, or a tinkling cymbal. And though I have the gift of prophecy, and understand all mysteries, and all knowledge; and though I have all faith, so that I could remove mountains, and have not love, I am nothing. And though I bestow all my goods to feed the poor, and though I give my body to be burned, and have not love, it profiteth me nothing. Love suffereth long, and is kind; love envieth not; love vaunteth not itself, is not puffed up, Doth not behave itself unseemly, seeketh not her own, is not easily provoked, thinketh no evil; Rejoiceth not in iniquity, but rejoiceth in the truth; Beareth all things, believeth all things, hopeth all things, endureth all things. Love never faileth: but whether there be prophecies, they shall fail; whether there be tongues, they shall cease; whether there be knowledge, it shall vanish away. For we know in part, and we prophesy in part. But when that which is perfect is come, then that which is in part shall be done away. When I was a child, I spake as a child, I understood as a child, I thought as a child: but when I became a man, I put away childish things. For now we see through a glass, darkly; but then face to face: now I know in part; but then shall I know even as also I am known. And now abideth faith, hope, love, these three; but the greatest of these is love. 1 Corinthians 13:1
-
Is your cron script in php? if it is it would look something like this: php -q /home/byron/public_html/cron.php If you don't want to recieve an email each time cron runs: php -q /home/byron/public_html/cron.php >/dev/null 2>&1
-
You can do this with htaccess. There's got to be a better regex for the time span, but this is a rough way of doing it: RewriteEngine On RewriteCond %{TIME_HOUR} ^17|18|19|20|21|22|23|00|01|02|03|04|05|06|07|08|09$ RewriteRule ^$|^index\.html$ /time-restricted.html [R=302,L] A better way to write the time (untested): RewriteEngine On RewriteCond %{TIME_HOUR}%{TIME_MIN} >1700 RewriteCond %{TIME_HOUR}%{TIME_MIN} <0900 RewriteRule ^$|^index\.html$ /time-restricted.html [R=302,L]
-
I went ahead and manually deleted your account. You should be good to go for signup on Stevie.
-
If this is your account: chentong.heliohost.org Your site is working. Please refresh your cache.
-
Reason for suspension: Ok your account has been unsuspended. Refresh your cache if you still see the suspended page.
