Getting ’ instead of an apostrophe(') in PHP
-
Im getting: “It’s Getting the Best of Me”
It should be:”It’s Getting the Best of Me”I have a contact i.e. still in spam and the error is shown above.
Solution:
<?php
echo mb_convert_encoding(
file_get_contents(‘URL’),
“HTML-ENTITIES”,
“UTF-8”
);
?>
Blog url: http://vineetgupta22.wordpress.com/ -
I’m sorry, but that embed code will not work because we remove JavaScript, Flash, iframe, form, and input tags for security reasons.
There are no restrictions if you setup a self-hosted WordPress.org blog instead of a WordPress.com blog, but there are some added responsibilities. We have hosting recommendations at the following link if you are interested.
-
Thanks, but how can i remove the ’ on WordPress.com blog, there must be a way out to resolve the issue
-
-
http://vineetgupta22.wordpress.com/2012/02/21/dynamic-link-library-dll-in-c/ this is the post check the 1st comment made on 14th March
-
That’s actually spam, notice the commenter’s name and link. The invalid character was actually left as part of the comment.
-
-
-
Well, the general rule that I follow is to check the link that the commenter has provided and decide if you really want that on your blog or not.
Also, did they use a real name? Many of the commenters on that post are convinced that their names are “hybrid car reviews” and “5 best exercises for arms”.
This is a common tactic of spammers. They leave a vague, often positive, comment that could really apply to anything. They’re only goal is to advertise their link to “Buy scrapebox list” and such.
- The topic ‘Getting ’ instead of an apostrophe(') in PHP’ is closed to new replies.