scheols Posted June 21, 2006 Share Posted June 21, 2006 Alright I have a PHP code here:[code]<?php$home = "<a hr" . "ef=" . "infernobb" . "." . "a-host" . "." . "info" . ">" . "Home" . "<" . "/a>";if(file_exists("enterform.php")){echo "File Exist Lets Return $home \n";} else {echo"Error 403 File is Missing Please ReCheck Line 2\n";}?>[/code]preview: it checks if i have a file and returns error if fill is missing or if i placed the right name[a href=\"http://infernobb.a-host.info/checkfile.php\" target=\"_blank\"]http://infernobb.a-host.info/checkfile.php[/a]Problem:I Just fixed my Php code today from + into . 's now when i click the home Url Its makes a double link in the address bar i dont know if this is just for Firefox but im using FF anyone know this problem. Quote Link to comment https://forums.phpfreaks.com/topic/12504-php-code-is-malfunctioning-url-problem-html-involved/ Share on other sites More sharing options...
gfX Posted June 21, 2006 Share Posted June 21, 2006 Um. In your <A href> Tag, add http:// at the very beginning. Quote Link to comment https://forums.phpfreaks.com/topic/12504-php-code-is-malfunctioning-url-problem-html-involved/#findComment-47889 Share on other sites More sharing options...
scheols Posted June 21, 2006 Author Share Posted June 21, 2006 alright thanks ill give it a try i didnt know how i forgot it :( :)Works like a Charm :D Quote Link to comment https://forums.phpfreaks.com/topic/12504-php-code-is-malfunctioning-url-problem-html-involved/#findComment-47892 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.