[PHP-WIN] XML error, but its not an XML document

2003-04-02 Thread Trystano
When ever I try to load my PHP document in IE I get the following error message... XML page cannot be displayed. Cannot view XML input using style sheet. Invalid at the top level of the document. Error processing resource 'http://localhost/Sessions/login.php'. Line 1, Position 1 ...and then it

Re: [PHP-WIN] Help with gd

2003-04-02 Thread Achilles Maroulis
Hi again... Thanx everyone who read the topic and answered ...but noone answered my question... is there a way I can insert a watermark on a jpg with gd??? Maybe it's because there isn't a solution for my problem. Thanx again for trying to help... -- PHP Windows Mailing List (http://www.p

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
I still think the "Holmgang" approach is the most effective one. :) > -Original Message- > From: Bruce Barnes > Subject: RE: [PHP-WIN] Help with gd > > > Here in the US, the issue of Copyrights on pictures used on web sites is -- PHP Windows Mailing List (http://www.php.net/) To unsubs

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Bruce Barnes
Incidentally, when someone produces a picture or photograph, story, software code, magazine or newspaper article, or any other work that falls into the category of intellectual property in the US, it is AUTOMATICALLY COPYRIGHTED in the name of the person who created the work. There is no need to

[PHP-WIN] help+gd library

2003-04-02 Thread aRianus
i am using windows 2000+ISS 5.0+PHP4.3.0 i wanna use gd library. but i did not find the library which is running. how can i install gd library. would you help me -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Bruce Barnes
Here in the US, the issue of Copyrights on pictures used on web sites is being scrutinized very carefully. In a situation involving the use of a picture that was placed on a web site by a client of a web site that is hosted by a company that was just recently purchase by our company, the owner of

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
> The law will doubtless be different in other countries. Check on the > internet for the law in yours. In Scandinavia you claim copyright by demanding "holmgång" with your opponent. Basically this means that one goes berserk and fights with sharp swords (or axes). The one that decapitates the oth

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Svensson, B.A.T. (HKG)
> In any case - I seriously doubt that a watermark is unremovable by a > talented hacker. One don't need to be a hacker for that... Fast Fourier Transform is enough. :) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Help with gd

2003-04-02 Thread Jill . Ramonsky
I can't answer your question, and this may even be off-topic, but copyright law is never so simple as it may at first seem. I don't know the law in any country but my own (Britain), but here in Britain, adding a watermark does NOT make a picture copyright. In Britain, what makes a picture, or a no

Re: [PHP-WIN] Output to Excel File

2003-04-02 Thread Erwan Pianezza
http://www.web-aware.com/biff/ PHP to Excel, aka BiffWriter is a generic class to create Excel compatible streams or files from PHP. It enables web developers with the feature to deploy information "off-line" using the most common spread sheet format. - Original Message - From: "Sven Schn

[PHP-WIN] PHP Conference at Amsterdam RAI?

2003-04-02 Thread Svensson, B.A.T. (HKG)
Just visit the PHP home page and saw that there was an upcoming event at Amsterdam RAI the 8-9 May. Looking in my Agenda I see this at Thursday and Friday, and even better I have no obligations that day. But the conference page is very sparse (to broad and general) on who will be the speakers, an

RE: [PHP-WIN] how to use umask() ???

2003-04-02 Thread Svensson, B.A.T. (HKG)
Is it possible to uses chmod() on newly created files instead? In such case you don't have to care about the umask() (which I don't think you should have to fiddle around with in the first place even...) > -Original Message- > From: Aidal [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April

Re: [PHP-WIN] how to use umask() ???

2003-04-02 Thread Aidal
Thanks for the explanation though I did know some of this already. What I'm not sure of is how and where to use this. Below is a little example of a member function that creates a new text file. How/where should I use umask() ? Also does it have any effect if the file isn't properly closet by fclo

[PHP-WIN] Help with gd

2003-04-02 Thread Achilles Maroulis
Hi. I recently started programming with gd2 and so far everything is ok. What I want to know, if anyone can help, is if there is way to print a watermark on a picture in order to make it copyrighted. I know I can print a string with some special fonts but this wouldn't be so nice to look at... Th

RE: [PHP-WIN] how to use umask() ???

2003-04-02 Thread Jill . Ramonsky
The PHP manual (unfortunately) assumes some Unix knowledge here. The paramter to umask is a bitfield, passed as an integer. Within this bitfield: bit 0 set implies that anyone in the world can execute the file bit 1 set implies that anyone in the world can write to the file bit 2 set implies that

AW: [PHP-WIN] Output to Excel File

2003-04-02 Thread Sven Schnitzke
Hi, I recently experimented a bit with Excel using COM (Excel 8 aka Excel97 and PHP 4.3 / 4.4-dev on WIN98SE). It is quite hairy, especially because the PHP COM implementation does not yet implement all the needed VARIANT subtypes (most notably multi dimensional safe arrays), so a lot of objects

[PHP-WIN] Re:Subject: Output to Excel File

2003-04-02 Thread Neil Smith
Yes, yes and yes ! Somebody posted this question a couple of weeks ago and out of curiosity I tried it - works fine for basic tables importing as HTML, I guess if I get my hands on the XLS -> XML output format I'll try that too. Heres some example code for you to try : Output HTML

Re: [PHP-WIN] I really don't understand this?

2003-04-02 Thread ODCS
So how should I do this? I am still trying to learn php and this kind of stuff really confuses me. - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: "ODCS" <[EMAIL PROTECTED]> Cc: "PHP Windows" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 3:20 AM Subject:

RE: [PHP-WIN] I really don't understand this?

2003-04-02 Thread Svensson, B.A.T. (HKG)
Try this: else if ( ($duplicate = duplicate_name($form["name"])) == "T") { -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] I really don't understand this?

2003-04-02 Thread Svensson, B.A.T. (HKG)
> // only check for weather $duplicate is "T" or "S". Errata: "D" or "S" -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] I really don't understand this?

2003-04-02 Thread Svensson, B.A.T. (HKG)
if (empty($form["name"])) { $error["name"] = "*"; $message["name"] = "Required field!"; } else if ($duplicate = duplicate_name($form["name"]) == "T") { // This seams to be an assignment of either true or false to duplicate(???) // e.g. $duplicate = (duplicate_name($form["name"]) == "T") /

[PHP-WIN] how to use umask() ???

2003-04-02 Thread Aidal
Hi NG. I'm having problems with my web application changing file permissions when creating, editing or deleting text files. My web host thinks it's because I need to use umask() but I'm not quite sure just how to use this function. I've read the describtion on www.php.net but that didn't enlighte