dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: wolveriene401

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. It does run indeed, I have tested it and it works...

    It does run indeed, I have tested it and it works perfectly.

    if you would like a live test; I can always broadcast my screen to you as this is currently not publicly viewable yet.
  2. exists = empty sorry xD

    exists = empty
    sorry xD
  3. I checked it out yes but just looking at the page...

    I checked it out yes but just looking at the page confuses me to hell...

    an example of checking if a table exists would be more understanding :D
  4. Here; I have converted my code to mysqli :) ...

    Here; I have converted my code to mysqli :)

    Hope this helps you help me fix my check if table is empty problem :)

    mysqli identifier:


    <?php $mysqli = new mysqli("localhost", "root",...
  5. I am aware of that already, don't worrie; I am...

    I am aware of that already, don't worrie; I am going to convert all my mysql to mysqli after I am done with the current problem.

    I just need help to correct my current problem.
  6. MySQL detect if Database Table empty or not problem

    Hi I have a problem detecting if my table is empty or not;
    could someone help me in getting my code to work properly please?

    heres what I have so far:


    <?php
    $query = mysql_query('SELECT *...
  7. I did try using mysqli_ but I get the following...

    I did try using mysqli_ but I get the following errors when trying to use them:


    mysqli_query() expects at least 2 parameters, 1 given in F:\xampp\serv\htdocs\ipScriptv3\index.php on line 11

    ...
  8. here are my final modifications for the list.php...

    here are my final modifications for the list.php :)


    <?php include ('connect.php'); ?>
    <?php session_start(); ?>
    <?php if(isset($_SESSION['rank']) && $_SESSION['rank']==9) { echo "Logged in! <a...
  9. Please note I have deleted parts.....

    Please note I have deleted <script> parts.. forgot to remove them :)
  10. I have found a fix! :) Here are my changes: ...

    I have found a fix! :)

    Here are my changes:

    (list.php)

    <?php
    include("../../connect.php");
    echo "<script>
    function go(o){
  11. P.S I now have 3 things inside the table. so I...

    P.S I now have 3 things inside the table.
    so I could help identify each ban so each ip address has its one "unique" 'id'.

    so thats 'id', 'ip' & 'visits' if that helps at all :)
  12. Thanks for the submit, I have given this a try...

    Thanks for the submit, I have given this a try however I am getting errors inside the javascript.. I did modify a few lines to fix some of the errors must I am now stuck at a point where I am getting...
  13. whoa hang on one minute... where did I ask for...

    whoa hang on one minute... where did I ask for help on my errors?
    I didn't!.. I simply asked for some help on how to remove a banned ip...
  14. on the plus side... all my coding is self learnt...

    on the plus side... all my coding is self learnt so please think before you make offensive posts
  15. No I do not want to copy others work; I just...

    No I do not want to copy others work; I just wanted samples so I can improve it and make it better
  16. I don't appreciate you calling it "bad code" its...

    I don't appreciate you calling it "bad code" its not my coding... and for the css I commented it out because I have separate coding for that in another file that includes the above coding including...
  17. ... your commenting on my coding? Does that...

    ... your commenting on my coding?

    Does that really matter?... there are no errors.. the script works fine..

    if your seeing errors then its most likely an incorrect error like an undefined...
  18. This is the Index.php file.

    This is the Index.php file.
  19. Here is the "add ip" or submit.php file code: ...

    Here is the "add ip" or submit.php file code:


    <html>
    <head>
    <title>Block IP | Add</title>
    </head>
    <body>
    <form action='block_ip.php' method='post'>
    <input type='text' name='ip' />
  20. here is the processing (that bans) script: ...

    here is the processing (that bans) script:


    <?php

    include('connect.php');

    $ip = $_POST['ip'];

    mysql_query('INSERT INTO banned SET ip = "'.$ip.'", visits = 0');
  21. I did find one script that inserted ips but I...

    I did find one script that inserted ips but I couldnt find one that removed them.

    here is that script:


    <?php include ('connect.php'); ?>
    <html>
    <head>
    <title>Block IP | Main</title>...
  22. Sorry I forgot to include what I had inside the...

    Sorry I forgot to include what I had inside the table; the table includes one field called ip.
  23. [RESOLVED] Ip Ban management with MySql help

    Hello;

    I am trying to make a ip ban management script that can add and remove ip addresses from my MySql database.

    I have been looking online for one but I am having trouble locating any to my...
  24. Replies
    1
    Views
    689

    Problem with background in forum

    I am having problems setting the background to fit-to-screen.
    at the moment it is tiles across the screen.

    I have tried no-repeat but then the image is only half way on the page.

    Please could...
  25. Replies
    5
    Views
    6,137

    Any help??

    Anyone help with my problem?


    Please read previous post.



    Thanks
Results 1 to 25 of 38
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles