php-general Digest 9 Dec 2009 14:39:28 -0000 Issue 6478

2009-12-09 Thread php-general-digest-help
php-general Digest 9 Dec 2009 14:39:28 - Issue 6478 Topics (messages 300326 through 300331): (Slide Show) Developing PHP Web Applications with the Raxan Framework 300326 by: Raymond Irving Re: Force-Saving an Audio File 300327 by: Gaurav Kumar file_get_contents ($file)

php-general Digest 10 Dec 2009 03:14:21 -0000 Issue 6479

2009-12-09 Thread php-general-digest-help
php-general Digest 10 Dec 2009 03:14:21 - Issue 6479 Topics (messages 300332 through 300356): Re: file_get_contents ($file) works -- file_get_contents ($url) returns false 300332 by: LinuxManMikeC 300333 by: LinuxManMikeC 300334 by: René Fournier 300335 by:

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread Gaurav Kumar
You can do two things- 1. Read the file by providing a base directory path of the server where the file exist. Something like- //htdocs/httpfolder/files/audio/yourfile.mp3 You can take this in a variable //htdocs/httpfolder/files/audio/. 2. Try using file_get_contents. Something like $file =

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

2009-12-09 Thread René Fournier
Strange problem I'm having on Mac OS X Server 10.6 running PHP 5.3. Any call of file_get_contents() on a local file works fine -- the file is read and returned. But any call of file_get_contents on a url -- any url, local or remote -- always returns false. var_dump (file_get_contents

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

2009-12-09 Thread Richard Quadling
2009/12/9 René Fournier m...@renefournier.com: Strange problem I'm having on Mac OS X Server 10.6 running PHP 5.3. Any call of file_get_contents() on a local file works fine -- the file is read and returned. But any call of file_get_contents on a url -- any url, local or remote -- always

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

2009-12-09 Thread kranthi
may be unrelated to your problem... but are you behind a proxy? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where you are wanted!

