Jump to content

Aegidius

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Aegidius's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I mean, if I have a HTML page with an image from the protected directory, the image will be loaded?
  2. If I have a directory protected by .htaccess - .htpasswd system, can I read files in that directory by a PHP script?
  3. I have come to think that the best way to lunch a background script is with AJAX.
  4. Thank you very much! I'll try and I'll let you know. Thanks again.
  5. Ok, really thanks. I'll try. Do you know if there is any way to throw an asynchronous script like you do in ajax?
  6. Database stuff and email stuff. Why? Is there no any way to throw a background script?
  7. I have an heavy script to be executed. If I put the code as main script the user will see a loading blank page for a while, until he can keep to navigate the site. I'd like that the main script throw a background script that execute the heave code, while the user can keep to navigate the site.
  8. Really thanks for the answer. That's a solution, but is there any other one more elegance?
  9. If I had an heavy script, and I don't need to see the script result, can I execute that in background and let the user to continue vising the site, without waiting until the script is done?
  10. Thank you very muck for the answer. You are really kindly.
  11. Thanks for the answer. I have another 2 questions. If the user want to be remembered, what should I save in the cookie? Is it correct to save the user ip address in the db and the username in the cookie, so when i read the cookie with the username i can check if the ip address corresponds? If I use the session_set_save_handler, i must define where the session variables are saved?
  12. Hi all. I'm new to PHP language and I'd like to know which is the best way to handle the user login. With cookies or with sessions? Do you know some example on the web that I could inspire on? I just know how to do it in both way, I just wanna know which is the best way and like to read some code written by a pro.
×
×
  • 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.