Jump to content


Should I use PHP

  • Please log in to reply
4 replies to this topic

#1 jeffpoulsen

  • Members
  • PipPip
  • Member
  • 14 posts

Posted 05 October 2006 - 03:06 PM

Hello all,
      I'm new to the forum so hello. I know nothing about PHP, a little about Java and HTML ( very little), but have the following need. I need to know if PHP can work before I look into it. I need a secure site that allows users to access information pages with links to PDF, HTML, DOC, XLS files etc. I need to be able to control login so that during login the user(s) are directed to the files they are allowed to see and not allow a user to revisit a page by saving the url and thus bypass the login. Also I need to be able to control (add and suspend) user or groups on the fly. And in addition harvest information such as email addresses, names etc along with ip addresses browsers, etc. And be able to validate these fields. Then send this information or log to an excel spreadsheet or similar and an html file. Can this all be done with PHP?

#2 redbullmarky

  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 05 October 2006 - 03:10 PM

the simple answer is yes, quite easily.
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#3 obsidian

  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 05 October 2006 - 03:17 PM

welcome to the forums! i hope you find all the help you're looking for. i'll expand on redbullmarky's answer a tad ;)

i think quite easily may be an oversimplification, but yes, everything you're after can be accomplished through PHP scripts. if your login control is written well, you can easily accomplish most of what you're after, however, it can be challenging to get a well-written and well-rounded login script when you're first learning.

one question: when you say harvest information such as email addresses, are you referring to simply tying the email address of the user with their actions on the site? if so, again, as long as your login script is written in such a way as to support such action, you'll have no problem at all tying all information to every action the user makes on the site. you can even go so far as to log every single action the user takes on your site (similar to what you're after with your excel file, i'm sure).

i hope this gives you a little to go on. as you have specific questions regarding coding portions of this, feel free to start specific topics to discuss best practices and such.

good luck!
You can't win, you can't lose, you can't break even... you can't even get out of the game.

while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#4 jeffpoulsen

  • Members
  • PipPip
  • Member
  • 14 posts

Posted 05 October 2006 - 03:50 PM

Thanks for a quick reply. I can feel confident that PHP is worth the time. jeff

#5 Daniel0

  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 05 October 2006 - 06:05 PM

I also think that PHP is known to be easy to learn, so just get started :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users