RE: [PHP] Reasons for Using XML

2004-02-04 Thread Williams, Olwen - SAL
>From my point of view XML allows more complex data structures. It's multi-dimensional rather than flat file. Olwen Williams [EMAIL PROTECTED] -- -Original Message- From: gohaku [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:15 AM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] Document generation from XML

2004-02-03 Thread Williams, Olwen - SAL
I'm working with another (very unusual) webserver on our intranet. When I wanted to do graphs recently I settled on an XML output from my other server, and a PHP routine on apache that produces the graph. The other server references the PHP which outputs a .png sending enough information to that

RE: [PHP] Googlebot (not another rtfm-mail)

2004-01-29 Thread Williams, Olwen - SAL
Doing that work just fine but you have to send the right heading. My sites that do that have header("HTTP/1.0 200 OK"); as the first instruction and are very well indexed by Google Olwen Williams [EMAIL PROTECTED] -- -Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED]

RE: [PHP] Making Graph / Chart

2004-01-27 Thread Williams, Olwen - SAL
You could also look at http://sourceforge.net/projects/phplot/ I'm playing with that at the moment and it's doing quite a nice job. Olwen Williams [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 3:30 PM To: unkno me C

RE: [PHP] Re: Generating an Excel file?

2004-01-19 Thread Williams, Olwen - SAL
Name it for example something.csv The in your .htaccess file put ForceType application/x-httpd-php Olwen Williams [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 4:43 PM To: Ben Ramsey Cc: [EMAIL PROTECTED] Subject: R

RE: [PHP] Locking and unlocking records

2004-01-15 Thread Williams, Olwen - SAL
One way to do this is to keep a copy of the old record in a session variable. When you com to write the data back read the record again and see if it is still the same. If it is you can save the changes, otherwise give an error saying that the data has been changed, and probably refuse to do the

[PHP] Imagesettile problems

2004-01-15 Thread Williams, Olwen - SAL
I asked earlier about filling an image with a pattern. I have figured out how to do it (or at least how I ought to do it using imagesettile() and a filled shape or an imagefill. But it doesn't work. $tile2 = @imagecreatefrompng ("fill1.png"); imagepng ($tile2); displays the fill I want to use.

[PHP] Building Graphs

2004-01-15 Thread Williams, Olwen - SAL
I was looking into using a graphing object to make graphs from some intranet data, but the libraries I'm looking at are all filled with plain colours and I'd like to use a pattern. I can't find a way to use a pattern fill in the image functions. can anyone tell me if there is a way to use a patte

RE: [PHP] is ' or " different in MS-Word then ascII?

2004-01-14 Thread Williams, Olwen - SAL
I't the Word "smart quotes". A bit of experimenting suggests ASCII 145 and 146 for single quotes and 147 and 148 for double quotes. I have the same problem with my forms, and for me they display okay in IE, but not in Mozilla. I must put some editing in place for this :-) Olwen Williams [EMAI

RE: [PHP] generating .doc on the fly

2004-01-06 Thread Williams, Olwen - SAL
I tried this in another (rather odd) environment and had some success. I took a word document and saved it as HTML and then opened it in a text editor. I used a .doc extension and kept: http://www.w3.org/TR/REC-html40";> Print Antyhing apart from that was