Displaying items by tag: programming

Friday, 09 April 2021 19:05

HTML Tags and options to call functions

There are several options when programming a website. Plenty of tags to choose from and ways to display the content you want to present to a website user. Most people do have a WYSIWYG (What You See Is What You Get) editor to make this easy and visual while other people behind the curtain need to know this forehand as part of their knowledge. Here's the list of tags used most commonly.

<H1></H1>

<H2></H2>

<H3></H3>

<H4></H4>

<H5></H5>

<H6></H6>

<PRE></PRE>

<CODE></CODE>

<TABLE></TABLE>

<UL><LI></LI></UL>

<META>

<SCRIPT></SCRIPT>

<STYLE></STYLE>

<BODY></BODY>

<HTML></HTML>

<HEAD></HEAD>

<TITLE></TITLE>

<IMG>

<DIV></DIV>

<FONT></FONT>

<SPAN></SPAN>

To give you a structure to use after reading this for an HTML page read further:

<!DOCTYPE html>
<html lang="en">
<head>
<title>Pagetitle</title>
<meta name="description" content="Description for Search Engine entry">
<meta name="keywords" content="sample,example,website,html,">
<style>
h1 {font-family:Arial;color:#000000;font-size:24px;}
h2 {font-family:Arial;color:#000000;font-size:18px;}
h3 {font-family:Arial;color:#000000;font-size:16px;}
h4 {font-family:Arial;color:#000000;font-size:14px;}
h5 {font-family:Arial;color:#000000;font-size:12px;}
h6 {font-family:Arial;color:#000000;font-size:10px;}
</style>
<script>
var(x){function();}
</script>
</head>
<body>

<h1>Content of website inside the <body> tag.</h1>

</body>
</html>

351 Words

Published in Programming
Tagged under
Thursday, 08 April 2021 01:41

Hit Counter PHP Programming Example!

Add this code to the index.php file inside Joomla! templates directory or your /var/www/example.com/web directory.
Create an empty ../counter_01.txt file and chmod 777 ../counter_01.txt and chown www-data:www-data ../counter_01.txt

Save the ../counter_01.txt file outside the www/web accessible directory since of hacker attempts to write 0 or reset the counter.

<?php
$file="../counter_01.txt";
file_put_contents("../counter_01.txt", "\n", FILE_APPEND);
$linecount = 0;
$handle = fopen($file, "r");
while(!feof($handle)){
$line = fgets($handle);
$linecount++;
}
fclose($handle);
?>

This counter read line-height or newlines instead of a number, integer, or cipher.

Music to relax to https://www.youtube.com/watch?v=Ax-Q6sXqgdc&list=RDAx-Q6sXqgdc&start_radio=1

120 Words

Published in Programming
Saturday, 03 April 2021 19:06

Screenshot while converting...

Finally got it all set up and ready for running the usual tasks on the dedicated. Debian9, Nginx, PHP7.0-fpm using socket, MySQL(MariaDB), FFmpeg, encoder, Yamdi, libavcodec57, and the usual rest of the pack.

 37 Words

Published in News
Friday, 02 April 2021 12:31

Code! Programming examples.

 

Big bang

<script>var($x){function();}</script>

World 5 days, in memory

<?php
//World I
//klite, knowledge(var), intelligent(val), time(x) & expectation(exec).
//Qwest (Kim Jacobsen)

$0 = '';
$a = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','æ','ø','å','');
$a1 = mt_rand('$a');
$a2 = print_r($a1[0]);
$b = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','Æ','Ø','Å','');
$b1 = mt_rand('$b');
$b2 = print_r($b1[0]);
$c = array('0','1','2','3','4','5','6','7','8','9','');
$c1 = mt_rand('$c');
$c2 = print_r($c1[0]);
$d = array('!','.','\"','.',',','#','¤','%','&','/','(',')','=','?','*','@','^','~','<','>',':',';','');
$d1 = mt_rand('$d');
$d2 = print_r($d1[0]);

$user = array('$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d1$0','$a1$b1$c1$d1$0','');
$pass = array('$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d2$0','$a2$b2$c2$d1$0','$a1$b1$c1$d1$0','');

$username = foreach($user) as $u++ {print_r($u)};
$password = foreach($pass) as $p++ {print_r($p)};

mysql_connect('$password','$username',localhost:3306);

echo $html;

if ($html) >0 {
display($o);
} endif;

echo $o;

return; ?>

Shortcircuit, 1, 0-day relativity code.

<?php
//Database User Credential Recovery, Prototype.2018
//lith, laerdom(var), intelligens(val), tid(x) & forventning(exec).
//Kim Jacobsen 190881, Kolding, Danmark.

$a = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z');
$a1 = foreach($a){array_rand($a)};
$b = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
$b1 = foreach($b){array_rand($b)};
$c = array('0','1','2','3','4','5','6','7','8','9');
$c1 = foreach($c){array_rand($c)};
$d = array('!','"','#','¤','%','&','/','(',')','=','?','*');
$d1 = foreach($d){array_rand($d)};

$user = array('$a1','$b1','$c1','$d1','');
$pass = array('$a1','$b1','$c1','$d1','');

$username = foreach($user) as $u++ {print_r($username)};
$password = foreach($pass) as $p++ {print_r($password)};

mysql_connect('$password','$username',localhost);

echo($html);

return(); ?>

607 Words

Published in Programming