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.

e-mail

Featured Replies

For class I have to make a "newsletter signup form". It didn't actually have to send an e-mail, but the bonus was to make it send an e-mail if the person submitted a form to remove themselves from the database. I am not really sure how to hook it up to the UniServer SMTP or anything, nor do I know how to hook it up to any other mail server. The code I have for now is:

$to = $email;
$subject = "You left!";
$body = "You have successfully removed yourself from our database, you treacherous scum.";
if (mail($to, $subject, $body)) {
  echo("An e-mail has been sent confirming your removal from our database.");
 } else {
  echo("<em>failure sending e-mail</em>");
 }

The e-mail variable is defined earlier in the script. It is retrieved from the database.

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.