Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A dummy wants to learn PHP.
#11
Or include_once if you're a lazy coder Tongue

Naaah... I like the header() function... especially sending a Location: header :lol:
Reply
#12
Will you guys stop! You are making me feel stupid.

Tongue

Just kidding.

Thanx, Nek. That thingie worked. Though I don't get it much.

this is the link: http://www.samods.com/~lachie/test.php
Reply
#13
What it does is show you all the capabilities, versions, configurations, and installed modules of php and its environment. For example, I noticed you have the gd library installed (albeit an old 1.x version)...that means you have access to all of PHP's graphical functions (sweeeet!). You have MySQL installed, so you have access to databases. Your server is at racknine.com, which is shown in the environment variable "hostname". POST uploads are enabled, you have a 2M limit (the default). Your server supports sessions (always nice to have) and openssl (gr8). Each part of phpinfo tells you what kind of capabilities you have. You can cross-reference everything at www.php.net in their online documentation to see what functions you have access to. PHP can be a little overwhelming at first but once you get the hang of it, especially if you have experience in C, it's a cakewalk. It's like going from VB to ASP...pure simplicity.

And umm...just for the record...for actual live sites, don't ever put out a phpinfo page. It exposes the server to a great number of weaknesses, because it gives absolute paths and many important server informations. Just warning you ahead of time. Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#14
What's the pupose of PHP IDE? I mean, I haven't tested it yet so I could use some general info about it. Does it work with online files? I mean, do you edit files uploaded on the net with it? Is this IDE neccesary since HTML doesn't have an IDE. I know that HTML is 1000 times simpler than PHP but what does this PHP IDE offer me?
Reply
#15
I didn't even know PHP had an IDE...but no, it can't be necessary considering how long I've been coding PHP without it Wink
I'd knock on wood, but my desk is particle board.
Reply
#16
I'm not sure it's IDE but when you download it from www.php.net , install it and simply run it you end up in somekind of...interface.
Reply
#17
I guess it's just another editor. There are loads of them around. And if you want to test the scripts offline, you'll need an local server, EasyPHP for example. You can find many useful things at http://www.hotscripts.com
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)