www.webdeveloper.com

Search:

Type: Posts; User: oobajeeba

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,256

    PHP JSON and MySQL

    I'm having a hard time finding a code example for what i'm looking to do and was wondering if anyone might be able to help me out.

    I'm wanting to write a script thats run daily by cron that calls...
  2. Replies
    5
    Views
    5,664

    It seems that using $_SERVER[SCRIPT_NAME] rather...

    It seems that using $_SERVER[SCRIPT_NAME] rather than $_SERVER[PHP_SELF] will sanatizes the input.


    if (($_SERVER[HTTP_X_FORWARDED_PROTO] == "http") && ($_SERVER[HTTP_HOST] == "www.domain1.com"))...
  3. Replies
    5
    Views
    5,664

    The line: "Location:...

    The line:

    "Location: https://www.domain2.com$_SERVER[PHP_SELF]"

    Is vunerable to a HTTP response splitting attack.
    Currently looking for a means to sanitize.
  4. Replies
    5
    Views
    5,664

    Using your advice I've managed to construct the...

    Using your advice I've managed to construct the following solution:


    if (($_SERVER[HTTP_X_FORWARDED_PROTO] == "http") && ($_SERVER[HTTP_HOST] == "www.domain1.com"))
    {header("Location:...
  5. Replies
    5
    Views
    5,664

    HTTPS redirect MULTIPLE domain names

    Here is the situation. I have a website that has two domain names. Each domain name points to the same server. Each domain may access http and https and serves the same content. Some users use one...
Results 1 to 5 of 5
HTML5 Development Center



Recent Articles