Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Location
    Central Scotland
    Posts
    243

    Help needed: Simple problem needs simple solution?

    Can anyone tell me why the below does not work?

    PHP Code:
    <META http-equiv="refresh" content="5;URL=http://www.domain.com/clients/<?php echo $redirect ?>">
    WKD Banners | Make the most of your advertising!
    Designing banners since 2004 | Visit our Website www.wkdbanners.com

  2. #2
    Join Date
    May 2004
    Location
    Central Scotland
    Posts
    243
    sorted, no reply needed now, thanks anyway.
    WKD Banners | Make the most of your advertising!
    Designing banners since 2004 | Visit our Website www.wkdbanners.com

  3. #3
    Join Date
    Oct 2002
    Location
    State of Disbelief
    Posts
    22,951
    Glad we could help?

    It might help someone else that comes along if you shared the fix, however
    Having problems, or maybe questions about WHT? Head over to the help desk!

  4. #4
    Join Date
    May 2004
    Location
    Central Scotland
    Posts
    243
    Ok, well I created a form as below:

    PHP Code:
    <form method="post" action="redirect.php">
    Type your domain name in to be redirected
    <br>                           
    <
    input type="text" name="redirect" id="redirect" value="yourdomain.com" />
    <
    button>Find Your Banners</button>
    </
    form
    then to make it work on the page I had to change the code in the original post to the following:

    PHP Code:
    <META http-equiv="refresh" content="5;URL=http://www.<?php echo $_POST["redirect"]; ?>">
    and this fixed my issue
    WKD Banners | Make the most of your advertising!
    Designing banners since 2004 | Visit our Website www.wkdbanners.com

Similar Threads

  1. Help desperately needed with simple problem
    By Mattlloydillustrator in forum Web Hosting
    Replies: 12
    Last Post: 04-03-2009, 07:40 AM
  2. HELP :: A Simple Solution - i think!?
    By jleeinc in forum Programming Discussion
    Replies: 4
    Last Post: 04-12-2005, 08:12 PM
  3. Simple problem, tough solution... Help requested
    By pickles in forum Programming Discussion
    Replies: 1
    Last Post: 05-24-2004, 02:40 PM
  4. A seemingly simple problem with a complex solution?
    By Informity in forum Programming Discussion
    Replies: 1
    Last Post: 03-07-2004, 01:38 PM
  5. PHPCart - The Simple E-Commerce Solution
    By barrywien in forum Other Offers & Requests
    Replies: 1
    Last Post: 07-11-2002, 04:23 PM

Posting Permissions

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