Jump to content

SFB

Members
  • Posts

    282
  • Joined

  • Last visited

Posts posted by SFB

  1. I had the same type of thing happen to my web page when viewing in IE, all because of a little javascript error (wasnt an error.. just ie -.-).
    well whats odd about it is that my site jsut stoped working. i didnt change anything. I dont use javascript so that cant be the problem
  2. Well couldn't you just startup in safe mode and go on the admin account if there's no password on that account.
    that actually sounds like a good idea. if it works. i havent tested account things in safe mode but i would guess that they would work. you could change your account to admin and change your password.
  3. i need the form validator to check the form without the user need to refill the whole form from scrach, just popping up an alert to fill up required fields.
    if you dont want the user to fill in the fields over agin you should use javascript. some users will block the use of javascript so you should aslo check again in your php. another option would be when the user submits, set a cookie for each correct field. then send them back to the form. on the form check for that cookie and if it is set then have it echo that value into the input field.
  4. Is there a difference between $_GET and $_REQUEST ??I was always told to use $_REQUEST because the server I learned on wouldnt accept anything else.I've never seen $_GET before :) Probably something else my teacher decided to leave out to make me the worst programmer ever.
    i think there are suttle differences between them. its like include and require, they do the same thing. its the end result that everyone is looking for. as long as you can get the same result nobody is going to care. there is also $_post but i dont know if you can use that here. that one is used in processing forms. <forum action="myscript.php" method="post"><input type='text' name='name' />... then you use $name = $_post['name']; to get what the user placed in the name input field
  5. not exactly sure what you want. Buit i think
    echo $_REQUEST['other'];

    should print out the value of other.

    in order to print out the value of other shouldnt the url be
    <a href="photo-browse.php?other=somevalue">my link</a>

    you can also use get

    echo $_GET['other'];

×
×
  • Create New...