Up until today at college, this week has yet again been an unproductive week. I’ve found it really hard to get the PHP codes I’d practiced within the first couple of weeks, too work whilst on a server. That’s put me under a lot of stress, and I keep thinking I set myself too much to do at the start of the self managed learning plan. This was made worse when I realised I needed to add more work to the load, and include a login system to the photo gallery, so only authorised people can upload to the website. This was something I’d thought about but stupidly not researched into, so when I came to creating the login, I didn’t have a clue where to start.
The login system has taken up most of my time this week and put me behind schedule a fair way. It feels like I’ve had problems at every stage of creating the login, first I could not connect to the data base, and then I couldn’t start a session, after conformation of correct user and password from the database. After that I couldn’t hide the upload field from unauthorised people and so on. It felt like every time I finally got something to work, there was a problem with something else.
I finally got the login working in the morning at college after spending all the previous night correcting problems. It was a real burden of my shoulders, as at points the previous night I’d thought about scraping the login all together and just including a password field with the upload script. I’m really glad I didn’t give up with the login though as all the work has paid off and I feel quite proud with myself for getting it done.
My next task now, was to create the code to display the images from the folders onto the gallery page. Again this was something I’d not got to work previously and was one of the main bits of code the gallery needs to work. I spent most of today at college researching and trying different codes and after a few hours I finally got it to work. This was also causing me plenty of stress and I’m feeling a lot better now as all the PHP code is working.
For the final week all I need to do is finish styling the website and prepare everything for hand in next week.
Word count: 409
No comments:
Post a Comment