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.

Is Plain HTML Page safer than PHP Pages? or vice versa

Featured Replies

PHP is a server-side scripting language, so assuming you're not really doing anything different than the HTML pages the viewer will see exactly the same output and it will be just as safe.

PHP is a server-side scripting language, so assuming you're not really doing anything different than the HTML pages the viewer will see exactly the same output and it will be just as safe.

 

Crappy coded php can leave security holes and you face the possibility of sql injections (if the php interacts with a database)

 

html sites can still be attacked via ftp, easy hosting passwords etc.

Crappy coded php can leave security holes and you face the possibility of sql injections (if the php interacts with a database)

 

This is why i said "assuming you're not really doing anything different than the HTML". Given the question is html vs php i'm guessing we're not talking about databases and such here.

  • Author

Crappy coded php can leave security holes and you face the possibility of sql injections (if the php interacts with a database)

html sites can still be attacked via ftp, easy hosting passwords etc.

 

Re: HTML can still be attacked via ftp, hosting passwords, cpanel

 

I'm assuming this is all related to the password used, right?

 

So creating a strong password will virtually eliminate the risk of attacks.

Re: HTML can still be attacked via ftp, hosting passwords, cpanel

 

I'm assuming this is all related to the password used, right?

 

So creating a strong password will virtually eliminate the risk of attacks.

 

Not exactly, you should use SSH/SCP/SFTP/rsync-over-ssh instead of FTP - http://www.43folders.com/2008/07/14/dump-ftp

Create an account or sign in to comment

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.