phpnewb22 Posted May 7, 2010 Share Posted May 7, 2010 Hi i'm trying to set up double meta refresh code on a site.. I created a new domain and 2 html files with the meta refresh code in each.. this is what my site is saying now when I go to it http://blogger064.byethost10.com frusterated with this and have no php skills. I will probably Pay if someone helps me with this! thanks! Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/ Share on other sites More sharing options...
cs.punk Posted May 7, 2010 Share Posted May 7, 2010 PHP is not setup on your server dude. If it was set up, it would not show the PHP source within the browser source ... But why echo the value with PHP? just type in <meta http-equiv=\"refresh\"content=\"0;url=http://blogger064.byethost10.com/goto.html\"> Rename your index file to index.php as I suspect its currently index.html Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/#findComment-1054641 Share on other sites More sharing options...
phpnewb22 Posted May 7, 2010 Author Share Posted May 7, 2010 ok so do I need to setup mysql database and I should be fine? Does the extension HAVE to be .php and not .html Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/#findComment-1054643 Share on other sites More sharing options...
cs.punk Posted May 7, 2010 Share Posted May 7, 2010 Forget what I said about php not being set up. - my mistake Apache is set to which files it should process php within. And on byethost, its not set to .html files. You might be able to change it if you have permission but I am not really sure. Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/#findComment-1054648 Share on other sites More sharing options...
phpnewb22 Posted May 7, 2010 Author Share Posted May 7, 2010 well someone said to change the goto.html to .php so I did that and it's still not working.. I tried changing the index.html to php and still those tags are popping up on my site and not redirecting =/ Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/#findComment-1054665 Share on other sites More sharing options...
phpnewb22 Posted May 7, 2010 Author Share Posted May 7, 2010 Code works! YES! thanks for the help! Link to comment https://forums.phpfreaks.com/topic/201013-need-help-with-double-meta-refresh/#findComment-1054684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.