Re: [PHP] utf8_decode() not working, conflicts with urlencode()

2011-08-31 Thread Merlin Morgenstern
Am 30.08.2011 12:11, schrieb Per Jessen: Merlin Morgenstern wrote: Hi there, I am having some trouble with utf8_decode(). Somehow the function returns output=input e.g.: $input = '%20%C3%9Cbersetzung%20franz'; $output = utf8_decode($input); echo $input.'br'.$output; My goal is to decode

[PHP] Hide php action pages from google

2011-08-31 Thread Merlin Morgenstern
on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] utf8_decode() not working, conflicts with urlencode()

2011-08-30 Thread Merlin Morgenstern
(); This is the string which I would like to get: %C3%9Cbersetzung+franz Trim does not work and if I place urlencode() directly on the input it will encode the % sign to %25 and produce therfore a mixture of encodings. Thank you for any help on that! Merlin -- PHP General Mailing List (http://www.php.net

[PHP] correct character decoding

2011-08-30 Thread Merlin Morgenstern
'a href='.$out2.'output 2/a'; The latin-1 seems to need the utf8-encode to get the same result. Has anybody an idea on how to solve this? I need a function that works for latin-1 and UTF-8. Thank you in advance for any help, Merlin -- PHP General Mailing List (http://www.php.net

Re: [PHP] utf8_decode() not working, conflicts with urlencode()

2011-08-30 Thread Merlin Morgenstern
Am 30.08.2011 12:11, schrieb Per Jessen: Merlin Morgenstern wrote: Hi there, I am having some trouble with utf8_decode(). Somehow the function returns output=input e.g.: $input = '%20%C3%9Cbersetzung%20franz'; $output = utf8_decode($input); echo $input.'br'.$output; My goal is to decode

Re: [PHP] correct character decoding

2011-08-30 Thread Merlin Morgenstern
can't think of anything simpler right now. sincerely louis Hello Louis, thank you that solved the problem. Looks like I did not use the mb_detect_encoding properly in my tests. Regards, Merlin 2011/8/30 Merlin Morgenstern merlin.morgenst...@googlemail.com mailto:merlin.morgenst

[PHP] notices nightmare - looking for a regex solution

2011-06-01 Thread Merlin Morgenstern
regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace question

2011-01-25 Thread Merlin Morgenstern
'] = $row-link; } You build the array different, could you help me to adapt this on my code? I tried $internal_links['phrase'][] as well, but that did not help either. Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] preg_replace question

2011-01-25 Thread Merlin Morgenstern
Am 25.01.2011 12:31, schrieb Merlin Morgenstern: Am 24.01.2011 18:08, schrieb Alex Nikitin: If you declare your arrays, and set k to 0 first, put quotes around array values and use the correct limit (you can default to -1), you will get results, here is code and example (hopefully this helps

[PHP] preg_replace question

2011-01-24 Thread Merlin Morgenstern
++; } return preg_replace($pattern,$replace,$str, $limit); } I I could not find a way to fix this and I would be happy for some help. Thank you in advance! Merlin

[PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Merlin Morgenstern
to do this. Thank you for any help on this. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hot to replace words with preg_replace without duplicates

2010-12-18 Thread Merlin Morgenstern
. Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] export from one server to another

2010-06-15 Thread Merlin Morgenstern
suggestion on how to do this? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finding similar results with php from mysql

2010-05-08 Thread Merlin Morgenstern
Am 08.05.2010 03:04, schrieb David McGlone: On Friday 07 May 2010 19:37:32 Merlin Morgenstern wrote: Hi there, I am searching for a way to show the user similar records from the mysql database. A functionality like this could also be of interest to you. Does anybody know

[PHP] Finding similar results with php from mysql

2010-05-07 Thread Merlin Morgenstern
regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] classes and variables

2010-05-03 Thread Merlin Morgenstern
= 'test'; } I would like to replace 'test' with $DB. This is the variable from outside that holds the name of the Database. Thank you for any help! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] finding out datasets in a certain distance of a zip code

2010-04-27 Thread Merlin Morgenstern
'; } $num_results = db_numrows($result); ### } // end if results Thank you for any help! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Saving form data into session before leaving a page

2010-04-13 Thread Merlin Morgenstern
is. Any ideas how to save into php session data before someone leaves the page? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 404 redirects stolen by provider

2010-04-09 Thread Merlin Morgenstern
unitymedia. As soon as a site has a page not found error it redirects them to their own advertisement page. This is true for all pages on the net. e.b. ebay.com/testing shows their advertisement. Has somebody an idea on how to fix that from my site? Thank you for any help, Merlin -- PHP General

Re: [PHP] 404 redirects stolen by provider

2010-04-09 Thread Merlin Morgenstern
Am 09.04.2010 21:53, schrieb Ashley Sheridan: On Fri, 2010-04-09 at 21:29 +0200, Merlin Morgenstern wrote: Hello, I am running a website under apache and php where I do redirects on 404 errors: apache conf: ErrorDocument 404 /subapp_members/search_user.php This is done to allow ULRs

Re: [PHP] 404 redirects stolen by provider

2010-04-09 Thread Merlin Morgenstern
Am 09.04.2010 22:58, schrieb Peter Lind: On 9 April 2010 22:20, Merlin Morgensternmerli...@fastmail.fm wrote: This sounds like the best solution to me. The only problem is that my regex knowledge is pretty limited. The command: RewriteRule ^(.+) /subapp_members/search_user.php

Re: [PHP] logic operands problem

2009-12-07 Thread Merlin Morgenstern
, But the result should never contain page = 1 and page = 2 in the same time. Any further idea? On Mon, Dec 7, 2009 at 4:22 PM, Merlin Morgenstern merli...@fastmail.fm mailto:merli...@fastmail.fm wrote: Hello everybody, I am having trouble finding a logic for following problem

[PHP] Re: logic operands problem

2009-12-07 Thread Merlin Morgenstern
Peter Ford wrote: Merlin Morgenstern wrote: Hello everybody, I am having trouble finding a logic for following problem: Should be true if: page = 1 OR page = 3, but it should also be true if page = 2 OR page = 3 The result should never contain 1 AND 2 in the same time. This obviously does

Re: [PHP] logic operands problem

2009-12-07 Thread Merlin Morgenstern
Ashley Sheridan wrote: On Mon, 2009-12-07 at 11:52 +0100, Merlin Morgenstern wrote: Hello everybody, I am having trouble finding a logic for following problem: Should be true if: page = 1 OR page = 3, but it should also be true if page = 2 OR page = 3 The result should never contain 1

Re: [PHP] Re: logic operands problem

2009-12-07 Thread Merlin Morgenstern
Ashley Sheridan wrote: On Mon, 2009-12-07 at 12:37 +0100, Merlin Morgenstern wrote: Peter Ford wrote: Merlin Morgenstern wrote: Hello everybody, I am having trouble finding a logic for following problem: Should be true if: page = 1 OR page = 3, but it should also be true if page = 2

Re: [PHP] Re: logic operands problem

2009-12-07 Thread Merlin Morgenstern
recordsets: one with page 1 and 3, and another with 2 and 3, am I right? SanTa Yes, you are right. Any ideas on how to do this within one query? - Original Message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Merlin Morgenstern merli...@fastmail.fm Cc: Peter Ford p...@justcroft.com

Re: [PHP] logic operands problem

2009-12-07 Thread Merlin Morgenstern
line that is different instead of checking it all over again for a second time. Any ideas? Kim Madsen wrote: Hey Merlin Merlin Morgenstern wrote on 2009-12-07 11:52: Hello everybody, I am having trouble finding a logic for following problem: Should be true if: page = 1 OR page = 3

[PHP] Finding out the first possible booking date with php

