Fancy Hints

  • Home
  • Blog
  • Coding
    • .Net
    • Csharp
    • iOS
    • CSS
    • Python
    • Java
    • Node.js
    • jquery
    • Javascript
    • Android
    • PHP
  • Tech
    • Systems
    • Digital
    • Computer Science
    • Security
    • Hosting
    • Website
    • Mobile
  • Donate

Tag: php

Coding

(int) (round(19.33, 2) * 100) = 1932 – can someone please explain this to me?

https://i.imgur.com/2C4sVIG.png Can someone please explain this to me? It doesn’t happen for most other numbers such as 9.33, 119.33 – why the hell is this? It’s clearly got something to do with floating points but Read more…

By Umar Khan, 4 years ago January 7, 2021
Coding

Getters/Setters vs Public properties

Something I’ve noticed in Symfony, as well as Javas Spring, is that the models tend to have getters and setters for every property. Is there something wrong with having public properties that I’m missing? Or Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Have you secured your signup process against a timing attack?

So we all know that it’s important for an authentication system not to reveal whether a user account exists or not and instead just provide a general message such as, “The account has been created Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

PHP Documentation is now on Git

Nice! Hopefully this will attract more frequent contributions. Nitpicking on one thing in the README: Always run php doc-base/configure.php before commit! Maybe ship with a recommended git hook, perhaps using grumphp to enforce it? Probably Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

What do you wish Php could do? Be it entirely new or an improvement?

In any way, be it writing desktop apps in the language, or better real time stuff, whatever you can think of. I look forward to seeing what you all have to say. generics. primarily to Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

HOW TO PHP AND MYSQL?

What you’ll want to do is set up a table where you can store information on the images; specifically their paths. When a user hits a page that’s supposed to display one of those images, Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

How to add images in a mysql database using php

How to add images in a mysql database using php? you don’t. bruhh but why should i add image to db if you make a php based social media or something Please don’t 😭, please Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

Switching php version in dev

Hi all, Tomorrow I will start a new job as a php developer. In my experience my Dev stack involved vagrant, so I can develop on the same environment as prod. The company I will Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

My first open source project, Made a test wide HTTP mocking library

https://github.com/MCannucci/Phnock Allows test wide mocking of http requests without modifiying/creating mock objects for your code. (ex: All requests to google.com will return the body of ‘OK!’) Why: Projects that aren’t structured with inversion of control Read more…

By Umar Khan, 4 years ago January 3, 2021
Coding

What do you consider to be PHP’s most underrated feature/function?

Share your favorites!the $, easier for me to look for variables. It also make PHP distinguishable from other lang.aka the string concatenation operator.Every other language that shares an operator between addition, and string concatenation, feels Read more…

By Umar Khan, 4 years ago January 3, 2021

Posts pagination

Previous 1 … 1,442 1,443 1,444 … 1,446 Next
Recent Posts
  • USD/CAD Daily Outlook
  • AUD/USD Daily Report
  • Cautious Mood in Asia as Markets Eye Trump-Xi Trade Call and Steel Tariff Fallout
  • Japan’s PMI manufacturing finalized at 49.5, firms eye recovery despite trade headwinds
  • China’s NBS PMI Manufacturing edges higher to 49.5, second month of contraction
Recent Comments
    Archives
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • June 2019
    • May 2019
    • July 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    Categories
    • .Net
    • Android
    • Architecture
    • BigData
    • c++
    • Cloud
    • COBOL
    • Coding
    • Computer Science
    • Cross-Platform
    • crypto
    • Cryptocurrencies
    • Csharp
    • CSS
    • Data science
    • digital
    • Email
    • English
    • Hosting
    • HTML
    • Investments
    • iOS
    • Java
    • Javascript
    • jquery
    • Machine Learning
    • Mobile
    • Node.js
    • PHP
    • Programming
    • Python
    • Security
    • SQL
    • Systems
    • Tech
    • Uncategorized
    • Web-services
    • Website
    • Home
    • Blog
    • Coding
    • Tech
    • Donate
    Hestia | Powered by WordPress