Installing Office 2019 Without a Product Key

Download from here and install Office 2019 Once installation is completed, you can open any Office program to verify some basic information. Skip the “enter product key” window by clicking close button at the top right corner. IMPORTANT: Bypass “Enter your product key” modal. Do NOT enter any keys. Open one of the installed programs and you will see in PRODUCT NOTICE that the trial license will

Cool Widgets for WordPress Sites

Perfect way to allow others to use your content or you can use to place an ad on your own site. It really does not have to be a WordPress site! Here is the widget source that we will call hello-world.php: <div style=" display:table; border:3px solid #ccc; border-radius:.5em; padding:.5em; margin:0 auto;"> We say: <?php echo "Hello World"; ?> </div> To deliver the above content,

BEST ChatGPT Website Alternatives

No Sign-Up: Perplexity AI [https://www.perplexity.ai/] (web-browsing) Vitalentum [https://vitalentum.net/free-gpt] OraChat [https://ora.ai/chatbot-master/openai-chatgpt-chatbot] Vicuna [https://chat.lmsys.org/] GPTGO [https://gptgo.ai/] (web-browsing) AnonChatGPT [https://anonchatgpt.com/] NoowAI [https://noowai.com/] Character AI [https://beta.character.ai/] BAI Chat [https://chatbot.theb.ai/]

CORS and htaccess

This works on most all my servers to setup cors: <IfModule mod_headers.c> Header always set Access-Control-Allow-Origin "https://cdpn.io" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token" </IfModule> This works on most of

Only Allow Access to Page if Arrived from Assigned

One way to allow access to a page only if the user came from an assigned page is by using PHP sessions. You can set a session variable on the assigned page and then check for that variable on the page you want to restrict access to. If the session variable is not set, you can redirect the user to another page1. For example, on the assigned page you can set a session variable like this:

AlmaLinux Manual Install PHP Extensions

AlmaLinux missing extensions installed manually is easy to do. Here's an easy way to manually of install extensions. This example was for aaPanel running AlmaLinux 8. In this example we will install bz2: 1. `cd /www/server/php/82/src/ext/bz2` 2. `/www/server/php/82/bin/phpize` 3. `./configure --with-php-config=/www/server/php/82/bin/php-config` 4. `make` 5. `make test` 6. `make install` As

PHP CURL Openai Remove Quotes from Post Data

Having a hard time getting PHP Curl to work with your post data? I damn near drove me to drinking :) So, you have something like this after using $openaiTemp = $_POST[openaiTemp]; $postData = [ 'model' => $openaiModel, 'prompt' => $openaiModel, 'temperature' => "0.7", 'max_tokens => "2150", 'top_p' => "1", Those pesky double quotes are wrecking the array. There are a couple of ways

Save and Display DOMPDF

Save PDF file on server and display in users browser: $file_to_save = '/home/stsnew/public_html/pdf/file.pdf'; //save the pdf file on the server file_put_contents($file_to_save, $dompdf->output()); //print the pdf file to the screen for saving header('Content-type: application/pdf'); header('Content-Disposition: inline; filename="file.pdf"'); header('Content-Transfer-Encoding: