Jump to content

msd

Members
  • Posts

    57
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://msd.licjibou.ro/
  • ICQ
    0

msd's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. msd

    variables in variables

    You have to put that code in your file exactly as it is: <?php//some codeinclude("file.php");//other code ?>
  2. Play with css properties of "form" tag.In your css code define: form{/*here set margin, padding*/}
  3. msd

    quick question

    Weird. Double check table fields in database and your query. You didn't understand my question, but it doesn't matter.
  4. msd

    quick question

    So, is the username extracted ok from the database?But it just won't update the other table?And are you sure that $_GET["refer"] exists in the "site_news" table?
  5. msd

    quick question

    Post all the php code that has influence on this problem.
  6. msd

    quick question

    But where do you get "$member_id" from? I don't see you getting it by GET or POST.
  7. You make a query like: $sql = "SELECT username FROM users WHERE username='".$posted_username."'"; Then you check: if (mysql_affected_rows() > 0) { //the username is already in the database }
  8. msd

    quick question

    <?php $sql = "SELECT name FROM ibf_members WHERE id='".$member_id."'"; $query = mysql_query($sql); $row = mysql_fetch_assoc($query); echo "Edited by: ".$row["name"]; $update = $row["name"];?> First, because you need a name only from one row, you don't need a while.Try the code above.
  9. <input name=vb_login_username type=text id=navbar_username onfocus="if (this.value == '$vbphrase[username]') this.value = '';" size=10 /> At onfocus you forgout to wrap your code in " ".I recommend you to always use " " for properties (name, type, title...).
  10. msd

    Mail 'SPAM' Issue

    It's very interesting what you're saying! Could you please give a website with details?
  11. msd

    Centering the whole page

    Check this http://iamntz.com/portfolio/exigo/1/styles/screen.css with the W3 CSS Validator: http://jigsaw.w3.org/css-validator/
  12. You can build it yourself:- generate random text and put it in a session- put the text in an image (http://www.php.net/manual/en/function.imagecreate.php)- after submit, check if users' code matches to the one in the sessionStart on these 3 major steps and ask for details when needed.After this, you'll make more advanced captcha codes, with colors and various backgrounds to make it harder for the bots to read it.
  13. msd

    Centering the whole page

    Try: *{margin:0 auto;}
  14. msd

    Mail 'SPAM' Issue

    The e-mail server you're sending the mail to decides which mail goes to Inbox and which to Spam.If the e-mail address (or your server's ip address) is on the server's "black list" or it's suspicious, it's delivered to Spam.Try to send correct mails, pay attention to the mails' headers when you're creating them.
×
×
  • Create New...