php-general Digest 10 Dec 2009 15:27:50 -0000 Issue 6480

2009-12-10 Thread php-general-digest-help
php-general Digest 10 Dec 2009 15:27:50 - Issue 6480 Topics (messages 300357 through 300358): Re: SimpleXML or DOMDocument help 300357 by: Michael Alaimo I have not seen any messages for a couple of days... 300358 by: Jay Blanchard Administrivia: To subscribe to the

php-general Digest 11 Dec 2009 05:29:52 -0000 Issue 6481

2009-12-10 Thread php-general-digest-help
php-general Digest 11 Dec 2009 05:29:52 - Issue 6481 Topics (messages 300359 through 300380): Re: I have not seen any messages for a couple of days... 300359 by: Robert Cummings 300361 by: Ashley Sheridan 300362 by: reda khyatti 300363 by: Tom Calpin

[PHP] Re: SimpleXML or DOMDocument help

2009-12-10 Thread Michael Alaimo
Michael Alaimo wrote: Hello All, I have an XML document that has elements as such: Query:Expression Query:ResourceID Query:EqualTest/Query:Equal /Query:ResourceID /Query:Expression I cannot figure out how to access these with simple xml.

[PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Jay Blanchard
...is this thing on? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Robert Cummings
No, it's been broken for days. You won't get any emails for at least another week. Jay Blanchard wrote: ...is this thing on? -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] file_get_contents ($file) works -- file_get_contents ($url) returns false

