[PHP] Help with creating an XML Document

2004-06-23 Thread Eric L. Sammons
Using PHP 4.3.2 I am trying to create an XML file that looks similar to the following: 0 0 DL380 8th Floor 2 Customer Upgrade I get the following output: Using the following code: add_root("Server"); $root->set_attribute("Name", "pxtest01"); $el = $doc->create_element("Seria

[PHP] Trying to create and save a DOM XML file.

2004-06-23 Thread Eric L. Sammons
I have created an XML, via php, and doing a dump_mem() everything looks as expected. Now I need to have it write to a file. I have found the function DOMDocument->save(); however, when used it appears that it is unknown. I believe this may be deprecated or because I am using domxml_new_doc()

[PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
Being new to PHP this task seems to be little out of my reach right now. I wonder if anyone could tell me how, as I read a file, line by line, search for and then replace a given string? The lines in the file will appear as such: Summary: Some Summary Name: Some-Name Version: x.x . . . Basica

RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
and require_once ... with the same result. Help? Thank you! >= Original Message From Justin Patrin <[EMAIL PROTECTED]> = >There's a PEAR package for just this. :-) >http://pear.php.net/package/File_SearchReplace > >On Thu, 24 Jun 2004 12:58:08 -0400, Eric L. Sammons &

FWD: RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
stable >= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = First let me thank you for pointing me to PEAR. Now for the problem. Here is my code: File exists."; $snr = File_SearchReplace("server-

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message * news:<[EMAIL PROTECTED] >... > On Tue, Nov 22, 2005 at 07:41:10PM +0100, Eric wrote: > > I would like to have some assistance in debugging php. It's about a > > bug in php not a script of mine.

RE: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
-- Forwarded message -- From: eric van blokland <[EMAIL PROTECTED]> Date: Nov 23, 2005 2:44 PM Subject: Re: [PHP] Assistance debugging php 5.x.x To: Jay Blanchard <[EMAIL PROTECTED]> On 11/23/05, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip] > I

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
I've got some example code on what I'm doing, however, as I expected, the error is gone! All involved objects were taken from the project, but not related code has been stripped-off. (Which means that some of that "at code level not related code" is in fact "related at compiler level". I still sus

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
Example is still quite large, all database functionality and other arbitrary code has been stripped. Over 50.000 lines of code have been reduced to a few hundred. Example can be downloaded here: http://213.10.83.232/example.tar Explanation of example: - When you load index.php, the involved obje

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
1. That's what I've warned about from the beginning, that outside the complete project environment the error probably wouldn't occur. 2. I understand this completely, naturally. I would like to thank everybody spending time in reading my posts, particulary you, Jay. But that's why I would like to g

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
the compiler, it sure would be nice to know this particular DON'T about references. Please let me know On 11/23/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Eric, > > everything you have written suggests to me that the problem is in your > code > (that may be being c

[PHP] Re: Is there an alternative for $_FILES['guildimage']['type']

2005-11-23 Thread eric van blokland
You could use the exif_imagetype() function http://nl2.php.net/manual/en/function.exif-imagetype.php

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
them, but seriously, does PHP5 cares about passing an object reference by reference (it's useless and overhead, ok, but does it matter?) Because the code originates from PHP4, I don't have __constructor functions On 11/23/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > >

Re: [PHP] Assistance debugging php 5.x.x

2005-11-23 Thread eric van blokland
ROTECTED]> wrote: > > > > eric van blokland wrote: > > 1. Overengineering perhaps... > > 2. Reinventing the wheel? Probably, but I just like to know every single > > "bit" of the wheel I use > > hmm, did you build your own PC? and the CPU did you b

[PHP] A Recent Emacs Mode for PHP

2012-12-22 Thread Eric James Michael Ritz
Hello everyone, I do not know how many PHP developers use GNU Emacs for writing code. But I assume it must be a decent amount since there are multiple PHP modes for Emacs floating around the Internet. For months I have worked to improve one of those modes, what seemed to be the most popular: htt

[PHP] Does Scope-Resolution Operator Always Follow 'parent'?

2013-03-10 Thread Eric James Michael Ritz
Hello everyone, I have a question about the `parent` keyword: is there any valid situation where it can appear without the `::` operator following? I am asking to fix a bug in php-mode[1] for GNU Emacs. Consider the following code: echo $parent; echo parent::$foo; echo $this->paren

[PHP] Dealing with ImageMagick from PHP

2007-07-28 Thread Eric Holt (PHP List)
I greatly appreciate any advice anyone on the list could provide. THANKS!!! --Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Eric Holt (PHP List)
Al: Thanks, sorry for messaging this to the list. Can you point me in the direction of the official phpList forum? Thanks a ton, --Eric Al wrote: You'd be far better off asking your questions on the phpList forum. There are a number of hints on the forum for speeding up things.

Re: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Eric Holt (PHP List)
t the most expensive, but great support, and great value of services that comes along with the registration. Plus, its Pair! (No, I dont work for them, just a very happy customer). --Eric Warren Vail wrote: Does anyone know the relationship between goDaddy.com and WildWestDomains.com

<    8   9   10   11   12   13