Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: 2 questions

  1. #1
    Regular Coder syco__'s Avatar
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    194
    Thanks
    41
    Thanked 4 Times in 4 Posts

    Post 2 questions

    1. I am in the midst of making a website and doing a few things but am thinking of adding a log in section for members can i put a password directly on a video file? or do i have to do it to the page?

    2. Also looking for a good provider to upload my site to, what does everything suggest for this?

    Thanks
    .pLeAd InSaNiTy.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,247
    Thanks
    203
    Thanked 2,556 Times in 2,534 Posts
    A) Your questions have nothing whatsoever to do with Javascript.

    B) Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.


    It is your responsibility to die() if necessary….. - PHP Manual

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #3
    Regular Coder syco__'s Avatar
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    194
    Thanks
    41
    Thanked 4 Times in 4 Posts
    so the password set up isnt to do with Javascript?
    .pLeAd InSaNiTy.

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,247
    Thanks
    203
    Thanked 2,556 Times in 2,534 Posts
    Quote Originally Posted by syco__ View Post
    so the password set up isnt to do with Javascript?
    No. Passwords involving Javascript are hopelessly insecure and hence pointless.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #5
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    Quote Originally Posted by syco__ View Post
    1. I am in the midst of making a website and doing a few things but am thinking of adding a log in section for members can i put a password directly on a video file? or do i have to do it to the page?
    Yes you can. If you want to use javascript to password protect the video file then I would recommend using ajax, which is essentially doing it server side (where it should be done) but without a page refresh. But you would have to have a plan B for javascript disabled browsers.

    Quote Originally Posted by syco__ View Post
    2. Also looking for a good provider to upload my site to, what does everything suggest for this?
    I'd suggest looking at Awardspace (see my signature)
    Last edited by bullant; 07-04-2011 at 10:39 PM.

  • Users who have thanked bullant for this post:

    syco__ (07-05-2011)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •