Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding a PHP section to an existing website

Guest
Mar 16, 2009 Mar 16, 2009
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
TOPICS
Server side applications
791
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 16, 2009 Mar 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
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 16, 2009 Mar 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 16, 2009 Mar 16, 2009
Sorry - I'm not able to see a clear connection between this post and your
previous one.

Nevertheless, have you installed Apache, MySQL and PHP on your local system?

--
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:gpmc6p$hm4$1@forums.macromedia.com...
>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.
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
Hi Murray,

I was able to figure out how to set up a Testing Server.I had already installed Wamp on my workstation, but didn't realize that I need to paste a copy of my website folder in www folder inside wamp.Now, its working just the way I wanted it to.

Thanks a lot for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 17, 2009 Mar 17, 2009
You're welcome.

--
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:gpodg9$687$1@forums.macromedia.com...
> Hi Murray,
>
> I was able to figure out how to set up a Testing Server.I had already
> installed Wamp on my workstation, but didn't realize that I need to paste
> a
> copy of my website folder in www folder inside wamp.Now, its working just
> the
> way I wanted it to.
>
> Thanks a lot for your help.
>
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
Hi Murray,

I was able to figure out how to set up a Testing Server.I had already installed Wamp on my workstation, but didn't realize that I need to paste a copy of my website folder in www folder inside wamp.Now, its working just the way I wanted it to.

Thanks a lot for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
Hi Murray,

I was able to figure out how to set up a Testing Server.I had already installed Wamp on my workstation, but didn't realize that I need to paste a copy of my website folder in www folder inside wamp.Now, its working just the way I wanted it to.

Thanks a lot for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
Hi Murray,

I was able to figure out how to set up a Testing Server.I had already installed Wamp on my workstation, but didn't realize that I need to paste a copy of my website folder in www folder inside wamp.Now, its working just the way I wanted it to.

Thanks a lot for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
LATEST
Hi Murray,

I was able to figure out how to set up a Testing Server.I had already installed Wamp on my workstation, but didn't realize that I need to paste a copy of my website folder in www folder inside wamp.Now, its working just the way I wanted it to.

Thanks a lot for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines