Re: [PHP] '--enable-track-vars' & php.ini file on Mac OS X

2002-06-11 Thread Stefan Rusterholz
hp :) cya Stefan Rusterholz Am Dienstag den, 11. Juni 2002, um 09:02, schrieb Mario A. Salinas: > Hi Folks, > > Let me begin with the direct question to save you time. If you want > more info read more about the issue by reading 'The Problem:' below. > > > > The

Re: [PHP] browscap.ini

2002-05-28 Thread Stefan Rusterholz
gt; Captain Jack Communications > www.captainjack.com > [EMAIL PROTECTED] > > ----- Original Message - > From: "Stefan Rusterholz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 28, 2002 10:15 AM > Subject: [PHP] browscap.ini > > >> Hi

[PHP] browscap.ini

2002-05-28 Thread Stefan Rusterholz
Hi Has anyone got an up to date browscap.ini-file or does someone know where to get one? The most up to date browscap I found got it's last update in October 9, 2001 - since then a lot new browser appeared... best regards Stefan Rusterholz -- PHP General Mailing List (http://www.ph

[PHP] CURL and multiple sites at once

2002-03-03 Thread Stefan Rusterholz
h); fclose($fh1); fclose($fh2); fclose($fh3); I just tells me that it's not capable of executing one handler multiple times. If I delete the lines with exec1 and exec2 it works but only stores the last page... Who can help? TIA & greets Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Searching class capable of parsing ID3-tags in MP3-files

2002-02-10 Thread Stefan Rusterholz
I I search a class to parse mp3-files' id3 tag. I already found one at upperdesign.com but it seems not to be capable of parsing newer versions of the id3 tag :( So does anyone know an already existing class doing that for me? TIA Stefan Rusterholz -- PHP General Mailing List

[PHP] Out of the box algorithms

2002-02-06 Thread Stefan Rusterholz
'anotherusername' ); The issue is the string after the : (the other part is relativly easy as you could think) Is there anyone having a parsing algorithm for that just out of the box? It would save me reinventing the wheel ;-) TIA stefan rusterholz -- PHP General Mailing List (htt

Re: [PHP] What is ? Mean in the Action Box

2002-01-31 Thread Stefan Rusterholz
kind of typo ;-) (*$HTTP_GET_VARS['save'] works also. And use that quotes $array['E_ERROR'] is not the same as $array[E_ERROR]! The second is a constant and thats not what you _really_ want even if php normally correctly converts it to a string) best regards Stefan Rusterholz &g

Re: [PHP] How do I Resize an image?

2002-01-30 Thread Stefan Rusterholz
Thank you for that hint. Where do I get netpbm? Is it fast? What image-formats are supported (jpg, png, gif, ...)? What operations are supportetd (resizing, antialiasing, merging, writing text to pictures, etc.)? best regards Stefan Rusterholz - Original Message - From: "Tony

Re: [PHP] Function call stack

2002-01-30 Thread Stefan Rusterholz
ot;D'oh, an error has occurred: $message.\n"; echo "It happened in file $file at line $line and it is a $level-error"; } the most beauty about that is that you can also cover errors you didn't handle (e.g. if fopen triggers a warning or whatever) best regards stef

[PHP] Feature requests for PHP development - where to post them?

2002-01-29 Thread Stefan Rusterholz
Is there a place especially meant to make feature-requests to the php-development team? TIA stefan rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

Re: [PHP] mailing to 19000 users

2002-01-29 Thread Stefan Rusterholz
f one or two hundreds of mails. 190 loops shouldn't be bad. good luck stefan rusterholz - Original Message - From: "val petruchek" <[EMAIL PROTECTED]> To: "Stefan Rusterholz" <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 12:00 PM Subject: Re: [PHP]

Re: [PHP] How to echo the "/n", "/r", etc... to the HTML display?

2002-01-25 Thread Stefan Rusterholz
didn't miss the point best regards Stefan Rusterholz - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 6:31 PM Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML dis

Re: [PHP] Correct URL's

2002-01-25 Thread Stefan Rusterholz
- Original Message - From: "Alexander Weber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 10:34 AM Subject: Re: [PHP] Correct URL's > Stefan Rusterholz wrote > > What was the best way to check, if the give address rea

[PHP] Correct URL's

2002-01-25 Thread Stefan Rusterholz
r me to cover all of them) -What was the best way to check, if the give address really exists? (I thought on a test like this: $exists = true; @fopen($url) or $exists = false; return $exists;) TIA Stefan Rusterholz

