Jump to content

Lukela

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

About Lukela

  • Birthday 07/14/1991

Profile Information

  • Gender
    Male
  • Location
    Hawaii

Lukela's Achievements

Member

Member (2/5)

0

Reputation

  1. Hey Everyone, I'm in a Crisis >.< I need exactly 60 more surveys done so if ANYONE can do a survey that be awesome! This is due tommorow~! www.6figuresurvey.tk or www.6figurepurls.wsnw.net/survey.php THANK YOU SO MUCH!
  2. Haha, see... someone already tried to screw me over and input a SQL injection. We'll to let you know... this is a free server, and nothing valuable is on here. Have a Good Day and REMEMBER TO DO A SURVEY!
  3. Hey everyone! I need your help with something which I believe that PHPfreaks Forums is the perfect place to get it from. Anyways my class (Business Academy) are doing this Marketing Plan, so for one of our assignments we need a survey based on the business you are marketing, asking questions related to the customers you are targeting. So if ANYONE who can help me out and fill out a 8 question survey, go to this link. http://6figurepurls.wsnw.net/Purl/survey.php
  4. Wow, I learned something new today in PHP. exit(); Haha...
  5. lolx just try using an if statement above it and put it into a variable...
  6. Heh, Im wayyyy better in PHP than Mattthhh!!!!! Just joking, I am better in math than PHP though. PHP is just a for fun thing for me to do, just to not worry about things in the real world and just drift away on this raft until I get flipped over and end up on my desk of homework.
  7. What the guy said above <?php || = OR && = AND if( $var1 == soandso || $var2 == soandso) { echo "so and so"; } else { echo "so and so"; } ?>
  8. This is what I am trying to do: Im building this Stock Market feature for this game I am creating, although I am stuck on this ONE feature which can help me complete this game. I need to know how to draw a Line Graph with PHP!!!! This Linegraph will consist of Days on the X-axis and the new value of the stock on the Y-Axis. Im using a cron to update the information each day. Anyone know how to draw a Linegraph? Or knows any good sources?
  9. AJAX is the answer, but I dont think he knows AJAX... do you? because a person who has knowledge in AJAX would know that PHP can refresh a certain part of the code.
  10. Anyone know how to have a website hidden by a proxy using PHP?
  11. Am I able to leave the webpage while the time is calculating?
  12. Here's my situation, Im building a Browser-based game. In this games you have these troops that you are able to attack people's villages and such, when you attack someone you need to take the time difference between them two and that will be how long it takes to reach the target. I can use PHP to calculate the time, but I need a JS script that once the time hits 00:00:00 it would run the attack script to calculate the battle. Anyone here can help?
  13. How am I suppose to run the script when the timer reaches to 0? PHP cant do that, I also want people be able to browse the website. So the SESSION cant reload on its on, so thats why I need JS. Although I dont know any JS, -picks up book- anyone wanna save me the time? Im going to start learning JS though but I need the code asap Regards ACE Set a session variable for the expiration time, and one to say you're attacking. On page load of the attack script, check the session variable to see if its <= the current time AND that the one that says you're attacking is set. If both of those things are true, UNSET those variables and proceed with your attack script. Simple. As for displaying how long, basically: $time_to_go = $_SESSION['expire_time'] - time();
  14. Yeah If there was a way in PHP I think I woulda found out already I guess it is in JS my answer, it has to be very accurate. >.< -goes to google books to search for a Javascript for dummies book- Guess I got alot of learning to do! lolx
  15. Is someone able to browse other pages while this is happening? Cause the attack can take hours, days, or minutes
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.