Re: [PHP] Re: chrooted php5-cgi in a non chrooted apache

2007-11-16 Thread Frank Arensmeier
Maybe the Apache mailing list is a better place to ask. http://httpd.apache.org/userslist.html //frank 16 nov 2007 kl. 12.20 skrev Joerg Schoppet: Hi, no more tips for this problem? Joerg Schoppet Joerg Schoppet wrote: Hi, actually I try to make my webserver-installation more

Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier
hi guys ( girls), any Mac heads about? I have a MacBook Pro in front of me ... super cool, it even comes with apache php installed as standard. nice. only thing is php is not compiled with with all the extensions I need, the question is what is the *correct* way to update/recompile the

Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier
17 dec 2007 kl. 12.03 skrev Jochem Maas: Frank Arensmeier schreef: hi guys ( girls), any Mac heads about? I have a MacBook Pro in front of me ... super cool, it even comes with apache php installed as standard. nice. only thing is php is not compiled with with all the extensions I need

Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier
17 dec 2007 kl. 18.23 skrev David Powers: Frank Arensmeier wrote: When you install PHP5 with the package from entropy.ch, the new PHP5 will install under /usr/local/php5. The Mac package from entropy.ch is not compatible with Leopard (Mac OS X 10.5). Marc Liyanage is working on a Leopard

Re: [PHP] building PHP5.2.5 on Mac OS X Leopard (anyone know how to build a just an extension)

2007-12-20 Thread Frank Arensmeier
20 dec 2007 kl. 00.55 skrev Jochem Maas: hi guys, well having tried for countless hours to build php on leopard I pretty much gave up. that's too bad... apparently it's pretty much impossible unless your name is Marc Liyanage (entropy.ch) ... the problem lies with the fact that you

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-02-29 Thread Frank Arensmeier
29 feb 2008 kl. 03.41 skrev David Sveningsson: Nathan Rixham skrev: before going any further, your HTML page is in UTF-8 yes? with the appropriate content-type line. Yes, apache uses only utf-8 as charset and the html content-type meta tag is set to utf-8 too. Also, the html form