Re: [PHP] multi-threading within php?

2002-01-24 Thread Stefan Rusterholz
Sorry, I don't have an answer on your question, but a question to you: I'm currently building a class to browse a page and was interested in the source of your script. Especially on that part extracting the links. Would you mind providing the source or is it a commercial? best rega

Re: [PHP] db conversion advice needed

2002-01-24 Thread Stefan Rusterholz
t line by tab -check if record is already in mysql database (only if you have to import more than once) -build mysql insert query -done :) If you have more questions or more detailed questions just ask best regards Stefan Rusterholz > Now I need this db to make a db content based website. I kn

Re: [PHP] Whats the best way.

2002-01-24 Thread Stefan Rusterholz
file (he could have sent an empty form) -check what extension is needed (.jpg, .gif or whatever) -move_uploaded_file($userfile, "Your/Directory/".time().$extension) hope this helps stefan rusterholz - Original Message - From: "Philip J. Newman" <[EMAIL PROTECTED]

[PHP] PHP Installation: .rpm working with RaQ4 wanted...

2002-01-22 Thread Stefan Rusterholz
preciated! TIA & best regards Stefan Rusterholz

[PHP] Storing objects in sessions-vars in PHP 4.03pl1

2002-01-21 Thread Stefan Rusterholz
n-var is still intact, so it's not just a wrong loaded session var). My Question is now: is it possible that PHP 4.03pl1 was NOT able to store an object in a session var? Best regards and TIA Stefan Rusterholz

[PHP] Help! PHP 4.03pl1, fopen and cobalt RaQ4

2002-01-17 Thread Stefan Rusterholz
upgrade the RaQ to PHP 4.06 or even 4.1.1 in a usable time (I don't want to try to compile PHP myself)? TIA Stefan Rusterholz

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
l could display it on multiple lines). and here a smaller explanation of the ternary operator (?:): echo (condition) ? "condition is true" : "condition is false"; if conditions evaluates to true then PHP interprets it like echo "condition is true"; else echo &q

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
\"somename_$var\"] is not set."); I'll explain, what this code does: it first checks isset($var) - if this variable (or in this case the indice of the array) exists, this is true. so if $row["somename_$var"] exists and is not empty, it does 'echo' the stuff be

Re: [PHP] variable problem - help!

