Jump to content

Reaper0167

Members
  • Posts

    270
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Reaper0167's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Is there any way to view a .bxml file ?
  2. Thanks. Setting the background color works.
  3. If you take a look at the way it appears now, I had to create a background color on the list menu that was close to the gradient image behind it. What I am looking to do, if possible, is get rid of that sold background color and have the list menu transparent so that the gradient image appears as the list menu background. I was able to do a semi transparent list menu, but then the text in the menu was also semi transparent. Are there any ways to do this? ooppss, sorry I overread where you mentioned to use a UL.. I'll check into that. But if someone else wants to chime in, let me know, thanks.
  4. Or is there a better way to scroll through a list of members other than using a list menu?
  5. I have a list menu that is populated from mysql. Right now it looks like it doesn't blend with the site. Is there a way to create a transparent background on the list menu so it looks like it belongs on the page? Here is a link to the site. http://www.mvamaniacs.com/index_new.php Any input would be appreciated. Thanks.
  6. If I limit a page to a certain user meaning username, password, and ip is that strong security to keep others out?
  7. a user can go back and update their profile, to display what they previously selected from the radio buttons, i use the following <?php if($gender_prof == 'male') { echo ' <input name="gender" type="radio" id="gender" value="male" checked="checked" /> male <input type="radio" name="gender" id="female" value="female" /> female'; } else { echo ''; } ?> <?php if($gender_prof == 'female') { echo ' <input name="gender" type="radio" id="gender" value="male" /> male <input type="radio" name="gender" id="female" value="female" checked="checked" /> female'; } else { echo ''; } ?> Is this an ok way to acomplish this, or is there a better way?
  8. I know what you mean, switch $delete_this = $_GET['delete_id']; to $delete_this = mysql_real_escape_string($_GET['delete_id']); and yes, I had $got_you in the code for future add-ons to the script, it is probably best to leave it out til it is needed? So would that be about it with the mysql_real_escape_string ? What else could someone do?
  9. Wouldn't they only be able to change it if they knew what the session variable name was? If they didn't know about "session who", then how could they change it? It is not a variable that is passed through the url.
  10. Is there anything else that I should have, security I mean? <?php session_start(); if( (isset($_SESSION['who'])) || (isset($_SESSION['auth'])) ) { include 'connection.php'; $delete_this = $_GET['delete_id']; $got_you = $_SESSION['who']; $result = mysql_query("SELECT * FROM my_table WHERE id = '$delete_this' "); while ($row = mysql_fetch_array($result)) { $server_pic = $row['imgpath']; $server_file = $row['track_loc']; } unlink($server_pic); //removes picture from server unlink($server_file); //removes file from server mysql_query("DELETE FROM my_table WHERE id='$delete_this'"); //remove track info from db mysql_query("DELETE FROM my_table2 WHERE track_id = '$delete_this'"); //remove track comments from db mysql_query("DELETE FROM my_table3 WHERE track_id = '$delete_this'"); //remove best lap time info from db mysql_close(); header("location:my_page.php"); exit(); } ?>
  11. yeh, your right myAdmin is the best bet. Thanks.
  12. I'm looking to create a secure page that will pretty much show what is in my databse. This page will also allow me to edit what is in the database(delete,modify,etc.) What would the be the best way to secure this from other members reaching this page? I was thinking -check ip, if ip is mine let me in, if not, no entry -check session member name, same as above I really need to have this page secure so all the other members could not go in and delete anything. Any ideas?
  13. Sorry if that got confusing. All I'm looking to do is check to see if the extension is a .zip or .rar (document.form2.track.value.lastIndexOf("Check for rar and zip here")==-1) Can this be done with 2 extensions?
  14. The code at the bottom of this post works, I would like to also add something like this to it (document.form2.track.value.lastIndexOf(".rar",".zip")==-1) The text box id track can only accept a .rar or a .zip, I'm sure the code above is wrong. Could anyone help me out so that i could add it to the coding below. Thanks. if ((!form2.track_name.value) || (!form2.description.value) || (!form2.track.value) || (!form2.image.value) || (document.form2.image.value.lastIndexOf(".jpg")==-1)) { var messID = document.getElementById("flash_vid_table"); messID.style.display = "none"; } else { var messID = document.getElementById("flash_vid_table"); messID.style.display = "block"; document.body.style.cursor = 'wait'; }
  15. ooppss, i have the flu and am way out of it. thanks, i'll give it a shot.
×
×
  • 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.