Jump to content


Photo

Php Code is Malfunctioning Url Problem HTML Involved


  • Please log in to reply
2 replies to this topic

#1 scheols

scheols
  • Members
  • PipPipPip
  • Advanced Member
  • 113 posts

Posted 21 June 2006 - 02:43 AM

Alright I have a PHP code here:

<?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";
}
?>

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.
Dont Piss me Off today

#2 gfX

gfX
  • Members
  • PipPipPip
  • Advanced Member
  • 33 posts

Posted 21 June 2006 - 02:46 AM

Um. In your <A href> Tag, add http:// at the very beginning.

#3 scheols

scheols
  • Members
  • PipPipPip
  • Advanced Member
  • 113 posts

Posted 21 June 2006 - 02:50 AM

alright thanks ill give it a try i didnt know how i forgot it :( :)

Works like a Charm :D
Dont Piss me Off today




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users