Help!

Status
Not open for further replies.

Foxtrot

Newbie
Joined
Feb 17, 2004
Messages
6,016
Reaction score
0
I need help, I am trying to finish my huge java project that is due tomorrow so I decided to cheat a bit...and now I am stuck.

How do I get this code to link the result page to the one saved on my hard drive and not the internet? Also, how can I get the pictures to link to the pictures on my hard drive?

<html>
<head>
<title>
What Half-Life 2 character are you?</title>

<!--
quiz fun love poem iq test personality speed This quiz is for Half-Life 2 fans who have been dieing to know which character they really are most like. -->


<META Name="description" Content="This quiz is for Half-Life 2 fans who have been dieing to know which character they really are most like. quiz fun love poem iq test personality speed">

<META Name="keywords" Content="What Half-Life 2 character are you? quiz fun love poem iq test personality speed">

<link rel=stylesheet type="text/css" href="../formate.css">
</head><body>

</center>

<!-- TF 468x60 JScript HORIZ code -->
</center>

</td>

</tr>
<tr class=color0>
<td>
<table cellspacing=5 border=0>
<tr>
<td>





<p>
<b><font color=#CC6633> What Half-Life 2 character are you? </font>

<P>
<id='txt2'> This quiz is for Half-Life 2 fans who have been dieing to know which character they really are most like. </id>
<DIV align="right">The quiz is developed on: 5/5/2005</DIV>
<form action="quizpu.php?testid=1115321394" method="post">

<input type="hidden" name="qnumber" value="1115321394">
<input type="hidden" name="pflegeja" value="">
<P>
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td colspan=2>Question 1:What is your favorite pass time?</td>
</tr>

<tr bgcolor='#FFFFFF'><td rowspan='5'>picture/pic_1115321394_1.jpg' width='150' height='112' align='left'></td> <td align="left" ><input type='radio' name='punkte[1]' value='2'>

Scientifical stuff no one else understands </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[1]' value='5'>
Being free </td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[1]' value='1'>
Not talking </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[1]' value='4'>
Doing nothing </td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[1]' value='3'>
Messing with people's lives </td>

</tr>
</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 2:What would your catch phrase be?[/b]</td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[2]' value='1'>

... </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[2]' value='2'>
Something with scientific words, stuff no one else would get </td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[2]' value='5'>
Something prophetic </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[2]' value='4'>
Something funny </td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[2]' value='3'>
Some vague reference to something </td>
</tr>

</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>

<td >[b]Question 3:What do you hate most?[/b]</td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[3]' value='4'>
Animals... </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[3]' value='3'>

Time </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[3]' value='2'>
The traitor </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[3]' value='5'>

Slavery...and talking sensibly </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[3]' value='1'>
Headcrabs </td>
</tr>
</table>[br]

<table cellspacing="0" cellpadding="5" >

<tr bgcolor='#EEEEEE'>
<td >[b]Question 4:What is your favorite animal?[/b]</td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[4]' value='5'>
Chum toad </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[4]' value='4'>
I hate animals </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[4]' value='3'>
Humans </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[4]' value='1'>

... </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[4]' value='2'>
Anything to research </td>
</tr>
</table>[br]
<table cellspacing="0" cellpadding="5" >

<tr bgcolor='#EEEEEE'>
<td >[b]Question 5:Who do you admire most?[/b]</td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[5]' value='1'>
... </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[5]' value='4'>

Busy....eating... </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[5]' value='5'>
Gordon Freeman </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[5]' value='2'>
Someone smart </td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[5]' value='3'>
No one </td>
</tr>

</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 6:If you could be any flavor of ice cream, what would you be?[/b]</td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[6]' value='3'>
No time for ice cream </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[6]' value='1'>
... </td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[6]' value='2'>
Something fruity </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[6]' value='4'>
Mmmm....ice cream </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[6]' value='5'>

Ice cream? </td>

</tr>
</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 7:Who is your Daddy, and what does he do?[/b]</td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[7]' value='2'>

Deceased </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[7]' value='1'>
... </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[7]' value='3'>

Time... </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[7]' value='4'>
Eh...? </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[7]' value='5'>
Insert vague prophetic reference </td>

</tr>
</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 8:What is your dream career?[/b]</td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[8]' value='5'>

