Skip to main content
March 16, 2009
Question

Adding a PHP section to an existing website

  • March 16, 2009
  • 1 reply
  • 790 views
hello,

I am fairly new to using Adobe Dreamweaver CS4 for generating dynamic webpages,although I have some experience with designing static HTML webpages. I am trying to create a secured section for existing website,which has all its pages in HTML. This section will have a login screen to start with and then depending on User Access level, I want the part of webpages to be hidden. These webpages will display data from a backend MySql database.I took some tutorials on how to create a website with sign in and sign out functionality built in, but it tells me to create a new site and it starts the pages with index.html, whereas my website already has a index.html page.
Is there a way I can use this new site functionality in Adobe dreamweaver and still not overwrite my index.html page?
Please let me know, I you would like me to elaborate more on anything.
Thanks
This topic has been closed for replies.

1 reply

Inspiring
March 16, 2009
Open your login page, and apply an Authenticate User Server Behavior to it
(INSERT | Data Objects > User Authentication).

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"abhidev" <webforumsuser@macromedia.com> wrote in message
news:gplmv3$ln4$1@forums.macromedia.com...
> hello,
>
> I am fairly new to using Adobe Dreamweaver CS4 for generating dynamic
> webpages,although I have some experience with designing static HTML
> webpages. I
> am trying to create a secured section for existing website,which has all
> its
> pages in HTML. This section will have a login screen to start with and
> then
> depending on User Access level, I want the part of webpages to be hidden.
> These
> webpages will display data from a backend MySql database.I took some
> tutorials
> on how to create a website with sign in and sign out functionality built
> in,
> but it tells me to create a new site and it starts the pages with
> index.html, whereas my website already has a index.html page.
> Is there a way I can use this new site functionality in Adobe dreamweaver
> and
> still not overwrite my index.html page?
> Please let me know, I you would like me to elaborate more on anything.
> Thanks
>

March 16, 2009
I think, I have not been able to explain myself clearly.I have an existing website ( whose all pages are static HTML) and I have my site local root folder as
C:\Users\abc\Documents\def\ .
I want to add a PHP page to my site, so I created a new blank PHP page and I want to connect it to a MySql database.To connect it to a database I need to set up a Testing Server.But,I am not able to do it.Isnt it going to be C:\Users\abc\Documents\def\ ???
which is same as my Site's root folder.
Please let me know how can I go about setting up a testing server.