#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Chennai,TamilNadu,India
    Posts
    33
    Rep Power
    15
    I'm sending email to buylogin.php3 as parameter as shown. The email is getting displayed on the location bar.

    I'm getting the company name from the database through $row[companyname]. When i click on the company name, the page is transferred to buylogin.php3 with email dispayed on the location Bar. But I dont need that email to be displayed.

    But if use the second one, i'm getting transferred to sendmail.php3, but hidSendTo is not displayed on the location bar.

    <tr><td>
    echo "<a href=buylogin.php3?email=", urlEncode($email), "> $row[companyname] </a><br>n";
    </td></tr>

    echo "<a href=sendmail.php3?hidSendTo=", urlEncode($hidSendTo), "></a><br>n";

    Can anyone give the solution for this problem.

    TA
    Raghu.
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    If you are passing the values with your URL then it will appear on the address bar.

    you can't hide using this method...but if you can do a "POST" method then it won't appear on the address bar..

    OR

    You may try to encrypt your value before sending through URL...


    ------------------
    SR -
    webshiju.com
    www.jobxyz.com-IT Career Portal
    ezipindia.com--WebStudio


    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    NYC, USA
    Posts
    17
    Rep Power
    0
    There are 2 ways of doing this (I think)
    1. Getting the email to some encrypted form and then causing the transfer to another file.
    2.Doing a javascript submit.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    NYC, USA
    Posts
    17
    Rep Power
    0
    Suddenly realised that there is a third way of doing it.
    3. U can use Frames ( A top and a left or only top ) and all your changes would then happen on the main page.
    The location bar qwould not show anything. Infact throughout it would only show the Domain name only.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Chennai,TamilNadu,India
    Posts
    33
    Rep Power
    15
    >>You may try to encrypt your value before sending through URL...

    Hi Shiju

    Can you suggest me how do use encrypt and decrypt functions in php.

    Raghu.

  10. #6
  11. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by raghuramb:
    >>You may try to encrypt your value before sending through URL...

    Hi Shiju

    Can you suggest me how do use encrypt and decrypt functions in php.

    Raghu.

    [/quote]

    If I'm not mistaken, crypt() works like urlencode() and such.. by passing the value or string to the function..

    like $value = crypt($item);

    etc..

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.

Similar Threads

  1. adjusting time duration from a drop down menu
    By spyghost in forum HTML Programming
    Replies: 9
    Last Post: March 1st, 2004, 02:05 AM
  2. time in - time out
    By newbiex in forum PHP Development
    Replies: 2
    Last Post: February 9th, 2004, 02:04 AM
  3. UTF-8 problem in 4.1.1a
    By mehran20 in forum MySQL Help
    Replies: 1
    Last Post: February 8th, 2004, 02:21 PM
  4. Adding time to time
    By bizantium in forum PHP Development
    Replies: 2
    Last Post: February 4th, 2004, 10:43 AM
  5. Decode problem [Only Perl related : NO ]
    By mono in forum Perl Programming
    Replies: 0
    Last Post: January 31st, 2004, 07:49 AM

IMN logo majestic logo threadwatch logo seochat tools logo