PHP Blog trouble
Posted: Mon Jan 24, 2005 11:02 am
Hello all!
This is my first time using these forums, so I'm not sure if this is the right place to post this. But I use a Mac, so at least it's a start.
My problem is this: I've been woking on building a blog for my website based on this tutorial for Dreamweaver. In the second part, it goes over user authentification and creating an admin section for editing and deleting entries and topics. Trouble is, after I finished part 2 and uploaded everything, I cant access any of the pages that contain the forms for updating and such. What happens is that when I click on a link, I'm asked (again) for my username and password, and then directed back to the admin index.php page instead of the update_art.php page.
The tutorial has all the finished pages available for download. I checked the PHP code that Dreamweaver generated when I was finished to the finished product available to download. They were identical.
Now I think it either must be faulty PHP code that Dreamweaver generated, or else I have something commented or uncommented that shouldn't be in Apache's config files (my website is hosted on my home computer - for fun!).
Unfortunately I'm at school right now, so I can't get at my files until tonight. However, this person had the same problem as me, and the code is posted.
Any help would be greatly appreciated! I'm very new to all of this - PHP, MySQL, Apache, etc. I'm thoroughly enjoying learning it, but dont know nearly enough to solve a problem like this.
- Wolf
This is my first time using these forums, so I'm not sure if this is the right place to post this. But I use a Mac, so at least it's a start.
My problem is this: I've been woking on building a blog for my website based on this tutorial for Dreamweaver. In the second part, it goes over user authentification and creating an admin section for editing and deleting entries and topics. Trouble is, after I finished part 2 and uploaded everything, I cant access any of the pages that contain the forms for updating and such. What happens is that when I click on a link, I'm asked (again) for my username and password, and then directed back to the admin index.php page instead of the update_art.php page.
The tutorial has all the finished pages available for download. I checked the PHP code that Dreamweaver generated when I was finished to the finished product available to download. They were identical.
Now I think it either must be faulty PHP code that Dreamweaver generated, or else I have something commented or uncommented that shouldn't be in Apache's config files (my website is hosted on my home computer - for fun!).
Unfortunately I'm at school right now, so I can't get at my files until tonight. However, this person had the same problem as me, and the code is posted.
Any help would be greatly appreciated! I'm very new to all of this - PHP, MySQL, Apache, etc. I'm thoroughly enjoying learning it, but dont know nearly enough to solve a problem like this.
- Wolf