Jump to content

Neo55378008

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Neo55378008's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I actually had this same problem today. If your server is on a Windows system, there are variables in the php.ini file that allow you to set an SMTP server. However, if you're running a Linux server like myself, you have to install sendmail. Further problems arrise if you have an ISP that doesn't allow personal SMTP servers. If that is the case, then you have to add define(`SMART_HOST',`your.ispSMTP.net)dnl to sendmail.mc, and remake sendmail. It's a hassle, but well worth it!
  2. Heh, yeah session_start(), not start_session()
  3. I'm running in to a weird problem with my code. I have a site that uses sessions, and I can create and destroy sessions pefectly fine. However, if I use the include() function anywhere in my code, when I try to destroy the session, I get an error: Warning: session_destroy(): Trying to destroy uninitialized session If I remove the include(), this error goes away. Is there something special you have to do with includes when using sessions? I have start_session() in the included file, I tried removing that line, but it made no difference.
×
×
  • 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.