seCret steVe Posted March 14, 2003 Share Posted March 14, 2003 Would like to know if anyone knows of a good way of creating a object orientated site? Im working on a new php site but have never done object orientated stuff before.... example: http://corephp.sourceforge.net/index?act=subscribe that last part is what im talking about hopefully im asking the proper question. Thanks for your time And just to let you know the site is for contribitors, learners, and a resource site. With the help of many people im hoping to make this a new home for php learning and resourcing....a one stop place.....im open for suggestions. Steve Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 16, 2003 Share Posted March 16, 2003 Would like to know if anyone knows of a good way of creating a object orientated site? And what would that be? :shock: Christian Lescuyer Link to comment Share on other sites More sharing options...
seCret steVe Posted March 17, 2003 Author Share Posted March 17, 2003 maybe im explaining it wrong...... here is an example of what i mean: http://yourwebdomain.com/index.php?act=support the ending part of index.php....that is mainly what im talking about....how do i apply that to my web site? Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 17, 2003 Share Posted March 17, 2003 http://yourwebdomain.com/index.php?act=supportOh, right. First, a little vocabulary: this has nothing to do whatsoever with "object oriented." It's called GET parameters. (You also have POST parameters for HTML forms.) When you call a page with GET parameters, they will be available to the PHP code. In your example, you could print the value: <?php print $_GET['act']; ?> will print support in you page. Christian Lescuyer Link to comment Share on other sites More sharing options...
toolcrazy Posted March 17, 2003 Share Posted March 17, 2003 http://yourwebdomain.com/index.php?act=supportOh, right. First, a little vocabulary: this has nothing to do whatsoever with "object oriented." It's called GET parameters. (You also have POST parameters for HTML forms.) When you call a page with GET parameters, they will be available to the PHP code. In your example, you could print the value: <?php print $_GET['act']; ?> will print support in you page. And this is you lesson in PHP for the day, learn it well. So, what are we learning next week, teach? I hope something fun!! :D :D Steve ------------------------- Link to comment Share on other sites More sharing options...
seCret steVe Posted March 21, 2003 Author Share Posted March 21, 2003 hey thanks.....i will work on getting that implemented into my site for a nicer look and easier navigation. What are we learning next week....well depends on what im going to start working on Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.