Re: [PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Frank Arensmeier
6 mar 2008 kl. 06.10 skrev Zareef Ahmed: HI Chirs, On 3/6/08, Chris [EMAIL PROTECTED] wrote: Zareef Ahmed wrote: Hi Chris, Thanks for such quick response. quite good suggestion, but my application is using a framework and lots of includes and even autoloads of classes are being done,

Re: [PHP] Know a JS list serve

2008-03-12 Thread Frank Arensmeier
11 mar 2008 kl. 22.39 skrev Skip Evans: Hey all, I've been Googling trying to find a JavaScript list serve to post a question to, but have been, embarrassingly, unable to find one. Anyone on one they'd recommend or know of one? Thanks *sigh* Evolt has a rather good list (not too much

Re: [PHP] Sending mail on OS X

2007-06-09 Thread Frank Arensmeier
I think the key to your problem is to configure Postfix on Mac OS X properly. My best suggestion would be Postfix Enabler (look at e.g. versiontracker.com for the current version). Postfix Enabler makes it very easy to setup Postfix for exemple to use SMTP for the outgoing mails. Another

[PHP] None US ASCII characters not allowed in headers?

2007-06-09 Thread Frank Arensmeier
Hi. I have been struggling with a little problem for quite some time now, without finding a good solution. On one of my pages, users are able to download files that contain none US ASCII characters in their filenames (e.g. character ö,ä,å). And I would like to set the original filename

Re: [PHP] None US ASCII characters not allowed in headers?

2007-06-09 Thread Frank Arensmeier
Sorry, my misstake. It turned out that the filename (stored in MySQL) was UTF8 encoded. Setting the content header filename value manually to something including umlaut characters was no problem. Lazy me... Nice weekend. //frank 9 jun 2007 kl. 21.51 skrev Frank Arensmeier: Hi. I have

Re: [PHP] None US ASCII characters not allowed in headers?

2007-06-09 Thread Frank Arensmeier
9 jun 2007 kl. 22.05 skrev Robert Cummings: On Sat, 2007-06-09 at 21:59 +0200, Frank Arensmeier wrote: Sorry, my misstake. It turned out that the filename (stored in MySQL) was UTF8 encoded. Setting the content header filename value manually to something including umlaut characters

Re: [PHP] Re: Not getting expected result from file()

2007-06-11 Thread Frank Arensmeier
If you are not able to get anything into your DB (and your connection is ok), then two things might be wrong: your input or the query string itself. Echo out the query string and try to use the query manually (directly with a MySQL client). If the query string is ok, you might check your

Re: [PHP] Re: Sample

2007-06-11 Thread Frank Arensmeier
Thats nice! Could correct mine also? ;-) //frank 11 jun 2007 kl. 11.01 skrev [EMAIL PROTECTED]: I have corrected your document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] pdf and send to printer question

2007-06-20 Thread Frank Arensmeier
Mike. I would start by confirming that the pdf library has been enabled/loaded successfully. Call phpinfo() and look for the pdf library. It should be there. Since I am on Mac OS X, I am not sure what php_cpdf.dll/php_pdf.dll really is (pdflib? - why two libraries?). Anyway, the error you

Re: [PHP] XML editors

2007-08-16 Thread Frank Arensmeier
Although I am not able to give you any helping advice, I would like to know if there are any PHP based XML online - editors out there (that would allow me to edit XML files online so to say). One thing that poped up in my mind was Tiny MCE. Sure, it could be possible to customise Tiny MCE,

Re: [PHP] Re: XML editors

2007-08-17 Thread Frank Arensmeier
16 aug 2007 kl. 13.12 skrev Colin Guthrie: Frank Arensmeier wrote: Although I am not able to give you any helping advice, I would like to know if there are any PHP based XML online - editors out there (that would allow me to edit XML files online so to say). One thing that poped up in my

[PHP] Problem with wrapper script for Tidy

2006-08-04 Thread Frank Arensmeier
Hello. Since my ISP does not provide the tidy module for Apache, I tested writing a wrapper script for a locally installed tidy binary. In general, the script is triggered by a modification to the .htaccess file like so: AddHandler server-parsed .php Action server-parsed

Re: [PHP] Problem with wrapper script for Tidy

2006-08-05 Thread Frank Arensmeier
don't see this making the PHP code any less secure than it was before you wrapped Tidy around it... On Fri, August 4, 2006 6:21 am, Frank Arensmeier wrote: Hello. Since my ISP does not provide the tidy module for Apache, I tested writing a wrapper script for a locally installed tidy binary

Re: [PHP] display a single thumb per gallery

2006-08-28 Thread Frank Arensmeier
http://dev.mysql.com/doc/refman/5.0/en/join.html you could use something like this: SELECT DISTINCT thumbnails.gallery, thumbnails.id, thumbnails.binary_data FROM thumbnails you can insert everything you want from your table after the DISTINCT by writing: table.colName /frank 27 aug

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
You seem to use FPDF. Although I never tried working with FPDF, you might take a look at http://fpdi.setasign.de/ which is a class that extends FPDF. If you are looking for a library with support for all PDF features, maybe PDFlib (http://www.pdflib.com) is the one for you (sure, PDFlib/

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
Tedd, this issue has been discussed recently on the PDFlib mailing list. Search for the topic search replace on PDF. Archive is here: http://groups.yahoo.com/group/pdflib/ regards, /frank 1 sep 2006 kl. 16.33 skrev tedd: You seem to use FPDF. Although I never tried working with FPDF,

Re: [PHP] Arabic

2006-09-07 Thread Frank Arensmeier
I would... a) read the PDFlib manual b) search the PDFlib list archives for information (this has been discussed previously, I am rather sure) c) post your question to the PDFlib list /frank 7 sep 2006 kl. 21.16 skrev Ronald Cole: Hi, I'm trying to use pdflib to generate Arabic.

Re: [PHP] Directory Structure

2006-09-08 Thread Frank Arensmeier
I think that these kind of questions are very annoying - it is almost rude to post this to a list. Why don't you a) show that you have done some thinking b) have at least scanned the manual c) have asked Google. /frank 8 sep 2006 kl. 07.12 skrev Manoj Singh: Hello all, I am developing a

Re: [PHP] Problems with date()

