+ Reply to Thread
Results 1 to 7 of 7

Thread: how to create and execute echo/secure data to display

  1. #1
    royal.prnvd is offline x10Hosting Member royal.prnvd is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    9

    how to create and execute echo/secure data to display

    i want to create only two files or html page



    1 royal_main.htm

    as main file



    2 royal_store.htm

    for storing various data, only able to access via main file, no one download this and no one can open it directly by mean is to set permission to access only from main html


    so


    when i open main files it must have option (like search kinda, or exact keyword)

    when i write/put data there and click ok

    it display on screen only those data which are associated with it

    so that i can secure other data


    suppose

    i wrote something funny about my friend A and friend B, i stored it into "royal_store.htm"

    i want to display data of only friend B and friend A data remain secure....
    Last edited by royal.prnvd; 09-18-2011 at 04:16 AM.

  2. #2
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,448

    Re: how to create and execute echo/secure data to display

    I am struggling to understand your question. Are you saying you wish to password protect royal_store.htm , because if so you can create a new directory and move royal_store.htm inside your new directory. Then you can use the Password Protect Directory feature in cPanel.

  3. #3
    royal.prnvd is offline x10Hosting Member royal.prnvd is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    9

    Re: how to create and execute echo/secure data to display

    no i want to store detail of friend A and B into one page (royal_store.htm), and then define as command for both separately so when main page (royal_main.htm) indicate specified command for A it display A detail, and B must be secure {sorry for bad english}

  4. #4
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,448

    Re: how to create and execute echo/secure data to display

    I don't think this is possible with HTML securely. May I recommend using MySQL/PHP to accomplish this. There are some pretty good tutorials around...

  5. #5
    royal.prnvd is offline x10Hosting Member royal.prnvd is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    9

    Re: how to create and execute echo/secure data to display

    suggest me some keywords to search these tutorials,

  6. #6
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,448

    Re: how to create and execute echo/secure data to display

    MySQL, Database, Tutorial, PHP, Beginner

  7. #7
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: how to create and execute echo/secure data to display

    Note that you cannot prevent someone who has access to a page from downloading it since (by definition) they must be able to download the page in order to access it.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. php $_GET and echo error
    By allofus in forum Programming Help
    Replies: 6
    Last Post: 07-04-2009, 12:38 PM
  2. How to: secure site and display images???
    By uplinked in forum Free Hosting
    Replies: 2
    Last Post: 11-29-2008, 08:44 AM
  3. echo hello world
    By Pamagester in forum Introductions
    Replies: 4
    Last Post: 06-15-2008, 05:05 AM
  4. PHP echo placement
    By APMANAGER in forum Graphics & Webdesign
    Replies: 5
    Last Post: 03-08-2008, 01:03 AM
  5. echo swf file using php.
    By oracle in forum Free Hosting
    Replies: 1
    Last Post: 01-31-2008, 04:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers