User Profile

Collapse

Profile Sidebar

Collapse
Hejman
Hejman
Last Activity: Mar 6 '08, 06:59 PM
Joined: Jan 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hejman
    replied to user authentication
    in PHP
    well considering that was a high school competition i don't exactly have the same chances as i'm a senior, so... meh. i'm gonna keep developing the program and maybe market it soon, who knows.
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to user authentication
    in PHP
    We won an event called spotlight on technology, which entered us into regional competition, so i definately put this site's logo on our display. but we got beat. and get this. by a random number generator. isn't that like 3 or 4 lines of code?
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to Help with image retrieval
    in PHP
    ok nevermind. we lost at regionals. but thank you all for your help... and i hopefully will keep developing this project... if i can get over the fact that i just wasted like 5 months of my life programming this stuff for nothing. i don't know.
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to user authentication
    in PHP
    well, we lost. Sorry. but thanks for your help anyway.
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to Networking w/ Xampp... helpz?
    actually i worked it out ok.. it was a minor error with the server name in apache's httpd.conf file, and there was a firewall set up on the server. problem solved.
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to user authentication
    in PHP
    the sad thing (or maybe its a good sign) is that i caught the isset thing literally 10 seconds before refreshing this page. i'm going to try that thanks for the help
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to user authentication
    in PHP
    ok sorry i forgot about the code tags...
    anyway, that was the problem and thank you for your time.
    i do have one more question though:
    is there a way (similar to below) that i could check the account type so the parents and drivers can't access the admin sub or each others? such as this
    [code= php]

    {
    if ($_SESSION['acct_type'] == 'admin') {
    $_SESSION['admin_logged_i n'] = "true";...
    See more | Go to post

    Leave a comment:


  • Hejman
    started a topic user authentication
    in PHP

    user authentication

    ok i had some problems before with imaging, but that is all solved. but now i need help with some user authentication. basically, when you add a user to my database, "busted" under table "user_info" , the following info is stored (and works, i checked)
    user_realname
    username
    password
    bus_number //the bus number each account is associated with
    acct_type // can be driver, admin, or parent.
    ...
    See more | Go to post
    Last edited by ronverdonk; Feb 24 '08, 04:35 PM. Reason: code within appropriate tags

  • Hejman
    replied to Help with image retrieval
    in PHP
    ok so thank you all for getting me the grade for this project, however we did make it to showcase for state so now i need help more than ever. I need to make the following happen, but have no slight clue where to start:

    login as the bus driver
    set a cookie so the bus driver's bus number is always retrievable (until the browser closes)

    there's more but i would be happy with this for now... anybody get what i'm...
    See more | Go to post

    Leave a comment:


  • Hejman
    started a topic Networking w/ Xampp... helpz?

    Networking w/ Xampp... helpz?

    I have a project coded in php, and it works on a localhost/ style of scenario. The project, "BUSTED," is hosted on a little PC i have basically designated as a server, although at this point it runs XP with Xampp installed. Now when I"m on this "server" of sorts, the computer opens my project just fine under localhost/busted. but when i hooked the "server" up to a switch with 2 other dumb terminals (also simply...
    See more | Go to post

  • Hejman
    replied to Help with image retrieval
    in PHP
    thank you for helping me get this done... this looks to be exactly what i need to finish the server-side of things... and now for what i really suck at:
    I need to host xampp on one PC, as like a dedicated server but still running XP, and network 2 other computers through it as dumb terminals and running through a switch. having subnetted the network, i am able to ping the 2 to the server and the server to the 2. But when i type in the network...
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to Help with image retrieval
    in PHP
    ya this is really getting confusing- i'm in way over my head here. so i tried using the filesystem method, and reading the php.net help file thing that someone linked to, and all i found that i have a slight clue how to use was the HTML form to upload the file. so if the action is 'do_upload.php' what should i put in that php file so it will actually store the image in C:\xampp\htdocs \imaging, using the student's name as a filename? or better yet...
    See more | Go to post

    Leave a comment:


  • Hejman
    replied to Help with image retrieval
    in PHP
    not sure if this relates to anything you just said, but i tried the earlier mentioned MySQL method, and it parse errors right about here: maybe you can tell me what i did wrong?

    Code:
    <...code omitted...>
    <h3><font color="#0000FF"><? echo "header('Content-type: image/jpeg');?>
    <? $rs = mysql_fetch_array(mysql_query("SELECT image from images where s_name = '".$s_name."'));
    ...
    See more | Go to post
    Last edited by Atli; Jan 18 '08, 07:39 PM. Reason: Added [code] tags.

    Leave a comment:


  • Hejman
    replied to Help with image retrieval
    in PHP
    Thank You for your time... I should be able to handle the "old fashioned way" you mentioned... i can't believe I didn't think of that... however is there a php way to upload to that filesystem?...
    See more | Go to post

    Leave a comment:


  • Hejman
    started a topic Help with image retrieval
    in PHP

    Help with image retrieval

    ok so let's get the intros out here... I'm Nathan, a senior in high school. I attend a technology school, and in order to graduate, we have to complete a senior project. so we chose the following:

    B.U.S.T.E.D. I have no clue what it stands for anymore, something stupid i'm sure. but the basic premise is thus: a student gets on a bus, scans their student ID, and they are listed as "riding" bus number... whatever the bus number...
    See more | Go to post
No activity results to display
Show More
Working...