Graxeon Posted December 22, 2008 Share Posted December 22, 2008 This is a request...but a small one so I hope that you guys don't mind taking it I want to setup a PHP file that would do this: http://www.domain.com/file.php?v=http://www.google.com/search?hl=en&q=php "file.php" would then redirect the user to this: http://www.google.com/search?hl=en&q=php+help So "file.php" took the URL "http://www.google.com/search?hl=en&q=php" and added "+help" to it. Then it redirected the user to that URL. Can someone help me out, please? Link to comment https://forums.phpfreaks.com/topic/138065-solved-insert-text-after-an-input/ Share on other sites More sharing options...
DarkerAngel Posted December 22, 2008 Share Posted December 22, 2008 header("Location: ".str_replace("v=", "", $_SERVER['QUERY_STRING'])."+help"); Just off the top of my head... Link to comment https://forums.phpfreaks.com/topic/138065-solved-insert-text-after-an-input/#findComment-721694 Share on other sites More sharing options...
Graxeon Posted December 22, 2008 Author Share Posted December 22, 2008 Works perfectly, thank you very much Link to comment https://forums.phpfreaks.com/topic/138065-solved-insert-text-after-an-input/#findComment-721702 Share on other sites More sharing options...
DarkerAngel Posted December 22, 2008 Share Posted December 22, 2008 Never a Problem Make sure you mark the thread as solved Link to comment https://forums.phpfreaks.com/topic/138065-solved-insert-text-after-an-input/#findComment-721705 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.