Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - flyingfisch

Pages: 1 ... 32 33 [34] 35 36 ... 119
496
Web Programming and Design / Re: PHP question
« on: June 18, 2012, 12:23:57 pm »
I have another question now.

This code should tell users to go to the new domain name, only if the domain name is not the new one.

Instead it displays it all the time.

Code: [Select]
<?PHP
$domain_name = $_SERVER['HTTP_HOST'];

if ($domain_name != "newdomain.com" || $domain_name != "www.newdomain.com") {
   echo "<p>We have a new domain name! <a href="newdomain.com">Click Here!</a></p>"
}
?>

497
Web Programming and Design / PHP question
« on: June 14, 2012, 08:58:27 pm »
OK, having a problem with PHP.

Here is the code i have:

Code: [Select]
<select name="formSelect">
<option value="value1">value1</option>
<option value="value2">value2</option>
</select>

<form action= "<?PHP echo "upload.php?" . $_POST["formSelect"]) ?>" method="post" enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="userfile" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>

And its not working.

What I want it to do is make the form action equal upload.php?formSelectvalue .

Can anyone help?

EDIT:

Fixed it by putting <select> inside the <form> tags

498
Web Programming and Design / Re: CSS question
« on: June 14, 2012, 10:07:14 am »
To prevent any confusion, could you explain what is <atag> though? Can one just use any nonexistent tag in his HTML code to assign CSS properties to it?

The reason I used <atag> was just to create some arbitrary code.

It could be any tag like <span>, <div>, etc. ;)

499
Web Programming and Design / Re: CSS question
« on: June 13, 2012, 07:58:43 pm »
Thanks for the replies guys :)

500
Web Programming and Design / CSS question
« on: June 13, 2012, 06:07:44 pm »
Dumb question I know, but anyway. How do I change the properties for a tag inside a class?

example:

Code: [Select]
<tag class="class">
  <atag></atag>
<tag>

To edit stuff for atag, is it

Code: [Select]
.class atag {
stuff
}

Or is it

Code: [Select]
atag .class {
stuff
}

Thanks

501
Casio Calculators / Re: [luaFX] Indy500
« on: June 13, 2012, 10:37:35 am »
hi

i didn't test it (i don't have any casio calc), but i think i found the reason of the crash bug.
it's explained in the image (i hope you understand it xp)



ok, i just saw a mistake in the image. the inequation signs have to be switched in the ai.x statements

in words: your ai.x value collides with the player.x value, so that's oogd
but for the y checking, you also have to iclude the height of the ai cars. in the ai.y<player.y+8 you have to change the ai.y to ai.y+ai.height <player.y+8


Ah, I will try that and tell you what happens. :)

502
News / Re: TI-84 Plus emulator released for the TI-84 Plus
« on: June 11, 2012, 11:17:25 am »
Is this a joke? An emulator for the emulated?

503
Casio Calculators / [luaFX] Indy500
« on: June 11, 2012, 11:15:59 am »
Hi all!

Working on my first game in LuaFX. So far all that happens is the ai cars try to avoid you.

Code: http://pastebin.com/5EWqXNzf

I am having trouble with the collisions detection right now... for some reason ai cars can "run over" you and you do not get the crash screen. The detection is done on line 231.


If people could test this program that would be great, so I have provided a *.lc for download:
Link

504
Miscellaneous / Re: How cheap is your keyboard?
« on: June 02, 2012, 07:34:08 pm »
Hold down both Shift keys and type the following sentence:

the quick brown fox jumps over the lazy dog.


My Dell laptop:
HE QUIK BROWN FO JUPS OER HE LA DOG

Dell Model SK-8110
Bought at Goodwill for $0.50

THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG

I read somewhere that older keyboards support more simultaneous keystrokes.

505
Casio Calculators / Re: UCF Summer Contest
« on: June 01, 2012, 10:51:42 am »
shush, they know what I mean :P

Yeah, right. :P

506
Casio Calculators / Re: UCF Summer Contest
« on: May 30, 2012, 09:40:49 pm »
...and release the final panel on the 15th of May. 
He means 15th of June, but he keeps accidentally saying 15th of May :P

507
Casio Calculators / Re: PRIZM will not turn on
« on: May 23, 2012, 08:29:00 pm »
Ah that's good. I thought you had to pay it.

Nope :)

508
Casio Calculators / Re: PRIZM will not turn on
« on: May 23, 2012, 04:15:42 pm »
I hope you can get one again soon for free x.x

So do i. I'm happy i didn't have to pay shipping though.

509
Casio Calculators / Re: PRIZM will not turn on
« on: May 23, 2012, 01:46:41 pm »
After emailing them some more (the girl at costomer support told me on the phone that I had to send a notarized letter to them, and i didn't want to do that), I got this reply:

Quote
flyingfisch,
 I will be sending out a return Fed Ex Label to you. Please use this label to send in your Prizm FXCG10 to our Service Dept. They will either repair it or replace it.
 If you have any other questions let me know.
Gina Pezza
Education Marketing Support
 CASIO AMERICA, INC.
570 Mt. Pleasant Ave. Dover, NJ 07801
973-361-5400 ext. 1573 Fax: 973-537-8961
[email protected]

510
Casio Calculators / Re: UCF Summer Contest
« on: May 23, 2012, 10:42:21 am »
...but video/audio will be cut.
What is wrong with audio/video players ?
Of course I cannot participate, because I already released my players, but I am interested in different implementations of the players.

Nothing's wrong with them, but we decided to get rid of them because we don't think there will be enough competition in that area.

Pages: 1 ... 32 33 [34] 35 36 ... 119