Not being enslaved... </td>
</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[8]' value='1'>
... </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[8]' value='2'>

A scientist... </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[8]' value='3'>
Being Father Time </td>
</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[8]' value='4'>

Head of Wal Mart security </td>
</tr>

</table>[br]
<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 9:Does this quiz suck?[/b]</td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[9]' value='4'>
Yes </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[9]' value='5'>
suck? </td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[9]' value='3'>
It would be a waste of time...if time mattered to me </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[9]' value='1'>
... </td>
</tr>

<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[9]' value='2'>
Most assuredly </td>
</tr>
</table>[br]

<table cellspacing="0" cellpadding="5" >
<tr bgcolor='#EEEEEE'>
<td >[b]Question 10:Who do you look like?[/b]</td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[10]' value='2'>
Some accountant above Valve's office </td>

</tr>
<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[10]' value='4'>
Gabe Newell </td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[10]' value='1'>
... </td>
</tr>

<tr bgcolor='#EEEEEE'> <td align="left" ><input type='radio' name='punkte[10]' value='5'>
eh...none </td>

</tr>
<tr bgcolor='#FFFFFF'> <td align="left" ><input type='radio' name='punkte[10]' value='3'>
Some actor.. </td>
</tr>
</table>[br]

<P>
[center]

<input type=submit value="Test Results">
[/center]
</form>
[center]
This quiz is developed by [url=mailto:[email protected]]Jordan *******[/url]
.<P>
<P>


<P>
[/center]


<P>

</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
 
This is due tomorrow....and I procrastinate too much so I need to get this done now.
 
Note: That is JavaScript, completely different than Java. So if you're googling Java help, I would think you're not getting the nessecary information. Can't help ya with else much, although I'm assuming if you wanted to link to images on the HDD, you'd simply write <href = images/lol.jpg[/img]Image1</href>
 
Pesmerga said:
Note: That is JavaScript, completely different than Java. So if you're googling Java help, I would think you're not getting the nessecary information. Can't help ya with else much, although I'm assuming if you wanted to link to images on the HDD, you'd simply write <href = images/lol.jpg[/img]Image1</href>
I know it is javascript :cool:
The problem is, I can't find where to put it.
 
I only know html, not a jolt in java.. Bleh. I think you better sign up for a ..java..forum or somthing and ask there.
 
<form action="quizpu.php?testid=1115321394" method="post">
I think I need to change the form action but I am not sure (that is HTML) what I would change it too...I think the site I got this off of had the thing that processed it on their server....
 
Cheating is like h4xing, it just doesnt work
And I dont know anything about Javascript

put it everwhere, then see where it works

DING!@
 
SimonomiS said:
For the benefit of others, what did you do?
There is no way I can fix it, the PHP code has to be read off the server from the website I got this from.
 
Foxtrot said:
There is no way I can fix it, the PHP code has to be read off the server from the website I got this from.

So er...you figured out your ****ed?
 
This quiz is developed by Jordan Carlyon
I think the teacher might have found that bit a lil concerning... (Unless thats your name XD)
That and you're CSS is coming from an external file that wouldnt exist :/

And how did you not realize it was posting to a PHP page when you stole it XP
Pretty obvious.. ;)

Why dont you just keep the forum and have it use javascript to come up with the results? (Instead of making it submit to a php file)
That wouldnt take very long at all to program...
(cept for deciding what answers would lead to which character :/)
 
Ikerous said:
I think the teacher might have found that bit a lil concerning... (Unless thats your name XD)
That and you're CSS is coming from an external file that wouldnt exist :/

And how did you not realize it was posting to a PHP page when you stole it XP
Pretty obvious.. ;)

Why dont you just keep the forum and have it use javascript to come up with the results? (Instead of making it submit to a php file)
That wouldnt take very long at all to program...
(cept for deciding what answers would lead to which character :/)
That would take me a really long time to program all that crap...and I am lazy. Also that is my real name...can a mod edit that out..?
 
::knows your name now::
::Find your address::
:: Plans to molest you:: ;-)

And it really wouldnt take too long make :/
 
Ikerous said:
::knows your name now::
::Find your address::
:: Plans to molest you:: ;-)

And it really wouldnt take too long make :/
I know, I look up people all the time :dork:
 
Status
Not open for further replies.
Back
Top