php-general Digest 25 Nov 2011 14:13:24 -0000 Issue 7583

2011-11-25 Thread php-general-digest-help
php-general Digest 25 Nov 2011 14:13:24 - Issue 7583 Topics (messages 315802 through 315806): Retrieve subjectAltName from client certificate 315802 by: Nelson Teixeira news and article posts in one table 315803 by: muad shibani 315804 by: Geert Mak Hi!

[PHP] Method argument context resolution syntax

2011-11-25 Thread Dmitry
Hello, everybody. What do you think about this? https://bugs.php.net/bug.php?id=60372

[PHP] Is there a decent design app ?

2011-11-25 Thread Andreas
Hi Is there a decent design app that can automatically update links within the pages of a php site whenever a referred file gets moved or renamed? Like you have /foo.css and for some reason or another you move it to /lib/css and rename it to bar.css. Now it'd be nice if an IDE was aware of

Re: [PHP] Is there a decent design app ?

2011-11-25 Thread muad shibani
you can use find and replace feature in some IDEs to accomplish your task .. Dreamweaver do the job but with links inside HTML code On Sat, Nov 26, 2011 at 2:17 AM, Andreas maps...@gmx.net wrote: Hi Is there a decent design app that can automatically update links within the pages of a php

[PHP] Howto detect the hostname of the server?

2011-11-25 Thread Andreas
Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to store logfiles. I'd like to do something like: if ( $_SERVER['some_key'] = 'my_test_box'

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Stuart Dallas
On 26 Nov 2011, at 00:14, Andreas wrote: Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to store logfiles. I'd like to do something

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Mark Kelly
Hi. On Saturday 26 Nov 2011 at 00:14 Andreas wrote: how could I identify the server the script runs on? [snip] I looked into phpinfo() but haven't found anything helpful, yet. Have I overlooked something or is there another way to identify the server? Wouldn't the server IP address in

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Stuart Dallas
On 26 Nov 2011, at 00:24, Stuart Dallas wrote: On 26 Nov 2011, at 00:14, Andreas wrote: Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Stuart Dallas
On 26 Nov 2011, at 00:24, Stuart Dallas wrote: On 26 Nov 2011, at 00:14, Andreas wrote: Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Simon J Welsh
On 26/11/2011, at 1:14 PM, Andreas wrote: Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to store logfiles. I'd like to do something

[PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Andreas
Hi again, is there a tutorial for the structure of an php-app? There are more than enough books and online docs that teach the basics of PHP and of course the native mysql commands. I'd now rather need a help to figure out how to pull up a wee bit more complex app. I know how to connect to a

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Andreas
Am 26.11.2011 01:35, schrieb Simon J Welsh: On 26/11/2011, at 1:14 PM, Andreas wrote: how could I identify the server the script runs on? php_uname('n'); http://php.net/php_uname Great, that even works on a ssh-tunnel. I got derailed by the fact that my tunnel maps the remote server to

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tommy Pham
On Fri, Nov 25, 2011 at 4:38 PM, Andreas maps...@gmx.net wrote: Hi again, is there a tutorial for the structure of an php-app? There are more than enough books and online docs that teach the basics of PHP and of course the native mysql commands. I'd now rather need a help to figure out how

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Bastien
On 2011-11-25, at 7:38 PM, Andreas maps...@gmx.net wrote: Hi again, is there a tutorial for the structure of an php-app? There are more than enough books and online docs that teach the basics of PHP and of course the native mysql commands. I'd now rather need a help to figure out how

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Curtis Maurand
On 11/25/2011 7:35 PM, Simon J Welsh wrote: On 26/11/2011, at 1:14 PM, Andreas wrote: Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to

[PHP] PHP exercises

2011-11-25 Thread Larry Garfield
Hi folks. A friend of mine is trying to learn PHP. She already knows programming basics, but wants to learn PHP specifically. However, she learns much better with assignments or exercises than just from reading articles or books. The only site I've found so far is PHP Exercises

Re: [PHP] PHP exercises

2011-11-25 Thread shiplu
On Sat, Nov 26, 2011 at 11:54 AM, Larry Garfield la...@garfieldtech.comwrote: Hi folks. A friend of mine is trying to learn PHP. She already knows programming basics, but wants to learn PHP specifically. However, she learns much better with assignments or exercises than just from reading

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Tamara Temple
Andreas maps...@gmx.net wrote: Am 26.11.2011 01:35, schrieb Simon J Welsh: On 26/11/2011, at 1:14 PM, Andreas wrote: how could I identify the server the script runs on? php_uname('n'); http://php.net/php_uname Great, that even works on a ssh-tunnel. I got derailed by the fact

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tamara Temple
Bastien phps...@gmail.com wrote: Why not download some and dig into them? Something from sourceforge or a cms like pyrocms? See how they stuck it all together. This is not a bad idea at all. Learning from something concrete, how they do things, looking into why they chose to do it that, etc.