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

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

Re: [PHP] refuses to complete all queries

2009-12-09 Thread Bastien Koert
On Wed, Dec 9, 2009 at 7:18 PM, Allen McCabe 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 expired shows

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: Test/Query:Equal> I cannot figure out how to access these with simple xml. I am not opposed to a DOMDocument solution either. Would an

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

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 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. -- Simcha Younger -

[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: Categoria

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

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

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

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

[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: > > > Test/Query:Equal> > > > > > I cannot figure out how to access these with simple xml. I am not opposed > to a DOMDocument solution either. > > Would

[PHP] SimpleXML or DOMDocument help

2009-12-09 Thread Michael Alaimo
Hello All, I have an XML document that has elements as such: Test/Query:Equal> I cannot figure out how to access these with simple xml. I am not opposed to a DOMDocument solution either. Would anyone know what to do in this case? I think the

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 Emacs

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

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] file_get_contents ($file) works -- file_get_contents ($url) returns false

2009-12-09 Thread Richard Quadling
2009/12/9 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 wro

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

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 http://www.googl

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 LinuxManMikeC
On Wed, Dec 9, 2009 at 8:02 AM, LinuxManMikeC wrote: > On Wed, Dec 9, 2009 at 6:45 AM, René Fournier 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 f

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 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, local or > remote --

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

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

2009-12-09 Thread Richard Quadling
2009/12/9 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. > > v

[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 ('http://w

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 = f