Re: [PHP-WIN] DOM

2001-01-13 Thread Chris Adams
On 13 Jan 2001 14:22:24 -0800, James Duncan <[EMAIL PROTECTED]> wrote: >the client's last request. If I do a client pull I will have all the clients >polling the server every minute or so asking for new data regardless if any >exists or not. This could cause serious overloading of the server, wher

[PHP-WIN] gd beginner blues

2001-01-13 Thread Paul Trapnell
Title: Blank A newbie just needs a wee bit of gd guidance.  clicking a GD test fileprompts a "download" dialogue to pop up, or, on a second test files causeslines of "font" errors, then the infamous "header already sent" error, thenlines of character soup.the test file below, from John Lim a

RE: [PHP-WIN] Resize function jpeg/gif

2001-01-13 Thread Rasmus Lerdorf
Get an older version of GD that does. Or grab some of the retrofitted versions that are floating around out there that support gif, jpg and png. -Rasmus On Sun, 14 Jan 2001, Martin Verstegen wrote: > Found out: > > The function "Imagecopyresized" is the answer. But what a pity, the provider >

RE: [PHP-WIN] Resize function jpeg/gif

2001-01-13 Thread Martin Verstegen
Found out: The function "Imagecopyresized" is the answer. But what a pity, the provider doesn't support gifs. -Original Message- From: 2FIT mverstegen [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 11:26 AM To: Php-Windows-Help Subject: [PHP-WIN] Resize function jpeg/gif H

Re: [PHP-WIN] PHP Editor

2001-01-13 Thread Romulo Roberto Pereira
HTML Kit is the best right now - Iam a homesite fan, but the new version is too much resource eater... so I change to HTML Kit - It is freeware and has a nice support for file transfers and make a FTP appears like a local directory, making great for testing... Give it a try... www.htmlkit.com Rom

[PHP-WIN] erro: The page cannot be displayed

2001-01-13 Thread Marq
Hi, Installing Phorum, I have some pages running w/o problem, other simply display an IE error message "The page cannot be displayed". I assume I changed something (actually I'm struggling with permission settings), so that some pages cannot be displayed. Where to look to fix the problems? Thx

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
It's not PHP vs. DOM. It's XML (DOM) vs. (bad) HTML. PHP just provides you with an interface to an XML parser. www.php4win.de At 01:14 14.1. 2001, James Duncan wrote the following: -- >Yikes. I'm just reading more about DOM and PHP

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
Yikes. I'm just reading more about DOM and PHP at the moment on the PHPBuilder website. Does anyone have a version of PHP complied with DOM support included for Windows (I'm developing on a Windows system before moving it over to Linux - RedHat)? So loading any old web page and trying to constru

php-windows Digest 14 Jan 2001 00:01:25 -0000 Issue 395

2001-01-13 Thread php-windows-digest-help
php-windows Digest 14 Jan 2001 00:01:25 - Issue 395 Topics (messages 4966 through 4991): Re: PHP Editor 4966 by: Matt Anderson 4989 by: Michael Cartmel Viewing PCL files 4967 by: Emore, Emmanuel php + seagate crystal reports 4968 by: Christoph Aigner RTF F

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
I should warn you that XML functions require the document to be very 'correct'. Most (I guess 98%... I wish browsers weren't so forgiving, all might've been much easier and better) of HTML pages on the internet basically aren't HTML (which is a son of SGML, and an older, heavily cripled brothe

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
Ah rite... thanks for the info. As I said I'm very new to all of this and reading lots, whilst trying to make sense of it all ;) So it is possible to use PHP to access DOM elements (via the XML DOM library) created from an HTML source file (a code example would be very handy)? Does anyone know if

Re: [PHP-WIN] PHP Editor

2001-01-13 Thread Michael Cartmel
HomeSite or ColdFusion Studio work great as well... plenty of colour coding etc... - Original Message - From: "Matt Anderson" <[EMAIL PROTECTED]> To: "James Brash" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 14, 2001 12:28 AM Subject: Re: [PHP-WIN] PHP Editor > I pers

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
You don't understand the basic concept. DOM (Document Object Model) is a tree representing the structure of a document, where the elements (logically separated parts of) content is enclosed within tags to allow for computerized processing. IE exposes it's own version of DOM through its imple

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
Sorry for the multiple post. Sometimes the mouse buttons on this lap top... ~~LF

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
All of these "tricks" to exchange the contents of two variables, while possessing a certain elegance, share one common defect. They are tricky. Days, weeks and months later they can and likely will be difficult to understand. This kind of trickiness may have a place deep in the internals of

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
All of these "tricks" to exchange the contents of two variables, while possessing a certain elegance, share one common defect. They are tricky. Days, weeks and months later they can and likely will be difficult to understand. This kind of trickiness may have a place deep in the internals of

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
All of these "tricks" to exchange the contents of two variables, while possessing a certain elegance, share one common defect. They are tricky. Days, weeks and months later they can and likely will be difficult to understand. This kind of trickiness may have a place deep in the internals of

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
This doesn't directly address your question but it may be worth being aware of. Depending on which database you're using and how complex the query is and any resulting performance hit, you could try something like: $sql = "select * from table_by_date where date_field between $fro

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
Interesting. WDDX doesn't solve my problem of grabbing the content because the supplier only provides it in HTML form but once I have the data I can use WDDX as another way of making the data available to the world. Thanks for the info. I don't suppose you know of a way to push WDDX data packets

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
Send a url that points to the page you want to strip the info from. Or look into another service or site that may give you the quotes in a raw text format. Also look into the http://www.php.net/manual/en/function.strip-tags.php function in PHP. Michael On Saturday, January 13, 2001, at 03:11

