I have this user profile picture thing working fine, The image gets uploaded into a folder, and the link saved in database, so I can display that image on the users profile, But when they change the image by uploading a new one, It creates a new image with a new number on the end. I want it to...
Loads of error appearing from Line 7 "$doc->loadHTML($page);"
some errors are :
Warning: DOMDocument::loadHTML(): Unexpected end tag : head in Entity, line: 68 in C:\xampp\htdocs\index.php on line 7
Warning: DOMDocument::loadHTML(): htmlParseStartTag: misplaced <body> tag in Entity, line...
I would prefer someone just post a snippet that would do the job, or explain to me how to do it rather than me searching google and deciphering code for hours :)
I want to take a small piece of text of an other site and echo on my site :)
so for example say I want to take the number of posts from my account I have this:
<?php
$page = file_get_contents("http://devbest.com/members/seandavies.10142/");
echo $page;
?>
This then displays the entire...
Using htaccess to re-direct everyone to this page. But the stylesheet do not work on it ?
HTML CODE :
<html>
<head>
<title>Coming Soon</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
Coming Soon
</body>
</html>
DIRECTORY :
.HTACCESS...