Jump to content
MakeWebGames

Recommended Posts

Posted

What's at the top of the cron files, to validate the code?

As you aren't passing it in as a code (get) parameter, you should perhaps be using $argv.

Quote
$code = isset($argv) && is_array($argv) && array_key_exists('1', $argv) ? $argv[1] : false;
if (!$code || $code !== '0f78622479428a32a0a4d3deded33b34') {
    exit('If your mother had swallowed... we wouldn\'t be having you try to load this, would we?!');
}

 

 

  • Haha 3
Posted
On 4/8/2023 at 3:19 PM, SRB said:

What's at the top of the cron files, to validate the code?

As you aren't passing it in as a code (get) parameter, you should perhaps be using $argv.

 

Haha, good ol' Luke. Some things never change :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...