www.webdeveloper.com

Search:

Type: Posts; User: yuna

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Help on Security.

    by yuna
    Replies
    4
    Views
    1,343

    Should I leave the sensitive information where it...

    Should I leave the sensitive information where it is, outside the public area and not in the SSL area either?

    First off, it would really help to know whether you're on a Unix or Windows server...
  2. Thread: backup in PHP

    by yuna
    Replies
    5
    Views
    1,566

    I'd use samba on the linux box to enable Windows...

    I'd use samba on the linux box to enable Windows file sharing, then just mount the exported share on your Windows machine and use regular filesystem commands.

    If you can't do that, it might be...
  3. Replies
    9
    Views
    1,918

    Isn't that just what gethostbyname(), getmxrr()...

    Isn't that just what gethostbyname(), getmxrr() do?

    Guess so. I knew the PHP had gethostbyname() and gethostbyaddr(); I didn't know about the mxrr functions.
  4. Replies
    8
    Views
    1,580

    See my earlier posting here:...

    See my earlier posting here:
    http://www.webdeveloper.com/forum/showthread.php?p=254444#post254444
  5. Replies
    1
    Views
    1,281

    [This message assumes *nix platforms, not...

    [This message assumes *nix platforms, not Windows.]

    I've found that sending lots of messages with the PHP mail() function can be extremely slow, since mail() has to submit the message to the...
  6. Replies
    9
    Views
    1,918

    If you're running on a *nix box, I'd recommend...

    If you're running on a *nix box, I'd recommend using the command line "host" function. For instance, the command "host -t ns domain.name" returns the names of that domain's name servers. If it...
  7. Replies
    5
    Views
    5,837

    One alternative to using SSL is to encrypt the...

    One alternative to using SSL is to encrypt the password with javascript and send the encrypted hash. For instance, a set of JS functions to convert a string to its MD5 hash is at...
  8. Replies
    3
    Views
    1,221

    I use functions to handle creating radio buttons,...

    I use functions to handle creating radio buttons, drop-downs, etc. Here's my radio button function:



    function make_radio($name,$options,$checked,$single=0,$extra="") {

    # make a...
  9. Replies
    3
    Views
    1,539

    $str = "/home/user/public_html/$url.html";...

    $str = "/home/user/public_html/$url.html";
    include($str);

    And it doesn't do what I need.

    Probably because you're using a recent version of PHP that has global variables turned off by default. ...
  10. Replies
    7
    Views
    1,390

    I usually check to see if the session ID is in a...

    I usually check to see if the session ID is in a cookie or in GET/POST like this:



    # some arbitrary name for the the session identifier
    $sname="mysessionname";

    # determine session id ($sid)...
  11. Replies
    5
    Views
    2,125

    If you're looking for a real-time alternative,...

    If you're looking for a real-time alternative, you might see whether or not you can make an ODBC connection to the POS system. If so, you can use PHP's ODBC functions to access the POS system over...
  12. Thread: FTP upload?

    by yuna
    Replies
    33
    Views
    9,229

    Perhaps the problem isn't passive mode. It's...

    Perhaps the problem isn't passive mode. It's hard to diagnose FTP errors. That's why I suggested:



    Can you get a command shell on your web server? On both *nix and Windows servers you should...
  13. Replies
    12
    Views
    2,810

    Before foreach() arrived in PHP, you had to use...

    Before foreach() arrived in PHP, you had to use this construct to traverse an associative array:



    while (list($key,$val)=each($array)) {
    echo "Array key $key has value $val";
    }

    ...
  14. Replies
    13
    Views
    3,587

    Why? If you really can't refresh the whole...

    Why?

    If you really can't refresh the whole page, you could use frames to place the table in its own frame that refreshes once per minute while the other frames remain static.
  15. Replies
    12
    Views
    2,810

    It's more reliable, and usually simpler, to treat...

    It's more reliable, and usually simpler, to treat $_POST as an associative array where $_POST["fieldname"]=fieldvalue. That way you never have to think about the order in which the items were...
  16. Replies
    4
    Views
    1,555

    Not to be a pest, but wouldn't this be easier...

    Not to be a pest, but wouldn't this be easier with arrays? How about something like:



    $player[1]["name"]="one";
    $player[1]["dexterity"]=0;
    $player[1]["dodge"]=2;
    $player[1]["strength"]=2;...
  17. Thread: FTP upload?

    by yuna
    Replies
    33
    Views
    9,229

    You might need to use "passive" FTP mode. See ...

    You might need to use "passive" FTP mode. See

    http://us2.php.net/manual/en/function.ftp-pasv.php

    for details. If there's any type of firewalling on either end of the connection, FTP can be...
  18. Replies
    4
    Views
    2,277

    If you're ultimately going to download the...

    If you're ultimately going to download the contents to Excel, I strongly suggest you look at Excel's native time formats which, like Unix, represent time as a number, then use functions to format the...
  19. Thread: $php_self

    by yuna
    Replies
    2
    Views
    1,442

    Use the "target=" parameter in the tag to...

    Use the "target=" parameter in the <form> tag to direct it to the correct frame; e.g.,



    <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" target="targetframe">
  20. Replies
    2
    Views
    1,452

    If you have a recent version of PHP (4.3.0 or...

    If you have a recent version of PHP (4.3.0 or later), use file_get_contents() as documented here:
    http://us2.php.net/manual/en/function.file-get-contents.php

    In earlier versions, you need to open...
  21. Replies
    15
    Views
    2,606

    Looking back at the code you originally...

    Looking back at the code you originally submitted, I see this:



    <INPUT name="accepted" id="accepted" type="hidden">


    If this hidden field is designed to pass the value along, it's missing...
  22. Replies
    8
    Views
    1,684

    I think you're missing the final semicolon: ...

    I think you're missing the final semicolon:



    $sql = "SELECT * FROM postagestamps";
    $result = mysql_query($sql, $db);


    should be
  23. Replies
    7
    Views
    2,472

    Perhaps your version of Windows doesn't have an...

    Perhaps your version of Windows doesn't have an entry to resolve "localhost" to 127.0.0.1 in its "hosts" file. What happens if you point your browser at http://127.0.0.1? Or...
  24. Thread: Check if XP SP2

    by yuna
    Replies
    4
    Views
    1,281

    The $_ENV variables are telling you about the...

    The $_ENV variables are telling you about the server's environment. My understanding of the question is that Extreme wants to know what the OS version is of the client web browser. For that you...
  25. Replies
    5
    Views
    1,345

    PLEASE IGNORE LAST POST I wish I could use [tab]...

    PLEASE IGNORE LAST POST
    I wish I could use [tab] in this box! Apparently I accidentally hit tab in the wrong spot, and submitted my unfinished post!

    Here's a better idea.... How about building a...
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles