[PHP] running code on my machine wile serving other domain?

2003-02-18 Thread merlin
Hi there, I am wondering if I could anyhow run php code on my machine and pull the html code to another domain? Example: I do have a webapp where I do not want to give away the code to customers They want to have the same webapp, with the same database, but with their front end design Is somet

[PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread merlin
P_REFERRER] does not help. But there might be another method I do not know of. Thank you for any help and hints on this topic! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread merlin
Thanx! This is an excellent solution! Merlin "Daniel Kushner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi Merlin, > > What you are describing is named Hot Linking. A quick search on Google gave me this: > http://www.htmlbasix.com/disableho

[PHP] creating rs2 newsfeeds

2003-07-20 Thread Merlin
Hi there, I was searching on the net for a while on how to create dynamic newsfeeds from my web portal. Somehow I did not find what I was looking for. Can anybody give me a good start on how to write a newsfeed service which is dynamic? The goal is whenever a member publishes a story on the site,

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Merlin
b im Newsbeitrag news:[EMAIL PROTECTED] > On Sun, 20 Jul 2003 12:28:55 +0200, [EMAIL PROTECTED] (Merlin) wrote: > > >Hi there, > > > >I was searching on the net for a while on how to create dynamic newsfeeds > >from my web portal. Somehow I did not find what I was lookin

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Merlin
orldwide Travel Community http://www.globosapiens.net "Manuel Lemos" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hello, > > On 07/20/2003 07:28 AM, Merlin wrote: > > I was searching on the net for a while on how to create dynamic newsfeeds > >

[PHP] magic quotes

2003-07-22 Thread Merlin
what could be the cause? Thanx for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] bug in addslashes command?

2003-07-22 Thread Merlin
his is the string after addslashes: the \'capitol\-' of Kefalonia Which leaves the last ' unescaped. Am I wrong, or is this a bug? Anny suggestions? Thanx for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] magic quotes

2003-07-22 Thread Merlin
flett" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > --- Merlin <[EMAIL PROTECTED]> wrote: > > As I learned from php.ini magic quotes are turned off on both systems. > > As a first step, make sure the output of phpinfo() agrees with your analysis. >

Re: [PHP] bug in addslashes command?

2003-07-22 Thread Merlin
and 4.2.1 Can I upgrade without feering loosing functionality? Thanx for your help, Merlin "David Nicholson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 20:51, lines prefixed by 

[PHP] php function on php.net

2003-07-22 Thread Merlin
php.net case the url stayes the same. Does anybody know how this is done? Thanx, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php function on php.net

2003-07-24 Thread Merlin
fortunatelly this is not what I mean. Have a look on this: http://www.globosapiens.net/hially A php page is redirecting this 404 error to another page, but I would like to have the URL stay the same like it is done on php.net Can anybody help? Thanx, Merlin -- Worldwi

[PHP] replacing \ with - in a string

2003-07-28 Thread Merlin
Hi there, I am trying to replace a backslash inside a string. Somehow nothing workes, not the str_replce, not preg_replace, not erreg_replace. Can anybody please help? Thanx you in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] replacing \ with - in a string

2003-07-28 Thread Merlin
TRANSPARENCY="true">http://www.globosapiens.net"; title="Worldwide Travel Community"a>Travel Community "John W. Holmes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Merlin wrote: > > I am trying to replace a backsla

[PHP] xmlrpc to old?

2003-07-29 Thread Merlin
se to what?. Thanx for any help, links and any info you can give me on that. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php error log : productinfo finished message

2003-07-30 Thread Merlin
Hi there, I have some wired messages inside my php errorlog file, telling me: [30-Jul-2003 20:02:53] ProductInfo finished There is an entry every few seconds! Does anybody know what this means? Thanx, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] php error log : productinfo finished message

2003-07-30 Thread Merlin
> most likely a php script is using syslog() to report that > 'ProductInfo finished'. what is syslog and which ProductInfo? Can you be more specific? Thanx, merlin -- <IFRAME SRC="http://saratoga.globosapiens/associates/report_member.php?u=3&color=EEE EEE" scr

