Hong Kong PHP

0
320
views

Is there a dragon in there or is there not – Hong Kong would deal with it. – with no uncertain terms –

Interesting to say the least, we have a lot in common:

qui luc`

https://blogs.oracle.com/opal/the-mysterious-php-rfc-process-and-how-you-can-change-the-web

What is this? – You wouldn’t believe me if I told you. For example we know what this is:

https://www.eclipse.org/downloads/packages/release/neon/m6/eclipse-android-developers

And not this from Columbia University:

https://en.wikipedia.org/wiki/Pulitzer_Prize

I think the argument is that they have the story – However they got there – anyway. somehow. Without changing the story. Whatever story that is. – wow. Because – Because of this –

https://www.plainviewproject.org/

I dont know what that is –

And its very. very. dumb. – It comes down to – so that one works and this one doesn’t. – true.

We could learn a lot from casino management – but we wont. – because they are not at work – for whatever reason. and shall go nameless – however – this is in-excusable:

moses

But I would have never never guessed the reason if I told you – because they destroyed the parliamentary building – together.

field

What in the world will Hong Kong do? – All of those things. All of those hopes – All of the fears. Look at it:

Lug some heavy stones – Its very very strange. Here are some basic php elements:

  1. PDO
  2. Put file contents
  3. while / foreach
  4. for
  5. HEREDOC
  6. session
  1. PDO

Pdo is pdo not much more – A way to interface with a mysql database. Its appearance is strange because it was in a terrible way to do anything else but mysql.


$hostDb='mysql:host=localhost;port=3306;dbname=membership';
$user='root';
$password='password';

$DBH = new PDO($hostDb, $user, $password);

$ETH = $DBH -> prepare( "SELECT COUNT(*) FROM stretch.wp_posts WHERE post_status = 'publish'" );
    $ETH -> execute();
    $result = $ETH -> fetch();
    $new_users = $result ["COUNT(*)"];
echo $new_users;

2. Put file contents

Put file contents is put file contents – and many people share the same sentiment. –

$zzz = '
Weedbox News
http://www.weedbox.et/news
Technology related news
en-us
2019 WEEDBOX
Sun, 12 May 2019 09:45:41 EST';

file_put_contents('/home/zero/practice/ohhai.xml', $zzz, FILE_APPEND);

3. while / foreach

while is a basic element while foreachis exclusive

$ids = array();
while($row = $PTH->fetch()) {
            $ids[] = $row;
}

foreach ($ids as list($a)) {

while($row = $PTH->fetch()) {
$ids[] = $row;
}

4.for

An extremely difficult method – used to play through –

$i = 0;
for ($teller = 0; $teller < count($exaq)/6; $teller++) {
echo "";

}

5. HEREDOC

What is this doing here. It appeared from thin air.

<?php
echo <<< TOP
<a href="http://shells.red-pill.eu/"><img src="http://shells.red-pill.eu/button.php?u=tping" alt=""></a>
TOP

6. Session

This rolls over to mysql related changes and is very useful to store information.

<?php
session_start();

if (isset($_POST["total"]) && !empty($_POST["total"])) {
     $_SESSION["total"] =  $_POST["total"];
}else{
     $_SESSION["total"] = 0;
}

if (isset($_POST["name"]) && !empty($_POST["name"])) {
    $_SESSION["name"] = $_POST["name"];
}else{
    $_SESSION["name"] = 0;
}


// Check destroyed time-stamp
if (isset($_SESSION['destroyed'])
    && $_SESSION['destroyed'] < time() - 300) {
    // Should not happen usually. This could be attack or due to unstable network.
    // Remove all authentication status of this users session.
    remove_all_authentication_flag_from_active_sessions($_SESSION['userid']);
    throw(new DestroyedSessionAccessException);
}

$old_sessionid = session_id();

// Set destroyed timestamp
$_SESSION['destroyed'] = time(); // Since PHP 7.0.0 and up, session_regenerate_id() saves old session data

// Simply calling session_regenerate_id() may result in lost session, etc.
// See next example.
session_regenerate_id();

// New session does not need destroyed timestamp
unset($_SESSION['destroyed']);

$new_sessionid = session_id();

So if there were a logical way to write a php document I would have it. – But I dont –

What are some websites that you can create right now – no particular order- with these codes is the question – neo. the codes –

what codes are those? –

Advertising!

Other than that – Why does hong kong deserve a second look?

https://en.wikipedia.org/wiki/LinkExchange

wow.



Previous articleHarris dropped a bomb
Next articleThe Necromancer
Thank you for visiting WEEDBOX News. Michael Kearney writes detailed technical instruction(s) - and news articles for weedbox.net - try the search icon. Michael Kearney has over 25 years of computer experience. weedbox.net already thought about it - sign-up and get a free shell at http://www.weedbox.net/signup.php call me at +1 (571) 662-1795 or email sssquirrel@hotmail.com
SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here