Hiding information

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ruby Tuesday

    Hiding information

    When I execute a php script from web with some argument, e.g:



    It shows in the address bar of the browser.

    How do I hide those information completely so when user browse the side,
    it's only show the sitename but not the actual scripts. Thanks


  • Markus Ernst

    #2
    Re: Hiding information

    "Ruby Tuesday" <rubytuzdayz@ya hoo.com> schrieb im Newsbeitrag
    news:c60rf5$6ju t1$1@ID-205437.news.uni-berlin.de...[color=blue]
    > When I execute a php script from web with some argument, e.g:
    >
    > http://site/phpscript.php?name=blahblah&number=1234
    >
    > It shows in the address bar of the browser.
    >
    > How do I hide those information completely so when user browse the side,
    > it's only show the sitename but not the actual scripts. Thanks
    >
    >[/color]

    - When using forms, use the post method
    - When using URL, use mod_rewrite:
    Dynamic websites rock. Dynamically generated URLs suck. Till Quack shows how to use PHP to convert those machine-friendly nightmares into dreamy, human-friendly web addresses.


    HTH
    Markus


    Comment

    • Jan Pieter Kunst

      #3
      Re: Hiding information

      In article <c60rf5$6jut1$1 @ID-205437.news.uni-berlin.de>,
      "Ruby Tuesday" <rubytuzdayz@ya hoo.com> wrote:
      [color=blue]
      > When I execute a php script from web with some argument, e.g:
      >
      > http://site/phpscript.php?name=blahblah&number=1234
      >
      > It shows in the address bar of the browser.
      >
      > How do I hide those information completely so when user browse the side,
      > it's only show the sitename but not the actual scripts. Thanks[/color]

      With forms, use <form method="post"> instead of <form method="get">. I
      don't think you can hide the arguments if you use links instead of forms.

      JP

      --
      Sorry, <devnull@cauce. org> is een "spam trap".
      E-mail adres is <jpk"at"akamail .com>, waarbij "at" = @.

      Comment

      • John Dunlop

        #4
        Re: Hiding information

        Ruby Tuesday wrote:
        [color=blue]
        > When I execute a php script from web with some argument, e.g:
        >
        > http://site/phpscript.php?name=blahblah&number=1234
        >
        > It shows in the address bar of the browser.
        >
        > How do I hide those information completely so when user browse the side,
        > it's only show the sitename but not the actual scripts. Thanks[/color]

        Why do you want that?

        --
        Jock

        Comment

        • Ruby Tuesdays

          #5
          Re: Hiding information

          First, I'd like to reveal as little as possible and it look much cleaner.

          Thanks


          Comment

          • Chung Leong

            #6
            Re: Hiding information

            "Ruby Tuesday" <rubytuzdayz@ya hoo.com> wrote in message
            news:c60rf5$6ju t1$1@ID-205437.news.uni-berlin.de...[color=blue]
            > When I execute a php script from web with some argument, e.g:
            >
            > http://site/phpscript.php?name=blahblah&number=1234
            >
            > It shows in the address bar of the browser.
            >
            > How do I hide those information completely so when user browse the side,
            > it's only show the sitename but not the actual scripts. Thanks
            >
            >[/color]

            Easy. Just stick everything into a frame.


            Comment

            Working...