Jump to content

joecool308

Members
  • Posts

    26
  • Joined

  • Last visited

About joecool308

  • Birthday 09/05/1990

Previous Fields

  • Languages
    php,sql,hml

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Massachusetts
  • Interests
    Guitar player first and foremost. Dabbling around with php and sql for about a year now. Thinking of possibly launching my own guitar site with the help of all you guys and gals!

joecool308's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Again though.....javascript. Not my forte, but I guess I'll look into it. Thank you
  2. justsomeguy:Hey ya you mean like having a Onclick event for the IMAGE which basically <a href's> another page. I don't think I'd like that becasue lets just say the form has more fields which need information, but the user first clicks on the IMAGE and then forgets to enter something else in one of the other fields - that would look and act odd I think. The image would ultimately be a form <submit> . It just seems an odd way and not very professional way of doing things.
  3. mmmmmmmm.....yes....I can't seem to find a way around it. This is one of those cases where it seems the more I learn, the more I want to have control - do I really have to learn javascript too! AHHH!
  4. I don't know Javascript and I was wondering if I could use PHP instead to do my idea. I want to have a FORM with images instead of radio buttons. Like WANT or SELL and instead of having two radio buttons (want and sell) instead have them be two images like want could be be a guitar and sell could be an amplifier. After clicking one of the two images, a check mark replaces the image showing that you have selected that radio (image). And like wise, if you click on the other pic, the original picture comes back and the other is now a check mark. Any ideas?Thanks in advance - Joe
  5. Oh woops. $_FILES not $_FILE. I got it. Wow.....it's been a long day.
  6. Indeed it is on. My temp file looks ok too.
  7. mmmmmmm....no.It still says undefined index. I don't think I actually need the method="post" in the form, but it doesn't work either way.This really should be front and forward - really irks me
  8. Why does this not work? My error message is : Notice: Undefined index: screenshot in C:\wamp\www\site\picresult.php on line 3This:<form enctype="multipart/form-data" action="picresult.php" method="post"><input type="file" name="screenshot" /><input type="submit" /></form>And then this:<?php$picture=$_FILES['screenshot']['name'];echo $picture;?>
  9. Hello again people. I am now good enough to be dangerous. Certainly have a LONG way to go with me php and sql. I was wondering what reference manuals you guys would recomend both for php and sql. Something small (something paper). I'd rather two separate ref. manuals for php and sql. Any thoughts? Latest reviews and releases? Something up to date? Something i can blow my nose into?
  10. Ya I slept on this and gave it some thought. If your're not filling in any form data, then no reason to have the recaptcha. It must be built in security thing just in case by accident you put the recaptcha info on one of your other pages which has no form info. Though by quick glance, it's just looks like the <submit> form field is what validates it as true on the second page, it requires more to validate as true. There are a few ways to set this up of course, but my way seems to work fine. Thanks for the help-o
  11. Thank You. I got it to work. One question though: why does this fail to show the recaptcha widget info on it's own?<?phprequire_once('recaptchalib.php');$publickey = "blablabla"; echo recaptcha_get_html($publickey);?>How come I have to have it in a form? (else I get a blank page). Is it because the -require_once ('recaptchalib.php') - function/file refers to form driven data?
  12. joecool308

    Lan And Wan

    I'm not a pro, but I can certainly help you, but.......what exactly do you want to know? How to setup networks?
  13. Hey I got an idea!!!!This code works, but how can I get it to be two pages instead of all the code in this one page. Like having a form, entering the recaptcha, then having it validate on a second page and -if valid equals true- then -go ahead and enter the form data (to my database).So again this code works - how would a separate into two pages? (This example just makes ref. to itself and does not require a second <form action> page as you can see:<html> <body> <form action="" method="post"><?phprequire_once('recaptchalib.php');$publickey = "...";$privatekey = "...";# the response from reCAPTCHA$resp = null;# the error code from reCAPTCHA, if any$error = null;# are we submitting the page?if ($_POST["submit"]) { $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { echo "You got it!"; # in a real application, you should send an email, create an account, etc } else { # set the error code so that we can display it. You could also use # die ("reCAPTCHA failed"), but using the error message is # more user friendly $error = $resp->error; }}echo recaptcha_get_html($publickey, $error);?> <br/> <input type="submit" name="submit" value="submit" /> </form> </body></html>
  14. I just want to say thank you for working with me. I know I/we will get through this somehow. It always finds a way of working it's way out. So this is the source code for the script as you wrote above. This makes reference to the (require_once('recaptchalib.php')) in the original code. This may be getting a bit messy at this point. I really wonder if it has something to do with using LOCALHOST though it does not seem to make sense to me why that would be. <form method="post" action="wtf.php"><script type="text/javascript" src="http://api.recaptcha.net/challenge?k=I put my pub. key here"></script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=I put my pub. key here" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript><input type="submit" name="submit" value="submit" /></form>Again, my main issues is the line error codes I've been getting on like 6 or something (refer to first post on this thread) . They are undefined by me somehow??? Yikes I wish I were a super geek sometimes.
  15. The url is http://localhost/capture/blabla.php with links to wtf.php via <form action="wtf.php" method="post">No CCS right now on my page.
×
×
  • Create New...