39 Matching Annotations
  1. Dec 2022
    1. Hire Dedicated PHP Developers from India

      Want to hire PHP Developers from India to build dynamic and engaging websites. Here, We have highly proficient PHP developers to build robust and high-performing web applications. And we have a team of seasoned PHP programmers, coders, designers, and testers with an average eight years of domain experience.

  2. Aug 2022
  3. Jul 2022
    1. PHP est un langage de script utilisé le plus souvent côté serveur : dans cette architecture, le serveur interprète le code PHP des pages web demandées et génère du code (HTML, XHTML, CSS par exemple) et des données (JPEG, GIF, PNG par exemple) pouvant être interprétés et rendus par un navigateur web. PHP peut également générer d'autres formats comme le WML, le SVG et le PDF.

    1. In the functions.php of your WordPress theme add:

      Same solution but in PHP

      php function hints() { header("link: </wp-content/themes/phpied2/style.css>; rel=preload, </wp-includes/css/dist/block-library/style.min.css?ver=5.4.1>; rel=preload"); } add_action('send_headers', 'hints');

    1. A PHP framework is a basis for the creation of web applications written in PHP. The Best PHP Frameworks listed here, which are selected based upon their popularity and their ability to speed up PHP Development of Web applications.

  4. Jun 2022
    1. <?php$base = array("orange", "banana", "apple", "raspberry");$replacements = array(0 => "pineapple", 4 => "cherry");$replacements2 = array(0 => "grape");$basket = array_replace($base, $replacements, $replacements2);print_r($basket);?> The above example will output: Array ( [0] => grape [1] => banana [2] => apple [3] => raspberry [4] => cherry )

      array_replace() replaces the values of array with values having the same keys in each of the following arrays.

  5. May 2022
    1. FastCGI是语言无关的、可伸缩架构的CGI开放扩展,其主要行为是将CGI解释器进程一直保持在内存,不是fork-and-execute,并因此获得较高的性能。FastCGI支持分布式部署,可以部署在WEB服务器以外的多个主机上。 PHP-CGI作为PHP自带的PHP FastCGI管理器对FastCGI的管理方式简单,也不够灵活高效。 PHP-FPM为了解决PHP-CGI的不足,为PHP FastCGI提供了一种新的进程管理方式,可以有效控制进程,平滑重载PHP配置,其master process是常驻内存的,worker process有static、dynamic、ondemand三种管理方式。PHP-FPM进程池中的CGI在接受并处理完pm.max_requests个用户请求后将会respawn,并不会保证单个CGI是long-live and always be running,而会以更加灵活高效的方式来保证客户端的连接请求可以被多个CGI处理。
    1. 首先,跨域请求分为两种,一种是简单请求,即get请求和post请求(不带多余的请求头),这种情况下,浏览器会直接请求,在有允许跨域的头的情况下,予以显示。(这里并不是说没有跨域头服务器就不返回数据了,数据是照常返回的,但是浏览器拦截了返回数据。)另一种呢是复杂请求,即非get或post请求,或者是有了自定义头的请求。这种情况下,浏览器会首先发送一个options请求(预请求),来确是否允许跨域。在服务器返回的跨域条件都允许之后,浏览器才会发送正式请求。

      首先,跨域请求分为两种,一种是简单请求,即get请求和post请求(不带多余的请求头),这种情况下,浏览器会直接请求,在有允许跨域的头的情况下,予以显示。(这里并不是说没有跨域头服务器就不返回数据了,数据是照常返回的,但是浏览器拦截了返回数据。) 另一种呢是复杂请求,即非get或post请求,或者是有了自定义头的请求。这种情况下,浏览器会首先发送一个options请求(预请求),来确是否允许跨域。在服务器返回的跨域条件都允许之后,浏览器才会发送正式请求。

    2. php 跨域请求执行了两次接口, CORS,


      按理来说,OPTIONS(预处理) 只是判断 header('Access-Control-Allow-Headers:x-requested-with,content-type');是否通过;通过了,才执行get; 现在出现的问题是,OPTIONS请求也执行了一次程序;然后get也执行了一次程序;

      解决办法: if (strtolower($_SERVER['REQUEST_METHOD']) == 'options') { exit; }

    1. {错误:spawn C:\ wamp \ bin \ php \ php7.2.14 ENOENT 在Process.ChildProcess._handle.onexit at on OnErrorNT(internal / child_process.js:406:16) at process._tickCallback(internal / process / next_tick.js:63: 19) errno:'ENOENT', 代码:'ENOENT', 系统调用:'spawn C:\ wamp \ bin \ php \ php7.2.14', 路径:'C:\ \ wamp \ bin \ php \ php7.2.14', spawnargs:['c:\ wamp \ www \ NULB \ admin \ index.php']} < / pre>

  6. Apr 2022
  7. Jan 2022
  8. Dec 2021
  9. Feb 2021
  10. Jan 2021
    1. Technologies are subject to change, modification, and evolution. They are like the proclamation “The king is dead, long live the king.” In the proclamation, one part refers to a king who is dead while the other part refers to the heir who succeeds the predecessor. ASP.NET and PHP including all other technologies go through similar situations.

      As far as the question is concerned, yes, you should consider using PHP and ASP.NET Core as web development in 2021. However, you need to make sure that the technologies are a perfect match for your project.

  11. Dec 2020
    1. Therefore, before taking any further steps, you should take proper research and guidelines from an expert to get the right decision. In this article, we help you explore the usability of these two technologies so that you can make a better decision based on your specific needs.

      Are PHP and ASP.NET dead? Is PHP a dying language? Is ASP.Net worth considering in the coming year/s? And many other similar questions have been roaming across the internet for the last couple of years.

  12. Oct 2020
    1. We are living in a rapidly changing world wherein new technologies keep coming into the market. Out of which a few will be accepted by the world, while other needs shut down their doors.

      Many times businesses get confused about which programming language to choose for their online platform. Are you even facing a similar conflict for these programming languages? If yes, then by the end of this blog article, you will get the answer to your question.

  13. Sep 2020
    1. “Which one to choose from ASP.NET and PHP?” is the question that every entrepreneur and developer asks. The one answer which has been ubiquitous for decades now is “it depends.”

      It has always been an arduous task to choose between the two prominent technology stacks — PHP Vs ASP.NET. Selecting the one out of the two depends on how much you know about these technologies.

  14. May 2020
    1. Programming languages These will probably expose my ignorance pretty nicely.

      When to use different programming languages (advice from an Amazon employee):

      • Java - enterprise applications
      • C# - Microsoft's spin on Java (useful in the Microsoft's ecosystem)
      • Ruby - when speed is more important then legibility or debugging
      • Python - same as Ruby but also for ML/AI (don't forget to use type hinting to make life a little saner)
      • Go/Rust - fresh web service where latency and performance were more important than community/library support
      • Haskell/Erlang - for very elegant/mathematical functional approach without a lot of business logic
      • Clojure - in situation when you love Lisp (?)
      • Kotlin/Scala - languages compiling to JVM bytecode (preferable over Clojure). Kotlin works with Java and has great IntelliJ support
      • C - classes of applications (operating systems, language design, low-level programming and hardware)
      • C++ - robotics, video games and high frequency trading where the performance gains from no garbage collection make it preferable to Java
      • PHP/Hack - testing server changes without rebuilding. PHP is banned at Amazon due to security reasons, but its successor, Hack, runs a lot of Facebook and Slack's backends
  15. Apr 2020
  16. Mar 2020
    1. And so was born PHP, it feels like a natural extension to HTML itself. You write your code between your HTML file itself and then be able to run those parts on the server, which further generate HTML and the final HTML gets send to the browser.This was extremely powerful. We could serve completely different pages to different users even though all of them access the same URL like Facebook. We could use a database on a server and store some data there, then based on some conditions use this data to modify the generated HTML and technically have an infinite number of pages available to serve (e-commerce).

      Birth of PHP - way to serve different content under the same URL

    1. The popular question in my company these days is “Rails or WordPress?”, but I will probably touch upon the broader questions of “MVC or CMS?” and “Ruby or PHP?”, so you can often substitute “Rails” for “MVC framework” in the article.
  17. Feb 2020
    1. Best PHP Frameworks for Web Developers in 2020

      PHP is the most well known server-side scripting language. It has come a long way since the first inline code bits in static HTML documents. In this post, we have handpicked a few well-known PHP frameworks that are most popular among web developers.

  18. Jan 2020
    1. REST exposes Uniform Resource Identifiers (URI) that are linked to resources. These links are called REST endpoints. Depending on the HTTP type used to access them, they will perform an action on the resource (change its state). The HTTP type is used to signal the REST verb to be performed.

      How REST works in a nutshell

  19. Dec 2019
  • Nov 2019
  • Oct 2019
    1. This can become messy when you have a lot of configurations in your Entity. Another issue is that your annotations are coupled to your source code. Your database implementations details, or any other configurations are coupled to your domain object. This goes against the guidelines of clean code. Your domain object (Entity) should only have one reason to change.

      Thank you for saying that loud.

  • Sep 2019
    1. PHP web frameworks come in various sizes built for various web developers with distinct levels of skills, experience, and development needs. However, before looking at the best PHP web frameworks, let’s brush up a couple of web development basics.

  • Aug 2019
    1. Centric web solution is the renowned best web development company.

      We have a very highly experienced and expert development team who are experts in web design & development.

      We provide various services like Wordpress web development, eCommerce web development, Wordpress theme design and plugin development, website maintenance & optimization.

      For more our services call us on +91 98587 58541 or visit our website https://www.centricwebsolution.com/.

      Our Services Are:-

      • Web Design & Development
      • WordPress Development
      • WooCommerce Development
      • Custom Web Application Development
      • Website Migration Services
      • Website Maintenance & Performance optimization
      • Website Plugin and API Development
      • Website Store Optimization
      • PHP Web Development
      • Enterprise Web Application Development
      • Laravel Development Services
      • Angularjs Development Services

  • Jun 2019
    1. In this article, we are going to talk about the same kind of much-debated back-end programming technologies like Node.Js and PHP! We will know how do they differ from each other and why Node.js vs PHP is such a hot topic among developers.
  • Aug 2016
    1. Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths names were picked specifically to make them fit into a specific length bucket.


  • Nov 2014
    1. There’s a certain amount of snobbery about PHP, but I’ve no truck for such snark. PHP is the Web’s BASIC. It’s everywhere, beginner-friendly, and I like it.