php-general Digest 7 Feb 2010 15:22:26 -0000 Issue 6578

2010-02-07 Thread php-general-digest-help
php-general Digest 7 Feb 2010 15:22:26 - Issue 6578 Topics (messages 301856 through 301860): Problem with blocking streams in PHP 301856 by: Phani Raju Issue with blocked socket stream 301857 by: Phani Raju Re: simplexml - can it do what I need? 301858 by: TerryA

php-general Digest 8 Feb 2010 04:20:23 -0000 Issue 6579

2010-02-07 Thread php-general-digest-help
php-general Digest 8 Feb 2010 04:20:23 - Issue 6579 Topics (messages 301861 through 301869): Re: Warning? 301861 by: tedd 301863 by: Shawn McKenzie 301867 by: Jochem Maas 301868 by: tedd Re: Issue with blocked socket stream 301862 by: Nathan Rixham

Re: [PHP] simplexml - can it do what I need?

2010-02-07 Thread TerryA
Hi Shawn Thanks for answering my query. I have looked at the suggestions: $xml = simplexml_load_file('file.xml', 'SimpleXMLElement', LIBXML_NOCDATA); I am/was able to load the file OK and to access the data by iteration. However, I can't find a way to extract data by attributes. I need

Re: [PHP] simplexml - can it do what I need?

2010-02-07 Thread Carlos Medina
TerryA schrieb: Hi Shawn Thanks for answering my query. I have looked at the suggestions: $xml = simplexml_load_file('file.xml', 'SimpleXMLElement', LIBXML_NOCDATA); I am/was able to load the file OK and to access the data by iteration. However, I can't find a way to extract data by

[PHP] Hi list --- justa simple question

2010-02-07 Thread ebhakt
I am developing a website here wherein i need to post a lot of content. I am trying to develop a script to post data automatically to the site the site is designed in drupal any idea/comment or suggestion on how should i begin with because i am new to php language -- Bhaskar Tiwari GTSE

Re: [PHP] Warning?

2010-02-07 Thread tedd
At 7:02 PM + 2/6/10, Jochem Maas wrote: Op 2/6/10 4:29 PM, tedd schreef: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider

[PHP] Re: Issue with blocked socket stream

2010-02-07 Thread Nathan Rixham
Phani Raju wrote: I am trying to open a blocking stream using fsockopen. I want to write and read XML input/output from a server. After opening the steam I will send a XML request to server using the stream. Once this request is sent, I want to keep listening on the port indefinitely. I

[PHP] Re: Warning?

2010-02-07 Thread Shawn McKenzie
tedd wrote: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is

[PHP] Re: Hi list --- justa simple question

2010-02-07 Thread Al
On 2/7/2010 10:22 AM, ebhakt wrote: I am developing a website here wherein i need to post a lot of content. I am trying to develop a script to post data automatically to the site the site is designed in drupal any idea/comment or suggestion on how should i begin with because i am new to php

Re: [PHP] Re: Hi list --- justa simple question

2010-02-07 Thread ebhakt
thanks for the suggestion but i need a out of the box solution , be it based on dotnet or php on how to post content to a website or blog by reading an xml file or like a feed rss for example i need something to function like the feed aggregator module in drupal but not for drupal , for any

Re: [PHP] Re: Hi list --- justa simple question

2010-02-07 Thread shiplu
On Sun, Feb 7, 2010 at 10:55 PM, ebhakt i...@ebhakt.com wrote: thanks for the suggestion but i need a out of the box solution , be it based on dotnet or php on how to post content to a website or blog by reading an  xml file or like  a feed rss for example i need something to function like the

Re: [PHP] Warning?

2010-02-07 Thread Jochem Maas
Op 2/7/10 3:40 PM, tedd schreef: At 7:02 PM + 2/6/10, Jochem Maas wrote: Op 2/6/10 4:29 PM, tedd schreef: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the

[PHP] Re: Warning?

2010-02-07 Thread tedd
At 10:15 AM -0600 2/7/10, Shawn McKenzie wrote: tedd wrote: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a

[PHP] php selecting multiple stylesheets

2010-02-07 Thread David Mehler
Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it. I'm also thinking of adding two more for smaller and larger font

[PHP] pecl install geoip doesnt work. Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in PEAR/Builder.php on line 188

2010-02-07 Thread David Taveras
Hello, Before writing to the general list I tried to search for a pecl users list but apparently it is closed only to developers. Iam running pecl install geoip, it confirms as per below that it was installed correctly but a find / -name geoip.so yields nothing, the paths mentioned at the end

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread Paul M Foster
On Sun, Feb 07, 2010 at 11:20:18PM -0500, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it.

Re: [PHP] pecl install geoip doesnt work. Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in PEAR/Builder.php on line 188

2010-02-07 Thread Jochem Maas
Op 2/8/10 4:35 AM, David Taveras schreef: /root/bin/pecl install geoip without giving it much thought ... try this: sudo /root/bin/pecl install geoip this is assuming you we're not running the command as root in the first place. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread TG
You could use PHP and cookies (session variables are only useful until the browser is closed, so it's not as persistant as it sounds like you may want). You could also have a system where users log in and they can save their preferences on their user account settings. What you may also look

Re: [PHP] simplexml - can it do what I need?

2010-02-07 Thread TerryA
Hi Carlos I looked at the documentation for hours but don't see any solution. I'm uploading a sample file here. The full file contains around 100 properties but the uploaded file has just one. I need to extract data from this file to write to a MySQL database. I have no problem in doing this