2009-12-03 Thread Merlin Morgenstern
in my knowledge) ? Let's asume we go with PHP. Has somebody an idea how to form that kind of logic? Thank you for ANY help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
daterange do not overlap. So the amount of overlaping bookings is 2. But how to identify this with PHP?! Any ideas? Thank you for any help on this!! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
David Otton wrote: 2009/12/3 Merlin Morgenstern merli...@fastmail.fm: I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start end 1.128.12

Re: [PHP] processing html forms and keeping the values

2009-11-25 Thread Merlin Morgenstern
Hello Raymond, thank you for your hint. I will go with sessions. Thanx for the note regarding XSS. Kind regards, merlin Raymond Irving wrote: There are a couple of ways that you can do this: 1. Store the post values in the $_SESSION variable then echo them back to the screen. Be careful

[PHP] processing html forms and keeping the values

2009-11-24 Thread Merlin Morgenstern
Hi there, I am trying to redirect a user back to a html form if a validation failes. The form shoult then hold all entered values. So far I did this over $_GET, but there is a 100 Character limitation. How could I do this while keeping all characters? Thank you for any hint, Merlin -- PHP

Re: [PHP] processing html forms and keeping the values

2009-11-24 Thread Merlin Morgenstern
Ashley Sheridan wrote: On Tue, 2009-11-24 at 18:14 +0100, Merlin Morgenstern wrote: Hi there, I am trying to redirect a user back to a html form if a validation failes. The form shoult then hold all entered values. So far I did this over $_GET, but there is a 100 Character limitation. How

[PHP] regex for multiple line breakes

2009-10-14 Thread Merlin Morgenstern
]); I would need a regex that allows \r\n\r\n, but not more than this. Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regex for multiple line breakes

2009-10-14 Thread Merlin Morgenstern
are replacing 1 or more matchs of a new line. To match 2 or more you can use {2,}. It's a range, first number means min matches, second max matches. Omitting last number means no max limit. $data[txt] = preg_replace('`[\r\n]{2,}`',\n,$data[txt]); De: Merlin

Re: [PHP] regex for multiple line breakes

2009-10-14 Thread Merlin Morgenstern
Ashley Sheridan schrieb: On Wed, 2009-10-14 at 12:42 +0200, Merlin Morgenstern wrote: That sounds very logical but does not work unfortunatelly. The result is the same. It removes all linebreakes but one. I would like to pass this one: - first line second third

[PHP] Help on pregreplace

2009-08-18 Thread Merlin Morgenstern
/is; $replace = 'span style=background:#FF;color:#FC;\\1/span'; return preg_replace($pattern,$replace,$str); Thank you in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help on pregreplace

2009-08-18 Thread Merlin Morgenstern
Ashley Sheridan wrote: On Tue, 2009-08-18 at 16:00 +0200, Merlin Morgenstern wrote: Hi there, I am highlighting keywords with the help of pregreplace. This works great with one limitation. If the word that has to be replaced contains a slash, preg throws an error. So far I could not find

[PHP] regex - filtering out chinese utf8 characters

2009-07-30 Thread Merlin Morgenstern
to get this fixed. Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] detecting spam keywords with stripos

