[PHP] PHP newbie question on xslt

2007-03-26 Thread Timothy Murphy
I've been trying some of the programs in the PHP manual at http://www.php.net/manual/en/ in chapters CLXXXI and CLXXXII to work, for example // Example 2519. Creating an XSLTProcessor ?php $xml_filename = collection.xml; $xsl_filename= collection.xsl; $doc = new

Re: [PHP] PHP newbie question on xslt

2007-03-26 Thread Miguel J. Jiménez
Timothy Murphy escribió: I've been trying some of the programs in the PHP manual at http://www.php.net/manual/en/ in chapters CLXXXI and CLXXXII to work, for example // Example 2519. Creating an XSLTProcessor ?php $xml_filename = collection.xml; $xsl_filename=

Re: [PHP] php newbie question with xml files

2005-05-04 Thread Mark Cain
; $new_data = preg_replace('/(.*)(\/.*)$/i', '$1' . $my_data . '$2', file_get_contents('./test.txt')); echo $new_data; Mark Cain - Original Message - From: Jared Sherman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 03, 2005 2:00 AM Subject: [PHP] php newbie question with xml

Re: [PHP] php newbie question with xml files

2005-05-04 Thread Mark Cain
; $new_data = preg_replace('/(.*)(\/.*)$/i', '$1' . $my_data . '$2', file_get_contents('./test.txt')); echo $new_data; Mark Cain - Original Message - From: Jared Sherman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 03, 2005 2:00 AM Subject: [PHP] php newbie question with xml

Re: [PHP] php newbie question with xml files

2005-05-04 Thread disguised.jedi
I have an xml document storing some data I need. What I want to do is this: 1. Scan to the end of the file. 2. Find the closing tag. 3. Insert a new entry in before the closing tag. There are specific classes and functions in the PHP core that can help you do just this. I've tried: 1.

Re: [PHP] php newbie question with xml files

2005-05-04 Thread Jason Barnett
PHP5: http://php.net/manual/en/ref.dom.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php newbie question with xml files

2005-05-03 Thread Jared Sherman
I have an xml document storing some data I need. What I want to do is this: 1. Scan to the end of the file. 2. Find the closing tag. 3. Insert a new entry in before the closing tag. I've tried: 1. Creating new files and renaming them to be the original. 2. Writing the file to a dummy file and

[PHP] php NEWBIE Question

2003-08-25 Thread Dennis Dujan - Partycult.de
Hi, can you tell me how is it possible to connect to a linux shell via PHP? Greetz Dennis

Re: [PHP] php NEWBIE Question

2003-08-25 Thread Curt Zirzow
* Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]): Hi, can you tell me how is it possible to connect to a linux shell via PHP? Ok, i suppose I should reply to this before you ask the same question with less details, again. Please be a little more specific in your question, like what

AW: [PHP] php NEWBIE Question

2003-08-25 Thread Dennis Dujan - Partycult.de
-Ursprungliche Nachricht- Von: Curt Zirzow [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. August 2003 01:22 An: [EMAIL PROTECTED] Betreff: Re: [PHP] php NEWBIE Question * Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]): Hi, can you tell me how is it possible to connect

RE: [PHP] php NEWBIE Question

2003-08-25 Thread Dennis Dujan - Partycult.de
Ok thank you very much -Ursprungliche Nachricht- Von: Chris Kay [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. August 2003 01:37 An: 'Dennis Dujan - Partycult.de' Betreff: RE: [PHP] php NEWBIE Question Try http://au.php.net/manual/en/function.fsockopen.php If your looking

[PHP] PHP Newbie question

2002-11-18 Thread Bryan Cassidy
This might sound stupid but what the hell. I am running Red Hat 8.0 with Apache. I have apache working fine right now. I am wanting to learn some php but really don't know where to start/look or anything to tell the truth. I do everything from my FreeBSD 4.6.2 box but Apache runs on Red Hat. With

Re: [PHP] PHP Newbie question

2002-11-18 Thread Stolen
http://www.php.net/manual/en/tutorial.php Bryan Cassidy wrote: This might sound stupid but what the hell. I am running Red Hat 8.0 with Apache. I have apache working fine right now. I am wanting to learn some php but really don't know where to start/look or anything to tell the truth. I do

Re: [PHP] PHP Newbie question

2002-11-18 Thread Maxim Maletsky
Steps: 1. Install PHP. Already installed? 2. make a file accessible via browser and call it test.php 3. put this into it: ? echo Hello Worldbr; phpinfo(); ? 4. Now, access that file. If you see Hello World outputted followed by a long blue-gray

[PHP] php newbie question

2002-05-31 Thread Taylor Lewick
I am having a hard time getting apache to load the php4 module. Can I still use PHP for my web stuff...? Thanks Taylor Lewick Unix System Administrator Fortis Benefits 816 881 6073 Help Wanted. Seeking Telepath... You Know where to apply.

RE: [PHP] PHP newbie question

2001-01-11 Thread Bryne Jørg Vidar
evaluated to "", or 0 if compared to numbers, false if compared to boolean. -Jrg -Original Message- From: Neil Zanella [mailto:[EMAIL PROTECTED]] Sent: 10. januar 2001 19:33 To: Toby Butzon Cc: PHP General Mailing List Subject: Re: [PHP] PHP newbie question On Wed, 10 Jan 200

Re: [PHP] PHP newbie question

2001-01-10 Thread Hsieh, Wen-Yang
- Original Message - From: "Neil Zanella" [EMAIL PROTECTED] To: "Hsieh, Wen-Yang" [EMAIL PROTECTED] Cc: "PHP General Mailing List" [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 1:11 PM Subject: Re: [PHP] PHP newbie question On Wed, 10 J