Shout box address

Discussion in 'PHP' started by turnip2, Aug 22, 2007.

  1. #1
    I have a field where users can write a comment and it updates the box automatically. It goes to a confirmation page but i want to change the directory back to my page, It can be seen here (i have asked the guy to copy the code okay)

    http://ccgi.apopps.plus.com/intrinsic//index.php

    <HTML lang=en><HEAD><TITLE>www.TEAM-INTRINSIC.co.uk</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    <META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD><FRAMESET
    rows=100%,*><FRAME
    title=http://ccgi.apopps.plus.com/intrinsic//addmessageprocess.php
    name=mainframe
    src="http://ccgi.apopps.plus.com/intrinsic//addmessageprocess.php" frameBorder=0
    noResize><FRAME title="empty frame" src="about:blank" frameBorder=0 noResize
    scrolling=no><NOFRAMES></NOFRAMES></FRAMESET></HTML>
     
    turnip2, Aug 22, 2007 IP
  2. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #2
    "It goes to a confirmation page but i want to change the directory back to my page,"
    What do you mean ? Automatically redirect after someone posts a comment >?
     
    killerj, Aug 22, 2007 IP
  3. turnip2

    turnip2 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes basically, Ive tried altering the src page but it doesnt work. iwant to redrect back to index.html
     
    turnip2, Aug 22, 2007 IP
  4. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #4
    open addmessageprocess.php in your favorite text editor and find the lines
    "Your Shoutbox Message Has Been Added! "
    Delete the content
    "You will be re-directed back to the home page in 5 seconds" and replace with this
    
    	echo'<meta http-equiv="REFRESH" content="1; url=index.php">'; 
    PHP:
    That should redirect the right way .
     
    killerj, Aug 22, 2007 IP
  5. turnip2

    turnip2 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This isn't good, I could do without that stupid page that says it has been added if possible. Is there any way i can share the files i have u and try and fix it first hand please?
     
    turnip2, Aug 22, 2007 IP
  6. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #6
    Alright , Send me a PM with your MSN , i'll help you out.
     
    killerj, Aug 22, 2007 IP