2009-05-29 Thread Merlin Morgenstern
!== false){ // spam! $spam_level += $weight[$i]; $triggered_keywords .= $keyword[$i].', '; } } $spam[score] += $spam_level; Thank you for any help! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] detecting spam keywords with stripos

2009-05-29 Thread Merlin Morgenstern
Per Jessen wrote: Merlin Morgenstern wrote: Hi there, I am matching text against an array of keywords to detect spam. Unfortunatelly there are some false positives due to the fact that stripos also finds the keyword inside a word. E.G. Bewerbung - Werbung First thought: use strpos

[PHP] unzip a file - destination folder wrong

2009-04-23 Thread Merlin Morgenstern
help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: unzip a file - destination folder wrong

2009-04-23 Thread Merlin Morgenstern
Shawn McKenzie wrote: Merlin Morgenstern wrote: Hi there, I am trying to unzip a zip file. Therefore I am using this function: # unzip a file function extract_zipfile($filename){ $zip = zip_open($filename); if ($zip) { while ($zip_entry = zip_read($zip)) { $fp = fopen

[PHP] Regex not working with :

2009-04-22 Thread Merlin Morgenstern
to do this? Thank you for any help. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex not working with :

2009-04-22 Thread Merlin Morgenstern
that it's the :? HTH, Kyle -Original Message- From: Merlin Morgenstern [mailto:merli...@fastmail.fm] Sent: Wednesday, April 22, 2009 4:09 AM To: php-general@lists.php.net Subject: [PHP] Regex not working with : Hi there, I am trying to remove a text which does contain a : inside. Somehow

[PHP] preg_match and multibyte

2009-04-09 Thread Merlin Morgenstern
know how to overcome this problem? Regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match and multibyte

2009-04-09 Thread Merlin Morgenstern
tedd wrote: At 4:18 PM +0200 4/9/09, Merlin Morgenstern wrote: Hello, I am trying to extract a number out of a string that is in utf-8 and contains chines characters. This unfortunatelly does not work: preg_match('{(\d+)}', $details, $m); $number = $m[1]; I also tried

[PHP] extracting text - regex

2009-04-08 Thread Merlin Morgenstern
that? Is there a special php function available for this? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] extracting text - regex

2009-04-08 Thread Merlin Morgenstern
== TRUE) { echo $eos; } } fclose($handle); } ? On Wed, Apr 8, 2009 at 8:30 AM, Per Jessen p...@computer.org wrote: Merlin Morgenstern wrote: Hello, I am trying read text out of a text that is inbetween two divs. Somehow this should be possible with regex, I just can't

