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.

Can i use JSON to

Featured Replies

HI,

 

I have a php login system which adds php code to the top of each page to restrict access, unless you are logged in, (code below)

 

Now this works fine, but i want to use this login system on a web app i am building using Phone Gap, which doesn't allow me to use php pages. Is it possible to use JSON to replicate this function by checking the session.php page. And if so does anybody now how i would go about that, as i am new to JSON and can not find anything similar.

 

include("include/session.php");
if($session->logged_in){

 

Thanks

 

Sam

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.