[PHP] compiling php --with imap

2003-08-04 Thread Merlin
file again? I am lost, after trying for 2 hours I gave up. Can anybody help me in this case? Thanx in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] gettin parameters from url, architecture question

2003-08-05 Thread Merlin
thanx, that points me into the right direction. I will do some research on that. cheers, Merlin -- <IFRAME SRC="http://saratoga.globosapiens/associates/report_member.php?u=3&color=EEE EEE" scrolling=no frameborder=0 TITLE="My travel articles" width="330"

Re: [PHP] gettin parameters from url, architecture question

2003-08-05 Thread Merlin
pages out? How are they making sure that they are up to date? Do u know any good tutorials on that? Merlin -- <IFRAME SRC="http://saratoga.globosapiens/associates/report_member.php?u=3&color=EEE EEE" scrolling=no frameborder=0 TITLE="My travel articles" width=&qu

Re: [PHP] regex causing headache ;-(

2003-08-14 Thread Merlin
nop.. that does not work either. It does not execute for a url like: /test/contact.html The regex should execute for /test/contact.html but not for /partner/test/contact.html where test should be open for any word Any other suggestions? I am sure this is possible. Merlin -- arek Kilimajer

[PHP] gettin parameters from url, architecture question

2003-08-14 Thread Merlin
where country would be a php file, but how are those guys picking the right file? Where is the php file stored and how does the server know which file to call?? Can anybody shed a bit of lite on that? ;-) Thanx, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] regex causing headache ;-(

2003-08-14 Thread Merlin
partner thing does not work. Can anybody help me on that? Thanx in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] setting allow_call_time_pass_reference to true

2003-08-14 Thread Merlin
.htaccess file. I tryed: php_flag allow_call_time_pass_reference on but this does not work, I have to switch it off in the php.ini file, but this is exacly what I do not want to do. Can anybody see why this is not working with the .htaccess file? Thanx in advance, Merlin -- PHP General Mailing

Re: [PHP] gettin parameters from url, architecture question

2003-08-14 Thread Merlin
server. What do you think? Maybe there is another possiblitiy=? Merlin -- <IFRAME SRC="http://saratoga.globosapiens/associates/report_member.php?u=3&color=EEE EEE" scrolling=no frameborder=0 TITLE="My travel articles" width="330" height="155" ALLOW

Re: [PHP] gettin parameters from url, architecture question

2003-08-14 Thread Merlin
> RewriteRule ^file_html_22.html$ dospamfile.php this looks somehow faster than doing a errordocument redirect. Would it for example be possible to redirect all files starting with /travelogue_ to a specific file? Merlin PS: thanx for the great hint! -- <IFRAME SRC

[PHP] images with gd for printing?

2003-08-15 Thread Merlin
Hi there, I want to create images with GD and freetype ttf which are good enough for printing .. about 150 dpi. Does anybody know how to output the jpg with a higher resolution and a determined output size? Thanx in advance, merlin -- PHP General Mailing List (http://www.php.net/) To

[PHP] regex problem

2003-08-15 Thread Merlin
Hi there, I have a regex problem. Basicly I do not want to match: /dir/test/contact.html But I do want to match: /test/contact.html I tryed this one: ^[!dir]/(.*)/contact(.*).html$ but it does not work and I tryed thousands of other ways plus read tutorials. Can anybody please help? Thanx i

[PHP] Re: regex problem

2003-08-15 Thread Merlin
p;color=EEE EEE" scrolling=no frameborder=0 TITLE="My travel articles" width="330" height="155" ALLOWTRANSPARENCY="true">http://www.globosapiens.net"; title="Worldwide Travel Community"a>Travel Community "Kae Verens" <

[PHP] Re: regex problem

2003-08-15 Thread Merlin
view. So I would need a regex which will match the member account, but if the first word is "partner" it should not terminate. This seems to be a tough one! Thanx for any help, Merlin "Kae Verens" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] &

Re: [PHP] Re: regex problem

2003-08-15 Thread Merlin
does not work. Is there not a way to exclude the word "partner" like you triede with !(partner) ? merlin "Marek Kilimajer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > So > ^[^/]+/[^/]* > > or > > ^!(partner/) > > Me

