Jump to content

EKINdesigns

Members
  • Posts

    53
  • Joined

  • Last visited

    Never

About EKINdesigns

  • Birthday 04/11/1987

Contact Methods

Profile Information

  • Gender
    Not Telling
  • Location
    USA

EKINdesigns's Achievements

Member

Member (2/5)

0

Reputation

  1. you can save them on the onClick.
  2. I need to find out if a message has an attachment or not without downloading all the data. Is there an easy way? I found parsing imap_fetchstructure() will give me the correct results but I heard it downloads the whole attachment and not just the message structure. Any help?
  3. You should also get rid of the <br> tags. Assign your <span>'s a "display: block;". This will force them to line break.
  4. Strike mine...The haystack is supposed to be the first var of the function.
  5. $year = substr(0,4,$date); $day = substr(4,2,$date); $month= substr(6,2,$date); I think that should work.
  6. Please let me know what you think about this concept idea. I think it would be more secure than the normal. Store the username in a cookie and the password in a session. Reason this would be more secure: 1.) If someone gets a hold of the session ID they are missing the username (so we assume its a hack and delete the session data). 2.) If someone, somehow, hacks the session data they are, again, missing the username. 3.) Someone gets a hold of a cookie (harder since it is located on clients machine) they are missing the password. 4.) If the users session ends but the username is still in the cookie ask to verify password to re-login. Please let me know if this concept is a good idea. I haven't seen this implemented anywhere else. Thanks, Jeff
  7. I prefer to secure the information on insertion but format it when I extract it. I don't like having HTML code in my database. The nl2br() function is what you want though. Browsers don't display newlines. Using this function you convert new lines to break tags which the browser understands.
  8. Also, why do you do: <?php echo "{$row['_model']}"; ?> Its better practice to do this instead: <?php echo $row['_model']; ?>
  9. Grab the value of the drop down from the database the do something like: <select name="_odometer"> <option value=""></option> <option value="Actual"<?=($row['_odometer'] == "Actual") ? " selected" :NULL;?>>Actual</option> <option value="Not Actual"<?=($row['_odometer'] == "NotActual") ? " selected" :NULL;?>>Not Actual</option> <option value="TMU"<?=($row['_odometer'] == "TMU") ? " selected" :NULL;?>>TMU</option> </select>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.