Jump to content

Archived

This topic is now archived and is closed to further replies.

scheols

Php Code is Malfunctioning Url Problem HTML Involved

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Um. In your <A href> Tag, add http:// at the very beginning.

Share this post


Link to post
Share on other sites
alright thanks ill give it a try i didnt know how i forgot it :( :)

Works like a Charm :D

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.