Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

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.

I cannot start a session or edit headers

Featured Replies

Whenever I put "session_start();" in my php codes, I always encounter these warnings:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at W:\www\easyboard\logout.php:4) in error location

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at W:\www\easyboard\logout.php:4) in error location

I also cannot store variables in $_SESSION...

 

and when I put "header("Location: url");", I encounter

Warning: Cannot modify header information - headers already sent by (output started at W:\www\easyboard\logout.php:4) in error location

Has it got to do with Uniform Server?

 

If possible, someone please explain this script to me, or recomend another authentication script...

Hi.

  • Author

Thanks. I had big trouble setting the $_SESSION variable.

 

Is it possible not to include the header.php file?

 

Ok. Basically, I want to create a minimalistic PHP and MySQL message board.

Needed information:

login id

password

email

 

Available functions/preferences:

password change

post message/poll/survey

edit own message/poll/survey

search by date, keywords etc.

board colours (for self)

display names

 

Targeted use: class noticeboard

 

Any php+mysql scripts out there so minimalistic?

Hi.

  • Author

interesting... the edit button flew away...

 

I found this posting script, and found it ok. so if possible, just provide an authentication system.

Hi.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

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.