Re: [PHP] textarea posting duplicate text

2005-03-01 Thread Frank Arensmeier
Elizabeth! Have you considered reinstalling PHP on your server? Maybe, it is worth the effort? Regards, Frank 2005-03-01 kl. 17.19 skrev Bret Hughes: On Tue, 2005-03-01 at 08:43, Elizabeth Lawrence wrote: Thanks, Dan. I copied your code exactly and posted it here: http://www.tidefans.com/test.php

[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
ay('value1', 'value2', 'value3); foreach ($arr as $key => $value) { echo "Key: $key; Value: $value\n"; // in stead of just echoing the values and keys, you can e.g. assign the values to another array and sort them when done } ?> regards, frank 2005-03-

[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: /frank 2005-03-04 kl. 04.06 skrev tx: i create the html form as below and i receive the form data in php file as below: global $aaa; print_r($aaa); this action only echo "4" not the total array in array format,why?

Re: [PHP] php-help

2005-03-08 Thread Frank Arensmeier
PHP manual for information about connecting to a MySQL database from PHP, gaining results and processing these results. If you could post some PHP code to this list, I am sure members of this list will gladly help you with debugging the code. Regards, Frank 2005-03-08 kl. 11.26 skrev K Karthik

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

2005-03-15 Thread Frank Arensmeier
thumbnail image directly to a 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 93

Re: [PHP] Re: Renaming Directories

2005-03-21 Thread Frank Arensmeier
old,$path_new)) { echo "failed\n"; } else { echo "done\n"; } May this helps! /frank 2005-03-21 kl. 15.07 skrev Daniel Schierbeck: Daniel Schierbeck wrote: I've made a small PHP script that renames the files and folders in my music library, to make them more linux

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 anyon

Re: [PHP] seraching / indexing in php

2005-03-23 Thread Frank Arensmeier
changed, shouldn't be a problem either. Download the package and take a look at the source code. regards, frank 2005-03-22 kl. 16.01 skrev Reinhart Viane: Thanks Frank, One question: on most of these search engines I can't seem to find if the index and search dynamically generated

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

2005-03-23 Thread Frank Arensmeier
/frank 2005-03-23 kl. 09.54 skrev Lupita: Hello; Can any one show me a way to reduce the following code? ## if ($colorVar == 'Black' || $colorVar == 'Red' || $colorVar == 'White' || $colorVar == '

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 http://www.mto.gov.on.ca

[PHP] Mysql insert problems

2005-04-15 Thread Frank Miller
All, I have a form which submits technical requests. It worked fine on an old linux box using Mysql 3 series but recently we switched to windows 2003 server SP1 using Mysql 4.1.10. It was doing this before the service pack. I get the form values and then insert them into a table. Sometimes it wor

[PHP] Empty Variable Values Between Scripts

2004-06-08 Thread Frank Hahn
0.7 browser If there is a better list for beginner questions, please let me know. Thanks. -- Frank Hahn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Empty Variable Values Between Scripts

2004-06-08 Thread Frank Hahn
','$_POST [phone]','$_POST[mobile]','$_POST[fax]','$_POST [email]','$_POST[web]')"; This works like the article says it should. Thank you for your help. -- Frank Hahn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session_is_registered gets session values only after doing some output first !?

2004-06-23 Thread Frank Rust
nt I get always false and $_SESSION is empty, but I could redirect somewhere... I tried php 4.3.1 and 4.3.7 with apache 2.0.45 both the same. On a Windows box the same program runs fine. Can anybody help? _____ Frank Rust

[PHP] MySql DB access upon browser close

2004-07-06 Thread Frank Voorburg
ond window again. Not the most elegant and efficient solution and I'm hoping someone has a better suggestion/example. Perhaps something with PHP's sessionid timeout is possible? Thanks, -Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help Formatting String into URL

2004-07-10 Thread Frank Voorburg
ormatUrl("www.google.com"); print "test1 = $test1"; print "test2 = $test2"; And this will give you the results: test1 = http://www.google.com test2 = http://www.google.com Good luck! -Frank "Ryan Schefke" <[EMAIL PROTECTED]> wrote in message news:[E

[PHP] problem including images in safe_mode

2004-07-15 Thread Frank Holtschke
Hall all, i have sometimes problems to include images. the reason are substrings like in that case the php-parser tries to parse the string and returns the error: parse error, unexpected ',' in unforunatly there in no other way to include the image, cause the server runs in safe_mode and the im

Re: [PHP] problem including images in safe_mode

2004-07-15 Thread Frank Holtschke
Jason Wong wrote: On Thursday 15 July 2004 19:52, Frank Holtschke wrote: i have sometimes problems to include images. the reason are substrings like parse error, unexpected ',' in unforunatly there in no other way to include the image, cause the server runs in safe_mode and the image

Re: [PHP] image

2004-07-16 Thread Frank Holtschke
Php wrote: like i call an image if the img tag but instead of loading the image it loads a php script did you send the mime-type header first? Something like: header("Content-Type: image/png"); Then you can do an include of the image or something like that. "Jason Wong" <[EMAIL PROTECTED]> wrote in

Re: [PHP] problem including images in safe_mode

2004-07-16 Thread Frank Holtschke
Jason Wong wrote: On Thursday 15 July 2004 23:30, Frank Holtschke wrote: Even if you could prevent an included file from being parsed, I can't see how it would help you as you can't assign the contents to a variable. But you say that you "sometimes have problems" which impli

[PHP] Project-browser-function / required/included

2004-07-21 Thread Frank Munch
to be able to see - i.e. a function that takes a file as input and recursively checks for all links. TIA! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exec/system question..

2004-07-21 Thread Frank Munch
ut of that program is redirected to a file or some other output stream or else PHP will hang until the execution of the program ends. " i.e. > /my/dump.txt 2>&1"); ... ?> This will have your PHP script continuing without waiting for the perl script. - - - ...If I understood y

