Jump to content

No HTML allowed?


timmy0320

Recommended Posts

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.

Link to comment
Share on other sites

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;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.