Topic awaiting preservation: this may sound stupid, but I'm no genius at php (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 02-05-2002 10:58
trying to learn it actually.. well I have a question.... |
Paranoid (IV) Inmate From: Lebanon |
posted 02-05-2002 11:32
if i understand you well: code: <? if ($command=='intro') {?>
|
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 02-10-2002 13:43
thanks much. |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 02-15-2002 06:08
actually I found a MUCH better way which is 100% more efficient. http://slashdot.co.uk/test.phps |
Paranoid (IV) Inmate From: Lebanon |
posted 02-15-2002 12:55
your link is dead: http://slashdot.co.uk/test.phps |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 02-16-2002 04:32
http://www.gamersmix.gametribe.net/cgi-bin/ftpex/FTPex.cgi?browse&scripts/PHP |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-16-2002 05:31
If you're referring to the phpbrowsingswitch.php page, here is how I would do it: |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 02-16-2002 23:04
same same....all still works. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-17-2002 00:49
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-17-2002 05:51
Good point. I like your example. I was merely showing that SWITCH is a good way to do things. We can beef up security and stuff, but I think people don't use SWITCH as much as they could. I've seen code with more IF statements than you can shake a stick at...... |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 17:08
One of these days people are going to wake up and realize that PHP's true power is not in it's ability to display different pages based on a single GET variable... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-20-2002 17:17
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 19:04
Actually, I already know Java. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-20-2002 19:16
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 19:20
True; that is very basic. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-20-2002 19:51
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 19:53
Who's bragging? |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 09-14-2002 00:10
actually a much simpler method is to put your index stuff as default :P |
Paranoid (IV) Inmate From: Seattle, WA, USA |
posted 09-14-2002 02:45
how about everybody stops arguing and realizes that I am the 1337est of you all |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 06-14-2003 16:34
actually, if you know your box has a secure php set up, you need not worry about such security measures, becuase I know my friend has a set up with php that disables off-site linking, however, I do see where you're coming from, and how it could be used for internal security breaches. |
Maniac (V) Inmate From: there...no..there..... |
posted 06-15-2003 10:48
well, call me a n00b or whatever but why not use SSI? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-15-2003 12:21
as if off site likning would be the only problem with that approach... |