Aller au contenu
View in the app

A better way to browse. Learn more.

Next

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.

[RESOLU] projet php

Featured Replies

Posté(e)

Bonjour,

je compte écrire mon site en php mais je ne sais pas comment faire pour créer un projet php avec des classes et des fichiers où je fais appelle à ces classes. J'ai pris sur le net un exemple tout bête qui ne marche pas. Faut-il un logiciel spécial ?

Mon erreur était "can't call for non-instance class" ou qqch comme ça.

vu que j'ai pris l'exemple en ligne à priori il a été testé.

Merci de votre aide :transpi:

Modifié par psychobud

Posté(e)

Si tu le fais en PHP5, je te recommande d'avoir recours à l'autoload, pour charger tes classes.

C'est bien pratique et ça t'évite de te taper 15 lignes d'include pour charger toutes tes classes

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.