Here is what I would do (this advice and a buck will buy you a cup of
coffee):
First, I'd take my existing code, look over it and ask, Where am I
doing the same thing over and over? Code that is repetitive is a prime
candidate for using functions or objects. Objects are easier to
maintain for
don't really know enough about the
programming challenge we are looking at to say for sure
@ Edwin wrote:
Geoff Hankerson [EMAIL PROTECTED] wrote:
This seems to me to be more easily handled by XSLT. (Not the only option
but a good one).
XSLT lets you select only the nodes you want
This seems to me to be more easily handled by XSLT. (Not the only option
but a good one).
XSLT lets you select only the nodes you want and also sort them as well.
@ Edwin wrote:
Hello,
Chris [EMAIL PROTECTED] wrote:
I'm trying to write PHP code that will not only parse the XML but also
Did you try getting rid of the
IfDefine HAVE_PHP4
stuff?
Lee Philip Reilly wrote:
Hi there,
I posted this message yesterday:
--
I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache
machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP
works, but only
Basically SAX and DOM are for parsing xml and xslt is for transforming
xml into html, svg, wml, pdf and the like. So it sounds like you want to
use xslt.
Daniele Baroncelli wrote:
Dear all,
I am just approaching to XML and I would need some explanation, which most
of you will probably
Change xml into a different type of xml sounds like a job for the xslt
functions. Works like a charm
Michael Ransburg wrote:
Hi!
I understand that it's easily possible to parse xml documents with php.
But what about changing them? With other xml parsers, I have the xml
document in a structure
Ultimately it's about flexibility and seperating content from
presentation.Even if you don't have sites that need to be output into
multiple formats you will almost cetainly need to redesign some or all
of the presentation at some point even if it is only in html. Have you
ever had your
A few ideas:
1. I have been setting up a system to do almost exactly what you are
doing (database -- xml -- xslt--html via a custom class) and have not
noticed any significant performance hit, but this is not in production
so your mileage may vary, but my gut feeling is the performance hit is
3)Reporting.
I think I can get by with HTML reports for the most part. however checks
and tax forms require precisely positioned reporting abilities.
I think that I will be better off using an external reporting
application (crystal,access,FoxPro etc) to generate these reports. But if
I think you need change permissions the file that holds configurations
settings for php-nuke.
Read the install instructions it's in there
chmod 665 config.ini
or whatever the name of the file is
Ryan A wrote:
Hey guys,
I just setup php nuke (damn,thats a big package) but the problem is that i
jEdit is nice
www.jedit.org
Seán Dillon wrote:
As an fan of Homesite for many years I'm a little annoyed I can
no-longer purchase the product seperately, so am going to be
stuck with v5.0 as I don't fancy the idea of forking out
for Dreamweaver MX.
I'm looking for (hopefully) a GNU/GPL Open
of the query into index.xml, but [Proccess 1] is still
working with index.xml
What happends?
Geoff Hankerson [EMAIL PROTECTED] escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Forgot a step: (1C) make an xslt stylesheet which is basically just a
beefed-up html page.
C
Rodrigo Peres wrote:
Hi,
I have a resume system that put a rank in it resume at runtime. example: If
you do a serach for each match that it finds it atribute 1 point, now I need
to sort the generated list based in this rank, how can i do this, since this
rank is dinamic and isn't in database??
Rodrigo Dominguez wrote:
I'm writting an application, a control panel for a web site, and it will be
great if I can separe data from presentation, I know that I have to work
with XML and XSL but I didn't understand how it works.
Can you give me a simple example?
Let guess that a client request
Javier Montserat wrote:
Spend some time learning about xml and you won't regret it
Could you (or anyone else on the list) recommend some good resources
(Books / Websites) for learning XML and XSLT?
Thanks,
Javier
http://www.devshed.com/Server_Side/XML
http://www.xml.com (look
Rodrigo Dominguez wrote:
I don't know how to work with XML... I know that it's a good standard to
pass information between computer or applications, but I don't know how to
separe my data from my presentation on my PHP projects.
I always use OOP, I organize all the data in databases and clases,
Forgot a step: (1C) make an xslt stylesheet which is basically just a
beefed-up html page.
Check out devshed.cm
xml.com
and w3c.org for info on xslt stlyesheets
Geoff Hankerson wrote:
Rodrigo Dominguez wrote:
I don't know how to work with XML... I know that it's a good standard to
pass
Dan Ostrowski wrote:
I develop mostly in a Linux environment anymore, but I have a problem with Netscape
and PHP. Well, not so much with PHP but developing it with Netscape.
Post data makes Netscape REFUSE to show the underlying source code! It's virtually
impossible to design form handling
Can anyone direct me to a page with xml in use? Something that can help me
grasp what its all about.
I didn't understand xml at all until I started using it . I asked
pretty much the same question as you (what is it good for?). Now I will
almost always use xml in any app I work on.
depending on your needs you could just create a .csv file (comma seperated
text) that excel can read easily
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 11:13 AM
Subject: [PHP] forms into database and visa versa
***_PLEASE
This will just start Apache if I remember correctly. You still have to alter
the httpd.conf file.
Details for MacOSX php setup are here:
http://www.macdevcenter.com/pub/ct/49
php is covered in part III
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: Marcus James Christian
Could you write the user info to a file and have a cron job parse the file
and add them as a user?
- Original Message -
From: Shane McBride [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 9:43 AM
Subject: [PHP] Add FTP user via PHP?
Is there a way to
I believe the auto increment field has to be set as the primary key as well.
- Original Message -
From: David Orn Johannsson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 10:04 AM
Subject: [PHP] MSSQL help w/ auto_increment
I'm having a problem wiht creating a
I am wondering if one or more of you can point me in the right direction on
this one.
Our company has intellectual property (legal forms) that is in the form of
a pdf. We want to sell this over the Web but a regular pdf is not secure and
it would allow users to make unlimited copies and have
Any way to use ODBC?? Just a thought
- Original Message -
From: Rance Hall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 01, 2002 8:37 AM
Subject: [PHP] Using PHP to access an AS 400 database
I'd like to find a way to get my PHP driven web site to connect to an AS
400
Couldn't you just use substr_replace and the html endcoding for a double
quote (#34;) ?
?php echo input type=\hidden\ name=\name\ value=\ .
substr_replace($name, '/', #34;). \; ?
- Original Message -
From: Georgie Casey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent:
I would worry about the hard drive failing on an old Mac. (This just
happened to me on an old 7300/180 and a bondi iMac at work). The older macs
use scsi hard drves that are hard to find and next to impossible to find
new. At least with a 7300 it has 3 pci slots and you can put an IDE
controller
Also remember you can pick up a brand new Dell 1.6 ghz P4 w/ 17 inch monitor
for under $700. Then you can run php/apache on Windows if you want (check
out the easy installer at www.nusphere.com) or any number of Linux or BSD
variants.
If your set on a Mac you can pick up a new previous
Well would you be so kind as to share your knowledge of where to pick up
scsi drives. Remember these are old Mac compatible scsi drives 50 pin or
something like that.
- Original Message -
From: Alnisa Allgood [EMAIL PROTECTED]
To: Geoff Hankerson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED
Here is an easy one click install you can download for free
http://www.nusphere.com/ (click download -- you have to register first)
It puts Apache, MySQL, php and perl all in the right places for you.
- Original Message -
From: Chuck PUP Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I believe it is:
describe tablename;
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 4:43 PM
Subject: [PHP] Return the column names of MySQL table?
Forgive me for the off topic question. This is a MySQL question.. has
31 matches
Mail list logo