Jump to content

PFMaBiSmAd

Staff Alumni
  • Content Count

    16,734
  • Joined

  • Last visited

  • Days Won

    9

PFMaBiSmAd last won the day on May 28 2014

PFMaBiSmAd had the most liked content!

Community Reputation

131 Excellent

About PFMaBiSmAd

  • Rank
    Prolific Member

Profile Information

  • Gender
    Not Telling
  • Location
    Colorado, U.S.A.
  1. PFMaBiSmAd

    Read/unread Messages

    The read/unread status only applies to the recipient. You would only use it for highlighting when the current user is the recipient, not when the current user is the sender. The messages in any user's 'in box' are when the current user = recipient. The messages in any user's 'out box' are when the user = sender. Messages someone sends aren't in their inbox.
  2. Stop the Spammers!

  3. PFMaBiSmAd

    Username changes

    Wouldn't that be - ONE
  4. PFMaBiSmAd

    How to delete session cookies?

    A setcookie() statement must exactly match the parameters (name, path, domain, secure, and httponly) of an existing cookie, otherwise you are actually trying to set a different cookie. For the record, the only way to actually 'delete' a cookie is to physically delete the cookie file on the client computer (for cookies that were set with a non-zero expire time) or to close all instances of the browser (for a cookie that was set with a zero expire time.) Once a cookie has been set, the only thing a web-server-side script or client-side javascript can do to it is to change the value or change the expire time, by setting the same cookie again with a new value or expire time. To 'delete' a cookie in this way, you are actually either setting the value to something that will cause the cookie to be 'ignored' by code using that value or to an expire time in the past so that the browser won't send the cookie to the server with the page request. @Nosbod, if your session id cookie was originally set without a domain parameter, the setcookie() statement that matches that cookie would also need to have no domain parameter.
  5. PFMaBiSmAd

    How to delete session cookies?

    Unsetting php variables has nothing to do with the question "How to delete session cookies?"
  6. PFMaBiSmAd

    PHP progress bar

    Web servers are not designed to do what you are trying to do. Even if you get it to work on your current web server/php/browser combination, there is a good chance that it will stop working when either of those three things are changed, due to all the buffering and compression that goes on (your current problem could be due to something at your end of the connection, such as a proxy server your ISP is using on your connection.) If you want to output discrete pieces of information and have each of them displayed 'real time', you must use AJAX to periodically make http requests to a web page and have that page output the current information.
  7. Sounds to me like the From: address you are using is not hosted at the sending mail server so the mail server thinks you are trying to relay email through it and it is requiring that SMTP Authentication be used. Is the From: address hosted at the sending mail server? It should be, which will also likely eliminate the need to use SMTP Authentication.
  8. PFMaBiSmAd

    [SOLVED] Notepad++

    Someone already told you how - Browsers don't read php, php is parsed and interpreted by the php language engine that is either installed as a web server language extension or as a command line interface.
  9. PFMaBiSmAd

    [SOLVED] Notepad++

    Assuming that you are editing your files in the proper web document folder, you can create a "RUN" command to invoke the browser and pass it the URL - http://notepad-plus.sourceforge.net/uk/run-HOWTO.php firefox "http://localhost/$(FILE_NAME)"
  10. PFMaBiSmAd

    How to delete session cookies?

    The setcookie() section in the php manual shows how to delete a cookie.
  11. PFMaBiSmAd

    How to delete session cookies?

    Deleting a cookie or a session cookie is huge waste of effort. A cookie or a session should only identify who a visitor is. To log someone out you should depend on a value stored on your server (ideally in the user table in a database.)
×

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.