php-general Digest 30 Oct 2011 12:47:33 -0000 Issue 7545

2011-10-30 Thread php-general-digest-help
php-general Digest 30 Oct 2011 12:47:33 - Issue 7545 Topics (messages 315545 through 315550): PHP syntax - novice question 315545 by: Phil Dobbin 315546 by: Simon J Welsh 315547 by: Phil Dobbin Re: create file after form completion 315548 by: Tommy Pham Re:

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 editing

[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 to

[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 (

[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

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 j...@johnallsopp.co.uk 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

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 Bastien
On 2011-10-30, at 2:45 PM, Marc Guay marc.g...@gmail.com 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.

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] 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

Re: [PHP] Novice question

2011-10-30 Thread Rico Secada
On Sun, 30 Oct 2011 17:24:07 - John Allsopp j...@johnallsopp.co.uk 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

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 rpdw...@earthlink.net 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

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 nam.gi...@gmail.com 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',    ...