RE: [PHP-WIN] DOM

2001-01-13 Thread Corn Vollney-R7019C
James, If you are the owner of the dowloaded html page you could use WDDX. Check it out at WDDX.org. Voll -Original Message- From: James Duncan [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 8:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] DOM Hi

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
Hi again, Thanks for your help so far. I will explain what I'm trying to achieve. I want to pull down a web page that contains share prices, extract those share prices, and update a database with the new prices. What I want is a nice and neat solution that runs like a service (i.e. I can stop and

[PHP-WIN] Dynamic pages

2001-01-13 Thread Dark
Hi all Ok I was able to get a file upload script to work on my Win2k, IIS5, PHP 4 server but now rather then me creating a page in the directory where the people put their uploads I want to have a index page or similar that would contain the upload script along with generate a directory s

[PHP-WIN] How to correctly handle textual form inputs for SQL inserts/updates?

2001-01-13 Thread Mike Flynn
Hey all, I am curious how one accounts for all possible quirks that may result from textual form inputs when inserting or updating the results into the database. For instance, if a form has and/or inputs, how do you treat the results of those inputs to safely insert them into the database, to

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
No, actually I think that using PHP to insert the FORM and then use Javascript to get the #text node values would be easier. Parsing Table cells using RegExs is no fun. Michael On Saturday, January 13, 2001, at 01:06 PM, James Duncan wrote: > But surely if I'm using fopen to insert a hidden f

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
But surely if I'm using fopen to insert a hidden form and fields I might as well use fopen to extract the data from the HTML page in the first place? It just seems so much easier to capture the #text node values from the DOM, rather than using fopen to locate the same information!?! Another idea

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread Sean Bright
Yeah, but you could run into overflow problems with large values of a and b. Sean Jan Walter wrote: > > If you are working with numbers, which is perhaps not your case, you can use > this simple trick to swith values of $a and $b: > > $a = $a + $b; > $b = $a - $b; > $a = $a - $b; > -- > >

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
On Saturday, January 13, 2001, at 12:20 PM, James Duncan wrote: > I don't think this will work in my case because I don't control the layout > of the HTML page and hence can't add the hidden fields. I'm downloading the > HTML pages from a website. It would require as much work to insert the >

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
I don't think this will work in my case because I don't control the layout of the HTML page and hence can't add the hidden fields. I'm downloading the HTML pages from a website. It would require as much work to insert the hidden fields as trying to strip the HTML tags in an attempt to read the dat

Re: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
Could you do something like: myForm.myField.value=tablejames.firstChild.childNodes[1].childNodes[4].firstChild.firstChild.node Value; Set up a form of hidden fields. Extract the values from the DOM and then have the user hit a Submit button to get to the next page. At that point the values

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread Jan Walter
If you are working with numbers, which is perhaps not your case, you can use this simple trick to swith values of $a and $b: $a = $a + $b; $b = $a - $b; $a = $a - $b; -- __ ===

[PHP-WIN] RTF Files Library...

2001-01-13 Thread Andres Salazar
Hi, Anyone knows where is a library to build RTF with PHP or where I can get the RTF file format to build one on my own. Thanx Andres Salazar -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP-WIN] php + seagate crystal reports

2001-01-13 Thread Christoph Aigner
hello, is it possible to create seagate reports with php?. is there any extension avaliable, some kind of sdk? regards christoph aigner -- Christoph Aigner, CTO Alaris Informationsmanagement GmbH Paltaufgasse 16 / A-1160 Wien Tel: +43-1 486 34 45 Mobil: +43-676 84 98 94 10 http://www.alaris.at

[PHP-WIN] Viewing PCL files

2001-01-13 Thread Emore, Emmanuel
Does anybody know of a way of viewing PCL files using PHP that will not cost a lot of $$$? I am currently reviewing a product called call SwiftView but it cost a lot of $$$. Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [PHP-WIN] PHP Editor

2001-01-13 Thread Matt Anderson
I personally use WinEdit 2000 for my Windows based PHP coding. Color-coded language syntax and multiple editing tabs for files... check it out anyway. I'm not sure of the URL, but a search on Google or most likely even Tucows would find it. Hope it helps! - Original Message - From: Jame

php-windows Digest 13 Jan 2001 11:53:40 -0000 Issue 394

2001-01-13 Thread php-windows-digest-help
php-windows Digest 13 Jan 2001 11:53:40 - Issue 394 Topics (messages 4959 through 4965): Re: problem with checkdate () 4959 by: Asendorf, John 4960 by: Cynic Re: Simple question that I can't find the answer to 4961 by: Daniel Beulshausen gd under win98 4962

[PHP-WIN] PHP Editor

2001-01-13 Thread James Brash
Someone recently suggested a good PHP editor - similar to notepad. After reformatting, I lost the program and the url... anyone remember it ? Thanks if you can help -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI