Skip to content

Commit ff74fd0

Browse files
Assembling of blog with website
1 parent a8ab5c3 commit ff74fd0

File tree

383 files changed

+57
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+57
-58
lines changed

LICENSE

100644100755
File mode changed.

README.md

100644100755
File mode changed.

blog/admin.php renamed to admin.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
$fileNewName=uniqid('',true).'.'.$fileActExt;
2323
$fileDest='uploads/'.$fileNewName;
2424
move_uploaded_file($fileTmp, $fileDest);
25-
echo "Cheers";
2625
}
2726
else{
2827
echo "File size is too big";
@@ -48,7 +47,8 @@
4847
$q="INSERT INTO `blog` (`date_pub`, `title`, `content`,`author`,`image`) VALUES ('$date_pub', '$title', '$content','$author','$fileNewName')";
4948
$r=mysqli_query($c,$q);
5049
if($r){
51-
echo "Your blog will be published soon!!";
50+
echo "<script> alert('Your blog will be published soon') </script>";
51+
header("Location: display.php");
5252
}
5353
else{
5454
"Internal Server error!!";
@@ -62,4 +62,4 @@
6262
echo "Error 404 found!!";
6363
}
6464

65-
?>
65+
?>

blog/blog.css renamed to blog.css

File renamed without changes.

blog/display.css

-46
This file was deleted.

blog/icon.png

-18.8 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)