Jump to content

Sniffy

Members
  • Content Count

    403
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Sniffy

  • Rank
    Member
  • Birthday 06/17/1908

Contact Methods

  • MSN
    sniffygerbil@hotmail.com
  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Canada
  • Interests
    Java<br />Astronomy
  1. Hey everyone, it is just me stopping in again to say "hi". I kind of forgot about this forum when I started getting into Java and object oriented programming in general. I am on my way to success in programming, messing with OpenGL bindings like Xith3D and JMonkey. I came across C# being able to make web applications with ASP.NET in a book that I was reading. If I look into it more, this forum just may be of some use to me once again.
  2. Sniffy

    Where are you?

    Neat web appletw3schools is global
  3. window.onLoad() is after the page is loaded.Make sure that all your content is not displayed (via the stylesheet or whatever method you choose)Make sure only the id "loading" is the only thing that is displayed (do this via stylesheet or....)Add the code that Synook gave you and you're done... I think.
  4. you have a cool.avatar

  5. Sniffy

    Insert image problem

    One image with an x over it like an error but i test the url and it works.
  6. Ok, on my expiriment I am trying to load images by putting their urls in a text file.Screenshots.php <?$filename = "screenshots.txt";$fileopen = fopen($filename, "r");$fileread = fread($fileopen, filesize($filename));$arr = split(" + ", $fileread);$ac = count($arr);for($i = 0; $i < $ac; $i++){ echo "<img src='".$arr[i]."' /><br /><br />";}fclose($fileopen);?> screenshots.txt http://img207.imageshack.us/img207/127/elb3r3th14px4.jpg + http://http://img151.imageshack.us/img151/5935/kyallanaandnamoor1ek5.jpg how come it won't display my images?
  7. I thank you for all of the help you've given me with PHP and MySQL and I would recommend you to other users.

  8. I hope this isn't off topic, but I heard of a software that will sweep all of the unrestricted files from a site that used to be available but I'm not sure if it is now or not.
  9. I haven't ever dealt with this before but try something like \u38 as an escape char for &, but I am not sure how to use unicode escape characters in PHP/ActionScript, if you can. Try searching up Unicode Escape Characters + PHP/ActionScript on google or some search engine and that might help.Since it's such a weird problem to me, I can't really give much advice other than that.
  10. Sniffy

    mysql timestamp

    wow, thank you. I think i am starting to understand what the sql aliases are used for.
  11. Sniffy

    mysql timestamp

    I am having a little issue with my php script. I only have three rows but with this script it says users online is 4, and when I remove the intval($getActive) I get "resource id #4 users online", why is this? <?$openFile = fopen("userLog.txt", "a+") or exit("error");$contentsOfFile = fread($openFile, filesize("userLog.txt"));echo "&theLog=$contentsOfFile";include("dbConnect.php");$timeOnline = time() - (10 * 60);$getActive = mysql_query("SELECT COUNT(userName) FROM basicUserInfo WHERE lastActive>=$timeOnline") or die("error5");$updateFile = fwrite($openFile, " / " . intval($getActiv
  12. nevermind, it's ok i managed to fix it just after i posted this problem with the AND keyword in my query
  13. Thanks guys, but after doing some research of my own i managed to do something simlar to the support i was given.Now I have another problem that i need suggestions on. I don't know PHP that well so it could be a syntax bug that i am unaware of. Anyways, i can sign up, the account was created, but when i try to log in it says user/password was invalid, why is this?logIn.php <?phpsession_start();if(isset($_SESSION['userName'])){ header("location:http://sniffygerbil.com");}?><html> <head> <title>Gerbius - Login</title> </head> <bod
  14. So i have been working on a registration script for my site. It seems to be going quite smoothly until i came into an error in my script that i might be overlooking and need advice on.Ok, so here's what i put in on my form for my username:Username: tss909Here is my script for regProcess.php <?phpsession_start();//if already logged in, redirect to home pageif(isset($_SESSION['userName'])){ echo "<script type='text/javascript'>window.location = 'index.php';</script>";}//connect to host$con = mysql_connect("fdb1.awardspace.com", ".;..;;.;;..", ".;l;.;.;;..") or die(mysql_error())
  15. So i have been working on a registration script for my site. It seems to be going quite smoothly until i came into an error in my script that i might be overlooking and need advice on.Ok, so here's what i put in on my form for my username:Username: tss909Here is my script for regProcess.php <?phpsession_start();//if already logged in, redirect to home pageif(isset($_SESSION['userName'])){ echo "<script type='text/javascript'>window.location = 'index.php';</script>";}//connect to host$con = mysql_connect("fdb1.awardspace.com", ".;..;;.;;..", ".;l;.;.;;..") or die(mysql_error())
×
×
  • Create New...