Using php include for password protection

Hi all, and as usual I am also new to RH. I am running a
password protection site using php include.
I have published my WebHelp project but was trying to change
the htm file to php and include the php include and I keep
receiving this error - "whlstt0.htm was not found on this server."
I have done a search and can not find any direction. Has
anyone an idea of how I can create a default php file the will open
all the frame files needed?
Thanray

Hi Thanray. Please try not to cross post in multiple forums.
It doesn't help others searching for a solution if only one thread
has been answered.
Click
here
for the other thread.

Similar Messages

  • Question about using a PHP include for the head info...

    Hi,
    I'm currently using PHP includes for my site header and footer info.
    All my js/css files and meta declarations are in the head portion, which is in the header include.
    How would I go about giving each page its own individual TITLE if the modifiable content of my pages is inside the body only? Since we can't specify title inside the body, am I stuck with the same page title for each page on the website?

    Is it true that you header include file has the </head> and <body> tags embedded? It would seem a lot neater - and safer - to use two include files, one for the header and one for the body. That way, the <title> is not in either of them and you can do with it what you will.
    Barry

  • What APPS are folks using for password protection?

    What are folks using for password protection?

    Miss Dee wrote:
    I'm looking for a way to save all my passwords to one place and then going to that place and pulling out the password I need. I have so many passwords, I just can't remember them. I thought that having the keychain would allow someone to sign in as me and then get the password.
    Does this make sense to you?
    Sorry, it isn't entirely clear to me, lets see if I understand correctly…
    The 'anyone can see my passwords when my account is logged in' issue is resolved by having a different password on the keychain compared to the user account, but it can make life frustrating to enter the password time after time, but security does conflict with convenience.
    Open up Keychain Access & take a look at an existing item in your login keychain - it should still ask for the keychain password to view the password for that item. By default that is the user account password.
    You can add extra passwords (and secure notes) to keychain if you have some that are not currently saved in the keychain. If any passwords are 'super secret' add them into another keychain & only unlock that when you need to do so, it will stop the OS using these automatically.

  • Does anyone have any suggestions for password protecting e-mail on the i pad?

    Does anyone have any suggestions for password protecting e-mail on the i pad?  Other people sometimes want to use my i pad but I don't want them to have access to my e-mail (which is on AOL)
    Presently you can password protect the whole i pad by having to put in a 4 digit code to open it, but once it's open whoever is using it has access to everything you have on it.

    Skydiver...that did it!!  I shut the mail app from automatically opening and now I can sign onto my AOL acct. through Safari!!  I had called Apple Care and had asked  different peope in Apple stores about this and no one but you had any suggestions!  YAY!!  Thanks!!!

  • What type of encryption is firefox using for password protection and how trustworthy is it

    I would like to know what kind of encryption FF uses and how I know I can trust it? This is not a bone of contention with FF, I love the product, rather it is just a concern I have that will convince me to let FF manage my financial passwords. Thanks for any assistance with understanding this issue more completely.

    The degree of protection very much depends on how strong your master password is.
    When using a master password, the data is encrypted using [http://www.tropsoft.com/strongenc/des3.html Triple DES Encryption in CBC mode]. This level of encryption is good for general purpose use. The weak point it the master password, if you have a weak master password there are programs available that will be able to crack the master password, they often do this by using a brute force method. If you use a strong master password, the brute force method will need a very long time to crack passwords. For details on password strength and creating strong passwords see http://en.wikipedia.org/wiki/Password_strength and http://luxsci.com/blog/security-simplified-the-basesuffix-method-for-memorable-strong-passwords.html

  • Copy and paste Java script for password protecting a page?

    I need to password protect one page which I want to call my LOGIN page on a site I'm making in Dreamweaver CS5.5.  Unfortunately I know that the hosting company I'm using does not have the ability to allow me password a single directory on the server end to accomplish this (I know STRANGE)   .... SO
    I found some code online - java script that I can just copy and paste into the <head> section of my page.  This might be a silly question but is this a 'safe' way to do this?    (I don't need anything fancy and the people whom will be accessing this page will all have the SAME password, so I don't need a registration form or anything fancier...)
    Any thoughts?

    Ugg I totally knew you would all say that (because I already knew that would offer me the easiest solution), change hosts and now I'm embarrassed to say that YES I am paying for the hosting; BUT, I have to explain that I'm with this hosting company because way back when I started that site I needed something super user friendly because I was just learning.  Now I have learned more and have started to use Dreamweaver.  I just stayed with the same hosting and will use FTP to upload my new more updated site.  In the company's defense even though they do offer a way to FTP a site up, their main objective (I think) is to have a really easy way for people to get a site up without knowing anything about code or css or anything; and they operate under the assumption that MOST of their customers will be using their super easy software and not use FTP.  That is why I think they are limited to what they offer, at least that is my take on it.  My more recent sites do not use this company as I have tried to learn and 'move up'. 
    Anyway I guess if I don't want to switch hosting I still have the same problem.  Is it really that difficult to make something that has just one use ID and password which would be the same thing for every person?  Might be a great learning experience for me?
    Yep it might be time for me to switch hosting....  sigh.  What to do.....

  • Recommended solution for password protecting a page for clients only

    Hello,
    I am using Dreamweaver CS6 on Mac (Mavericks).
    I am building a new website for my business and I want to create a page where only my clients can access information after using an id and password that I provide them with. I do not want them to register online, etc. to access the page.
    I was instructed to not use Dreamweaver's solution because it is outdated.
    Can anyone provide me with advice on how to best do this? Use/Not use Dreamweaver functionality? Recommended extension?
    Thanks,
    Joshua

    OK. If you have 50 to 100 clients and you want all of them to have different passwords, then the solutions recommended so far would be a pain to maintain.
    I'm going to give you a solution that is easy to maintain. You will simply add new passwords to the "array" at the top of the script. This is of course not a secure method, but it will work for you. You can edit the design and text, etc. Simply paste all the code into a new file and call it "access.php.
    This is not the method I use for password access. I use a method that handles hundreds of thousands of passwords easily, but it's far more complex. . .and secure. But I think this simple method should work for you:
    <?php
    // All the PHP code is in these first few lines at the top except a few lines that all begin with <?php  -- watch out about editing those lines.
    //  this is where you create the set of passwords. Simply follow the pattern below to add new passwords to the list. Note that the final item does not have a trailing comma:
    $passwords = array(
        "client1",
        "anotherclient",
        "lastclient"
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <title>Reports</title>
    <style type="text/css">
    fieldset {
    border:solid 10px #edebe4;
    border-top:20px solid #edebe4;
    width:700px;
    margin-bottom:10px;
    padding:20px;  
    fieldset legend {
    background-color:#edebe4;
    color:#468cb7;
    padding:0 5px 0 5px ;  
    font-family: Verdana, Sans-serif;
    a {
    color:#468cb7;
    font-family: Verdana, Sans-serif;
    a:hover {
    color:red;  
    li {
    font-family: Verdana, Sans-serif;
    color:#666666;
    font-size:13px;
    margin-left:50px;  
    </style>
    </head>
    <body class="body_admin">
    <div id="admin_wrapper">
    <div class="content" style="padding-left:50px;padding-bottom:25px">
    <?php if (in_array($_POST['view'], $passwords)){ ?>
    <h1>You have access!</h1>
    <fieldset><legend>Choices</legend>
    <h2>Do the following</h2>
    <ul><li><a href='page.html'>A link (you will need to change link url)</li>
    <li><a href='page.html'>Another link (you will need to change link url)</li>
      </ul>
      <p> </p><p>
    </fieldset>
    <?php } else { ?>
    <h2 style='text-align:center'>Enter Password</h2><form action='access.php'  method='post'><p style='text-align:center'><input type = 'text' name='view' required style='margin-top:25px'/><br/><input type='submit' name='submit' value='SUBMIT' style='margin:15px'/></p></form>";
    <?php } ?>
    </div></div>
    </body>
    </html>

  • Clientgen for password protected WSDL

    Hi,
    I am trying to invoke an SAP web service. But I am not able to run the clientgen ANT task since the WSDL is password protected. This used to run earlier without any problem when it was public. Please help. Here is the error:
    [clientgen] <Aug 8, 2006 2:17:48 PM EDT> <Info> <WebService> <BEA-220094> <An IOException
    was thrown trying to access the WSDL at the given URL.>
    [clientgen] <Aug 8, 2006 2:17:49 PM EDT> <Info> <WebService> <BEA-220034> <A stack trace a
    ssociated with message 220094 follows:
    [clientgen] java.io.IOException: Server returned HTTP response code: 401 for URL: http://p
    rh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER
    [clientgen] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    [clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
    onFactory.java:113)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
    ClientGenImpl.java:396)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
    va:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
    tGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
    Task.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
    ner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
    nner.java:137)
    [clientgen] >
    [clientgen] weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL fr
    om http://prh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSF
    ER. Please check the URL and make sure that it is a valid XML file [java.io.IOException: S
    erver returned HTTP response code: 401 for URL: http://prh458.pr.us.pri.com:8094/sap
    /bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER]
    [clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
    onFactory.java:153)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
    ClientGenImpl.java:396)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
    va:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
    tGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
    Task.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
    ner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
    nner.java:137)

    You can try to open the documents with a password that is guaranteed to be wrong, i.e. a password that isn't used for any of the documents. If the document has no password, Word will open it without complaining - it only checks the password if the document
    is password-protected. If the document does have a password, error 5408 will occur, and you can trap this error with an error handler. For example, with a variable doc of type Document and a variable strPath of type String that contains the full path of a
    document:
    On Error Resume Next
    Set doc = Documents.Open(FileName:=strPath, PasswordDocument:="!@#$%")
    If Err = 0 Then ' no error occurred
    ' Process the document
    ' And close it
    doc.Close SaveChanges:=True ' or False
    End If
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • REQUEST: Support for password-protected PDF files and SD-card installation

    I would like to request for the features in the topic.
    The current version can't open password-protected files hence I still need to download them on a PC before viewing them.
    SD-card install is necessary for some devices running on Froyo as they don't have a lot of internal memory.
    Thanks in advance.

    Hi AndrewSV,
    I am sorry to hear that you are having problems opening password-protected PDF files, and that the users are being prompted for a password, which shouldn't be required for Viewing and Printing the file.
    I have opened up a [https://bugzilla.mozilla.org/show_bug.cgi?id=900822 bug for this issue], and our engineers and volunteers will be able to investigate this issue.
    Yes, please attach the write-protected PDF as an example, so that they can see what's happening.
    Thank you for your help! =)
    - Ralph

  • How to use php variable for default tabbed panel

    I have a tabbed panel and with tabs labelled with the days of the week.  What I want to do is open up the tab that correspond to the current day.  I have been using the following to get the day in 3 char format:
    <?php
    $jd=cal_to_jd(CAL_GREGORIAN,date("m"),date("d"),date("Y"));
    echo(jddayofweek($jd,2));
    ?>
    What I want to do is replace the value for the default tab in the following statement with a variable that matches the day returned with a number:
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab:1});
    Please could anyone advice?
    Regards,
    Lloyd

    Hi,
    BIND_VARIABLE is useful when you have only IN variable but in your case you have IN and OUT.
    I don't know if you use the gateway for MS SQL SERVER or HSODBC/DG4ODBC but here how you can do to call a remote procedure with bind variables:
    DECLARE
    ret integer;
    inp varchar2(255);
    outp varchar2(255);
    BEGIN
    inp :='Hello World';
    outp :='';
    ret := "dbo"."in_out_proc_test"@tg4msql( inp, outp);
    dbms_output.put_line('Input value: ' ||v_ut1||' - Output value: '||v_ut2);
    END;
    The MS SQL Server procedure belongs to the user "dbo" and the database link
    being used is tg4msql.
    The following line initilaize the out variables of the procedure with an
    empty string:
    outp :=''
    I hope it helps you.
    Regards
    Mireille

  • ADF FACES EA16 Why survey demo don't use jsp:include for common part

    Is it a reason why the surveyPage1, surveyPage2 and others don't use jsp:include to load dynamically the actions, menuglobal and location facet ?
    These facet's contains the same adf components with same properties !
    Why not use a subview containing these flow management component and include this subview in the panelpage with the jsp:include ?
    I'm testing this approach but i'm not able to render these components ... may be i'm completely wrong ? I didn't find any example in the demo that demonstrate how to include subview in an adf document or panelpage.
    Help will be appreciate a lot !!!

    so what exactly is the problem here?
    what is not working?

  • Combine supported files in Acrobat 10 Pro fails for password protected files

    I use Acrobat 10 Pro and wanted to combine a number of pdf-files to one big file.
    It failed because the files in question have a permission password.
    After I bought Acrobat on first creation of a pdf-file I was asked set a password
    for reading and/or modifying it.
    I decided to set no password for reading, but one for modification namely
    <christian-name>.<surname> . I noted this down.
    When I got the error indication after I tried to combine some pdf-files I tried
    to remove the permission password. I was asked my password, but the program
    refuses to take it.
    What can i do, except to scan all the invoved pdf-documents once again, this time
    without any password. It's quite a lot of them.
    Thanks in advance.
    Michael

    Hi thandman,
    Acrobat 8 is not certified for Win 7 64 bit, so this may just be the first issue you will encounter.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.pdfscripting.com
    www.windjack.com

  • Can't remember password for password protected document

    I can't remember the password I generated for a pages document.  Is there anyway to unlock document with administrative password?  PLEASE HELP!

    There exist software that will allow you to unlock it. I know word has some free software that does that you can find online. I am not sure about pages. In the future, make sure you write every password you ever use to anything in a document. If you aren't comfortable with this document being on your computer, save it to a thumb drive or SD card. Store this card somewhere safe where no one will ever touch it.

  • Using php/mysql for calculations

    Hi guys,
    Im experimenting with calculations on a site but im not sure whats the right way to go about it.
    the result im looking for is this,,
    Im setting up a personality test on the website where the questions he answers should classify him into one of 4 groups.
    my thoughts are to keep it simple, every question he answers should have a +1 effect on the certain group in question and then at the end of all the questions display the result of the group that has the largest count.
    now some told me i should use javascript which im not very familiar with,
    others said i should be able to do the calculations in php before the result is sent to the database
    but i also thought of the possibility to send all into uncalculated to the db and then just retrieve the right result,
    would like to hear your opinions on this,
    or if you think there is a easier way than my "+1 effect"
    thanks in advance!

    One way would be to associate each question with a group.
    Create an array with 4 elements say G(0), G(1), G(2), G(3)  Set it to zero. 
    for question = 1 to number of questions
          Ask a question
              Each time a question is answered correctly,  increment value of the associated array group element (1) to (4) by 1.
               Until you have asked the first round of questions.
                   So now you have a set of values in each element. Problem is how to find the largest. Especially if you have a tie.
              Sort  the array to set them in order ascending- see :http://www.php.net/manual/en/function.asort.php
             set $winner to the first groups reference  ( this will always be 0,1 2 or 3 and should contain the winner unless there is a tie)
              If the lst two elements in the sorted list are not equal
                        set $winner to the 1st elements reference (if its G(3) set it to 3, not the value of G(3))
                   else (you have a tie)
                             repeat
                                  set the other two elements to zero
                                  ask a  question
                                  increment the matching group element
                                   sort the array
                                  compare the values of the two top elements
                              until the values of  two top elements are not equal
                   set the  value of $winner to the 1st elements reference (if its G(4)set it to 4, not the value of G(4))
                         store $winner in your database
    Hope this makes sense - it took a while to work out and it still needs coding.
    The other way is to ask your questions and save them in the database as you go along. At the end of stage one, do a select all from groups, order by group value
    You may then have a tie, so you would need to ask more questions as deciders and do it again.
    Either way, ist an interesting project.
    I'm off to bed!

  • It seems like each time I get a Firefox update (the latest being 5.0), it disables the virus protection software. I'm currently using McAfee SiteAdvisor and Rapport, which program would you suggest using with Firefox for virus protection?

    I'm using a Mac OSX platform for my computer system. Is there any reason why McAfee SiteAdvisor and Rapport virus protection software programs are not compatible with Firefox updates? What virus protection software is Mozilla suggesting to use with Firefox?

    Download the latest version of Trusteer Rapport from here: <br />
    http://www.trusteer.com/book/rapport-installation-links
    The McAfee Site Advisor is blocklisted in Firefox 5 due it being the #2 cause of crashes. McAfee is developing a new add-on, which is due to be ready in late July. See the McAfee forum for more information. <br />
    https://community.mcafee.com/message/195191#195191
    Try this add-on to replace the Site Advisor: <br />
    https://addons.mozilla.org/en-US/firefox/addon/wot-safe-browsing-tool/

Maybe you are looking for

  • How can I delete the files .DS_store in Mac OS Yosemite?

    How can I delete the files .DS_store in Mac OS Yosemite?

  • How to make a pdf (form) accessible for reader in Adobe Acrobat x pro?

    Hi guys, i have bit of a problem here as i am new to the Acrobat pro X  Using Acrobat pro 9 i always could save a LiveCycle pdf form with permission to fill and save as a reader user. now i have upgraded to cs6 and i have no clue how to do that anymo

  • Apple tv video problem

    Just bought atv yesterday and synced content overnight. Using HDMI connection to tv. My cable box is HDMI1 and atv is HDMI2. When I tried to watch something today, the picture kept flipping between "no signal" and the atv menu. I finally had to reboo

  • Siebel Analytics using HTTPS

    Hi, Does anyone know if this is possible if your using 10g DB / Application Server for Siebel Analytics 7.8.5? I have tried looking for documentation but unable to find any. Any help would be appreciated

  • Multiple session issue

    Hi, I have created SAP transaction ivews in my portal with SAP Logon tickets to connect r/3. End users are having tendency to open multiple browser window using Ctrl+N. This way they dont have to login many times and can have many portal window open.