timmy0320 Posted February 20, 2008 Share Posted February 20, 2008 define("LINK_INVALID", "You have followed an invalid link. Return to our <a href=\"".LINK_HOMEPAGE."\">homepage</a>."); Can I not define HTML or something? Because it is posting on my page as <.a href="index.php">homepage<./a> Without the periods in the link of course. Quote Link to comment Share on other sites More sharing options...
GameYin Posted February 20, 2008 Share Posted February 20, 2008 You can't put HTML in a popup. Quote Link to comment Share on other sites More sharing options...
timmy0320 Posted February 20, 2008 Author Share Posted February 20, 2008 Popup? I'm declaring a constant for invalid links. And on my pages I have something such as, so if the user tries to access a page that is only accessible to users or other things. I'll use my account activation as the example. If the user tries to manually type in their browser index.php?p=act they will get an invalid link error. The constant LINK_INVALID which I declared in my constants.php file is supposed to show on the page. I don't understand what you mean by popup. // if user follows an invalid link $field = "msg"; $function_form->setValue($field, LINK_INVALID); return false; Quote Link to comment Share on other sites More sharing options...
timmy0320 Posted February 20, 2008 Author Share Posted February 20, 2008 I figured it out. I was using htmlspecialchar on the error reporting. Blah. Quote Link to comment Share on other sites More sharing options...
GameYin Posted February 20, 2008 Share Posted February 20, 2008 Oh I'm sorry, I write responses on here normally at 5:30. Can't read at that time. Sorry. :-\ Quote Link to comment 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.