Recent Questions

متن مرتبط با «compile and install php from source» در سایت Recent Questions نوشته شده است

Fiverizer: convert a website from XHTML 1.0 to HTML5

  • نیلوبلاگ

    If you have one or more websites written in XHTML 1.0, this program (which may be downloaded and used free of charge) lets you convert them to HTML5 without having to muck around with rewriting HTML and adding CSS....

    ادامه مطلب
  • How to Convert Your Website from XHTML 1.0 to HTML5 the Quick and Easy Way

  • نیلوبلاگ

    This guide takes you through the process of converting a website from XHTML 1.0 to HTML5 using the Fiverizer software. (Fiverizer is a program that I wrote to convert my own websites, all of which were also in XHTML 1.0. It may be downloaded and used free of charge.) ...

    ادامه مطلب
  • How to disable Laravel console commands

  • نیلوبلاگ

    Suppose you find yourself in a situation where you need to disable or intercept a console command in Laravel. This tutorial will primarily focus on how to intercept the php artisan migrate command. We'll delve into the command method app/Console/Keel.php and explore how to prevent the migrate command from executing any actions. Inside the command method of app/Console/Keel.php In Laravel 11 use routes/console.php Intercept command You can intercept php artisan migrate and, instead, catch it an...

    ادامه مطلب
  • Vue show and hide form elements

  • نیلوبلاگ

    Introduction When working with forms, it is common to display or conceal various fields based on the options selected. I'll use Vue to conditionally show or hide form elements. In this example, I'm going to use an SFC (Single File Component) for ease of us. You'll see this in full in the putting it all together section below. For this to work it does not need to use a SFC, the HTML and JS will work when used in traditional setups i.e. having JS in javascript blocks and the HTML in a page's b...

    ادامه مطلب
  • Extracting a time into select menus with PHP

  • نیلوبلاگ

    That begs the question how do you separate the time into seperate elements? Making use of explode can work. Exploding where there a : so: $parts = explode(':', '14:25:00'); This would result in an array: [ "14", "25", "00", ] To use an element you can refer to its index for example $parts[0] would contain 14 Using them by their index is fine to do but kinda messy. I prefer to give each element a name using the list function li...

    ادامه مطلب
  • Running HTTP requests in PhpStorm

  • نیلوبلاگ

    Running API tests you may be tempted to open PostMan or another API client, did you know, you can run HTTP requests from inside PhpStorm directly? When developing a new API, you will want to run the API endpoints. Being able to run them without leaving PhpStorm speeds up your workflow. To start a request file, you can either select a HTTP Request file when using the new file or create a new scratch file. For a scratch file select the HTTP Request type. In either case ...

    ادامه مطلب
  • My PhpStorm Setup

  • نیلوبلاگ

    I've documented my PhpStorm setup, what theme I use, plugins, and keybindings. Theme I use the New UI which is located at Appearance & Behaviour -> New UI Once tued on I use the Light Theme: I like to keep things minimal, in fact, I tu off the toolbars and status bars by toggling distraction-free mode Plugins .env file support Environment variables completion based on .env, Dockerfile and docker-compose.yml files. Go to declaration(in .env ...

    ادامه مطلب
  • [Updated] Feedback Form Wizard: improved PHP 8 (8.0, 8.1, etc) compatibility

  • نیلوبلاگ

    The script generated by the Feedback Form Wizard has been updated to improve compatibility with PHP 8 (eg, 8.0, 8.1, etc). Note: if you have generated your form and script after 1 January 2023, you already have this version (ver 3.2.0). ...

    ادامه مطلب
  • Laravel Livewire Resources

  • نیلوبلاگ

    Tools Livewire dev tools AlpineJS dev tools Livewire Kit Livewire Demos WireUI Wire-elements Raycast - Livewire docs Packages Laravel Livewire Wizard ...

    ادامه مطلب
  • Use PHP to generate table of contents from heading tags

  • نیلوبلاگ

    I wanted to create a table of contents from the post's heading tags automatically without having to change the headings like adding an id or anchor. I started to look at existing solutions and came across this custom function on Stackoverflow by sjaak-wish function generateIndex($html) { preg_match_all('/<h([1-6])*[^>]*>(.*?)</h[1-6]>/',$html,$matches); $index = "<ul>"; $prev = 2; foreach ($matches[0] as $i => $match){ $curr = ...

    ادامه مطلب
  • What's the Difference Between a Domain Name Registrar and a Web Host?

  • نیلوبلاگ

    This article on whether a domain name registrar is the same thing as a web host answers a question I was asked by a visitor....

    ادامه مطلب
  • [Updated] BlueGriffon Tutorial: Design a website using the open source BlueGriffon web editor

  • نیلوبلاگ

    The entire BlueGriffon Tutorial has been updated for the version 3 series of BlueGriffon. Those thinking of using it to create a website can find the complete series online....

    ادامه مطلب
  • How to Prevent Two or More Words from Being Split into Separate Lines (HTML/CSS)

  • نیلوبلاگ

    Sometimes you may want to keep a group of words on a web page together on a single line, rather than allowing the web browser to break them up and place them on separate lines if there's no space. This article shows you the HTML and CSS to accomplish this....

    ادامه مطلب
  • How to Use Small Capital Letters for Lowercase and Large Capital Letters for Uppercase (CSS)

  • نیلوبلاگ

    This article answers a question from a visitor on how to display a sentence so that small (lowercase) letters are shown in capital letters, but have a height shorter than the actual capital (uppercase) letters....

    ادامه مطلب
  • How to Restore Expression Web's Design Panel and Layout to its Initial Default State

  • نیلوبلاگ

    This article deals with how you can reset the default positions and sizes of the various panels/sections in Expression Web so that the web editor appeared as it did when you first ran it....

    ادامه مطلب
  • How to Play a Song (or Some Other Audio Clip) from a List on a Website

  • نیلوبلاگ

    One of my visitors wanted his users to be able to choose a song from a list, and have it play in an audio player on his web page. This article provides the JavaScript and HTML code for the task....

    ادامه مطلب
  • What is Yext and How Does it Improve Local SEO

  • نیلوبلاگ

    If you start reading this article than may be want to know what Yext Listing is and why people Use it. Before we know more about Yext listing we need to know what is listing in SEO. Listing is a Mecha...

    ادامه مطلب
  • "OneDrive for Business Next Generation Sync Client" install fails without error

  • نیلوبلاگ

    I downloaded and ran the installer from here https://support.office.com/en-us/article/Transition-from-the-previous-OneDrive-for-Business-sync-client-4100df3a-0c96-464f-b0a8-c20de34da6fa?ui=en-US&rs=en-US&ad=US It completed without error, but launching onedrive for business still runs groove.exe (it should be onedrive.exe, it says so on the same site). Also, onedrive.exe cannot be found on C: Let's block ads! بخوانید...

    ادامه مطلب
  • Why does it take so long to recover from a terminated program that had consumed all memory?

  • نیلوبلاگ

    Every once in a while I run a certain program (MATLAB) and it takes up too much memory. At this stage the physical mem is at ~100% and the computer barely works. I then terminate MATLAB and I can see the memory is freed on the task manager (image). However, it takes about 5-10 minutes until I have full control over my computer back. In these 10 minutes the computer gradually becomes usable, open programs get 'unfreezed', etc. I guess that if MATLAB consumed all the memory then some other program...

    ادامه مطلب
  • Program/application/extension/bot that finds all videos on a certain website and downloads them?

  • نیلوبلاگ

    I am able to download videos one by one on a certain website that hosts some hundred or so videos. I am a paid subscriber to the website so I'm not doing anything illegal. (and no, it's not po). The process is labor-intensive for each video. I have to click on each link to get to where the player shows up. Then (in chrome) I open up the webpage developer, go to the network tab, play the video until i see where it shows up on the developer network tab, right click to open up in new page, then onc...

    ادامه مطلب