Jump to content

Jetmatt777

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Jetmatt777

  1. I tried it in AOL and IE7 neither work, I forgot to post in my last reply that I had a friend try the form and it worked...Other forms on my website work fine, its just this one form... I use many other forms on the internet and all work, I'm out of options to try.Any other opinions or suggestions very much welcome.-Matt

  2. Okay, no I did not forget my form tags.When I click Submit the browser does nothing at all. here are my codes:HTML form

    <form action="wx.php" method="GET"><b>Temperature:</b><br><input type="text" name="temp" MAXLENGTH="3" SIZE="1" value="°">  <font size="1">(Degree Symbol Keystroke ALT+0176)<font size="2"><br><b>Dew Point:</b><br><input type="text" name="dewp" MAXLENGTH="3" SIZE="1" value="°">  <font size="1">(Degree Symbol Keystroke ALT+0176)<font size="2"><br><b>Barometric Pressure:</b><br><input type="text" name="pressure1" MAXLENGTH="2" SIZE="1"> <b>.</b> <input type="text" name="pressure2" MAXLENGTH="2" SIZE="1">  <select name="pressure3"><OPTION value="">--</option><OPTION value="R">R</option><OPTION value="S">S</option><OPTION value="F">F</option></select><font size="2"><br><b>Wind Direction and Velocity:</b><br><select name="wind-d"><OPTION value="">--</OPTION><OPTION value="N">N</OPTION><OPTION value="NNE">NNE</OPTION><OPTION value="NE">NE</OPTION><OPTION value="ENE">ENE</OPTION><OPTION value="E">E</OPTION><OPTION value="ESE">ESE</OPTION><OPTION value="SE">SE</OPTION><OPTION value="SSE">SSE</OPTION><OPTION value="S">S</OPTION><OPTION value="SSW">SSW</OPTION><OPTION value="SW">SW</OPTION><OPTION value="WSW">WSW</OPTION><OPTION value="W">W</OPTION><OPTION value="WNW">WNW</OPTION><OPTION value="NW">NW</OPTION><OPTION value="NNW">NNW</OPTION></select> @ <input type="text" name="wind" MAXLENGTH="2" size="1"> MPH<br><b>Relative Humidity:</b><br><input type="text" name="humidity" MAXLENGTH="3" size="1" value="%"><br><b>Clouds and Sky Condition:</b><br>Sky Coverage:<select name="cover"><OPTION value="">--Select--</OPTION><OPTION value="No Clouds">No Clouds</OPTION><OPTION value="1/10 Covered">1/10 Covered</OPTION><OPTION value="2/10 to 3/10 Covered">2/10 to 3/10 Covered</OPTION><OPTION value="4/10 Covered">4/10 Covered</OPTION><OPTION value="½  Covered">½  Covered</OPTION><OPTION value="6/10 Covered">6/10 Covered</OPTION><OPTION value="2/10 to 3/10 Covered">7/10 to 8/10 Covered</OPTION><OPTION value="9/10 Covered">9/10 Covered</OPTION><OPTION value="Overcast">Overcast</OPTION></select><br>Type 1:<input type="text" name="cloud1" MAXLENGTH="55" size="35"><br>Type 2:<input type="text" name="cloud2" MAXLENGTH="55" size="35"><br>Type 3:<input type="text" name="cloud3" MAXLENGTH="55" size="35"><br>Type 4:<input type="text" name="cloud4" MAXLENGTH="55" size="35"><br>Type 5:<input type="text" name="cloud5" MAXLENGTH="55" size="35"><br>Type 6:<input type="text" name="cloud6" MAXLENGTH="55" size="35"><br><b>Precipitation:</b><br>Today's Total Rainfall: <input type="text" name="rainfall" MAXLENGTH="4" size="2" value="0.0"> Inches<br> Rain type and strength:<select name="rain"><OPTION value="">--</OPTION><OPTION value="Rain">Rain</OPTION><OPTION value="Snow">Snow</OPTION></select><select name="strength"><OPTION value="No Rain">No Rain</OPTION><OPTION value="Light">Light</OPTION><OPTION value="Moderate">Moderate</OPTION><OPTION value="Heavy">Heavy</OPTION></select><br><b>Updates:</b><br><span id="tick2"> </span><script><!---function show2(){ if (!document.all) return var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds var ctime=hours+":"+minutes+":"+seconds+" "+dn tick2.innerHTML="<style='font-size:14;color:black;'>"+ctime+"</b>" setTimeout("show2()",1000)}window.onload=show2//--></script><br>Time Info gathered:<input type="text" name="time" MAXLENGTH="4" SIZE="3" value=""><select name="time2"><OPTION value="">--</OPTION><OPTION value="AM">AM</OPTION><OPTION value="PM">PM</OPTION></select><br>Next Update<input type="text" name="update" MAXLENGTH="4" SIZE="3" value=""><select name="update2"><OPTION value="">--</OPTION><OPTION value="AM">AM</OPTION><OPTION value="PM">PM</OPTION></select><br>Comments: <input type="text" MAXLENGTH="45" size="25" name="comments"><br><input type="submit" border="0" value="Update"></form>
    Php Receiving end file.
    <body bgcolor="d8d8d8"><table bgcolor="d8d8d8" width=354><tr><td><font size="1" face="Arial"><img src="/graphics/arrow.jpg">This Info was last udated at <?php echo $_GET["time"]; ?> <?php echo $_GET["time2"]; ?><br><font size="2" face="arial"><b>Temperature:</b> <?php echo $_GET["temp"]; ?> F <b>Dew Point:</b> <?php echo $_GET["dewp"]; ?>F<br><b>Pressure:</b> <?php echo $_GET["pressure1"]; ?>.<?php echo $_GET["pressure2"]; ?> <?php echo $_GET["pressure3"]; ?> <b>Relative Humidity:</b> <?php echo $_GET["humidity"]; ?><br><b>Wind:</b> <?php echo $_GET["wind-d"]; ?> @ <?php echo $_GET["wind"]; ?><br><b>Clouds and Sky Condition:</b><br><?php echo $_GET["cover"]; ?><br>Cloud Types (If Applicable)<br>Cloud Type 1: <?php echo $_GET["cloud1"]; ?><br>Cloud Type 2: <?php echo $_GET["cloud2"]; ?><br>Cloud Type 3: <?php echo $_GET["cloud3"]; ?><br>Cloud Type 4: <?php echo $_GET["cloud4"]; ?><br>Cloud Type 5: <?php echo $_GET["cloud5"]; ?><br>Cloud Type 6: <?php echo $_GET["cloud6"]; ?><br><b>Precipitation:</b><br>Today's Total Rainfall: <?php echo $_GET["rainfall"]; ?> Inches<br>Strength and Type of Precip.: <?php echo $_GET["strength"]; ?> <?php echo $_GET["rain"]; ?> <br><b>Comments:</b> <?php echo $_GET["comments"]; ?><br><font size="1" face="Arial"><b>Next Update will be at <?php echo $_GET["update"]; ?> <?php echo $_GET["update2"]; ?></b></tr></td></table>
    -Matt
  3. Hey Guys, I am having some trouble getting my form to submit. I built my form and my script on the receiving end of the form, but when I click Submit, nothing happens, I would show you my code, but its a very long and its vey unorganised.Please help!-Matt

  4. To check if a person is logged in, check in the session. You will want to do some researching on sessions, but you will want to store a username/password in the session and check it on every other page. If it is not there or is invalid, then you kick them back to the login page.http://www.php.net/manual/en/ref.session.phpIf you are integrating multiple products, like a third-party forum and other third-party software, you will need to look at the login routines for those pieces of software and make sure that the login that you make does the same thing.
    Do you think you could give me a code onto how to kick a user to the login page if they don't have a session, also could you help me make a seesion, im pretty mucha n00b with php.
  5. Here is exactly what I need/want. When you click the link to get to the user only section. you must be logged in to view the member only section, So, when you click to get to the user only section, it takes you to a login page. When you login you will be logged in on the whole user only section, which includes chat, forums, and other stuff. I need it shared Mysql database but don't know how to do that. I am on a short deadline to get this up. December 1st is when I have to get this section done. Please help me

  6. hey, Glad it made sense. Umm...do you think maybe you could link me to that certain file. I've been looking but couldn't find it... Thanz for you help though, there are some other stuff I am interested in from that site also.

  7. Hey,Need a function that you can log in with, preferably php. Like when you Sign up it is automatic and saves your info to a mysql db, preferably a shared MySQL that can be used with a PHPbb forum so you don't have to Sign up for access and then sign up for forum access. Hope any of that made sense.-Matt :)

  8. for the word User File in the form and post key try using underscores instead of spaces like this
    File Name: <input type="text" name="User_File" /><br />File: <a href="http://link.I.will.keep.to.myself/images/<?php echo $_POST["User_File"]; ?>.jpg</a>

    Actually, tried that, this was just the one I had on my hard drive that I didn't edit, I edited the one thats uploaded to my host. Didn't work.
  9. for the word User File in the form and post key try using underscores instead of spaces like this
    File Name: <input type="text" name="User_File" /><br />File: <a href="http://link.I.will.keep.to.myself/images/<?php echo $_POST["User_File"]; ?>.jpg</a>

    Actually, tried that, this was just the one I had on my hard drive that I didn't edit, I edited the one thats uploaded to my host. Didn't work.
  10. Hello,I am using a form to upload data to a .php page. I have a form set like this on the php file. I am trying to make a link of what the user submits.HTML Form (Just the part I am speeking of, the rest of the form works)

    File Name: <input type="text" name="User File" /><br />
    Now on the receiving end (php file that is defined in the <from action=""> tag)
    File: <a href="http://link.I.will.keep.to.myself/images/<?php echo $_POST["User File"]; ?>.jpg</a>
    What I am trying to do is make the form (html) send text to the php. The user just types in his File Name, and on the php end making it a link. As you can see above n the php quote. On the receiving php end te link doesn't show up. Can a short .php line exist in a anchor tag?Thanks, and I hope that made since.Matt
  11. I think it has something to do with freewebs if you don't use they're mail forms. Because in your Source Code I do not see an onclick alert. Try a different host, and see If it still worksBTW add a title to the Page, It'll make it more attractive.

    <title>This is My Web Page</title>
    The text inside the title tags is interchangeable
  12. OKayI made the code, tried uploading a test file to see if it worked. When I clciked upload, I can see it working on uploading, then when it gets to upload.php file it says this:

    Parse error: syntax error, unexpected T_STRING in /home/okcspot/public_html/upload.php on line 8
    What do I do?
  13. Hey,Being your first template, I'd say its pretty good. I would add Sample's like in each table.

    This is the left table.This is the left table.This is the left table.This is the left table.
    I would also add a Image template, so you could see exactly how the site would look if everything was in place.and I would add A small table at the bottom for your footer. Other than thos minor things, I like it.-Matt :)
×
×
  • Create New...