2002-01-16 Thread Stefan Rusterholz
et_error_reporting(0) and you'll see PHP's complaints about it) so PHP converts it to $row['constant']. You may now understand, that PHP "translates" your code to $row['coloumname_$variable'] whre $variable is a string and not a variable. I hope, I could ex

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
sure that at last for PHP 4.06 or higher this is deprecated. I don't know why it is still in the manual. Please correct me if I'm wrong. best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Since some time there has only one difference left (don't know at which version it changed): include causes a warning and require an error on fail. (very useful for debugging - require your error-handler and include everything else) best regards Stefan Rusterholz - Original Me

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Sure you can. Right out from the manual: If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be include()ed using an URL instead of a local pathname. See Remote files and fopen() for more information. best rega

Re: [PHP] Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
> might explain why the variable is not known on the remote server? > > Thanks in advance! > -- > Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439 best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: How to get a stacktrace? (was how to get a function backtrace)

2002-01-14 Thread Stefan Rusterholz
PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 10:24 AM Subject: [PHP] Re: How to get a function backtrace? > Stefan Rusterholz wrote: > > > Im not sure if "function-backtrace" is the correct word for what I need, so I'll explain: > > I

[PHP] How to get a function backtrace?

2002-01-11 Thread Stefan Rusterholz
ow, what functions have been called. If you know perl, then adequate function was "caller". I already searched php.net for it but had no luck for it - so if you please could point me to the right direction I was very happy. TIA Stefan Rusterholz

Re: [PHP] Regex question

2002-01-09 Thread Stefan Rusterholz
> > If you want the [ to be escaped in the regex you have to "double-escape" > it: > > $x = "\ \["; (sorry, the two \ should be together without a space but my > > stupid mail-app converts the string thinking it's an network address) > > so $x will contain "\[" as you want ( the first backslash e

Re: [PHP] Regex question

2002-01-09 Thread Stefan Rusterholz
stupid mail-app converts the string thinking it's an network address) so $x will contain "\[" as you want ( the first backslash escapes the second). > foreach ($tags as $currentTag) > if (preg_match ("/^<\/". $currentTag. "/", $content)) > //

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
Donnerstag den, 27. Dezember 2001, um 18:36, schrieb Brian Clark: > * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 12:12]: > >>> Is there a `locale' package you can install for OSX? (There is for my >>> system.) >> There is one, but not for PHP, only for the

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
I forgot to mail that to the mailinglist too... >> * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 11:30]: >> >>> I did that. For localedef it hasn't an entry. But for locale it has >>> one. >>> I don't think that's what you expect

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
Thanks for your help, but it doesn't work either :-( Am Donnerstag den, 27. Dezember 2001, um 16:12, schrieb Brian Clark: > * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 09:13]: > >> Hi > > Hiya > >> I'm using following code: > >> set

[PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
r that function to work correct. Does someone know where to get those files and where to put them in my system? best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Size of array in bytes

2001-12-20 Thread Stefan Rusterholz
to be equal to the sum of it's content? I'm more interested in how many kbytes of RAM my array is using than the size in bytes of it's content... But thank you anyway for helping me! best regards Stefan Rusterholz > Had the same problem not long ago and I didn't find a simple so

Re: [PHP] How to save the "result page" generated by a Form?

2001-12-20 Thread Stefan Rusterholz
I don't know if it matches your needs but perhaps it helps: http://www.php.net/manual/en/ref.outcontrol.php http://www.php.net/manual/it/ref.outcontrol.php this page isn't translated, but perhaps some subpages... good luck Stefan Rusterholz - Original Message - From: &qu

[PHP] Size of array in bytes

2001-12-20 Thread Stefan Rusterholz
Hi I have a rather large array in my script and I was interested how much memory it uses. Is there a way to get the size of an array in bytes? BTW: I did RTFM and didn't find an accomidating function, so if there is one, please point me to it... TIA Stefan Rusterholz -- PHP General Ma

Re: [PHP] can php pretend to be a MSIE or Netscape?

2001-12-17 Thread Stefan Rusterholz
You should be able to using fsockopen. You can use the class below and modify it. Search the class for the string "User-Agent:" and change what's behind. http://phpclasses.upperdesign.com/browse.html?file=1222 happy querying Stefan Rusterholz - Original Message - F

Re: [PHP] PHP as a web browser?

2001-12-17 Thread Stefan Rusterholz
if you want a php-only solution, you should probably also consider fsockopen. http://www.php.net/manual/en/function.fsockopen.php best regards Stefan Rusterholz - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: M

Re: [PHP] Variable Swap?

2001-12-11 Thread Stefan Rusterholz
Try this (I only tested it shortly if it works with scalars, but it should also with arrays): #swap $a, $b list($a, $b) = array($b, $a); Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

Re: [PHP] Re: PHP 4.1.0 released

2001-12-11 Thread Stefan Rusterholz
whoops, you are absolutly right I'm sorry - big apologizes :~/ *taking myself on my nose* And I (*stupid*) had almost downloaded 4.06 twice (since I've 4.06 already installed) not remarking that this are the "old" 4.06 binaries... Stefan Rusterho

Re: [PHP] Re: PHP 4.1.0 released

2001-12-11 Thread Stefan Rusterholz
Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.interaktion.ch -- - Original Message - From

Re: [PHP] Frames creating problems...

2001-12-10 Thread Stefan Rusterholz
If you have the whole in frame A and want the result in frame B then use If you have the form in frame A and the "search" button in frame B then you'll have to use JavaScript To: <[EMAIL PROTECTED]> Sent: Monday, December 10, 2001 4:03 PM Subject: [PHP] Frames creating problems... > Hello Gu

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Sorry, ignore my last mail. I was wrong. phpMyAdmin indeed does provide a surface for adding users and setting privileges. Sorry. Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Yes phpMyAdmin IS great, but it does only allow you to access the 'mysql' db with 'user' table in it. It doesn't provide anything to make it easier to create new user accounts (user accounts != tables) and setting the users privileges :( thats what I'm searching f

[PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Does anyone know a webbrowser/php based tool which allows to administer user privileges in mysql easily? Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19

[PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Does anyone know a webbrowser/php based tool which allows to administer user privileges in mysql easily? Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

Re: [PHP] headers

2001-12-05 Thread Stefan Rusterholz
ields then tell me. I hope I could help Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.interakti

Re: [PHP] Please

2001-12-05 Thread Stefan Rusterholz
did you ever read that f 4 lines at bottom of each mail??? To unsubscribe, e-mail: [EMAIL PROTECTED] first think, then do Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

Re: [PHP] Mac OSX and MySQL

2001-12-05 Thread Stefan Rusterholz
As soon as the mysqld is running (and PHP also of course), you can use phpMyAdmin to set up new tables. If you are not experienced in CLI it's a nice way to go avoiding the CLI as far as possible (IMHO). Get a look at those pages: www.macosx.org www.stepwise.com best regards Stefan Ruste

Re: [PHP] PHP newbie alert

2001-12-04 Thread Stefan Rusterholz
work on a windows machine where I prefere to use UltraEdit. happy coding Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.inte

Re: [PHP] How to set file extension php Mac OSX and PHP 4.0.6

2001-12-03 Thread Stefan Rusterholz
u "File" with which you can easily open and edit the httpd.conf (as erik said it is normally located under /etc/httpd/httpd.conf) . BBedit will probably tell you that you haven't appropriate rights to edit and save the file - log out and log in as root again (or chown/chmod the file). >

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Stefan Rusterholz
ations together, fast searching of images with keywords and so on) best regards Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www

Re: [PHP] exec() help

2001-11-21 Thread Stefan Rusterholz
and I cannot figure out why, any ideas?? What error? What does it tell you? Why don't you use fopen or fsockopen which are implemented in PHP instead of doing probably dangerous exec()? best regards Stefan Rusterholz > TIA > Ade > > > -- > PHP General Mailing List (http:

Re: [PHP] Display Problemo

2001-11-20 Thread Stefan Rusterholz
or other things afterwards because you could run into unsolvable problems (what when a coder has in his code? You could destroy it!) I hope I could help Stefan Rusterholz, [EMAIL PROTECTED] ------ interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich --

Re: [PHP] Regular Expressions.

2001-11-20 Thread Stefan Rusterholz
avoid /g there have been some more problems during my transition, but I don't remember all of them... read the user comments on the documention on php.net, they are very helpful hope I could help Stefan Rusterholz, [EMAIL PROTECTED] -- interak

Re: [PHP] Daemons (was: How to check what country the user is comming from ?)

2001-11-20 Thread Stefan Rusterholz
Can you explain me, how to build a (standalone) daemon or point me to a good tutorial? Thank you for help in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T

Re: [PHP] link to a pdf file

2001-11-16 Thread Stefan Rusterholz
Hi Besides that I think this is the wrong mailing list for dealing with that question: Zip that pdf-file and link to the zipped file. Everything else (AFAIK) won't work because this phenomenon is caused by the client and not by the server. Stefan Rusterholz, [EMAIL PROT

Re: [PHP] Re: Login/Security Problem

2001-11-14 Thread Stefan Rusterholz
s" and I will gain access. I'm sorry, but I can't tell you a better way to do it. Stefan Rusterholz, [EMAIL PROTECTED] ------ interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55

Re: [PHP] Mysql and Images

2001-11-13 Thread Stefan Rusterholz
have image-output functions in a separate file. You can still use that file for all images in your database If I misunderstood you and you just want a sample code for outputting picture-data then look at this: I hope I could help you Stefan Rusterholz, [EMAIL PROT

Re: [PHP] get names of vars $HTTP_POST_VARS?

2001-11-09 Thread Stefan Rusterholz
there is a _very_ good documentation. (For this topic look at "array functions") Stefan Rusterholz, [EMAIL PROTECTED] ------ interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41

Re: [PHP] mysql table information

2001-11-02 Thread Stefan Rusterholz
spend any time checking it but I think it could work. Good luck! PS: if you make progress with that I was also interested in informations about this kind of stuff - please send a mail :) Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Züric

Re: [PHP] Re: Problem with non us caracters and "strtr"

2001-11-02 Thread Stefan Rusterholz
didn't spend a lot of time investigating it). Anyway: why do you want to translate a ã to an a? I made good experiences with storing original chars and using htmlentities() (or otherway round if you don't have to edit that stuff) Stefan Rusterholz, [EMAIL

Re: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Stefan Rusterholz
For UltraEdit I have edited the words file a bit and added PHP as language so that it highlights PHP commands as well. (I haven't included all commands, but a lot) Just if someone is interested, he/she can send me an email with subject "UltraEdit Wordfile" :-) Stefan Rus

[PHP] File to Download gets requestet twice

2001-11-02 Thread Stefan Rusterholz
IE Versions under Windows encountered no problems with that) Has someone an Idea or a working work-around? Any help would be appreciated... Best regards Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.interaktion.ch --

Re: [PHP] how do I use "<" and "<" with eval()?

2001-10-31 Thread Stefan Rusterholz
; If you do that this way it looks for php like this: zzz'; #eval($string); xxx zzz ?> (as someone before correctly stated) As you see, for PHP is some HTML-Code in the php-code-zone. To avoid this, do it that way: zzz'; eval("?>$string"); ?> Pa

Re: [PHP] Zipping a folder on a win2000 server with php4.06

2001-10-31 Thread Stefan Rusterholz
e filepath is necessary) If someone is interested in that, I can give some additional info's Thank you all for your help! Stefan Rusterholz, [EMAIL PROTECTED] - Original Message - From: "Matt Friedman" <[EMAIL PROTECTED]> To: "Stefan Rusterholz" <[EMAIL

Re: [PHP] Re: Zipping a folder on a win2000 server with php4.06

2001-10-30 Thread Stefan Rusterholz
Well, I would do that but I don't know such an application. Please, can you suggest me one? Stefan Rusterholz, [EMAIL PROTECTED] - Original Message - From: "Julio Nobrega" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 4:40 PM S

[PHP] Zipping a folder on a win2000 server with php4.06

2001-10-30 Thread Stefan Rusterholz
the manual, so if you tell me to rtfm - please point me to the corresponding entry also :) Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 2

Re: [PHP] Update onBlur or onChange

2001-10-22 Thread Stefan Rusterholz
realtime - total appears after sending it. You can combine this solution with the first to avoid problems with browsers that have JavaScript disabled (I'd recomend that anyway) Regards Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zü

Re: [PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan Rusterholz
It seems I didn't read the descrition of 'exec()' good enough when I read it the first time :( Now it works, thank you From: "Krzysztof Kocjan" <[EMAIL PROTECTED]> To: "Stefan Rusterholz" <[EMAIL PROTECTED]> > See exec() and system function

[PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan Rusterholz
is empty after the execution of the perl-script. I needed the output in $result and don't want that the perl script prints to the browser... The whole thing is running on a win2k Server machine. Does someone know what I'm doing wrong? By the way: which number in $status means what? reg

Re: [PHP] imageJPEG problem.

2001-09-25 Thread Stefan Rusterholz
;Content-type: $mime"); echo $image; I know that the routine could be written better, but I think I wrote it in a hurry when I wrote it :) Perhaps you can do something with that routine (it works fine on a linux machine)... regards stefan rusterholz - Original Message - From: &qu

Re: [PHP] imageJPEG problem.

2001-09-24 Thread Stefan Rusterholz
- Original Message - From: "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]> To: "'Stefan Rusterholz'" <[EMAIL PROTECTED]>; "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9

Re: [PHP] Re: How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz
Hmmm, thank you but this: Fatal error: Call to undefined function: imap_8bit() seems to show me that my php has no imap support :-/ So, is there another way? Best regards Stefan Rusterholz - Original Message - From: "Martin Pavlas" <[EMAIL PROTECTED]> To: <[EMA

[PHP] How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz
unction in the comments of the online documentation. Does it work correct? By the way: with wich encoding should I encode picture-data for e-mails? base64 works, but with about 33% more space it doesn't seem to me to be the very best solution :( Thanks Stefan Rusterholz

Re: [PHP] testing if var is empty

2001-07-21 Thread Stefan Rusterholz
l return true (because 0 and "" are equal to false) but I think you'll have to combine it because 0 === "somestring" will also return false hope you can use those informations Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan

Re: [PHP] Re: split on whitespace, preserving whitespace... (a rephrase of the question)

2001-07-20 Thread Stefan Rusterholz
$matches[1];} preg_replace("/$matches[1]/","",$text); } If it doesn't work, I'm sorry, but currently I'm not able to test it. But I hope, you can see the idea behind it. best regards Stefan Rusterholz, [EMAIL PROTECTED] - Original Message - Fro

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
And after having read it thorugh I remark, that I'm going to disgrace myself... :-( Just forget my answer, Jack Dempsey is right. Sorry - Original Message - From: "Stefan Rusterholz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 3:

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
work. But probably it was a better solution to insert the spaces with a loop between the words than to run the risk, that the separator is somewhere in the text... best regards Stefan Rusterholz, [EMAIL PROTECTED] - Original Message - From: "Stefan Rusterholz" <[EMAIL PROTEC

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
myarray = preg_split ("/\s+/",$sometext2split); you should get $myarray := ['hello', 'world', 'with', 'a', 'lot', 'of', 'whitespaces!'] But remark: \t (tabs) will also count as whitespace, but not \n and \r. See docu for mo