Jump to content

lazerbrains

Members
  • Posts

    29
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

lazerbrains's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have been looking everywhere, and can't find a simple example of scripting a confirmation email. Basically, I have a form that is submitting to a database. But when the user submits the form successfully (I already have the validation in place), it sends their submitted email address a confirmation email. Currently the form submits, fills in fields in a database, and sends the user to a static thank you page. At this time I would like to send them the email. How can this be done somewhat simply?
  2. Actually, it is a few of sites that are being combined under one new domain. So one of the sites is Joomla, and the other is just a standard HTML based site, a third, but not as important one is using Symfony (PHP framework). It would be nice to have a redirect that could work on all 3, redirect them to the new domain, which announces the change. (only once) After the first time they are redirected, it should allow them to go to the old domain uninterrupted. I was thinking a cookie might be the right tool for the job. Any help would be appreciated.
  3. Have a site, and when people come to it, I would like to redirect them to a page on a different site, the first time they visit. (I am switching domain names, and would like to introduce the new site this way) So when they go to my current domain, I would like to redirect them to the new one, and also create a cookie. Then if they try to go back to my old domain again, it will recognize the cookie, and allow them to proceed as normal. However, I am new to setting cookies, and am not sure how to do this. Or if javascript is even the right choice. Does anyone know how to do this, or have an example they can show me?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.