www.webdeveloper.com

Search:

Type: Posts; User: STREETRULEZ

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    510

    re

    its a little tricky to do somethink like this, but i think, the easiest way is to use
    funct_get_args() =)

    http://at2.php.net/manual/de/function.func-get-args.php



    <?PHP
    function foo()
    {
  2. Replies
    2
    Views
    2,337

    =)

    <?
    session_start(); // here goes the session
    if(!$_SESSION['wrong_pass_count'])
    $_SESSION['wrong_pass_count'] = 0;
    if($_SESSION['wrong_pass_count'] >= 3)
    die('Authorisation Failed!');
    ...
  3. you need to register a variable and write it next...

    you need to register a variable and write it next to post/submit 'cause, if you don't hit the submitbutton this will be false and you put out the registerform

    try something like that:


    <?...
  4. hi there =) try $getuserinfo = "SELECT *...

    hi there =)

    try


    $getuserinfo = "SELECT * FROM members where BINARY_CHECKSUM(`username`) = BINARY_CHECKSUM('$username') and password='$password'";

    if this won't work try to write...
  5. Replies
    1
    Views
    939

    hi there =) you need to logon to the...

    hi there =)


    you need to logon to the yahoo-server

    here is a working script, where you can see how to solve this problem via socket-connect =)


    if you can't do anything with this, just...
  6. Replies
    6
    Views
    2,664

    hi there =) i had such problem too, but i've...

    hi there =)

    i had such problem too, but i've fixed it with an dbase full of IP-Information as long-values =)

    if you want, i can mail you both - the dbase-part and the scripted part.


    just...
  7. i'm not sure too, but the code up there is needet...

    i'm not sure too, but the code up there is needet 4 the $sql =)

    for a better errorhandling rewrite



    mysql_connect("$host", "$username", "$password")or die("cannot connect"); ...
  8. Replies
    7
    Views
    1,284

    yeah i know that - assumate that no content will...

    yeah i know that - assumate that no content will be shown (fakepage)
  9. Replies
    2
    Views
    606

    re your problem

    if your only problem is, to get some filecontent into your dbase, why don't you try to write a little script, whitch is uploading some files, read the content and post it into your dbase?


    i...
  10. Replies
    7
    Views
    1,284

    How to refresh a url frequently

    hi again =)

    adam is right, but the question was only 'I want to khow if it is possible in PHP.'


    if you want to get some content into the page the way i wrote is not the correct to refresh the...
  11. Replies
    1
    Views
    2,757

    re: your problem

    hi norra =)

    here is the command listing:



    $stats = @file_get_contents('http://hiscore.runescape.com/index_lite.ws?player='.$rsn) or print('Please enter a valid username!');
  12. Replies
    7
    Views
    1,284

    re: How to refresh an URL frequently

    hi there =)

    here's the code i've wrote and test it:

    thinkings:
    query, if stop
    say sleep for 2 seconds
    redirect to 'echoing.php' and say stop = 1

    and here it goes:
  13. hi there =) first, i want to scream out, that...

    hi there =)

    first, i want to scream out, that my daughter was born on 2009-06-02 23:15:00 and we named her 'michelle' =) and yes, i'm proud bout this little girl XD


    so to this quote you...
  14. re googlebot

    this code will only work, if google find the links somewhere on your site

    if not all sites are linked, but you still want 'GBot' to find this sites:

    my thought to fu... the googlebot up and get...
  15. Replies
    5
    Views
    878

    re ipban

    hi there =)

    i'm sorry to forget 'bout that... i was stressed cause my daughter was born 2 days ago =)

    just rewrite the first function, and there it goes:
    (the whole script ^^)



    <?PHP
  16. hi there again =) this.name was wrong - sorry,...

    hi there again =)

    this.name was wrong - sorry, but here is an examplecode, i've wrote to get an login-window, returning the POST to the caller



    function zeigeLogin()
    {
    self.name =...
  17. ajax suxx

    hi there =)


    i'm at work now, so i can't try the code, but if you're little skilled in debugging, you can rewrite this =)


    so, ajax is powerfull, but easy to hack, so i do not recommand ajax...
  18. re: does google find your word in title tag

    google is a crawling-engine which reads any link in the page, parse the page for keywords, save them to the link and do this with the next found link.

    say, you got an index.php with 2 links on it,...
  19. Replies
    5
    Views
    878

    re ipban =)

    a script wich bans an user for 10 minutes is commin' up

    if your server don't know the $_SERVER['REMOTE_ADDR'] try the script from SyCo to get the IP address, but i don't think, that this var...
  20. Replies
    6
    Views
    1,271

    re: Form Validation Help

    hi there =)

    my tip is to validate this form via PHP if you can.
    i've wrote a solution 4 such problems, wich is flexible and simple coded.

    all you need is an array, where you define the fields...
  21. you want to focus the fields after the validation...

    you want to focus the fields after the validation is false:

    function validate_form(thisform)
    {
    with (thisform)
    {
    if (validate_required(email,"Email must be filled out!")==false)...
Results 1 to 21 of 21
HTML5 Development Center



Recent Articles