SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Location
    Arizona
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with a line of PHP code...

    Here's the PHP code:

    header("location: showverification.php");

    ----

    This is just one line, and is used by the rest of the script to show a link in an email that is sent.

    The problem is that the link in the email is not clickable, therefore, the recipients must copy and past the link.

    My question is, how do you rewrite this to make this link clickable in the email?

    Thanks!

    G

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean like this?
    Code:
    <a href="http://www.yourdomain.com/showverification.php" target="_blank">http://www.yourdomain.com/showverification.php</a>
    Just insert this line in your email body.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    SitePoint Member
    Join Date
    Jul 2007
    Location
    Arizona
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mmm. No, and that's my fault for not explaining this correctly

    Damnit, Jim! I'm a designer, not a programmer! Anyway,

    ---------------------
    header("location: showverification.php");
    ---------------------

    ..is a call the script makes to showverification.php in order to PUT the hyperlink into the email. This (affiliate) link is defined by the user.

    So in other words, the hyperlink you suggested would work perfectly if you were just sending me a link (I know how to do that).

    What I'm trying to do is make the script send a CLICKABLE link.

    I hope this explains things better

    Grant


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •