Jump to content


Photo

Login area question


  • Please log in to reply
11 replies to this topic

#1 benjonusa

benjonusa
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 13 September 2006 - 03:29 PM

Hi guys - well I'm sure you're all sick of hearing about this problem.  I've done a thousand searches on this topic and just can't find what I'm looking for.  First of all, I'm not a programmer so I was screwed from the beginning.  I know a bit about Mysql, html etc. What I need is a login script to authenticate users and a client area.  The login box is on the home page.  No problem, did that with the help of dreamweaver linked to a username database.  Haven't got a clue if it's secure so any advice there would be great.  Secondly, based on the username, upon login I want my clients (accounting clients) to be sent to their own area which has their company details and a list of accounting reports that i uploaded to the database.  They can then click on their reports for printing or downloading.  These are pdf files. They should also be able to upload scanned documents to this area also.  Icing on the cake would be if they could manage their username & passwords but that is not important right now. So to summarize:
1. Secure Username/Password
2. Secure Client area, displaying info and files related only to customer
3. Box to securely upload scanned documents.

Thats it.  Any takers?  I'm sure you guys find this stuff ridiculously simple but I'm done reading PHP & MySQL books and designing pet store shopping carts and too broke to hire a pro.  Appreciate any advice.  Take care.

Ben.

#2 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 13 September 2006 - 08:11 PM

My advice to you, is drop Dreamweaver completely. No joke. It leads to bad coding practices and makes for a slower learning process. Learn to handcode everything. Next, visit http://www.php.net and look through the diferent PHP functions and such. There are countless working examples you can test on your own server. There are also quite a few sites with great PHP tutorials all over the web. My suggestion is to take that route, rather than looking for the code. Understanding the fundamentals of PHP will get you very far. Generally, these boards are for providing help with existing code, rather than a place to find working scripts.
PHP Ninja

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 13 September 2006 - 08:13 PM

we are all pro on here m8 what cheek.

put it in the freelance forum and i am sure someone do it as exspirence.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 benjonusa

benjonusa
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 13 September 2006 - 09:32 PM

Caesar - thanks for your reply.  I would learn how to hand code but I'm an accountant just starting a company and really don't have time to learn - wish I did!  So I'm stuck building the bulk of it in Dreamweaver then cleaning up what I can afterwards.  I've looked at around 20 examples so far and tested them on my server, modified them a bit, tried to tweak them.  They never seem that "great" once put into practice.  Get what you pay for right?  I appreciate you spending the time replying though.

Redarrow - where's the cheek? and where are you from?  I'm from Hackney, London.  So you're a pro huh? Not sure how you could have taken offence to my question.  I've read through these boards and I was assuming that asking questions was what a forum is for. I wasn't asking for a free script but free advice such as Caesar provided.  I've had a couple of quotes from you "pros" and 2-3K is the average bid.  I've done half of the leg work already in just three days learning as I go.  SO, thanks for the advice on using a "freelancer", over the internet (great idea), so they can get the experience at my companies expense, which is on a strict budget, which is why I'm here - that could only be advice from a "pro" - but I think I'll stick to doing it myself and getting hints from people like caseer. By the way, if you're a pro and scouting work, clean up your language.  How can you write code that depends on cleanliness but not string a sentence together in English.  Watch YOUR bloody cheek, mate!

#5 roopurt18

roopurt18
  • Staff Alumni
  • Advanced Member
  • 3,749 posts
  • LocationCalifornia, southern

Posted 13 September 2006 - 09:44 PM

If you don't want to learn PHP yourself, then a freelancer might be your best bet.  Using and tweaking scripts from the net that weren't meant to be used together can have unexpected consequences, such as your site not being quite secure.
PHP Forms : Part I | Part II

JavaScript: Singleton

http://www.rbredlau.com

#6 benjonusa

benjonusa
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 13 September 2006 - 10:13 PM

Hey there - I have thought about it, I just have trust issues with regard to freelancers.  I can't learn PHP like you guys but my needs are pretty minimal for now so winging it has worked so far.  I've got my website set up, I have all of my forms working excluding the unsecure login form - I even have my ssl certificate.  I feel like I'm almost there - maybe not.  I'll keep trying, I'm not on a deadline - I may get lucky.  Appreciate your time.  I'll go that route if all else fails.  Thanks alot.

#7 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 13 September 2006 - 10:36 PM

I'm frightened to offer advice now ;)

I've been signed up to these forums for about two weeks now, and I could easily do what you've asked, based on the knowledge I've picked up here.  Unfortunately I don't have the time to do it for you with my work commitments, but I'm sure by searching the posts on this forum alone, you'll find what you're looking for.

Good luck and I look forward to reading some of your code and helping out if I can.

Regards
Rich
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools

#8 benjonusa

benjonusa
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 13 September 2006 - 10:43 PM

Hello - thanks for writing.  These forums are turning out to be a godsend.  I've searching for a couple of hours now - getting some good stuff.  As soon as I finish my coding I'd be glad to let you rip it apart and tell me what a mess I've made.  Cheers.

#9 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 13 September 2006 - 10:46 PM

Good for you, it's nice to see someone who wants to learn but doesn't have time, as opposed to those who have the time, but just can't be arsed!

Rich
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools

#10 gijew

gijew
  • Members
  • PipPipPip
  • Advanced Member
  • 240 posts
  • LocationCalifornia

Posted 13 September 2006 - 10:51 PM

You know Ben, one thing you may want to try is to check out pre-built system such as PHPNuke, Postnuke, Xoops, etc to see if they may fit into something you are looking for.  Personally, I learned to code from following their quite brilliant coding practices (even though I still stink compared to most of them).

I used to work for the local government and I set up a Postnuke intranet portal in all of 2 minutes.  It was completely "themed" for me, had a user account section and everything.  I looked around the internet and found quite a few modules that at least did close to what it was that I needed.  Might be worth a shot if you want something "out of the box" like that.

The geek in me says "build it and they will come..."
I'm considered good looking in some countries

#11 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 13 September 2006 - 10:56 PM

gijew,

I hate to hijack this thread, but had to mention this quickly... I love the way that your Dev environment looks nothing like your Prod environment.  Now that's good Release Management procedure  ::)

he he
Huggie
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools

#12 benjonusa

benjonusa
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 13 September 2006 - 11:40 PM

Hi gijew - I have heard a little about php nuke but know nothing.  I'll take your advice there and check it out.  Thank you.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users