 |
 | $_SERVER |  |
Veteran
Joined: 15 Nov 2003 |
Posts: 118 |
|
|
 |
Posted: Sun Oct 28, 2012 12:51 pm |
|
 |
 |
 |
 |
When i type
$_SERVER['
can you please show a pop up of valid $_SERVER vars ( http://php.net/manual/en/reserved.variables.server.php), rather than a mile long list of random text (?)
Dreamweaver has this feature, and i'm really missing it
This would save me tons of time. Thank-you.
|
|
 |
 | |  |
Veteran
Joined: 15 Nov 2003 |
Posts: 118 |
|
|
 |
Posted: Mon Jul 29, 2013 8:23 am |
|
 |
 |
 |
 |
I know that anything can be in the $_SERVER variable, but the indexes i'd expect to see in a popup list when i
type
$_SERVER['
are the ones that are documented in PHP:
http://php.net/manual/en/reserved.variables.server.php
If my program has this line in the code:
$_SERVER['APPLES_AND_PEARS']
Then i'd expect PHPEd to also show that index too.
The server can add stuff at runtime to this variable; obviously phpEd cant know this.
|
|
Joined: 30 Jun 2009 |
Posts: 79 |
|
|
 |
Posted: Mon Jul 29, 2013 8:31 am |
|
 |
 |
 |
 |
I did bring this up a few months back.
See this thread:
http://forum.nusphere.com/associative-array-key-name-autocomplete-t8963.html
Essentially, it's not a bug, it's a feature. Good luck trying to convince them otherwise.
|
|
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
Veteran
Joined: 15 Nov 2003 |
Posts: 118 |
|
|
 |
Posted: Mon Jul 29, 2013 9:11 am |
|
 |
 |
 |
 |
Indeed you do, in a list that also has hundreds of other values. (pointless and a waist of time). Im not going to search through hundreds of index names that are totally unrelated.. thats just plain silly.
Basicly, every time i want to use a $_SERVER predefined index in PHPEd, i have to go to the PHP website, and look up what the index is called, as i cant remember them. Not a very quick solution.
In Dreamweaver, i type $_SERVER[' and it shows me the server index names as defined in the php manual.
Its actually quicker for me to pause using phpEd, open DW, open the file im working on. Use DW to show me the indexes, then close DW and return to phped!! Thats totally insane.
I just don't understand why you think a list of a hundred different unrelated indexes is acceptable? It's not. Listen to your customers. What you think is ok is fine, but you don't pay for the software; you write the software for your CUSTOMERS.
Are you not reading what i'm writing (and what others are writing) ?
Maybe you just don't understand... This is very frustrating indeed.
|
|
 |
 | |  |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 2
|
|
|
|  |