Re: [PHP] Array has `trailing comma`, why not the same for function parameter list?

2011-10-30 Thread Jeremiah Dodds
On Sun, Oct 30, 2011 at 8:47 AM, Nam Gi VU wrote: > It is convenient to have a trailing comma when defining an array - so as > easy to add/remove code to add/remove an entry to the array > > array( >    'key00' => 'value00', >    'key01' => 'value01', >    'key02' => 'value02', >    ... > ) > > I

Re: [PHP] function.session-start in Webmaster Tools

2011-10-30 Thread Jeremiah Dodds
On Sun, Oct 30, 2011 at 4:30 PM, Rick Dwyer wrote: > Hello all. > > Not sure just how much of this is PHP related, but hoping someone has come > across this before. > > I Google's webmaster tools for a site I work on, they list more than 100 > crawl errors for pages with URL's as follows: > > http

Re: [PHP] Novice question

2011-10-30 Thread Rico Secada
On Sun, 30 Oct 2011 17:24:07 - "John Allsopp" wrote: > Hi > > I'm afraid I've fallen a little out of touch with PHP dev, so a stupid > question for you. > > I want to write a script that requests a URL and then reads that > website .. I'm interested to map web structures. My web host is > s

[PHP] function.session-start in Webmaster Tools

2011-10-30 Thread Rick Dwyer
Hello all. Not sure just how much of this is PHP related, but hoping someone has come across this before. I Google's webmaster tools for a site I work on, they list more than 100 crawl errors for pages with URL's as follows: http://mydomain.com/My-Directory/function.session-start Can any

Re: [PHP] Zend Amf and Drupal?

2011-10-30 Thread Lars Nielsen
Silence ? I havn't got any responses from drupal.org, and i think its very quiet here too? Should I start to analyze the code to understand the inner workings? Can anyone give some advise on where to get more information? Or... is there another proven way to communicate between Flash and PHP/D

Re: [PHP] Novice question

2011-10-30 Thread Bastien
On 2011-10-30, at 2:45 PM, Marc Guay wrote: >> I want to write a script that requests a URL and then reads that website >> .. I'm interested to map web structures. My web host is saying I'll need >> URL file access enabled but that it's a) a security risk and b) >> deprecated. > > > simplehtml

Re: [PHP] Novice question

2011-10-30 Thread Marc Guay
> I want to write a script that requests a URL and then reads that website > .. I'm interested to map web structures. My web host is saying I'll need > URL file access enabled but that it's a) a security risk and b) > deprecated. simplehtmldom is pretty great for this, if I understand your needs

Re: [PHP] Novice question

2011-10-30 Thread Negin Nickparsa
Your question is NOT Novice and I really want to know the answer like you. On 10/30/11, John Allsopp wrote: > Hi > > I'm afraid I've fallen a little out of touch with PHP dev, so a stupid > question for you. > > I want to write a script that requests a URL and then reads that website > .. I'm int

[PHP] Novice question

2011-10-30 Thread John Allsopp
Hi I'm afraid I've fallen a little out of touch with PHP dev, so a stupid question for you. I want to write a script that requests a URL and then reads that website .. I'm interested to map web structures. My web host is saying I'll need URL file access enabled but that it's a) a security risk an

[PHP] Dependency Injection Implementation

2011-10-30 Thread jean-baptiste verrey
Hi everyone, Dependency Injection is a very trendy subject and after reading about it I kinda thought about rewriting the framework I'm doing with dependency injection. So I made my own implementation and was wondering what would you think about it? I have followed the article of Martin Fowler ( h

[PHP] Array has `trailing comma`, why not the same for function parameter list?

2011-10-30 Thread Nam Gi VU
It is convenient to have a trailing comma when defining an array - so as easy to add/remove code to add/remove an entry to the array array( 'key00' => 'value00', 'key01' => 'value01', 'key02' => 'value02', ... ) I suggest to PHP Development team to make it available in the syntax

Re: FW: [PHP] What is an information_id in directory

2011-10-30 Thread Lester Caine
Ernie Kemp wrote: 2 - Make a new content area in Site Manager->Content Manager. It doesn't matter what you put in your content area, you could just put "This is my new content area" or "Hello World" if you so choose. 3 - Grab the information_id of the new content area you made. When you are edit