|
Ravn Revheim - 05 Sep 2008
On a norwegian keyborad, and I'm guessing on danish and swedish as well, it is located to the left of the backspace key.
Gus jones - 05 Sep 2008
With safemode on the backtips don't seem to work. I get this error message:
Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in
C:\Program Files\xampp\htdocs\gus_jones\testinfo.php on line 77
Fine with me...
A PHP User - 05 Sep 2008
hum... executing shell commands inside scripts seems dangerous to me. Imagine your users putting commands like "w", "ps -ef", "netstat -rn", "ls /" and so on inside PHP scripts in their public_html directories! How do i disable this feature?
thnx!
A macintosh User - 05 Sep 2008
On my Apple Macintosh PowerBook Laptop running OS X it is the same as the Tilde "~" button left of the one. The previous poster might have an older keyboard.
A PHP User - 05 Sep 2008
lol, man \n is for console, and while <br> is working for you, u are viewing your scripts via browser.
second not print 'dir';
but print `dir`;
anyway as mentioned before you should check your php configuration - is safe mode on? well then u can use shell_execute() or what was the name...
o@jonchrist.org - 05 Sep 2008
Hi,
thanks for this great ebook!
On my localhost (Apache-Server 2.0 runs in WIN XP) neither "/n" (helped myself with <br>) etc. nor e.g. "<?php print 'dir'; ?>" do something. Is this because of adjustments of the localhost (Apache 2.0)?
Pls give the Dummy (me!) a hint. Thanks in advance.
Oliver from DE-Hamburg ;)
Dvorak user - 05 Sep 2008
On Kinesis Dvorak keyboard, this is the key under the QWERTY "Z" or the Dvorak ";".
A PHP User, Navi - 05 Sep 2008
Beware of safe mode - usully on most hostings you just cannot use 'executing' of commands - which might differ from your "localhost" settings at home.
Igor - 05 Sep 2008
Happy Mac users should look for back tick left of "Z" key. :-D
Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.
If you are reporting an error in the content, please tell me directly.
|