[PHP] opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
)); echo $contents; The chinese characters are gone by then. They show up as questinomarks or wired characters. To fix it I tried to add: $contents = utf8_decode($contents); header(Content-Type: text/html; charset=utf-8); But still... no luck :-( Has somebody an idea why?? Regards, Merlin -- PHP

[PHP] Re: opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
Merlin Morgenstern wrote: Hello everybody, I am having some trouble with utf-8 encoding. The html file containes chinese characters and looks ok, when opened in a browser. Now I want to extract some text from the file. In order to do this I do: $handle = fopen($file, r); $contents = fread

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
Per Jessen wrote: Merlin Morgenstern wrote: Hello everybody, I am having some trouble with utf-8 encoding. The html file containes chinese characters and looks ok, when opened in a browser. Now I want to extract some text from the file. In order to do this I do: $handle = fopen($file, r

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
Andrew Ballard wrote: On Wed, Apr 8, 2009 at 11:38 AM, Per Jessen p...@computer.org wrote: Merlin Morgenstern wrote: Hello everybody, I am having some trouble with utf-8 encoding. The html file containes chinese characters and looks ok, when opened in a browser. Now I want to extract some

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
Paul Gregg wrote: In mail.php.general, Merlin Morgenstern merli...@fastmail.fm wrote: Hello everybody, I am having some trouble with utf-8 encoding. The html file containes chinese characters and looks ok, when opened in a browser. Now I want to extract some text from the file. In order

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-08 Thread Merlin Morgenstern
Merlin Morgenstern wrote: Paul Gregg wrote: In mail.php.general, Merlin Morgenstern merli...@fastmail.fm wrote: Hello everybody, I am having some trouble with utf-8 encoding. The html file containes chinese characters and looks ok, when opened in a browser. Now I want to extract some

[PHP] php bug from 2003 still alive?!

2009-03-30 Thread Merlin Morgenstern
php build? If yes, do you believe I will run into trouble on sites that are saved in ansi? Thank you for any hint. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php bug from 2003 still alive?! - UTF8 BOM

2009-03-30 Thread Merlin Morgenstern
Hello everybody, has anybody an idea on how to fix this? Is it really necessary to recomplile for utf-8 BOM support? Regards, Merlin Merlin Morgenstern wrote: Hello, I am experiencing problems with utf-8 and php. There seems to be a problem with BOM. Some postings say that I have

Re: [PHP] php bug from 2003 still alive?!

2009-03-30 Thread Merlin Morgenstern
regarding this support. Thiago H. Pojda wrote: On Mon, Mar 30, 2009 at 12:42 PM, Merlin Morgenstern merli...@fastmail.fmwrote: Some postings say that I have to compile php with --enable-zend-multibyte. HOwever those postings are very old (2003!). http://bugs.php.net/bug.php?id=22108 Did you see

[PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread Merlin Morgenstern
, Merlin Merlin Morgenstern wrote: Yes I was reading about this. However, try to do a search on this: http://www.google.de/search?hl=deq=enable-zend-multibytebtnG=Google-Suchemeta= Loads of postings that do not look that good. What are all the chinese sites do? It is strange

Re: [PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread Merlin Morgenstern
haliphax wrote: On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern merli...@fastmail.fm wrote: HI there, I now compiled php with zend multibyte. The trouble with the extra characters is now gone, but all special characters are now replaced with a questionmark! The document type shows utf-8

[PHP] Working in UTF-8 - BOM trouble

2009-03-30 Thread Merlin Morgenstern
experienced the same problem? How did you overcome it? Regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: compiling php with libjpg64

2009-03-04 Thread Merlin Morgenstern
Hello JOchem, thank you for your help. That worked out. Regards, Merlin Jochem Maas wrote: google is your friend (and with friends like that who needs enemies): try what's mentioned here: http://www.linuxquestions.org/questions/linux-software-2/compiling-php-on-rhel-5-64-bit-685606

Re: [PHP] Re: compiling php with libjpg64

2009-02-28 Thread Merlin Morgenstern
Hi everybody, I have to compile from source for several reasons. Any idea on how to fix this particular problem with the lib64? Regards, merlin Shawn McKenzie schrieb: Ashley Sheridan wrote: On Fri, 2009-02-27 at 12:43 -0600, Shawn McKenzie wrote: Merlin Morgenstern wrote: Hi there, I

[PHP] compiling php with libjpg64

2009-02-27 Thread Merlin Morgenstern
somebody an idea how to fix this? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Converting Euro sign

2009-02-26 Thread Merlin Morgenstern
not want to install another module just for this. Any ideas on how to build a workaround? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML and :

2009-02-24 Thread Merlin Morgenstern
in that case. Has somebody an idea how to adress this? Thank you for any help! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread Merlin Morgenstern
: default_charset = iso-8859-1 which could help me, however this is not set in the test environment! How come? Is there another way to fix this? Kind regards,Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unlink file rights problem

2009-01-28 Thread Merlin Morgenstern
this: drwxr-x--- 2 ftpuser ftpgroup 4096 Jan 28 10:18 merlin/ files inside look like this: -rwxrwx--- 1 ftpuser ftpgroup 16868 Jan 28 10:20 test.xml* User www which executes php via cron is inside the group ftpgroup. Any ideas? I am kind of lost with this one. Thank you for any help! Best regards

[PHP] importing from XML-files

2009-01-22 Thread Merlin Morgenstern
-anbieter-anhang-anhanginhalt; This get's me the first image in line. But how could I get the second one? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: importing from XML-files

2009-01-22 Thread Merlin Morgenstern
Carlos Medina wrote: Merlin Morgenstern schrieb: Hi everybody, I am creating an import script which is getting data out of an xml file. Now I do have a problem with a file where 2 images are included. I need to access the second image name, but can not find out how. I do: $xml

[PHP] libphp5.so error

2009-01-17 Thread Merlin Morgenstern
to apache 2.x. I am kind of lost right now. Thank you for any help! Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: libphp5.so error

2009-01-17 Thread Merlin Morgenstern
Hi there, I could solve this error. It was due to not compiling php with mdo which is needed for mysql 3.x Now I am running into a new strange error :-( Will post into a new topic. Best regards, Merlin Merlin Morgenstern schrieb: Hi there, I have installed php5.2.8 successfully on my

[PHP] php5 with apache 1.x - white page

2009-01-17 Thread Merlin Morgenstern
does not load and it shows only a white page. I can not find any entry inside a log that show unnormal hints. Any idea where I could look for the error? I tried php error log file and var/log/messages. Thank you for any help. Merlin -- PHP General Mailing List (http://www.php.net

[PHP] Re: php5 with apache 1.x - white page

2009-01-17 Thread Merlin Morgenstern
got it :-) Both are needed! --with-mysql=/usr/local/mysql' '--with-pdo-mysql=/usr/local/mysql/' Merlin Morgenstern schrieb: Hi there, after strugling a while with the installation of php5 on an older suse system with mysql 3.x and apache 1.x I got it compiled and installed. Apache starts

Re: [PHP] Re: php5 with apache 1.x - white page

2009-01-17 Thread Merlin Morgenstern
Ashley Sheridan schrieb: On Sat, 2009-01-17 at 15:31 +, Nathan Rixham wrote: Merlin Morgenstern wrote: got it :-) Both are needed! --with-mysql=/usr/local/mysql' '--with-pdo-mysql=/usr/local/mysql/' Merlin Morgenstern schrieb: Hi there, after strugling a while with the installation

[PHP] PMA_List_Database

2009-01-17 Thread Merlin Morgenstern
. Maybe somebody has an idea. This is the msg: Fatal error: Class 'PMA_List_Database' not found in /home/www/tools/mysqladmin/libraries/common.inc.php on line 862 I have not changed the installation of phpmyadmin. Just went from 5.2.6 to 5.2.8 with a re-compile. Merlin -- PHP General Mailing

Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!

2009-01-13 Thread Merlin Morgenstern
Hi there, has somebody an idea how to fix this? I do appreciate any help. Thank you in advance, Merlin Merlin Morgenstern wrote: No. The with-pdo-mysql command secures compatibility with oder databases . That workes fine. The yes in the error msg. seams to be normal in this case. I found

[PHP] installing php 5 with pdflib

2009-01-13 Thread Merlin Morgenstern
. Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] update von php 4.4.6 zu 5.2.8

2009-01-12 Thread Merlin Morgenstern
for this? I know there is a free pdf functionality integrated now in php 5, but I would like to stick to the old scripts and use my old pdflib. Is this possible? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!

2009-01-12 Thread Merlin Morgenstern
) is needed by mysql-devel-5.0.26-21.x86_64 Something must be wrong. I can't believe that there is so much change necessary for such a minur upgrade. Any ideas? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!

2009-01-12 Thread Merlin Morgenstern
to be mysql-dev installed. But why? I am already running 5.2.6. And mysql-dev does not come with suse 11. I doubt that this is the cause. Any other ideas? Thanx, merlin Chris schrieb: Here is the configure command that is pretty much the same as in 5.2.6: So look at the differences

[PHP] is_readable() returns 1 if file is still uploading

2009-01-10 Thread Merlin Morgenstern
(), but this only returns false if the file is missing. This is the error msg from php: parser error : Premature end of data thank you for any help. regards, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adressing XML Objects

2009-01-08 Thread Merlin Morgenstern
you for any hint. Best regards, Merlin Merlin Morgenstern schrieb: Hello Nathan, I upgraded to PHP 5, so I am using nativ support. Best regards, Merlin Nathan Nobbe schrieb: On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern merli...@fastmail.fm mailto:merli...@fastmail.fm wrote: Hi

Re: [PHP] Adressing XML Objects

2009-01-08 Thread Merlin Morgenstern
/anhanginhalt); The names and structure seems fine. The syntax according to your posting and php.net also. Any ideas? Thanx Merlin Nathan Nobbe schrieb: On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham nrix...@gmail.com mailto:nrix...@gmail.com wrote: Nathan Nobbe wrote: On Thu

[PHP] XML package on PHP

2009-01-07 Thread Merlin Morgenstern
Hi there, I need pars an xml file with php 4. There seems to be a good package out there active link xml. However, last development was 2004. Is there something new around which you would recommend over active link? Thank you for any hints. Best regards, Merlin -- PHP General Mailing List

Re: [PHP] XML package on PHP

2009-01-07 Thread Merlin Morgenstern
^THANX: Will upgrade to php5. c...@l-i-e.com wrote: XML in PHP4? Don't. :-) It was very painful and with all kinds of quirks, from my limited experience. PHP5 was a breeze. Consider hosting a quick/easy service on a PHP5 box to convert XML to PHP serialized data or something as well. Could

[PHP] Adressing XML Objects

2009-01-07 Thread Merlin Morgenstern
$xml-anbieter-immobilie-anhaenge-daten-anhanginhalt; Somehow location and gruppe needs to be placed into the command. I already tried a couple of version, but no success. Thank you for any hint. Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Adressing XML Objects

2009-01-07 Thread Merlin Morgenstern
Hello Nathan, I upgraded to PHP 5, so I am using nativ support. Best regards, Merlin Nathan Nobbe schrieb: On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern merli...@fastmail.fm mailto:merli...@fastmail.fm wrote: Hi there, I am justing walking my first steps on XML and PHP. As I

[PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
how this should work. My portal is written in PHP 4.x and there every members loges in with a unique ID. The FTP Server runns on the same linux machine. How could I generate users for this FTP server with php, for example on sign up? Thank you for any help on this. Best regards, Merlin

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
Is there a good FTP Daemon that can be recommended for this purpose? pure-ftpd seams out of development since 2006. Jason Pruim wrote: On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote: Yes, it would be great if he could use the already existing username and password. It should

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
create a one time user/passwd for the user so that it changes each time they access the FTP server? -Original Message- From: Merlin Morgenstern [mailto:merli...@fastmail.fm] Sent: Monday, January 05, 2009 6:44 AM To: php-general@lists.php.net Subject: Re: [PHP] setting up FTP account names

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
Marc Steinert wrote: Merlin Morgenstern schrieb: Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate individual

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
if there are new files inside those folders? I don't see any other solution. Any suggestions? Thank you for any help, merlin bruce schrieb: merlin.. if you're going to allow a user to use the same user/passwd for the site, and the FTP server.. i would strongly argue that you should allow the user only

[PHP] Import files from directory

2009-01-05 Thread Merlin Morgenstern
solution to identify the directory that has a new finished upload. Has anybody an idea on how to do this? Thank you for any hint. Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Merlin Morgenstern
to be the ?tf=2 How do I pass parameters to this script? I need the same script but executed in different time frames which is passed by the parameter. Any ideas? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Merlin Morgenstern
Hello Jochem, thank you this has solved my problem: bla.php 2 $tf = $argv[1]; Best regards, Merlin Jochem Maas wrote: Merlin Morgenstern schreef: Hi there, I would like to run a php file via cron job and there is a parameter to be passed. Unfortunatelly this does not work: # /usr/local

Re: [PHP] Individual bulk e-mails - performance question (was skinning a cat) :-)

2008-09-01 Thread Merlin Morgenstern
might not be the most performing sollution, but sufficient considering the hard ware power. Thanks for your help! Regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Individual bulk e-mails - performance question

2008-08-30 Thread Merlin
months from now if for example the cron job will be triggered a second time, while the first one has not finished. Any ideas or suggestions? Thank you for any help. Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-20 Thread Merlin Morgenstern
Richard Lynch schrieb: On Tue, December 18, 2007 8:41 am, Merlin Morgenstern wrote: I am running a small community page with PHP. Members can select notification e-mails on comments etc. Since today those e-mails - or basically all e-mails from the system - get taged as spam with a score

[PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Merlin Morgenstern
but that should not be the problem. At least it was not a problem for the last years. Any ideas? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   >