Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

daniel.balasa

Members
  • Joined

  • Last visited

  1. Richard, This is very good basic guidance how to separate the content from the design using PHP! Very helpful! I am at the begining and I am learning fast. I hope soon I will be able to start developing websites folowing this paradigm. Until then, Cheers! Daniel
  2. Thank you! At the end there is no difference between .HTM and .PHP - Apache will treat any file as HTML tags soup anyway.
  3. So ... write my INDEX in HTML , insert PHP code in it, name-it INDEX.PHP !?! when it is served, APACHE will start to serve HTML tags and switch to PHP parser when encounter <? ... ?>. I understand that by default APACHE start in "HTML mode" !?! Thank You!
  4. Thank you for your reply. I understand that extentions and filenames are not important. I do also understand that at the end will allways be HTML tags. I wanted to know if is better to have an HTML file with PHP code in it or to have directly an PHP file who is going to be all the time parsed by the server (to generate the HTML - echo & print). If I create an index HTML file only parts of it will be parsed by PHP (where is <? ?>) ... and on the other hand if I have an index PHP file, the entire file will be parsed by PHP interpreter. Are there any impacts other than maybe higher usage of webserver? The ideea of creating of an HTML file is that there will be always some parts of HTML tags unchanged and there is no need to be parsed (by PHP) with each page request. I hope now I ask my question in a proper way. Thanks!
  5. Hi All, I am new in this business and I need your advice. Here is my situation: I want to create a PHP+MySQL driven website. The website will be modular. I will use include() and require() functions to add modules who generates dynamic content. ... and my question: for the INDEX file I have two options: 1) create a INDEX.HTML file using <? PHP ?> places to insert dynamic generated content or 2) create direct an INDEX.PHP who produce the entire page. What is the best solution (if there is a best one !?!) and why ? Thank You!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.