Page 5 of 8 First ... 34567 ... Last
  • Jump to page:
    #61
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    more xml news sites


    I really appreciate you giving this code, but I am having trouble finding more xml-rdf files from news sources.
    <br>
    <br>
    If anyone knows more news sites that offer xml-rdf files for individual use, please let me know (a link directly to the xml-rdf would greatly be appreciated).
    <br>
    <br>
    THANKS!
  2. #62
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Warning Failed opening 'slashdot.Ink'


    I've managed to get all aspects up and running smoothly with the exception of getting the headlines. I keep receiving the same statements for each headline chosen

    "--------------------
    Warning: Failed opening 'slashdot.lnk' for inclusion in /www/jazzpromo/index.php3 on line 18
    ---------------------"

    It might be a simple oversight. I've copied all the files verbatim.

    Anyway help would be appreciated.

    Thanks!
    jesse
  4. #63
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Expire time doesn't work


    Hello,
    My problem is when I set expire time in cookie, it doesn't work.
    I can't read cookie.
    If i don't set it, it work. I can read cookie.


    <!-- Code -->
    <p><pre><font color=#008000><xmp>
    /* this is my code for set cookie*/
    SetCookie ("PRE_REGIST_ID",$ID,time()+600);
    /* this is my code for reading it */
    print "$PRE_REGIST_ID";
    </xmp></font></pre><p>
    <!-- Code -->

    Nothing i can see when i set expire time..
    Why ???
    Please help me ...
    Thanks,
    Thanyaluk.
  6. #64
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Warning Failed opening 'slashdot.Ink'


    Check the path to the file, and check to make sure the file was created. Looking for those things will probably reveal the problem.

    Good Luck!
  8. #65
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Expire time doesn't work


    Make sure you are not trying to set the cookie and read it in the same script, it won't work. In fact, you may think you are reading it, and then deleting it after you read it, if you keep setting it with no expiration. Remember, cookies are sent by the client with a header request - it doesn't have a chance to send it until AFTER the server sets the cookie's value.

    So, set the cookie with a proper expiration time, then read it from the next script - it should work.
  10. #66
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    password security


    A problem with this is that when the initial registration or login takes place, the form sends the username and password variables in the URL. Thus the unencoded username and password will appear in your history or drop-down list. Does anyone have a workaround for this so that the username and password are not clearly visible to anyone using that browser on that system?
  12. #67
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: GOT-IT


    can you send me a copy then please!
  14. #68
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: password security


    Scott,
    try to use method post in your form.

    EW
  16. #69
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Retreiving Lost/Forgotten Password


    This one isn't for this aritcal but some i ha edited and maked from a artical on www.thescripts.com.

    Take a look, perhaps this one will help you :)...

    sorry for a bad coding but i does the work :)


    <!-- Code -->
    <p><pre><font color=#008000><xmp>

    <---lost.php3--->

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    <HEAD>
    <TITLE> title</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <FORM METHOD=POST ACTION="pass.php3">
    <TABLE>
    <TR>
    <TD><FONT FACE="ARIAL" SIZE="-1">User Name</FONT></TD>
    <TD><INPUT TYPE="text" NAME="Name"></TD>
    </TR>
    <TR>
    <TD COLSPAN=2><CENTER><INPUT TYPE="submit"
    VALUE="Submit"></CENTER></TD>
    </TR>
    </TABLE>
    </FORM>
    </BODY>
    </HTML>


    <---stop--->


    <---pass.php3--->

    <?php
    function showheader ($title) {
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    <HEAD>
    <TITLE> <?php echo $title ?> </TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <CENTER>
    <?php
    }

    function showfooter () {
    ?>
    </CENTER>
    </BODY>
    </HTML>
    <?php
    }

    mysql_connect("localhost", "user", "pass");
    mysql_select_db("users");

    $table = 'users';

    if ($Name == $Name) {
    $user = mysql_query("SELECT * FROM $table WHERE (Name='$Name')");

    if (mysql_num_rows($user) > 0) {
    showheader("Yes!");
    ?>

    <?php

    $result = mysql_query("SELECT * FROM $table WHERE (Name='$Name')");
    $i = 0;
    $email = mysql_result($result,$i,"Email");
    $passwd = mysql_result($result,$i,"Password");

    mail("$email", "Site Information", "Hello $Name,\n
    Your password was requested from $REMOTE_ADDR.\n

    Your Password: $passwd.", "From: Webmaster <webmaster@yoursite.com>");

    echo ("Your password is sendt to your email for security reason :-)");

    ?>


    <?php
    showfooter();
    }
    else {
    showheader("Unknown User");
    ?>
    Unknown User

    <?php
    showfooter();
    }
    }
    else {
    showheader("Error!");
    ?>
    Error!
    <?php
    showfooter();
    }
    ?>

    <---stop--->

    </xmp></font></pre><p>
    <!-- Code -->
  18. #70
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Logout?


    Anyone know how I make a logout script?
    <br>
    <br>
  20. #71
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Cookie for shoppingcart?


    Does any one have the source code for a simple shopping cart? I need to write a cart project in java using servlets.

    thanks in advance!!
  22. #72
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Cookie for shoppingcart?


    Does any one have the source code for a simple shopping cart? I need to write a cart project in java using servlets.

    thanks in advance!!
    euent@hotmail.com
  24. #73
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Problem with Cookie


    My problem is in Spanish:
    <br>
    <br>
    Estoy usando Setcookie
    <br>
    pero me manda el siguiente mensaje "
    <br>
    Warning: Oops, php3_SetCookie called after header has been sent in verificar on line 45 "
    <br>
    <br>
    y no se como solucionarlo
    <br>
    <br>
    May you ask me, thank you!!
  26. #74
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Problem with Cookie


    Ruben:
    setcookie tiene que ser la primer instruccion que se envia al explorador, osea, no tiene que haber nada antes... ok?
  28. #75
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: password security


    Guys,
    even if you use POST message,
    your password and username
    can be easily stolen by those,
    who can control HTTP packets.

    This is not the way out :)

Page 5 of 8 First ... 34567 ... Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo