Jump to content

Byron

Moderators
  • Posts

    9,153
  • Joined

  • Last visited

  • Days Won

    146

Everything posted by Byron

  1. Copy the perl script below into a file and call it 'time.cgi' and chmod it to 755. #!/usr/bin/perl -w use CGI ':standard'; $current_time = localtime; print header, start_html('A Virtual Clock'), h1('A Virtual Clock'), "The current time is $current_time - PST.", hr, end_html; Let me know if that works for you.
  2. Try running this php script to remove that folder and all files (and subfolders) in that directory. Don't forget to specify the folder name at the bottom of the script. <?php function deleteDir($dir) { // open the directory $dhandle = opendir($dir); if ($dhandle) { // loop through it while (false !== ($fname = readdir($dhandle))) { // if the element is a directory, and // does not start with a '.' or '..' // we call deleteDir function recursively // passing this element as a parameter if (is_dir( "{$dir}/{$fname}" )) { if (($fname != '.') && ($fname != '..')) { echo "<u>Deleting Files in the Directory</u>: {$dir}/{$fname} <br />"; deleteDir("$dir/$fname"); } // the element is a file, so we delete it } else { echo "Deleting File: {$dir}/{$fname} <br />"; unlink("{$dir}/{$fname}"); } } closedir($dhandle); } // now directory is empty, so we can use // the rmdir() function to delete it echo "<u>Deleting Directory</u>: {$dir} <br />"; rmdir($dir); } // call deleteDir function and pass to it // as a parameter a directory name deleteDir("/home/alteisen/public_html/sdfw"); ?> Text file to upload: http://byrondallas.heliohost.org/temp/recu...emove_files.txt
  3. Isn't this your account? delikon.heliohost.org Your only allowed one account.
  4. Never use the html version: http://www.heliohost.org:2082/frontend/x3/index.html if you want your login to show as being logged in once a month. The other two will work fine though.
  5. This support request is being escalated to our root admin.
  6. It shouldn't be a problem as long as you don't break the TOS and draw too many resources. Our owner/administrator (djbob) has written an app or two for Facebook. I believe I saw something about it on his wall a few weeks ago. Do a search for Ashoat Tevosyan at facebook.
  7. I think it's for security. Keeps somebody from indexng the cgi-bin if it doesn't have an index file. btw, you don't need to specify the filenames for an index file unless you just want to change the order and all directory's will execute cgi without this: AddHandler cgi-script .cgi Options +ExecCGI
  8. You should only have to login to your cpanel once a month. Can you post the url you used to go to your cpanel before your site got suspended?
  9. OK right now you have announcements.pcx.com.ph pointed to our nameservers. If you'll go to your cpanel of this domain: pcxstarcraft.heliohost.org and create a Parked Domain and type this domain as the Parked Domain: announcements.pcx.com.ph. Then wait 24hrs and when you click this url: http://announcements.pcx.com.ph you will see this site: http://pcxstarcraft.heliohost.org
  10. This support request is being escalated to our root admin.
  11. If this domain announcements.pcx.com.ph is hosted at www.softlayer.com like you say then you need to use both of thier nameservers and point that domain to them and don't use redirection. That will take care of that domain.
  12. If that bookmark ended in anything other than .php then you probably weren't being counted. Look at that url that me and Wizard have in our sigs for logging in.
  13. Escalating... Note to djbob: I'm not seeing his username or domain name in the database. Username: arjentm Domain name: arjentm.heliohost.org
  14. What domain did you try to register with?
  15. I'm not seeing an account with the username arjentm. Try registering again and if it doesn't take this time I'll escalate this todjbob.
  16. This domain: announcements.pcx.com.ph will always show that queued page until you change the namesevers. You can take the redirection off at the cpanel and your domain at heliohost will show instantly.
  17. This support request is being escalated to our root admin.
  18. Then you need to point that domain to thier nameservers. Right now it's pointed to ours but we're not hosting it so that's why you see the Queued page.
  19. This domain is pointed to our nameservers: announcements.pcx.com.ph Where is that domain hosted at?
  20. An administrator will have to delete it. Would you like to have one of them deleted?
  21. Seems you and your friend almost have identical email addresses? onin.delapaz @ sameplace.com and onin.delapazweb @ sameplace.com Just keep this in mind. If we find out both of these belong to you, we will ban you and delete both accounts.
  22. I always use php to set a cookie but I had this example from a long time ago. Also you need to rememeber if they have thier javascript turned off in thier browser it won't work, but with php it will. http://byrondallas.heliohost.org/java/if_s...ent-cookie.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <title>Untitled Document</title> <script type="text/javascript"> // set cookie document.cookie="cookiename="playsong"; //" get only cookie name function get_cookie ( cookiename ) { var results = document.cookie.match ( '(^|;) ?' + cookiename + '=([^;]*)(;|$)' ); if ( results ) return ( unescape ( results[2] ) ); else return null; } </script> </head> <body text="#000000" bgcolor="#FFFFFF"> <script language="JavaScript"> var cookie_text = get_cookie ( "cookiename" ); document.write("The Cookie name is "); document.write(cookie_text); document.write("<p>"); if (cookie_text == 'playsong') { document.write("<b>Hello World!</b>"); } else { document.write("<b>CODE IF COOKIE DOES NOT EXIST</b>"); } </script> </body> </html>
  23. Probably because this domain is pointed to our nameservers but isn't on our site? announcements.pcx.com.ph Do both of these belong to you? pcxstarcraft.heliohost.org pcxannouncements.co.cc
  24. Escalating... My Django test gives a 500 error also. http://byrondallas.heliohost.org/djangotest/dispatch.wsgi
×
×
  • Create New...