2006-09-13 Thread Frank Arensmeier
And what exactly did you expect? Have you checked a calendar? The 31st of december 2001, 2002 and 2003 are Monday, Tuesday and Wednesday respectively. In other words. those days are more or less in the middle of the week 01. So, I would say that your results are absolutely right. /frank

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Frank Arensmeier
Hi there. Look at the man page for mount_smbfs - especially the -M option which ia able to set permissions on the mounted SMB volume. If that doesn't help, when you said you tried to make a shortcut to the file - did you do this in the Finder? Try it with a symbolic link in stead (man

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-13 Thread Frank Arensmeier
Sorry for the typos btw... It's late. /frank 13 sep 2006 kl. 21.20 skrev Frank Arensmeier: Hi there. Look at the man page for mount_smbfs - especially the -M option which ia able to set permissions on the mounted SMB volume. If that doesn't help, when you said you tried to make

[PHP] ereg_replace with unser defined function?

2006-10-09 Thread Frank Arensmeier
Hello all. Is it possible to have a user defined function for the replacement within an ereg_replace (like preg_replace_callback)? I am working on a script that converts html pages with metric data into imperial data. My script takes text strings containing one or more instances of e.g.

Re: [PHP] ereg_replace with user defined function?

2006-10-09 Thread Frank Arensmeier
[$i][0], 0, 3)) *0.039370079),1); //take the last part of match with no digits, I don't know if there are sure 3 digits } for(int i=0; icount($matches); i++){ preg_replace($string, $matches[$i][0], $replacement[$i].in); } hope to help you Ilaria Frank Arensmeier wrote: Hello all

Re: [PHP] ereg_replace with user defined function?

2006-10-11 Thread Frank Arensmeier
10 okt 2006 kl. 19.25 skrev Roman Neuhauser: # [EMAIL PROTECTED] / 2006-10-09 22:01:34 +0200: Thank you Ilaria and Roman for your input. I did not know that preg is able to deal with PCRE patterns. preg is obviously short for Perl REGular expressions, while PCRE positively means

Re: [PHP] ereg_replace with user defined function?

2006-10-11 Thread Frank Arensmeier
Thanks again for your suggestions. Actually, - believe it or not - I have never written a class (I am still learning PHP after three years working with that language). So I am not quite sure of the benefits of your class. One thing I do realise is the benefit of replacing the foreach loop

Re: [PHP] canon jpegs

2006-10-13 Thread Frank Arensmeier
It would be helpful for us if you could provide some detailed information about those jpeg pictures (resolution, color depth/ channel, color space etc.). Furthermore, do you get any error message? This would be helpful as well. /frank 13 okt 2006 kl. 03.24 skrev Ed Lazor: Until someone

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Frank Arensmeier
Kevin, there is no need to post the same question three times to this list. Your chances on getting helpful responses won't increase. The issue you describe is more related to Apache (assuming that you are on an Apache server) and URL rewriting than to PHP. Ask Google for Apache

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Bad day? /frank 1 nov 2006 kl. 09.55 skrev Mel: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Maybe it's the 18 k of JavaScript from Google that slows your page down? Why not load this script locally from your server? /frank 1 nov 2006 kl. 10.26 skrev Mel: So do you mean that's it is ok and not slow? On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote: On Wed, 2006-11-01 at 00:55

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
My suggestion: stripp out the JS from Google. Test you page again. Should the page load as slowly as before, it might have to do with PHP. Then, give us more details about your script) /frank 1 nov 2006 kl. 10.53 skrev Robert Cummings: On Wed, 2006-11-01 at 01:26 -0800, Mel wrote: So do

Fwd: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Please send a CC of your answer to the PHP list as well... /frank Vidarebefordrat brev: Från: Toby Osbourn [EMAIL PROTECTED] Datum: onsdag 1 nov 2006 10.57.17 GMT+01:00 Till: Frank Arensmeier [EMAIL PROTECTED] Ämne: Re: [PHP] why so slow? Yeah it will be that hit counter or whatever

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
with any other site! On Nov 1, 2006, at 2:12 AM, Frank Arensmeier wrote: My suggestion: stripp out the JS from Google. Test you page again. Should the page load as slowly as before, it might have to do with PHP. Then, give us more details about your script) /frank 1 nov 2006 kl. 10.53 skrev

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
In fact, validator.w3.org validates the hmtl page at http:// www.squareinch.net/client_testing_html401.php as valid 4.01 html. So obviously, html comments are allowed before the doctype declaration. Anyway, the page contains almost one hundred (haven't count them) totally unnecessary empty