[PHP] Re: regex problem

2003-08-15 Thread Merlin
Good idea, but does not work either - surprisingly! - There should be a clean way with regex for this task. Andy regex expert in here? Merlin "Kae Verens" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Merlin wrote: > > ufff.. sorry guys, b

[PHP] how to disable html postings?

2003-08-15 Thread Merlin
my site. Can anybody point me into the right direction on how to "disable" that? Thanx for your help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] web services

2003-03-20 Thread Merlin
, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] converting gif to jpeg

2003-08-28 Thread Merlin
Hello, I am wondering if it is possible and legal to convert gif to jpeg with php. This would be helpful for clients to upload their logo, since most have it as a gif document. Thanx for any comment on that. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] register globals question

2003-08-29 Thread Merlin
Hello, I am wondering if an application written to work with register globals set to off ($_GET[variable] etc.) would work with a system, where register globals is set to on? If not, is there a way to make it work for boty configurations? thanx for any help on that, Merlin -- PHP General

[PHP] jumping to an html anchor with ? syntax

2003-08-29 Thread Merlin
Hi there, I am wondering how it is possible to jump to a name anchor with an url containing a questionmark. Things like: index.php?var1=value#jumppoint index.php#jumppoint?var1=value do not work. Can anybody help please? Thanx in advance, Merlin -- PHP General Mailing List (http

[PHP] creating a development log

2003-08-29 Thread Merlin
I arange it, that it outputs only the one for the date and then closes the list`? Thanx for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] creating a development log

2003-08-30 Thread Merlin
y][$i].''; $previousDate = $log['date'][$i]; if($previousDate != $log['date'][$i+1]){ echo ''; } } Chris W. Parker wrote: Merlin <mailto:[EMAIL PROTECTED]> on Friday, August 29, 2003 3:03 PM sa

Re: [PHP] creating a development log

2003-08-30 Thread Merlin
y][$i].''; $previousDate = $log['date'][$i]; if($previousDate != $log['date'][$i+1]){ echo ''; } } Chris W. Parker wrote: Merlin <mailto:[EMAIL PROTECTED]> on Friday, August 29, 2003 3:03 PM sa

Re: [PHP] creating a development log

2003-08-30 Thread Merlin
y][$i].''; $previousDate = $log['date'][$i]; if($previousDate != $log['date'][$i+1]){ echo ''; } } Chris W. Parker wrote: Merlin <mailto:[EMAIL PROTECTED]> on Friday, August 29, 2003 3:03 PM sa

[PHP] trouble with array_search

2003-08-30 Thread Merlin
][]= (string)date('mdY',$row->timestamp) $date_search = '03042003'; $search = array_search($date_search, $dates); if ($search !== NULL) echo 'works'; it always returns 0 Thanx for any help on that, Merlin -- PHP General Mailing List (http://www.php.

[PHP] Re: trouble with array_search

2003-08-30 Thread Merlin
y spent an hour on it :-( Merlin Catalin Trifu wrote: Hi, You don't have to convert to string; PHP does it automatically. Did you check for the $dates array, does it really contain what you think it should. So, try to make a print_r($dates) and see if you have what you expect. FY

[PHP] Re: trouble with array_search

2003-08-30 Thread Merlin
thank you for your help. I have found that the error was laying somewhere else. The code like you wrote was ok. Cheers, merlin Catalin Trifu wrote: Hi, I printed the values out, and inserted it into a varibble to check if it finds it. In this case it works! But it only wokes if I do it

[PHP] installing imagick problems

2003-08-31 Thread Merlin
anx, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] installing imagick problems

2003-08-31 Thread Merlin
non standard dir, add this dir to --with-imagick=dir If you want GraphicsMagick instead of ImageMagick as backend, add --with-imagick-gm 11) make 12) make install I need to be able to convert gifs to jpegs. GD cant do thsi, right? Merlin Curt Zirzow wrote: * Thus wrote Merlin ([EMAIL

Re: [PHP] installing imagick problems

2003-08-31 Thread Merlin
> Sure can: > > $im = imagecreatefromgif('/path/to/image.gif'); > imagejpeg($im, '/path/to/converted.jpg'); Thank you sooo much! I was completly sure that due to the lizence claims it was not possible with gd > 1.6 This solves lots of my problems.

[PHP] reinstalling php with imap

2003-09-01 Thread Merlin
ent library? Is there a way around this? I am getting errors I cant solve while installing the c-client. The old c-client should be anywhere on the system, since php is running fine at the moment, right? Can anybody give me an advice how to solve this dilema? Thanx, Merlin -- PHP General Mai

[PHP] gif support not in GD 2.01?

2003-09-01 Thread Merlin
, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Merlin
oh... thanx. There is a c-client.a on the system. Is it possible just to add '--with-lmap=/home/sw/c-client.a' and it will work? Merlin Raditha Dissanayake wrote: There are two magical commands on linux called 'locate' and 'find' :-) if you have locate just

[PHP] GET not working

2003-09-03 Thread Merlin
anybody suggest on how to test this on our servers? What kind of configuration could that be? Thanx for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] recompiling libphp4.so because of modssl??

2003-10-11 Thread Merlin
/local/lib/mod_gzip.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Can anybody give me hint on how to solve this, I am lost. How do I recompile libphp4.so? Thanx for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To

[PHP] credit card gateway

2003-10-15 Thread Merlin
Hi there, I would like to implement direct credit card payment on my site with a gateway (SET). Can somebody recommend low price gateway companies. It seems to me that prices verry a lot. Any suggest is appreciated. regards Merlin -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] credit card gateway

2003-10-17 Thread Merlin
ng up, but otherwise they're good. > http://www.payquake.com You are right, the prices are really great. However they only go for US accounts. If you are located outside you have to pay 399$US setup fee! Does anybody know a good credit card gateway company for German cusomors? Thank you for

[PHP] where to get info for medium size sites?

2003-10-25 Thread Merlin
, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] language selection with xml

2003-11-19 Thread Merlin
. Is there not a possibility to do this without an external package, just with php? Thanx for any info on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] xml parser und bestehende variablen - multilinguale app

2003-11-23 Thread Merlin
Hallo zusammen, ich möchte gerne meine bestehende app in mehreren Sprachen anbieten. Dazu habe ich mir ein xml parser package installiert welches in der Lage ist aus xml dateien inhalte einzufügen. Zum Bsp sieht das xml file so aus: example beispiel Das funktioniert so weit. Das PROBLEM allerdi

[PHP] need help with gettext i18n

2003-11-24 Thread Merlin
t still gives me the entlish language. Has anybody an idea on what I am doing wrong? Thank you for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Making coockies valid for multiple domains possible?

2004-01-12 Thread Merlin
. Regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with iconv() function in php 4.06

2001-07-24 Thread Merlin
I'm install php 4.06 on Solaris 2.7 with MySQL & Interbase. I have libiconv installed in /usr/local. Configure --with-iconv=/usr/local When i'm use , i'm see iconv support enabled When i'm use iconv() function in script: Fatal error: Call to undefined function: iconv() in /bla-bla/bla.php on line

[PHP] writing a pdf file to the filesystem

2004-08-31 Thread Merlin
? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting number of unique values out of array

2004-09-12 Thread Merlin
achive that? Thanx for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problems with different results on count() and select

2004-09-16 Thread Merlin
(*) AS c FROM usertable WHERE points > '$points' AND registration_date > '$date' Theoreticly the result number of the first select statement should be identical with the count statement, but it is not. Has anybody an idea how to fix that? Thanx in adva

[PHP] disabling php info in http headers

2004-09-16 Thread Merlin
Thank you for any hint on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems with different results on count() and select

2004-09-16 Thread Merlin
Thomas Seifert wrote: On Thu, 16 Sep 2004 10:43:46 +0200, Merlin wrote: Theoreticly the result number of the first select statement should be identical with the count statement, but it is not. Has anybody an idea how to fix that? It can't be the same number as you are using a where clau

[PHP] reading from files

2004-09-17 Thread Merlin
Hi there, I am wondering how to read lines from a file to a php array? I would like to integrate a logfile into a html site. Is it possible to read line by line and to check how many lines there are in total? Thank you for any hint on that, Merlin -- PHP General Mailing List (http://www.php.net

[PHP] filtering out text in a string

2004-09-18 Thread Merlin
advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cant stop phpfile from beeing run by cron

2004-09-19 Thread Merlin
/follow_up_new_members.php ) Has anybody an idea where to find it? I did check crontab -l with the user www, but there is no such entry. Thanx for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP variables via SSL on IE5.x

2004-09-29 Thread Merlin
you for any help on that, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php script run by cron job

2004-10-01 Thread Merlin
* * * root /usr/local/bin/php /home/www/cron/statistics.php Does anybody see an error in this? Thanx, Merlin PS: I also tried to run this as www but same results -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How do I produce a random database query for each day or week?

2004-10-01 Thread Merlin
Hello Gray, could you possibly use some case clauses? Lets say you use 7 case clauses for the week. And each day has a random number. So you do a random on Monday and then you sort it out int the "monday" case statement and so on. Just an idea, Merlin I.A. Gray wrote: Hi, My brain

Re: [PHP] php script run by cron job

2004-10-01 Thread Merlin
Andrew Kreps wrote: On Fri, 01 Oct 2004 08:18:55 +0200, Merlin <[EMAIL PROTECTED]> wrote: Here is the how I did it: 14 8 * * * root /usr/local/bin/php /home/www/cron/statistics.php Does anybody see an error in this? I'm not familiar with a crontab format that allows you t

[PHP] something wrong with $_SERVER var

2004-10-04 Thread Merlin
fox most of the time. But why?? The server port was not 443 so the statemetn could never become true?! Any ideas? I am lost :-( Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] something wrong with $_SERVER var

2004-10-05 Thread Merlin
Chuck Wolber wrote: On Tue, 5 Oct 2004, Merlin wrote: I am experiencing a strange behaviour with $_SERVER vars. Somehow the var: $_SERVER[SERVER_PORT] seems to be 443 even if it is 80. I had following statement inside my app: if ($_SERVER[SERVER_PORT] == '443' AND !$SSL){

[PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
? Thank you in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
Jochem Maas schrieb: Merlin wrote: Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper function to do

Re: [PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
Merlin schrieb: Jochem Maas schrieb: Merlin wrote: Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper

[PHP] Caching options - trunkcache?

2007-03-12 Thread Merlin
.x and mysql 3.x Thank you for any advice. Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread Merlin
clive schrieb: Merlin wrote: I am looking for a replacement of php trunkcache. I think you meant turck mmcache? have a look at these: http://eaccelerator.net (derivative of mmcache last release: 2006/02/15) http://www.php-accelerator.co.uk/ thanx I tried php-accelerator. Lets see if

[PHP] Problems installing php with pdflib

2007-04-14 Thread Merlin
e I do see, is that the other box runs suse 9.0 while this one runs suse 9.3 Thank you for any hint or help, Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] a better way for the array

2005-02-18 Thread Merlin
ult if you have more of them, and you want to reorganize the ordering. Then you have to rename all numbers. Is there a nicer way to do that? 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] a better way for the array

2005-02-18 Thread Merlin
Marek Kilimajer wrote: Merlin wrote: Hi there, I am wondering if there is a nicer way to save the data into an array than I do. I do have a 2 dimensional array "$para". Currently I go like this: $para[1][txt] = 'Europe'.$continent[name]; $para[1][link]

[PHP] Where is php installed on linux

2005-03-25 Thread Merlin
may be "/usr" "/usr/local", or something else. Can anybody point me into the right [dir]ections? Thank you in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array sorting

2005-03-27 Thread Merlin
uild the select field for ($i=1; $i <= count($code[education]); $i++){ if ($education) $isselected = ($i == $education) ? " selected" : ""; // select the active row else $isselected = FALSE; printf ("%s\n", $i, $isselected, $code[education][$i]); }; ##

[PHP] How to sort that array?

2005-03-29 Thread Merlin
[education][$i]); }; echo' Has anybody an idea which could help me on that? 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] How to sort that array?

2005-03-29 Thread Merlin
ot;=> "asp"); There must for sure be a way to pull the values out of that array by "first in first out". I am stuck with this, but it seems logical that there is a way around it. Thank you for any help on that problem, Merlin Colin Ross wrote: What I did in a situation lik

[PHP] getting check box values into an array

2005-03-31 Thread Merlin
how many x there are and it does not know the number. So how to get them all? Has anybody an idea, I am lost on that one. Thanx for any hints, Merlin PS: I know that there is another way in passing the checkbox values, but due to some JS reasons I do have to go that way. -- PHP General Mailing

Re: [PHP] getting check box values into an array

2005-03-31 Thread Merlin
Ken wrote: On Thu, 31 Mar 2005 12:45:04 +0200, Merlin <[EMAIL PROTECTED]> wrote: Hi there, I am facing a problem in getting all values from a form. There are loads of input check boxes in there which are named: x_1, x_2 etc. Now I want to get that post data into an array. Somehow like thi

[PHP] getting filenames from dir

2005-04-01 Thread Merlin
Hi there, does anybody know how to get all file names from a specified directory into an array? Thanx, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strpos with array?

2005-05-10 Thread Merlin
$term = str_replace($replace, "", $term); echo 'term without the word:'.$term; } This does of course not work since strpos does not take arrays. 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] strpos with array?

2005-05-10 Thread Merlin
Burhan Khalid wrote: Merlin wrote: Hi there, I am wondering if there is a function (I could not find) which does the same thing like strpos does, but with an array. For example: $replace = array("picture", "pics"); $pos = strpos ($term, $replace); //if ($pos !

[PHP] String manipulation out of the box solution?

2005-05-10 Thread Merlin
and substr). Is there a solution out of the box with php, or maybe anybody knows a good script which does that. This does sound like a standard feature to me. 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] strpos with array?

2005-05-10 Thread Merlin
Burhan Khalid wrote: Merlin wrote: Hi there, I am wondering if there is a function (I could not find) which does the same thing like strpos does, but with an array. For example: $replace = array("picture", "pics"); $pos = strpos ($term, $replace); //if ($pos !

Re: [PHP] String manipulation out of the box solution?

2005-05-11 Thread Merlin
Richard Lynch wrote: On Tue, May 10, 2005 5:58 am, Merlin said: I am writing an internal full text search engine and do have trouble in outputting the text in an apropriate way. Problem is that if there is more than one word I cant handle the text cropping. For example: Search term: php germany

[PHP] marking words bold

2005-05-11 Thread Merlin
he problem lays in the word "in". The code I use does produce following: singapore which of course does not work properly. Does anybody have a good sugestion on how to improve this?` Thank you for any help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] str_replace on words?

2005-05-11 Thread Merlin
ot;in" all passages containing the characters "in" are replaced. For example Singapore. Does anybody know how to do this on just words? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing XML with php

2005-05-11 Thread Merlin
Hi there, I am curious if PHP is now able to pars xml without aditional tools like xmlrpc. If yes which version is required? Is the current php 4.x tree sufficient? Thanx, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace on words?

2005-05-12 Thread Merlin
Duncan Hill wrote: On Wednesday 11 May 2005 17:13, Merlin wrote: Hi there, I am trying to strip some words from a sentence. I tried it with str_replace like described here: http://www.totallyphp.co.uk/code/find_and_replace_words_in_a_text_string_us ing_str_replace.htm Unfortunatelly it does not

[PHP] joining array values

2005-05-12 Thread Merlin
relevance 23 ok 2 42 joel1 23 php 1 Desired output: id textrelevance 23 ok php 3 42 joel1 Has anybody an ide how to do that? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] joining array values

2005-05-12 Thread Merlin
column setup: $result[row][column] So your array should be setup like: $result[0]['id'] $result[0]['text'] $result[0]['relevance'] $result[1]['id'] $result[1]['text'] $result[1]['relevance'] ... This assures your data aligns properly and

  1   2   3   4   >