VBulletin URL replace code?

You have to: parse the input to extract the URLs(there should be many related topics on SO) request the URL's to get the contents of the Build the BBCode regarding to the response This can be done using PHP, JS-only will not be able, because it may not parse external documents.(But of course you can setup a proxy-script on serverside that requests the document and returns the title to javascript/AJAX).

I know what I have to do. The question is : how . Also, this is not possible to request the URL using file_get_contents when URL is faked (does not exist).

– Lucas Oct 1 at 1:42 What do you mean by "how", should I describe every single step? When file_get_contents() fails, simply don't replace the URL. – Dr.Molle Oct 1 at 1:49 You can direct me, show me some scripts/examples, because I've searched a lot, and haven't see any good codes yet.

I know I shouldnt replace the URL in case if the file_get_contents() fails, but then it throws up an error message. I think vBulletin is doing it other way, to grep the title from the tags. Am I wrong?

– Lucas Oct 1 at 1:53 I don't have access to vbb4-source, but error-messages may be avoided using error_reporting(0) or the @-operator – Dr.Molle Oct 1 at 1:56 Thanks for the tip. I think is will be loong night for me. Rated up .

– Lucas Oct 1 at 1:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions