Re: [PHP] Parsing XML

2008-12-01 Thread Peter Ford
Per Jessen wrote: > Ashley Sheridan wrote: > >> On Fri, 2008-11-28 at 10:15 +0100, Per Jessen wrote: >>> Ashley Sheridan wrote: >>> Do any of you have a copy of this extension, or failing that, a suggestion of how I can parse XML files without having to install anything on the remot

Re: [PHP] Parsing XML

2008-12-01 Thread Per Jessen
Peter Ford wrote: > Per Jessen wrote: >> >> That's cool, but XSL is still the more appropriate tool IMO. It does >> exactly what you need - it parses and validates the XML document, >> allows you to extract the bits you need and in virtually any format >> you need - which could be a text documen

[PHP] XML RSS installation

2008-12-01 Thread Joe Schoemann
I previously had my web page hosted on a shared Apache server. The web hosts installed the PEAR modules on the system for me. I have now decided to go to Godaddy who have a shared Linux server. They do not install PEAR modules and I have to do myself. I found the go-pear.php program and managed

Re: [PHP] XML RSS installation

2008-12-01 Thread Richard Heyes
> ... You might be interested to know that with PEAR there is absolutely no need to use the installer at all. You may find it easier not to. For example the file you mentioned (XML_RSS) is here: http://cvs.php.net/viewvc.cgi/pear/XML_RSS/RSS.php?revision=1.28&view=co You will need to replicate t

Re: [PHP] Parsing XML

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 11:28 +0100, Per Jessen wrote: > Peter Ford wrote: > > > Per Jessen wrote: > >> > >> That's cool, but XSL is still the more appropriate tool IMO. It does > >> exactly what you need - it parses and validates the XML document, > >> allows you to extract the bits you need and

Re: [PHP] Parsing XML

2008-12-01 Thread Per Jessen
Ashley Sheridan wrote: > I still disagree, as using XSL is essentially converting the XML to > another format, Which is all you're doing when you're extracting parts of an XML document. > which is then being used by PHP. XSL is great for some tasks, but for > this, I think having a good PHP X

Re: [PHP] Parsing XML

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 21:35 +0100, Per Jessen wrote: > Ashley Sheridan wrote: > > > I still disagree, as using XSL is essentially converting the XML to > > another format, > > Which is all you're doing when you're extracting parts of an XML > document. > > > which is then being used by PHP. X

[PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
could a corrupt db make php pages stop functioning? My pages no longer go anywhere, I went back found the original scripts and still it didn't fix the problem (thought I had messed the code up) so it has to be something external of the code its doing this locally on my box and on the live server.

Re: [PHP] Parsing XML

2008-12-01 Thread Per Jessen
Ashley Sheridan wrote: >> Roughly like this: (this is from a project I'm currently working >> on). >> >> -- >> // create the xslt processor object >> if ( FALSE===($xp=new XSLTProcessor()) ) { print "unable to create >> xslt engine"; return FALSE; } >> >> // Load the XML source >> $

Re: [PHP] question about corrupt db?

2008-12-01 Thread Micah Gersten
Terion Miller wrote: > could a corrupt db make php pages stop functioning? > My pages no longer go anywhere, I went back found the original scripts and > still it didn't fix the problem (thought I had messed the code up) so it has > to be something external of the code its doing this locally on my

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:12 -0600, Micah Gersten wrote: > Terion Miller wrote: > > could a corrupt db make php pages stop functioning? > > My pages no longer go anywhere, I went back found the original scripts and > > still it didn't fix the problem (thought I had messed the code up) so it has > >

Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > Terion Miller wrote: > > could a corrupt db make php pages stop functioning? > > My pages no longer go anywhere, I went back found the original scripts > and > > still it didn't fix the problem (thought I had messed the cod

Re: [PHP] question about corrupt db?

2008-12-01 Thread Chris
Terion Miller wrote: could a corrupt db make php pages stop functioning? My pages no longer go anywhere, I went back found the original scripts and still it didn't fix the problem (thought I had messed the code up) so it has to be something external of the code its doing this locally on my box an

RE: [PHP] question about corrupt db?

2008-12-01 Thread Wolf
-Original Message- From: Terion Miller <[EMAIL PROTECTED]> Sent: Monday, December 01, 2008 4:23 PM To: Micah Gersten <[EMAIL PROTECTED]> Cc: PHP General Subject: Re: [PHP] question about corrupt db? On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > Terion Mille

Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 3:40 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: Terion Miller <[EMAIL PROTECTED]> > Sent: Monday, December 01, 2008 4:23 PM > To: Micah Gersten <[EMAIL PROTECTED]> > Cc: PHP General > Subject: Re: [PHP] question about corrupt db? > > On Mon

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: > On Mon, Dec 1, 2008 at 3:40 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > > > > > -Original Message- > > From: Terion Miller <[EMAIL PROTECTED]> > > Sent: Monday, December 01, 2008 4:23 PM > > To: Micah Gersten <[EMAIL PROTECTED]> > > C

Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: > > On Mon, Dec 1, 2008 at 3:40 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > -Original Message- > > > From: Terion Miller <[EMAIL PROTECTED]> > >

Re: [PHP] question about corrupt db?

2008-12-01 Thread ceo
Maybe try the normal Windows System Logs? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote: > > > On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan > <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: > > On Mon, Dec 1, 2008 at 3:40 PM, Wolf <[EMAIL PROTECTED]> > wr

[PHP] Re: Countries and Timezones

2008-12-01 Thread Jonesy
On Mon, 01 Dec 2008 23:02:50 +0100, franzemmanuel wrote: > > For those who are interested in Countries and timezones. > > I needed to have the list of all the countries in the world and the > timezones by country without redundancy. I don't see Bonaire. Jonesy -- Marvin L Jones| jonz

Re: [PHP] Parsing XML

2008-12-01 Thread Nathan Rixham
Per Jessen wrote: Ashley Sheridan wrote: [/snip] :p XSL(T) an xslt processor, along with an XSLT stylesheet, should be used to transform XML documents in to other XML, human readable or structured documents. DOM a class implementing the DOM interface should be used to traverse, analyse and

[PHP] category and sub category traversal

2008-12-01 Thread VamVan
Hello, I need some help in figuring out this logic. I have two tables one for category and other for category_hierarchy. category_hirerarchy has a column to determine the parent. So the query I have to retrieve tree of one specific category is: SELECT t.tid, t.*, parent FROM term_data t INNER J

Re: [PHP] question about corrupt db?

2008-12-01 Thread Nathan Rixham
Ashley Sheridan wrote: On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote: On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: > On Mon, Dec 1, 2008 at 3:40 PM, Wolf <[EMAIL PROTECTED]>

[PHP] Re: Voting methodology

2008-12-01 Thread Shawn McKenzie
tedd wrote: > Hi gang: > > What methodology would be the best for online voting? > > I have a client who is a Union and they want members to vote online, but > don't want someone to stuff the voting box. > > I have some ideas of my own, but would like to hear what you people > would recommend. >

[PHP] piecing together basic knowledge of paypal nvp api & PHP - to work together

2008-12-01 Thread Govinda
Hi everyone I have to produce just now, quickly, and so bridge 2 things I still know very little about (PHP and paypal), so I'll have to show my ignorance here. Anyone who has experience with the paypal nvp api, maybe you can help me?: I am successfully using the sample scripts paypal p

[PHP] Re: Countries and Timezones

2008-12-01 Thread franzemmanuel
Jonesy a écrit : On Mon, 01 Dec 2008 23:02:50 +0100, franzemmanuel wrote: For those who are interested in Countries and timezones. I needed to have the list of all the countries in the world and the timezones by country without redundancy. I don't see Bonaire. Jonesy Hi Jonesy, Thank you

Re: [PHP] piecing together basic knowledge of paypal nvp api & PHP - to work together

2008-12-01 Thread dg
On Dec 1, 2008, at 5:50 PM, Govinda wrote: I am successfully using the sample scripts paypal provides, but moving towards our own solution, You might have better luck with custom solutions for Paypal at: http://www.paypaldeveloper.com/pdn/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] category and sub category traversal

2008-12-01 Thread Chris
VamVan wrote: Hello, I need some help in figuring out this logic. I have two tables one for category and other for category_hierarchy. category_hirerarchy has a column to determine the parent. So the query I have to retrieve tree of one specific category is: SELECT t.tid, t.*, parent FROM ter

[PHP] Which is the right list?

2008-12-01 Thread Geek (de=German top level domain)
Hi everyone, Sorry for my stupidity, but I couldn't see which of the lists is the right one to know about important news and or features that I might not think or be aware about for PHP. I'm a PHP developer, mainly using the Symfony framework and would like to know about important developments, ne

RE: [PHP] category and sub category traversal

2008-12-01 Thread bruce
hey vamvan... you might pop this to the mysql email list as well, if you haven't already! [EMAIL PROTECTED] -Original Message- From: VamVan [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 5:13 PM To: php List Subject: [PHP] category and sub category traversal Hello,

[PHP] Multiple MySQL INSERT

2008-12-01 Thread ddg2sailor
Hi People My real problem is that I dont know code. I can sort of edit it in a sloppy more or less works fashion. Any help would be great. This is the code Im having problems with: //Example// $id = 0 + $_GET["id"]; $md5 = $_GET["secret"]; $gig = 1; $giveupload = $gig*1024*1024*1024; $re

Re: [PHP] Which is the right list?

2008-12-01 Thread Chris
Geek (de=German top level domain) wrote: Hi everyone, Sorry for my stupidity, but I couldn't see which of the lists is the right one to know about important news and or features that I might not think or be aware about for PHP. I'm a PHP developer, mainly using the Symfony framework and would li

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread Chris
ddg2sailor wrote: Hi People My real problem is that I dont know code. I can sort of edit it in a sloppy more or less works fashion. Any help would be great. This is the code Im having problems with: //Example// $id = 0 + $_GET["id"]; $md5 = $_GET["secret"]; $gig = 1; $giveupload = $gig*1

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread ddg2sailor
chris smith-9 wrote: > > ddg2sailor wrote: >> $row = mysql_fetch_array($res); > >> $res = mysql_query("SELECT passhash, editsecret, status FROM users WHERE >> id >> = $id"); >> $row = mysql_fetch_array($res); > > I hope this is a copy/paste error or are you running the same thing twice? > >

Re: [PHP] Which is the right list?

2008-12-01 Thread Geek (de=German top level domain)
Thanks for the prompt reply! I'll try and answer as many questions here as I can. Maybe one of you can answer my questions then :) On Tue, Dec 2, 2008 at 6:26 PM, Chris <[EMAIL PROTECTED]> wrote: > Geek (de=German top level domain) wrote: > >> Hi everyone, >> >> Sorry for my stupidity, but I coul