Re: [PHP] Read Through PHP Files

2006-11-10 Thread Frank Arensmeier
There are search engins written in PHP available already. E.g. PHPdig. http://www.phpdig.net/ PHPdig for example is able to index PDF and doc files (I think - see the docs). Maybe it would also be a good idea to have a look at the source code. /frank /frank 10 nov 2006 kl. 14.50 skrev

Re: [PHP] php cli and mysql

2006-11-15 Thread Frank Arensmeier
FYI - the problem with mysql.sock has been an support issue at apple.com before. http://docs.info.apple.com/article.html?artnum=301457 /frank 15 nov 2006 kl. 11.03 skrev Roman Neuhauser: # [EMAIL PROTECTED] / 2006-11-14 18:56:01 -0500: Roman Neuhauser wrote: # [EMAIL PROTECTED] /

[PHP] Update function for content of existing CD?

2006-11-17 Thread Frank Arensmeier
Hello all. I am looking for some ideas on how to design / structure a script which checks for updates on files on a existing CD ROM. Every week, I generate content for a CD ROM containing a large number of html pages and PDF files (the CD is distributed to 20 - 30 dealers for ours) . The

Re: [PHP] Attaching File to be Emailed

2006-11-24 Thread Frank Arensmeier
I think the OP was about how to send e-mail attachments - not a question about send a file to the client browser... 1) Read the manual about the function mail (especially the user notes) http://se2.php.net/manual/en/ref.mail.php 2) Google for e.g. php mail attachment Come back to this list

Re: [PHP] Tidy HTML source?

2006-11-28 Thread Frank Arensmeier
As Richard already pointed out, ugly code can be a real problem occasionally. Besides that, I assume that you have some kind of coding standrad for your PHP code already, right? Basically, why do someone would make a difference between pretty styled PHP code and pretty styled html/CSS? Be

Re: [PHP] Re: pattern containing single quote in IF statement

2006-12-26 Thread Frank Arensmeier
First of all, I strongly feel that you should have double quotes around the string you like to compare with (e.g. new). Otherwise, you are comparing against a string but to something else (integer ?). Without quotes, PHP will throw an error (not sure if it will throw a fatal error or

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Frank Arensmeier
If you just want to test for \n\r - if ( substr ( -2, $my_string ) == \n\r ) { // substr with the negative value of 2 will give you the last two characters of your string // do some stuff } I think it would be a good idea to explain a little bit more what you are trying to

Re: [PHP] file_get_contents gets 404 error

2007-01-11 Thread Frank Arensmeier
In the manual it says: You can use a URL as a filename with this function if the fopen wrappers have been enabled First of all, I would check your php.ini file. If everything is ok (fopen wrappers are on), maybe you could post some code. The last option would be to use an other way

Re: [PHP] Weird behaviour with IE

2007-01-11 Thread Frank Arensmeier
And where does PHP come in here? The issue you describe could be anything - CSS related, html related, server related, php / asp / java you name it - maybe it is MS Explorer that sucks. Do some more research first and then - if you still feel that this might be related to PHP, you are

Re: [PHP] I lied, another question / problem

2007-01-16 Thread Frank Arensmeier
I believe that only two things could be messing up your validation: a) input data b) your function a) Do a var_dump on your input data. Is there any white space characters or anything else that do not belong there in the string? b) Rewrite your function/rethink what you are doing. You said

Re: [PHP] SCanning text of PDF documents

2008-05-15 Thread Frank Arensmeier
: http://www.php.net/unsub.php Frank Arensmeier Webmaster IT Development NIKE Hydraulics AB Box 1107 631 80 Eskilstuna Sweden phone +46 - (0)16 16 82 34 fax +46 - (0)16 13 93 16 [EMAIL

Re: [PHP] substr?

2008-06-18 Thread Frank Arensmeier
17 jun 2008 kl. 22.14 skrev Jim Lucas: Jason Pruim wrote: Hi everyone, I am attempting to adopt some code to work more reliably then how it is now... What I am doing is coding a upload form where people could be uploading .zip files in excess of 200 MB... Yes I know that is large, but

