Creating a dynamic log in page with php

I'm fairly new to web development and I'm trying to create a page that clients can go to, log in, and review drafts of the video work we produce for them.
I've developed a php page that works.  The client can enter their user name and password and log in to a page.  I've got a mysql databse and I've used the log in user behaviour that comes with dreamweaver.
The problem I have is that I'm not sure how to make the page redirect the client to the appropriate page.  Right now the client can log in but I'm only able to to get the site to redirect them to the same page.  I'd like to be able for each client to log in and only see their own videos.
Is their another behaviour available for php sites that would allow me to accomplish this?  I downloaded a coldfusion behaviour that allow for dymanic log-in but I couldn't get my testing server to acknowledge that I have coldfusion installed on my computer.  Ideally I'd like a behaviour that works with my php page.
Thanks

Depending on the situation, the best solution is often to redirect everyone to the same page that will be customized with their specific dynamic data. So you use the user id to retrieve the user's data and display it on that page.

Similar Messages

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

  • I think I finished installing Mountain Lion, and am at the "log in" page with my name and the Lion icon, but I cannot do any of the functions on screen. That is, I cannot log in, sleep, restart, or shut down. I am running it on an Early 2009 Macbook Pro

    I think I finished installing Mountain Lion, and am at the "log in" page with the Mountain Lion icon, but I cannot do any of the functions on screen. That is, I cannot log in, sleep, restart, or shut down. I am running it on an Early 2009 Macbook Pro, which is said to have the capabilities of running Mountain Lion.

    BrettGoudy wrote:
    ...Is there any way I can install a partition that runs snow leopard on my early 2011 MB pro with what I have (new SSD, New RAM, Current version Lion running, no external drive, lack of original snow leopard disks [I lost them ] and the general 10.6.3 snow leopard boot disks)...
    As the last post suggests, call Apple and order a replacement original disc for about $17.  They will ask you the model and serial numbers.
    Your retail version of Snow Leopard OS 10.6.3 will not work on that Mac as it requires a minimum of OS X 10.6.7 to boot and operate.
    Another alternative is to again borrow another Mac to install your retail Snow Leopard into an external HD or partition, upgrade it to 10.6.8 and then clone it back to a partition on your MBP.

  • I have made an 8.5 x 11 flyer and want to create handbills, four to a page, with Photoshbe op or Ado

    I have made an 8.5 x 11 flyer and want to create handbills, four to a page, with Photoshop or Adobe Acrobat Pro. Waht do I do?

    Create a new document the size of the handbill 4-up {example if handbill is 3"X4" then the new document would be 6"X8" Plus an optional margin and bleed (don't forget to include the gutters between the handbills - The gutter is used for the opposite margin to make the white space around the individual handbill equal)}
    place the original document into the new document
    make sure the layers are grouped for easy moving
    Drag out guides from the ruler (make sure ruler is visible) - Make the guides for each edge of the page for the margin, 2 guides between where each document should be (both rows and columns) Readjust if necessary until it looks right
    Optional - Scale original document to fit the guides if necessary
    Alt drag the group to the next location
    Repeat 6
    I can't make it any more or less detailed without see something from your screen, when in doubt post screen shots

  • Creating a flash website to work with php & MYSQL for MMORPG

    Hi i have a website which is a gangster MMORPG, it using PHP,
    CSS, HTML and some javascript but however with the amount of game
    similar to mine i want to make it unique so i bought "building
    flash websites for dummies" i have read must of it and understand
    most of it. but however don't really have a clue i it could
    actually work with my website.
    what i want to know is can it work with my current PHP &
    MYSQL, so for example i want to create a logging page with flash to
    replace my old PHP/HTML one this will be my first crack at it. but
    will flash be able to check the MYSQL database and send error
    messages back to the view etc.

    Yeah, this can work... My recommendations would be to read a
    couple articles in the dev center on this topic, that should get
    you started...
    http://www.adobe.com/devnet/flash/articles/flash_databases.html
    http://www.adobe.com/devnet/flash/articles/datawizards.html
    http://www.adobe.com/devnet/flash/articles/ria_dataservices.html

  • Dynamic select list crashes with php

    HI All,
    I can't seem to get a dynamic select list to work in
    dreamweaver. It completly crashes everytime I try adding it to my
    page. I found someone else in the forum who had the same problem
    but no one ever responded. I've tried several things including
    putting just the record set and dynamic select on it's own page
    with no other code on it. It still crashes DW. I also tried coding
    it myself by making a listmenu and modifying it so that the option
    value equals a PHP echo of a value. It crashed there too. Does
    anyone have a piece of code with a working dynamic select list that
    uses a record set that I could look at? That way I can see where
    I'm going wrong. All I'm trying to do is get a simple drop down
    select list of employee names so someone can choose their name to
    get commission. It's a one table, 2 fields (first & last name)
    record set.
    Using DW CS3, php & MySQL.,windows XP Pro
    Any help would be really appreciated!

    AthroughZ wrote:
    > I can't seem to get a dynamic select list to work in
    dreamweaver. It
    > completly crashes everytime I try adding it to my page.
    It looks as though you have a corrupt cache file. Follow
    troubleshooting
    step 4 in the following technote:
    http://www.adobe.com/go/tn_19105
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • How to create search engine in JSF page with AJAX

    I want to create Java Server Faces page with search engine using AJAX. I'm interested can I do this with PL/SQL statement which searches strings into all Oracle tables at database level? What are the best practices in this case?

    user10484841 wrote:
    I want to create Java Server Faces page with search engine using AJAX.
    I'm interested can I do this with PL/SQL statement which searches strings into all Oracle tables at database level? I give up.
    Can you?
    What are the best practices in this case?Best practice is to know where data is stored to avoid search of all Oracle tables.

  • Create a dynamic file list page

    I have two folders under my main heirachy for our web site.  One is called Prod and the other is Dev.  I have folders and irpts within them.  I would like to create an html filelist page so when I am on the web testing it, I can quickly see all of my files and click anyone of them to quickly see the page.  Does anyone know how to create dynamic file list pages that will automatically update as files and folders are added?

    You can always just enable "Directory Browsing" in the default web site in IIS.
    You can do this by opening IIS and navigating the PROPERTIES of the Default Website...click the Home Directory tab...check the "Directory browsing" box...apply the settings and you should be good.
    Note: a restart of IIS might be necessary for the changes to take effect. You can do this by executing a simple "iisreset" from the run command line.

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • How do I create a 'member log-in' page? Easy instructions please!

    (I'm still relatively new to dreamweaver, so *please* post easy-to-follow instructions if possible)
    I'm in the process of updating the company site, and it's going very well considering I knew only the extreme basics of Dreamweaver going into it. I updated everything requested by the boss, but now she asked me to - IF POSSIBLE - create a new section of the site for "members (employees) only."
    Any help with this? I tried a google search for tutorials but couldn't find anything very useful. FYI I'm running windows 7, adobe suite cs3, and have Microsoft access (and don't mind downloading new software if need be - I read something about mySQL? or something like that...)
    Thanks very much in advance, you guys have already helped me out a lot..

    needing multiple usernames and passwords is going to force you into using a database type log in system. There is no "simple" way to accomplish this. You can also use java, ajax and a number of other types. But for the most secure you want to use a server sided language like ColdFusion, PHP, ASP, etc. That's where your server configuration comes in. What server sided language will it support? That's a good place to start.
    Another good place to start is do you know anything about code to write some on your own? DW does some coding for you, there are plug ins but it is always best to be able to understand the code.
    you can always look through the DW exchange for a small log in system that might be easy for you to change to your needs.

  • How can I prevent Firefox from opening the file I create when I print a page with PDF Create! 5

    After I print a web page using PDF Create! 5, Firefox opens the file so i can view it. Before I print, I select print properties and disable "view resulting pdf". However, the file is always opened in Adobe Acrobat, although I believe I have Adobe Reader set as default. I do not want any file to open. This happens on my non-privileged accounts. On my privileged account, the file is not opened. I have removed Firefox profiles, re-installed Firefox, Reset Firefox in Help-Troubleshooting. PDF Create!5 print screen can only be viewed in a host program such as Firefox, Libre-office Writer, or any other program that prints. They do not open the file either.

    Thanks for your help. This is the Scansoft (Nuance) program. What I do not understand is why when I tell the print driver not to open the file with a privileged account, it obeys me. I am not sure where in the registry I would look for the information. I do not want to, but perhaps I should remove the Adobe Acrobat program (temporarily?) - then what would it do? Again, when I print from other programs - browsers, wordprocessors, etc - the file is not opened after printing, just with FireFox. I guess I can live with it, I have spent too much time already.

  • How do i reference a div on html page with php?

    This question is an extension to a topic I asked last week...
    I am programming a form within a div on the page..
      <div id="contact_form">
      <form name="contact" action="showEntry()">
        <fieldset>
          <p>
            <input type="text" name="name" id="name" size="30" value="" class="text-input" />      </p>
          <p>
            <input type="submit" name="submit" class="button" id="submit_btn" value="Send" />
          </p>
        </fieldset>
      </form>
    </div>
    Above that I have the php code to declare a function showEntry()
    <?php
    function ShowEntry() {
    ?>
    What I want to do is run the function to show what was entered and place a piece of code so that the div containing the form is cleared and replaced with a reply...
    The ajax example code to reference the div is below...
    function() {
          $('#message').html("<h2>You entered {fieldset.name.value}</h2>")
    What I want to do is make all this code appear on one HTML page together...
    Basically the user enters their name, presses send.
    The form disappears and the message is placed in it's place...
    Thank you in advance for any feedback..
    Terry

    Nancy O. wrote:
    Herbert2001 wrote:
    BUT honestly, you'd be much better off using some kind of php framework to take care of email stuff and routing... writing your own protected secure code is like re-inventing the wheel...
    Totally agree. 
    Just curious, which PHP frameworks are you using, Herbert? 
    Nancy O.
    Hey Nancy & Murray,
    Currently I use Laravel, though lately I've been lured more and more into Python and Pyramid/Django. I really like Python, because it is far more consistent as a language than PHP (which, honestly, is very, very messy compared to other languages - it's a legacy thing**).
    I've also used http://fatfreeframework.com/home for smaller personal things, because it's a very tight and easy to use mini framework.
    And, although it is not a 'real' framework, I have to do a lot of work in Wordpress (mainly because clients require it from me, not my own choice ;-).
    You can find Laravel here: http://laravel.com/
    Python things I am checking out currently:
    Django: https://www.djangoproject.com/
    Pyramid: http://www.pylonsproject.org/
    Again, I think that Python is a beautiful language, and if I could I would switch to that for my web work completely. But not quite yet. :-) Not saying PHP is bad, though - I've worked with it for the longest time; it's just quirky in places.
    ** see http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/

  • Creating a Dynamic Playlist for use with Amazon Cloudfront

    I am working on a soultion for my website to deploy Falsh encoded videos from the Amazon Cloudfront using Flash Streaming Video Server 3.5 and the JW Falsh Player (www.longtailvideo.com).
    I am NOT a code person but here is what I am trying to accomplish. I hope I am in the correct forum! If not, I apologize.
    I have several videos a week that I edit and can save in different kbps versions for Dynamic Bitrate streaming through the JW Player. My problem is creating the XML or SMIL playlist to initiate the bitrate switching. I would like to find an authoring tool or someway to generate the required file in a fairly easy manner as I am more videographer/editor that code warrior.
    I would also like to have a playlist of other available videos associated with any given video that could be delivered with the Dynamic Bitrate Switching feature. Example: a lawyer that specializes in several different fields of law and would like to have 5 videos, one for each area of specialization, delivered to clients with high bandwidth and clients on mobile devices and everyone in between!
    Thanks in advance for your time and consideration.
    Lindsey

    I'm looking for the answer to this question too.  If you don't have the answer, or if you don't care to link to the answer, or to recommend a knowledgable expert, please remain silent.

  • Create a dynamic search in JSP with more than one datasource

    Hello,
    In the ViewCiteria tag you can specify the datasource in which you want to place the criteria. Is it also possible to work with more than one datasource ?
    In my project I want one query form for specifying criteria for more than one datasource. When I send the query form, I want the right view criteria will be coupled with the right datasource.
    Has someone more experience with that ???
    Thanks!!!

    Hi,
    I think I got the same problem! I tried to combine all the tables in a new view and create a query on this view.
    But when I search and my result has to be one record from the main table, I get this record more than once.
    I tried to use distinct but that does not work because each column has a different value, so the record is never the same.
    I hope someone can help us!

  • How to diplay username who login in a another page with php

    anyone please help me with whole codeing..m very new

    One thought though, when I was playing around with that solution I noticed that everything gets filtered.
    i.e. images, so maybe you chould place some thing on the page (image) and when it comes through .. do something. I know its not quite as good, because your back to having to put something on each page (or restricted pages).
    The images won't be wrong, unlike the URL .. maybe not images maybe something else. good luck
    Jonathan

Maybe you are looking for