2009-12-09 Thread promoaction
[url=http://iwantsex.110mb.com]Online speed dating iwantsex.110mb.com[/url] allows users to participate in 5 minute webcam based dates. Also offers speed dating reviews, personal ads and custom profiles. Welcome to http://iwantsex.110mb.com -- PHP General Mailing List (http://www.php.net/)

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

2009-12-09 Thread LinuxManMikeC
On Wed, Dec 9, 2009 at 6:45 AM, René Fournier m...@renefournier.com wrote: Strange problem I'm having on Mac OS X Server 10.6 running PHP 5.3. Any call of file_get_contents() on a local file works fine -- the file is read and returned. But any call of file_get_contents on a url -- any url,

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

2009-12-09 Thread LinuxManMikeC
On Wed, Dec 9, 2009 at 8:02 AM, LinuxManMikeC linuxmanmi...@gmail.com wrote: On Wed, Dec 9, 2009 at 6:45 AM, René Fournier m...@renefournier.com wrote: Strange problem I'm having on Mac OS X Server 10.6 running PHP 5.3. Any call of file_get_contents() on a local file works fine -- the file is

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

2009-12-09 Thread René Fournier
No. And it doesn't matter if the url is local (localhost, host.domain.com) or remote. On 2009-12-09, at 10:30 PM, kranthi wrote: may be unrelated to your problem... but are you behind a proxy?

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

2009-12-09 Thread René Fournier
It is, and I use curl elsewhere in the same script to fetch remote content. This exact same function works fine on my MacBook Pro (10.6 client, PHP 5.3), and *was* previously working fine under Server 10.4.11 and PHP 5.3, On 2009-12-09, at 11:10 PM, laruence wrote: try wget

[PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Roberto
Hi all, I've just written a small tool for Emacs that will allow to browse PHP documentation directly from within Emacs. I thought you might be interested in it: http://aloiroberto.wordpress.com/2009/12/09/php-and-emacs-how-to-browse-documentation/ It is released with GNU GPLv3 license and it

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

2009-12-09 Thread Richard Quadling
2009/12/9 René Fournier m...@renefournier.com: It is, and I use curl elsewhere in the same script to fetch remote content. This exact same function works fine on my MacBook Pro (10.6 client, PHP 5.3), and *was* previously working fine under Server 10.4.11 and PHP 5.3, On 2009-12-09, at 11:10

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread cool
On Dec 9, 2009, at 12:27 AM, Gaurav Kumar wrote: You can do two things- 1. Read the file by providing a base directory path of the server where the file exist. Something like- //htdocs/httpfolder/files/audio/yourfile.mp3 You can take this in a variable //htdocs/httpfolder/files/audio/.

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread Shawn McKenzie
c...@hosting4days.com wrote: On Dec 9, 2009, at 12:27 AM, Gaurav Kumar wrote: You can do two things- 1. Read the file by providing a base directory path of the server where the file exist. Something like- //htdocs/httpfolder/files/audio/yourfile.mp3 You can take this in a variable

Re: [PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Kim Emax
Hello Roberto wrote on 2009-12-09 17:08: Hi all, I've just written a small tool for Emacs that will allow to browse PHP documentation directly from within Emacs. I thought you might be interested in it: http://aloiroberto.wordpress.com/2009/12/09/php-and-emacs-how-to-browse-documentation/ It

Re: [PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Roberto
Hi Kim, this should actually work with almost all PHP documentation pages in HTML format. I personally tested it with the English package from: http://www.php.net/download-docs.php (the one that come in many HTML files). Regards, Roberto Aloi http://aloiroberto.wordpress.com Twitter: @prof3ta

Re: [PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Joseph Thayne
Check the following link for help on integrating with Vim: http://vim.wikia.com/wiki/PHP_manual_in_Vim_help_format Kim Emax wrote: Hello Roberto wrote on 2009-12-09 17:08: Hi all, I've just written a small tool for Emacs that will allow to browse PHP documentation directly from within

[PHP] SimpleXML or DOMDocument help

2009-12-09 Thread Michael Alaimo
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. I am not opposed to a

[PHP] Re: SimpleXML or DOMDocument help

2009-12-09 Thread Shawn McKenzie
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

[PHP] can't retrieve more than 1 record at the time

2009-12-09 Thread Catherine Madsen
Hi, I'm really in need of help. I'm not a PHP programmer, but I've been given the privilege of customizing a script written by somebody else and can't get it to work right. I have to query 2 different tables in 2 different Oracle 10G DBs, one's mine (my_schema.my_table), the other

[PHP] Re: SimpleXML or DOMDocument help

2009-12-09 Thread Shawn McKenzie
Please keep this on list. The URI for the namespace is important. Something like (not tested): | ||// use URI for Query namespace| | foreach ($xml-children('http://www.example.com/something') as $Query) { echo $Query-Where; } || | Michael Alaimo wrote: What's the entire XML document?

[PHP] Re: SimpleXML or DOMDocument help

2009-12-09 Thread Shawn McKenzie
Shawn McKenzie wrote: Please keep this on list. The URI for the namespace is important. Something like (not tested): | ||// use URI for Query namespace| | foreach ($xml-children('http://www.example.com/something') as $Query) { echo $Query-Where; } || | Michael Alaimo wrote:

[PHP] Re: SimpleXML or DOMDocument help

2009-12-09 Thread Shawn McKenzie
Shawn McKenzie wrote: Shawn McKenzie wrote: Please keep this on list. The URI for the namespace is important. Something like (not tested): | ||// use URI for Query namespace| | foreach ($xml-children('http://www.example.com/something') as $Query) { echo $Query-Where; } || |

[PHP] generating an object from XMl using Zend_Config_Xml

2009-12-09 Thread reda khyatti
Dear all I have the following XMl document, that I parse and generate from it an object using Zend_Config_Xml: ?xml version=1.0 encoding=UTF-8? configdata category nameCategoria/name groups

Re: [PHP] can't retrieve more than 1 record at the time

2009-12-09 Thread Simcha Younger
On Wed, 09 Dec 2009 11:39:55 -0800 Catherine Madsen cmad...@berkeley.edu wrote: It looks like you have to take out this line: $stmt = NULL; /* release the connection */ You are destroying the variable instead of just deleting the data, so the while statement terminates after the first record. --

Re: [PHP] can't retrieve more than 1 record at the time

2009-12-09 Thread Paul M Foster
On Wed, Dec 09, 2009 at 11:39:55AM -0800, Catherine Madsen wrote: Hi, I'm really in need of help. I'm not a PHP programmer, but I've been given the privilege of customizing a script written by somebody else and can't get it to work right. I have to query 2 different tables in 2 different

[PHP] refuses to complete all queries

2009-12-09 Thread Allen McCabe
I have a PURGE ORDERS link that calculates which orders are made up entirely of expired shows and deletes them. Well, that's idea anyhow. The procedure does 3 things: 1. Gets the order_id of all orders that contain all expired shows 2. Deallocates the quantity of the seats on each show from the

Re: [PHP] Re: SimpleXML or DOMDocument help

2009-12-09 Thread Michael A. Peters
Shawn McKenzie wrote: 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

Re: [PHP] refuses to complete all queries

2009-12-09 Thread Bastien Koert
On Wed, Dec 9, 2009 at 7:18 PM, Allen McCabe allenmcc...@gmail.com wrote: I have a PURGE ORDERS link that calculates which orders are made up entirely of expired shows and deletes them. Well, that's idea anyhow. The procedure does 3 things: 1. Gets the order_id of all orders that contain all

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread c...@hosting4days.com
Thanks Gaurav Shawn, I'll check into your suggestions. Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 5.3 Code Documentor

2009-12-09 Thread Andrew Mason
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. Andrew -- PHP General