#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    830
    Rep Power
    0

    Question How To Redirect User To His Own Browsing History File On His Own HDD ?


    How to redirect users, via php, onto their own hdd location where their browsing history is saved ?

    Pressing CTRL+H on Chrome I see this on the browser:
    chrome://history/

    Now, how do I redirect a user to that path in his own computer ?
    This code ain't working:
    PHP Code:
    <?php 

    header
    'Location: http://chrome://history/' ) ; 

    ?>


    I need to do the same for other browser users like Fire Fox, IE, Netscape Navigator, Opera, Safari, etc.

    Fail also:
    PHP Code:
    <?php 

    header
    'Location: http://127.0.0.1/chrome//history/' ) ; 

    ?>
    Last edited by UniqueIdeaMan; June 2nd, 2018 at 03:08 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,451
    Rep Power
    652
    I don't know when you are going to get it through your dumb head. PHP is server side. You cannot do client side stuff with PHP. That is what Javascript is for.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    830
    Rep Power
    0
    Originally Posted by gw1500se
    I don't know when you are going to get it through your dumb head. PHP is server side. You cannot do client side stuff with PHP. That is what Javascript is for.
    I'm the dumb php programmer who's gonna sting you real hard one of these days by sticking something right into you from your backside.
    I know php, perl, ruby, python, asp are all server side. Before php, it was perl cgi doing all the serverside programming in the 90's before php was procreated. Does it surprise you ?
    I know javascript, html, xml, shtml and maybe now jscript are all client side.
    I know they are all run by interpreters.
    I know the following are run by compilers:
    c,c++,c#, java, vb, basic, liberty basic.
    Old stuff: Cobol, etc.

    I know Commodore 64 and Amstrad and Spectrum used to be the best computers back in the 80's.
    Used these apart from the Amstrad. Back in those days only the Amstrad had the capacity to print.
    In those days when I was playing games with Commodore and Spectrum (Hobbit game in the Spectrum) you were either in your nappies or not even born. I think you were born in the 90's.
    Yes, I was playing the Hobbit game in the mid eightees. I think it was this one:
    https://en.wikipedia.org/wiki/The_Ho...82_video_game)
    Playing in my teacher's (female) home computer. Playing in class along with other students.

    Anyway, I should thank you for reminding me that I was trying to get php do a client side programming job but I won't. So next time, try reminding people without being a rude boy. Or, a rude girl.
    You got that sunny jim ?
    Last edited by UniqueIdeaMan; June 3rd, 2018 at 05:58 AM.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    830
    Rep Power
    0
    Does anyone know the answer to this question on this thread ?
    Where Your browsers Save Your browsing Histories ?

    Requinix locked that thread over there and so do reply here. Folks.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,451
    Rep Power
    652
    He should lock it here too.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  10. #6
  11. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Caro, Michigan
    Posts
    14,945
    Rep Power
    4554
    You sure know a lot for knowing nothing.
    -- Cigars, whiskey and wild, wild women. --
  12. #7
  13. Impoverished Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,796
    Rep Power
    9646
    Originally Posted by gw1500se
    He should lock it here too.
    I like your thinking.

    If header() works then it works. If it does not work then it does not work. That's all that should need to be said on the matter.

IMN logo majestic logo threadwatch logo seochat tools logo