Re: [PHP] Function with Optional Arguments

2004-07-21 Thread Frank Munch
You can use default arguments: func foo($first, $second=2, $third=3 etc. or look at function func_num_args(... HIH Frank At 01:39 AM 7/22/2004, Alex Hogan wrote: Hi All, How do I write a function with optional arguments? Is it possible in php? function myfunc($First, $Second,[$Third, $Fourth

Re: [PHP] Re: Project-browser-function / required/included

2004-07-22 Thread Frank Munch
Still, it would be possible to deliver a variable_name=value to the traversing function which would be good enough in most cases. May get around to it one day... Frank At 06:46 PM 7/22/2004, Jason Barnett wrote: Hmmm... this may be difficult to implement. For simple include/require trees it cou

Re: [PHP] XML editors

2007-08-16 Thread Frank Arensmeier
hem to the server). Any ideas? //frank 15 aug 2007 kl. 21.15 skrev Al: What do you guys use for casual XML editing, besides plain text editors? Ones that'll error check and allow fixing files with errors? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscri

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 p

[PHP] opcode question

2007-09-05 Thread Frank Höger
Hello, I recently came across an "invalid opcode 137/8/8" error. I couldn't find anything on the net regarding this specific error. Where can I find documentation concerning opcodes and particularly this error? Regards Frank -- PHP General Mailing List (http://www.php.net/)

[PHP] functions versus includes

2007-11-11 Thread Frank Lopes
I just started using PHP and got to think... Without getting into the discussion of "best practices", strictly from a performance perspective, what is faster: a function or an include? For example I have a block of text that needs to appear mutliple times throughout the site. Will I be bet

[PHP] PHP editor

2007-11-11 Thread Frank Lopes
Being very new to PHP (empahsis on VERY...), I wonder what most of you use to develop in PHP? I have experimented with DreamWeaver, UltraEdit, phoDesigner, Eclipse etc. What would you recommend that I use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Re: functions versus includes

2007-11-11 Thread Frank Lopes
No takers on this topic? ""Frank Lopes"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I just started using PHP and got to think... Without getting into the discussion of "best practices", strictly from a performance perspective, what

Re: [PHP] Re: functions versus includes

2007-11-14 Thread Frank Lopes
<> Stut, You pointed me in the right direction, thank you. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Frank Lopes wrote: No takers on this topic? The question is not one of performance since while it will be quicker to call a function t

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 secure

AW: [PHP] Variable Names

2007-11-29 Thread Frank Ruske
"bar"); var_dump($my_array); ?> array(1) { [0]=> string(3) "bar" } Regards Frank -Ursprüngliche Nachricht- Von: Shaun [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. November 2007 13:57 An: php-general@lists.php.net Betreff: [PHP] Variable Names

AW: [PHP] Variable Names

2007-11-29 Thread Frank Ruske
"bar"); var_dump($my_array); ?> array(1) { [0]=> string(3) "bar" } Regards Frank -Ursprüngliche Nachricht- Von: Shaun [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. November 2007 13:57 An: php-general@lists.php.net Betreff: [PHP] Variable Names

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

2007-12-17 Thread Frank Arensmeier
e are 40/50 PHP extensions included. Just pick what you want. //frank ps. merry christmas ds. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 exte

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 nee

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

2008-02-29 Thread Frank Arensmeier
ext sting (simply output the string to the browser and set the page encoding to UTF-8), then the only thing that is left that might screw up the text-to-image output is the font you are using. As you might know, you can only use TrueType fonts. //frank ps sorry for posting my reply off

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

2008-03-05 Thread Frank Arensmeier
e block. The value for N is specified using ticks=N within the declare blocks's directive section." Have a look at the function 'register_tick_function'. Take the function that was suggested previously by Chris and make it a tick function. //frank -- Postgres

Re: [PHP] Know a JS list serve

2008-03-12 Thread Frank Arensmeier
t too much traffic, but still ...) http://lists.evolt.org/mailman/listinfo/javascript //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SCanning text of PDF documents

2008-05-15 Thread Frank Arensmeier
OpenOffice could do the trick as well? //frank 15 maj 2008 kl. 10.19 skrev Angelo Zanetti: Hi All. This is a quick question. A client of ours wants a solution that when a PDF document is uploaded that we use PHP to scan the documents contents and save it in a DB. I know you can do this

Re: [PHP] sorting multi array

2007-04-25 Thread Frank Arensmeier
Jon, I would suggest that you should have a look at the function "array_multisort". See the manual for details on what this function is capable of. //frank 25 apr 2007 kl. 01.58 skrev Jon Bennett: hi, I have the following array, which I need to sort by quantity... Array

[PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
out value can only be changed within the core configuration scope. My initial idea was to set the value in a .htaccess file which unfortunately is not allowed. I might also add that the script is already optimized for speed so to say. Hope you get what I mean. //frank -- PHP General Mailing

Re: [PHP] Re: Problem with timeout

2007-05-04 Thread Frank Arensmeier
// sorry for posting my answer off list... // 4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai: Frank Arensmeier a écrit : Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The

Re: [PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
4 maj 2007 kl. 21.58 skrev Richard Lynch: On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the

Re: [PHP] Problem with timeout

2007-05-05 Thread Frank Arensmeier
4 maj 2007 kl. 23.48 skrev Richard Lynch: On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote: I still think that the best way to go is to not involve Apache at all when running the script. Because the script already has functions for output logging etc. it is no big deal to change the code so

Re: [PHP] [EMAIL PROTECTED]

2007-05-10 Thread Frank Arensmeier
Sorry, your question has nothing to do with PHP. Maybe try a CSS list? http://www.google.com/search?rls=sv-se&q=css+discussion +list&ie=UTF-8&oe=UTF-8 http://www.google.com/search?rls=sv-se&q=why+ie+sucks&ie=UTF-8&oe=UTF-8 http://whyiesucks.blogspot.com/ //frank 9

Re: [PHP] Sending mail on OS X

2007-06-09 Thread Frank Arensmeier
ng mails. Another idea would be to use phpmailer (http:// phpmailer.sourceforge.net/). //frank 9 jun 2007 kl. 06.04 skrev Christian Cantrell: Hi, all. I'm sure this question has been asked, but I was not able to effectively search the forum archives, so I'm having to ask it again. I

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

2007-06-09 Thread Frank Arensmeier
cial characters" in their filenames is no problem. Why is that so? My "solution" so far is that I simply replace those characters (ä with a, ö with o and so on). Any ideas? //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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: H

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 charact

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

2007-06-11 Thread Frank Arensmeier
ight check your MySQL connection settings (var_dump, echo etc). If the query string is not ok, you have to look at the input values for the query ($regName, $regAddress etc). //frank 11 jun 2007 kl. 07.27 skrev kvigor: Trimmed elements in the array. I still can't get it to store in

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.ph

Re: [PHP] pdf and send to printer question

2007-06-20 Thread Frank Arensmeier
http://pecl4win.php.net/ext.php/php_printer.dll Documentation: http://se2.php.net/manual/en/ref.printer.php //frank 19 jun 2007 kl. 22.43 skrev Mike Ryan: I am trying to get a query to run and outputed to a pdf file I get the following error Fatal error: Call to undefined function pdf_begin_document()

[PHP] Problem with wrapper script for Tidy

2006-08-04 Thread Frank Arensmeier
ile saving-thing would be welcome! Otherwise, I strongly feel that this script might become/be a security hole. Because it does not validate the included PHP code, it could be misused for doing bad stuff, or am I wrong? Once more, any suggestions are welcome. regards, /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with wrapper script for Tidy

2006-08-05 Thread Frank Arensmeier
l variable $_SERVER('PATH_TRANSLATED') from outside, so to say? Or is there no reason to be worried? /frank 4 aug 2006 kl. 22.22 skrev Richard Lynch: Did you try to use "-" as the file and pipe the output?... That might work... As far as the Tidy not validating the included P

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
/ PDI costs some money. But if you are looking for a lib that has support for everything that the PDF format has to offer, PDFlib is definitely the lib you want to use.). /frank 1 sep 2006 kl. 02.42 skrev tedd: Hi gang: I can create a pdf document "on-the-fly" pretty easily, as

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 wor

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 A

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 develop

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
ay. Good luck. /frank 13 sep 2006 kl. 20.53 skrev John Nichel: Rahul S. Johari wrote: Ok you may be on to something here. Everytime I was trying to chmod the permissions etcetera, the share was mounted, and that probably was the problem. What is a mount point? How do I set ownership/permission o

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

[PHP] ereg_replace with unser defined function?

2006-10-09 Thread Frank Arensmeier
on the first occurrence 230 mm. Alternatively, is there a way to limit ereg_replace to only replace one instance at a time? Hopefully I am not too confusing... regards, /frank ps. of course I have searched the manual and asked Google - no luck ds.

Re: [PHP] ereg_replace with user defined function?

2006-10-09 Thread Frank Arensmeier
zero. $itterator = 0; do { $value = round ( ( $matches[1] * $convertUnit['ratio'] ), $convertUnit['round'] + $itterator ); ++$itterator; } while ( $value == 0 || $itterator =

Re: [PHP] ereg_replace with user defined function?

2006-10-11 Thread Frank Arensmeier
s one: http://www.nikehydraulics.com/products/ product_chooser_gb.php?productMaingroup=5&productSubgroup=33 .. gets converted within 0.32 / 0.34 seconds which I think is quite ok. /frank the function takes a text and an array with converters like: $converters[] = array ( "metric" => &

Re: [PHP] ereg_replace with user defined function?

2006-10-11 Thread Frank Arensmeier
(the converter array contains about 14 metric -> imperial converters) replace all converted DOM nodes and output everything. The metric / imperial calculations / replacements take between 0.00054 and 0.005 seconds per table cell / text string. /frank 11 okt 2006 kl. 13.39 skrev Roman Neuhause

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
uot;Apache mod_rewrite" and I am sure you will find some stuff that will help you. /frank 25 okt 2006 kl. 11.49 skrev Kevin: Hi, I am trying to have 1 template site and have an unlimited number of websites using this template site to call there own information. The sites are exactly the same

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-0

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

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
are necessarily related to PHP). /frank 1 nov 2006 kl. 11.27 skrev Mel: I took the Google stuff out. I can't tell if it's faster now. I don't think it's very consistent. Sometimes it loads pretty fast and sometimes it gets stuck in the right corner! I don't think I h

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
empty anchor tags ( href='client_testing_html401.php?art='> ) which shouldn't be there at all. Once again - I can't see how the original problem is related to PHP. /frank 1 nov 2006 kl. 20.45 skrev M.Sokolewicz: No you have not, otherwise we would not be seeing:

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] / 2006-11

[PHP] Update function for content of existing CD?

2006-11-17 Thread Frank Arensmeier
you think that there is another (more elegant) way for doing this? Keep in mind that a ZIP file contains about 400-500 files which means that the table would grow rapidly week by week. In only one year the table would contain roughly 25000 rows of data. /frank -- PHP General Mailing List

Re: [PHP] Attaching File to be Emailed

2006-11-24 Thread Frank Arensmeier
; Come back to this list when you have further questions. /frank 24 nov 2006 kl. 06.30 skrev Travis Doherty: [EMAIL PROTECTED] wrote: I need to take a word document or pdf file from either a MySQL db or from a directory, which will then be sent via php script. How can I go about doing this?

Re: [PHP] Tidy HTML source?

2006-11-28 Thread Frank Arensmeier
d html/CSS? Be consistent! /frank 28 nov 2006 kl. 04.13 skrev Mark Kelly: On Monday 27 November 2006 17:10, Mark Kelly wrote: Am I crazy to make an extra effort in my code to make the generated HTML pretty? Thanks everyone for your thoughts on this - I'm quite relieved that I'm

RE: [PHP] security and .htaccess

2006-12-03 Thread Frank Reichenbacher
ite set to show hidden files. Tools>Site Settings. Frank > -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 03, 2006 08:57 > To: PHP General List > Subject: Re: [PHP] security and .htaccess > > At 10:35 PM +0100 12/2/06, Alain Roger

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

2006-12-26 Thread Frank Arensmeier
uot;multiple OR", I would do something like: $things_to_look_for = array ( "new, "newday" ... and so on); if ( in_array ( $_GET['query'], $things_to_look_for ) ) { // do some stuff } /frank 26 dec 2006 kl. 14.42 skrev Jahangir: I tried that also but it didnt

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

2006-04-05 Thread Frank Arensmeier
les into the same directory as sapi_apache.lo is in but then I get other error messages. I am not that familiar with compiling from source so please be patient with me. Google was not my friend... What can I do? Regards, frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-04-05 Thread Frank Arensmeier
heers. /frank 5 apr 2006 kl. 16.07 skrev Venkat Venkataraju: I'm a bit OT though... I have php5, apache, mysql installed thru darwinports. if you are not the LFS kind of person, it helps a lot to install darwinports and intall all your packages thru it. Fink is another alternative, bu

[PHP] how to run 'periodic'

2006-04-06 Thread Frank Arensmeier
doesn't have root privileges. Would I compromise my servers security when granting root privileges to a script that executes 'periodic' (which could be called from the script that outputs the ZIP archive)? thanks /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to run 'periodic'

2006-04-09 Thread Frank Arensmeier
Thank you Joe for your input. I will take a look at crond. /frank 7 apr 2006 kl. 20.06 skrev Joe Wollard: Frank, It sounds like you need to run this as a job through crond. I'm not sure what the OSX version is (maybe they have a port of crond?) but you could set that up to execut

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

[PHP] Replacing text of a DOM text node

2006-06-06 Thread Frank Arensmeier
If anyone has an idea, I would love to hear about it. Otherwise, there might be someone how can point me to some good on-line documentation / tutorials regarding PHP DOM functions. Thank you and good night. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-06-07 Thread Frank Arensmeier
, is there an easy way to get the total amount of items in a curent node? count ( $nodeElement -> parentNode -> childNodes ) always returns 1. For now the only solution I know of is looping through the nodeElements (e.g. foreach ( $nodeElement as $value ) and have a counter inside t

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

2006-06-07 Thread Frank Arensmeier
column for translation so to say. And this is pretty much everything I needed to know in order to go on. One problem I definitely see coming up will be dealing with headers that have attributes like colspan or rowspan. But that's another story. /frank 7 jun 2006 kl. 12.26 skre

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

2006-06-10 Thread Frank Arensmeier
Python. http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ drawingwithquartz2d/dq_python/chapter_17_section_1.html This might give you some ideas where to start. /frank 10 jun 2006 kl. 16.57 skrev Ryan A: Hi, can anybody give me a recommendation on a good html->pdf conver

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

2006-06-13 Thread Frank Arensmeier
e); ?> All browsers I have tested with do show the download frame (Opera, Safari, IE, Firefox, Mozilla browsers). But, as Richard already mentioned, I had to "fake" the download URL, like "http:// www.site.com/downloads/example.pdf". In the folder "downloads&q

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

2006-06-17 Thread Frank Arensmeier
Maybe it is not essential, but shouldn't it say: header("Content-type: image/jpeg"); notice "jpeg" - not "jpg". /frank 16 jun 2006 kl. 22.15 skrev Mariano Guadagnini: Brian Dunning wrote: I'm trying to serve up a jpeg like this: header("Conte

Re: [PHP] substr?

2008-06-18 Thread Frank Arensmeier
7;name'] ); if ( in_array( strtolower( $file_info['extension'] ), $allowed_extensions ) ) { echo "File has a valid extension"; } else { // do something else } } // frank -- Jim Lucas "Some men are born to grea

Re: [PHP] de lester

2008-06-27 Thread Frank Arensmeier
t there that interact with Quicktime. Google for "quicktime command line tool" and see if you find something useful. Regards, //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   >