2009-12-10 Thread René Fournier
I thought error_reporting would display them, but I guess php.ini had them suppressed. Anyway, with: ?php error_reporting(-1); ini_set('display_errors', 1); set_time_limit(0); var_dump (file_get_contents ('http://www.google.com')); ? I get: Warning: file_get_contents(http://www.google.com):

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 10:29 -0500, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. Jay Blanchard wrote: ...is this thing on? -- http://www.interjinn.com Application and Templating Framework for PHP Erm? I'm

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread reda khyatti
yes it is On Thu, Dec 10, 2009 at 11:27 AM, Jay Blanchard jblanch...@pocket.comwrote: ...is this thing on? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- khyatti Reda Tel: +21255880898

[PHP] RE: I have not seen any messages for a couple of days...

2009-12-10 Thread Tom Calpin
Yep, although Christmas shopping seems to be higher on the agenda than PHP Wait till a week before Christmas and we'll have a slew of messages from desperate developers trying to complete to a client deadline :) -Original Message- From: Jay Blanchard [mailto:jblanch...@pocket.com]

Re: [PHP] PHP 5.3 Code Documentor

2009-12-10 Thread Lester Caine
Andrew Mason wrote: Hi all, Is anyone aware of a code documentation generator like phpdoc or doxygen that supports the PHP 5.3 namespaces ? I tried adding support to doxygen myself but didn't have a whole lot of luck and didn't have huge amounts of time to spend on learning flex/yacc. Well it

[PHP] Using Curl to replicate a site

2009-12-10 Thread Ashley Sheridan
Hi, I need to replicate a site on another domain, and in this case, an iframe won't really do, as I need to remove some of the graphics, etc around the content. The owner of the site I'm needing to copy has asked for the site to be duplicated, and unfortunately in this case, because of the CMS

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Ashley Sheridan wrote: Hi, I need to replicate a site on another domain, and in this case, an iframe won't really do, as I need to remove some of the graphics, etc around the content. The owner of the site I'm needing to copy has asked for the site to be duplicated, and unfortunately in this

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 11:10 -0500, Robert Cummings wrote: Ashley Sheridan wrote: Hi, I need to replicate a site on another domain, and in this case, an iframe won't really do, as I need to remove some of the graphics, etc around the content. The owner of the site I'm needing to copy

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Joseph Thayne
If the site can be a few minutes behind, (say 15-30 minutes), then what I recommend is to create a caching script that will update the necessary files if the md5 checksum has changed at all (or a specified time period has past). Then store those files locally, and run local copies of the

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread tedd
At 10:29 AM -0500 12/10/09, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. What's been broken? I've been receiving [PHP] post everyday. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Ashley Sheridan wrote: On Thu, 2009-12-10 at 11:10 -0500, Robert Cummings wrote: Ashley Sheridan wrote: Hi, I need to replicate a site on another domain, and in this case, an iframe won't really do, as I need to remove some of the graphics, etc around the content. The owner of the site

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Joseph Thayne wrote: If the site can be a few minutes behind, (say 15-30 minutes), then what I recommend is to create a caching script that will update the necessary files if the md5 checksum has changed at all (or a specified time period has past). Then store those files locally, and run

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Robert Cummings
tedd wrote: At 10:29 AM -0500 12/10/09, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. What's been broken? I've been receiving [PHP] post everyday. Nothing is broken... it was a joke. How could it be broken if you receive my

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 11:25 -0500, Robert Cummings wrote: Joseph Thayne wrote: If the site can be a few minutes behind, (say 15-30 minutes), then what I recommend is to create a caching script that will update the necessary files if the md5 checksum has changed at all (or a specified

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 11:26 -0500, Robert Cummings wrote: tedd wrote: At 10:29 AM -0500 12/10/09, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. What's been broken? I've been receiving [PHP] post everyday. Nothing is

Re: [PHP] mysterious include problem

2009-12-10 Thread Jochem Maas
Ashley Sheridan schreef: On Tue, 2009-12-08 at 17:32 +0100, Jochem Maas wrote: Hi Allen, gonna be a bit ruthless with you :). 1. your not filtering your input (your open to include being hacked) 2. your not validating or error checking (e.g. does the include file exist??) 3. keeping

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Jochem Maas
Ashley Sheridan schreef: On Thu, 2009-12-10 at 11:26 -0500, Robert Cummings wrote: tedd wrote: At 10:29 AM -0500 12/10/09, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. What's been broken? I've been receiving [PHP] post

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Paul M Foster
On Thu, Dec 10, 2009 at 08:01:51PM +0100, Jochem Maas wrote: Ashley Sheridan schreef: On Thu, 2009-12-10 at 11:26 -0500, Robert Cummings wrote: snip Telepathic email servers? I've heard they're becoming more popular these days. no, your confused with that other list php-psychics.

Re: [PHP] mysterious include problem

2009-12-10 Thread Kim Emax
LinuxManMikeC wrote on 2009-12-07 22:48: Instead of hard coding cases you can validate and constrain the input with a regex. Much more flexible when adding content. I would also add code to make sure the file exists, otherwise fall through to the default. In huge sites with a lot of include

Re: [PHP] mysterious include problem

2009-12-10 Thread Kim Madsen
LinuxManMikeC wrote on 2009-12-07 22:48: Instead of hard coding cases you can validate and constrain the input with a regex. Much more flexible when adding content. I would also add code to make sure the file exists, otherwise fall through to the default. In huge sites with a lot of

[PHP] Upload dir

2009-12-10 Thread kranthi
How can i change the temporary upload directory? var_dump(ini_get('upload_tmp_dir')); gives me (and that is set in php.ini) string '/var/www/cgi-bin' (length=16) but var_dump($_FILES) gives me 'tmp_name' = string '/tmp/phpbSZ6WP'

Re: [PHP] file_get_contents ($file) works -- file_get_contents ($url) returns false

2009-12-10 Thread Gaurav Kumar
A very typical problem. Good you sent the error message. This problem can be caused due to one of the following- 1. I have faced similar problem due to local firewall settings. 2. Try some other domain; i.e. other than google com. Try some of the local area website with a particular page like

Re: [PHP] Upload dir

2009-12-10 Thread Gaurav Kumar
OK you used ini_get try using ini_set and set the temporary directory on your server of your choice at run time in your script (top of the script or any config file if you have one). REMEMBER that you have access to that directory, should have full permissions and also check the absolute server

Re: [PHP] Upload dir

2009-12-10 Thread kranthi
i doubt i can use ini_set in this scenario http://us3.php.net/manual/en/ini.core.php#ini.upload-tmp-dir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php