Re: [PHP] de lester

2008-06-27 Thread Frank Arensmeier
27 jun 2008 kl. 09.05 skrev [EMAIL PROTECTED]: SORRY, IN THE LAST EMAIL I DONT SAY WHAT TYPE OF VIDEO I WAS WORKING, I AM WORKING WITH VIDEO .MOV THANKS. I am working with videos and I need to Know how I can obtain the duration of the videos I had a formula that did not need any function

Re: [PHP] Re: very very small CMS

2008-07-19 Thread Frank Arensmeier
19 jul 2008 kl. 05.05 skrev Robert Cummings: On Fri, 2008-07-18 at 19:40 -0400, tedd wrote: At 4:26 PM -0400 7/18/08, Al wrote: I've got one that sounds like it's exactly what you are looking for. This site uses it extensively. http://www.restonrunners.org Just about every single page on

Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Frank Arensmeier
1 okt 2008 kl. 12.31 skrev Alain Roger: ... later on i try to use the content of this array, bt without success. Here is what i do: $bci = array($_SESSION['bc']); array_push($bci,$_SESSION['bc']); foreach($bci as $key=$value) { echo bci : .$bci[$key]['name']; echo br/; } how can i

[PHP] Waste of storage space?

2008-10-28 Thread Frank Arensmeier
Hi all. In short, I am working on a system that allows me to keep track of changes to a large amount of short texts (a couple of thousand text snippets, two or three sentences per text). All text is stored in a database. As soon as a user changes some text (insert, delete, update), this

Fwd: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
Från: Yeti [EMAIL PROTECTED] Datum: ti 28 okt 2008 23.07.11 GMT+01:00 Till: Frank Arensmeier [EMAIL PROTECTED] Ämne: Re: [PHP] Waste of storage space? Hej, why not do a simple strlen() before comparison? Like if strlen (or mb_strlen()) is less than 50 do not serialize/ compare. Or Like

Re: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
28 okt 2008 kl. 23.56 skrev Chris: 1) Store the delta (=the actual change) of a text change. This could be done by utilizing the Pear package TextDiff. My idea was to compare the old with the new text with help of the TextDiff class. I would then grab the array containing the changes

[PHP] Re: Waste of storage space?

2008-10-29 Thread Frank Arensmeier
29 okt 2008 kl. 00.00 skrev Maciek Sokolewicz: Frank Arensmeier wrote: Hi all. In short, I am working on a system that allows me to keep track of changes to a large amount of short texts (a couple of thousand text snippets, two or three sentences per text). All text is stored

Re: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
29 okt 2008 kl. 01.08 skrev Bastien Koert: On Tue, Oct 28, 2008 at 4:24 PM, Frank Arensmeier [EMAIL PROTECTED] wrote: Hi all. In short, I am working on a system that allows me to keep track of changes to a large amount of short texts (a couple of thousand text snippets, two or three

Re: [PHP] Printing Web Page

2008-11-06 Thread Frank Arensmeier
6 nov 2008 kl. 21.21 skrev Patrick Moloney: I'd like to enable my users to print individual web pages from their browser. If they simply select the browser print button they don't get all the text that is displayed in a scrolling text area. The web page is static html and css, in a php

Re: [PHP] Waste of storage space? [follow-up]

2008-11-07 Thread Frank Arensmeier
1 nov 2008 kl. 16.27 skrev Michelle Konzack: Hello Frank, Do you use Linux or Windows? Initially, the system I am working on will be installed under Mac OS X Server. If Windows you have already lost since the cluster size of e.g. Windows 2003 is 32 kByte or 64 kByte... If

Re: [PHP] installing php 5 with pdflib

2009-01-14 Thread Frank Arensmeier
13 jan 2009 kl. 22.38 skrev Merlin Morgenstern: Hi there, I am still facing trouble with pdflib and php 5. After hours of research I found that I do have to install the pecl package. So I decided to compile it into php staticly like described here:

[PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread Frank Arensmeier
Hello. I try to compile PHP 4.4.2 from source on Mac OS X 10.4 server but I am getting error messages. The the install configuration runs just fine using the following options: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/lib --with-apxs

Re: [PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread Frank Arensmeier
darwinports. Cheers /V Frank Arensmeier wrote: Hello. I try to compile PHP 4.4.2 from source on Mac OS X 10.4 server but I am getting error messages. The the install configuration runs just fine using the following options: ./configure --prefix=/usr/local/php --with-config-file-path=/usr

[PHP] how to run 'periodic'

2006-04-06 Thread Frank Arensmeier
Hi. I have written a script which outputs a rather large ZIP file ( 200 MB ) by collecting a large amount of PDF files and html pages. When the script is done, the available amount of free memory has decreased by about 20 - 30%. Running 'periodic' on my machine ( Apple Xserve G5 with Mac

Re: [PHP] how to run 'periodic'

2006-04-09 Thread Frank Arensmeier
executable by root and then root should be the only one allowed to create that mammoth ;-) - Joe On 4/6/06, Frank Arensmeier [EMAIL PROTECTED] wrote: Hi. I have written a script which outputs a rather large ZIP file ( 200 MB ) by collecting a large amount of PDF files and html pages. When

Re: [PHP] RSS Generation

2006-04-10 Thread Frank Arensmeier
Robbert, maybe it is only a typo, but you have written: xml. not .xml (notice the position of the dot). /frank 10 apr 2006 kl. 15.37 skrev Robbert van Andel: I am working on creating some RSS feeds on my website using PHP. I'm still learning RSS but it seems easy enough. I managed to

[PHP] Replacing text of a DOM text node

2006-06-06 Thread Frank Arensmeier
Hello! Basically, I am working on a script that is supposed to convert table data from metric to imperial data. I want to pare XHTML pages (containing up to three different tables) with the PHP DOM functions in order to be able to access and manipulate the tables one by one. Parsing and

Re: [PHP] Replacing text of a DOM text node

2006-06-07 Thread Frank Arensmeier
for some good sites covering the PHP DOM functions. On www.php.net/dom there are barely some examples. And on www.zend.com I only found one article with very, very basic examples. Any ideas/suggestions are more than welcome. ds. 7 jun 2006 kl. 00.54 skrev Jochem Maas: Frank Arensmeier wrote

Re: [PHP] Replacing text of a DOM text node

2006-06-07 Thread Frank Arensmeier
Richards: Hi Frank, Frank Arensmeier wrote: Jochem, thank you for your input! So, right now I am able to access all text nodes by e.g. $nodeElement - parentNode - childNodes - item(0); - returns Lenght, Width and so on $nodeElement - parentNode - childNodes - item(1); - is empty $nodeElement

Re: [PHP] HTML (php page) - PDF recommendation

2006-06-10 Thread Frank Arensmeier
Depending on what you need (CSS support, good table support and so on) and which plattform you are working with it might be a good idea to have a look at: http://www.digitaljunkies.ca/dompdf/ There are also several on-line services available like: http:// www.pdfonline.com/ If you are on

Re: [PHP] Re: Setting headers for file download

2006-06-14 Thread Frank Arensmeier
I was working on a script that was supposed to generate PDF files on the fly and ran into the same problem as you described. MS IE has always been and will always be (?) a P.I.T.A. when it comes to following standards (I am not really sure if the header application/x- octet-steam is a

Re: [PHP] Serving a graphic downloads it instead of displaying it

2006-06-17 Thread Frank Arensmeier
: 7.1.394 / Virus Database: 268.9.0/367 - Release Date: 16/06/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Frank Arensmeier Marketing Support Webmaster NIKE Hydraulics AB Box 1107 631 80 Eskilstuna

[PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
Hello list-members I have written a script which dynamically generates PDF documents (with PDFlib). The link to the PDF file is presented as a static link (thanks btw to Richard Lynch and his previous contributions to this list on the subject force download). It is redirected to the script

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - NIKE HYDRAULICS AB Frank Arensmeier Marknadssupport / Webmaster tel 016 - 16 82 34 fax 016 - 13 93 16 [EMAIL PROTECTED] www.nikehydraulics.se - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PDF Thumbnails

2005-09-26 Thread Frank Arensmeier
Hi. I've tried some different kinds of setups to do this. And my recommendation for you would be Ghostscript, maybe together with ImageMagick. Have a look at: http://www.imagemagick.org/script/index.php http://www.cs.wisc.edu/~ghost/ regards, frank 2005-09-26 kl. 07.42 skrev [EMAIL

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-26 Thread Frank Arensmeier
low traffic. /frank 2005-09-22 kl. 12.59 skrev Frank Arensmeier: Hello list-members I have written a script which dynamically generates PDF documents (with PDFlib). The link to the PDF file is presented as a static link (thanks btw to Richard Lynch and his previous contributions to this list

[PHP] replace special characters

2005-02-24 Thread Frank Arensmeier
Hello everybody! I was wondering if you could help me with a little problem I ran into some days ago. In my database I have some information about file paths. Originally, those paths come from a Windows Excel spreadsheet and look like ..\1 PDF Filer\65051.PDF. In my PHP code I try to do two

Re: [PHP] Re: replace special characters

2005-02-24 Thread Frank Arensmeier
Thank you Stian! In Swedish they say Sometimes you can't see the forest by all the trees. /frank 2005-02-24 kl. 09.45 skrev Stian Berger: On Thu, 24 Feb 2005 09:14:32 +0100, Frank Arensmeier [EMAIL PROTECTED] wrote: Hello everybody! I was wondering if you could help me with a little problem I

Re: [PHP] function to resize images

2005-02-28 Thread Frank Arensmeier
Dave! I would start by reading the PHP manual. Look for a function called 'imagecopyresized()'. This might help. /frank 2005-02-28 kl. 16.34 skrev Bosky, Dave: Does anyone have a nice function that will resize an uploaded image to specific width/height dimensions? I wanted to find something that

Re: [PHP] textarea posting duplicate text

2005-03-01 Thread Frank Arensmeier
Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Frank Arensmeier Marketing Support NIKE HYDRAULICS AB Box 1107 631 80 Eskilstuna Sweden tel +46 16 82 34 fax +46 16 13 93 16 email: [EMAIL PROTECTED

[PHP] Connecting to a AS/400?

2005-03-02 Thread Frank Arensmeier
Hello! Is there anyone who has some experience in connecting to a IBM AS/400 server with PHP? Any ideas where to start? Regards, Frank Frank Arensmeier Marketing Support NIKE HYDRAULICS AB Box 1107 631 80 Eskilstuna Sweden tel +46 16 82 34 fax +46

Re: [PHP] Connecting to a AS/400?

2005-03-02 Thread Frank Arensmeier
Richard, you are my man! Thank you for the hints you gave me. I will do some digging in the list archives tonight. Thank you. /frank 2005-03-02 kl. 19.57 skrev Richard Lynch: Frank Arensmeier wrote: Is there anyone who has some experience in connecting to a IBM AS/400 server with PHP? Any ideas

Re: [PHP] How to sort a Multidimensional array?

2005-03-02 Thread Frank Arensmeier
Hello! This must be one of the most frequently asked questions ever. Anyway, take a look at the PHP manual. Look for a function called 'foreach'. To put it simple, with 'foreach' you are able to go through the array step-by-step, value by value. For example: ?php $arr = array('value1',

[PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] [PHP] how to get checkbox form data as array?

2005-03-04 Thread Frank Arensmeier
Try: input type=checkbox name='aaa[]' value=1 /frank 2005-03-04 kl. 04.06 skrev tx: i create the html form as below input type=checkbox name=aaa value=1 input type=checkbox name=aaa value=2 input type=checkbox name=aaa value=3 input type=checkbox name=aaa value=4 and i receive the form data

Re: [PHP] php-help

2005-03-08 Thread Frank Arensmeier
= (array of first query iterated) can u help me doing this in php. thanks, karthik Frank Arensmeier Marketing Support NIKE HYDRAULICS AB Box 1107 631 80 Eskilstuna Sweden tel +46 16 82 34 fax +46 16 13 93 16 email: [EMAIL PROTECTED

[PHP] croping an image with GD and putting it into html code

2005-03-15 Thread Frank Arensmeier
the thumbnail image directly to a img tag in my html file? Is there a way to do this without storing the thumbnail into a tmp file? /frank Frank Arensmeier Marketing Support NIKE HYDRAULICS AB Box 1107 631 80 Eskilstuna Sweden tel +46 16 82 34 fax +46 16 13

Re: [PHP] Re: Renaming Directories

2005-03-21 Thread Frank Arensmeier
Hello Daniel! In the code it says: echo rename($path_old, $path_new) ? done\n : failed\n; I assume that this line is supposed to actually rename the directory. Why did you wrote echo before rename? Try to change the code to: if (!rename($path_old,$path_new)) { echo failed\n; } else {

Re: [PHP] seraching / indexing in php

2005-03-22 Thread Frank Arensmeier
Hello! I suggest you take a look at: http://www.phpdig.net/ Regards, Frank 2005-03-22 kl. 15.47 skrev Reinhart Viane: I'm looking for a script which indexes the pages of a site (dynamic pages) in a dbase and makes it possible to search the site based on keywords/sentences/etc. Does anyone has

Re: [PHP] seraching / indexing in php

2005-03-23 Thread Frank Arensmeier
. The intention is to make a site where several users have one page each which they can edit on there own. Do you think most of those engines can index pages like that? Or should I create an index every time a page is updated / made? Greetings -Oorspronkelijk bericht- Van: Frank Arensmeier [mailto

Re: [PHP] reduce the following code if ($colorVar == 'Black' || $colorVar == 'Red' || $colorVar == 'White' || $colorVar == 'Blue' ){

2005-03-23 Thread Frank Arensmeier
? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Frank Arensmeier Marketing Support NIKE HYDRAULICS AB Box 1107 631 80 Eskilstuna Sweden tel +46 16 82 34 fax +46 16 13 93 16 email: [EMAIL

Re: [PHP] asking comment

2005-03-30 Thread Frank Arensmeier
Instead of generating filenames with random numbers, why not take a timestamp and use this as filenames? /frank 2005-03-30 kl. 14.44 skrev William Stokes: Hello, I got a bit frustrated with image upload stuff with different image name problems. So I created a system that gives the uploaded

Re: [PHP] Little Help Needed

2005-04-05 Thread Frank Arensmeier
You should describe more specific what is going wrong with your script. What does the script output? Maybe you should post a vardump as well. /frank 2005-04-05 kl. 11.07 skrev Jason: Could someone tell me what I did wrong with this script. It should read the page

Re: [PHP] Encoding issue with £

2007-01-24 Thread Frank Arensmeier
23 jan 2007 kl. 18.55 skrev Dave Goodchild: This may be more of a mysql issue, but I am using php for my app so here goes... I have a fee field in the database, and when users post events they can specify entrance fee in £. In some, not all, of the fields I am getting, for example, £7

Re: [PHP] Validating a link in php

2007-01-24 Thread Frank Arensmeier
25 jan 2007 kl. 07.06 skrev [EMAIL PROTECTED]: Richard Lynch wrote: I dunno what you did wrong with fsockopen... First of all, thanks for taking the time to respond. I had tried fsockopen, but here's the problem. The following calls work as expected, returning a valid file pointer for

Re: [PHP] Ongoing encoding issues

2007-01-26 Thread Frank Arensmeier
Hi Dave. I don't think you are able to detect your users character encoding with php only (at least not rock-solid). Just some days ago, there was a discussion about that issue (at least concerning Safari) on the Apple web dev mailing list. Have a look at:

Re: [PHP] Regular Expression

2007-02-05 Thread Frank Arensmeier
5 feb 2007 kl. 22.12 skrev H.T: Do you know good regular expression editor or something simialar? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Regex online: www.regextester.com //frank -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Opera advice needed!

2007-02-07 Thread Frank Arensmeier
7 feb 2007 kl. 09.50 skrev William Stokes: If there's an opera expert around could you please check out the following link: http://www.fcviikingit.com/new/testimenu.php This script contacts a DB and prints out the results as javascript to the client browser. As I mentioned earlier It

Re: [PHP] Multi lingual pages

2007-02-08 Thread Frank Arensmeier
'ditto' to most of what the other list members replied :-) O. Wyss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Frank Arensmeier

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Anyone? //frank 8 feb 2007 kl. 11.24 skrev Frank Arensmeier: Hello. I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implement a good (normative) url structure so to say when it comes to multi

  1   2   >