Re: [PHP] Regex question

2002-01-09 Thread Stefan Rusterholz
( the first backslash escapes the second). foreach ($tags as $currentTag) if (preg_match (/^\/. $currentTag. /, $content)) // do something Witan Jardine 13 Southampton Place London WC1A 2AL Tel: 020 7404 4004 I hope I didn't miss the point and could help you best regards Stefan

Re: [PHP] Regex question

2002-01-09 Thread Stefan Rusterholz
the second). Hi Stefan, Thanks very much for that, it does make sense :-) Unfortunately it still hasn't fixed the problem... I suppose my question has now boiled down to do I need to escape !, , or - in a regex? :-) Cheers Jon here the expression again: $tags = array (script

[PHP] Bit shifting conversion (Delphi - PHP)

2001-12-30 Thread Stefan Pettersson
on system. Or, as a workaround, is there any way to detect the number of bytes an integer is on the current system? Thanks in advance. Best regards, Stefan Pettersson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
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] 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: setlocale(LC_ALL, 'german'); $timestamp = time(); $string

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 expectet (it seems to belong to perl) Then you need to find out how

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
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 system (which is actually multilingual and able

[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 Mailing

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: Joe [EMAIL

Re: [PHP] Size of array in bytes

2001-12-20 Thread Stefan Rusterholz
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 solution either. My solution at the time

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: Monday, December 17, 2001 9:26

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 - From: Sebastian [EMAIL

Re: [PHP] Re: PHP 4.1.0 released

2001-12-11 Thread Stefan Rusterholz
and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included) Please take your self time and comfort yourself to go to the php.net site and take a look yourself to point that bit out yourself - thank you. Stefan

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 Rusterholz, [EMAIL PROTECTED

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] Frames creating problems...

2001-12-10 Thread Stefan Rusterholz
frames[1] with frames[x] where x is the number of the frame. consult www.teamone.de/selfhtml/ for more informations about that) Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

[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

[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

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 for. Stefan Rusterholz, [EMAIL

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] 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 Rusterholz

Re: [PHP] Please

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

Re: [PHP] headers

2001-12-05 Thread Stefan Rusterholz
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.interaktion.ch

Re: [PHP] PHP newbie alert

2001-12-04 Thread Stefan Rusterholz
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.interaktion.ch

[PHP] CURL functions

2001-12-04 Thread Stefan Isarie
); curl_setopt($ch, CURLOPT_POSTFIELDS, cmd=_cartupdate=Update$vard=1); curl_exec ($ch); curl_close ($ch); PS: $vard is defined. Thanks in advance Stefan - Romania -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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

2001-12-03 Thread Stefan Rusterholz
the file - log out and log in as root again (or chown/chmod the file). Erik 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

[PHP] Global storage of objects.

2001-11-29 Thread Stefan Bergstrand
I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. /Stefan B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Global storage of objects.

2001-11-29 Thread Stefan Bergstrand
. Poor man's cache, that is. /Stefan Jani Mikkonen wrote: I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. Keyword is Serialization. If you save object to flatfile or to db, i dont see any point why

Re: [PHP] exec() help

2001-11-21 Thread Stefan Rusterholz
are implemented in PHP instead of doing probably dangerous exec()? best regards Stefan Rusterholz TIA Ade -- 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] 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] Regular Expressions.

2001-11-20 Thread Stefan Rusterholz
, 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] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

Re: [PHP] Display Problemo

2001-11-20 Thread Stefan Rusterholz
you could run into unsolvable problems (what when a coder has BR 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 -- 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 PROTECTED

[PHP] Parse POST-Data myself

2001-11-16 Thread Stefan
containing post-data :-( If someone has another approach to a solution: I will have both ears open for it :) Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

[PHP] fsockopen - whats the syntax of POST?

2001-11-15 Thread Stefan
First: can I do a POST-request with fsockopen? If yes, then: whats the syntax for POST-requests? I was happy if someone could point me to a good documentation or so Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz

[PHP] Multiple .ini-files for PHP

2001-11-14 Thread Stefan
Is there a way to have different .ini-files for each VirtualHost? Apache is used as webserver Thank you for helping Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T

Re: [PHP] Mysql and Images

2001-11-13 Thread Stefan Rusterholz
= mysql_fetch_array($result); echo $row['imageBinaryField']; #don't print anything below this to the browser ? I hope I could help you Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

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

2001-11-09 Thread Stefan Rusterholz
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 1 253 19 56 W3 www.interaktion.ch

[PHP] File to Download gets requestet twice

2001-11-02 Thread Stefan Rusterholz
? 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] 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 Rusterholz, [EMAIL PROTECTED

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 PROTECTED

Re: [PHP] mysql table information

2001-11-02 Thread Stefan Rusterholz
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ürichbergstrasse 17

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

2001-10-31 Thread Stefan Rusterholz
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 PROTECTED] Cc: php general [EMAIL PROTECTED] Sent: Wednesday, October 31, 2001 5:39 AM

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

2001-10-31 Thread Stefan Rusterholz
; } } $string='xxx ?php somefunc(yyy,3); ? zzz'; eval(?$string); ? Pay attention to the trailing ? in eval. That causes php to change to HTML-Mode within the eval'd code. Hope, I could help you Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh

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

2001-10-30 Thread Stefan Rusterholz
, 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 253 19 55 F

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 Subject: [PHP] Re: Zipping a folder

Re: [PHP] Update onBlur or onChange

2001-10-22 Thread Stefan Rusterholz
problems with browsers that have JavaScript disabled (I'd recomend that anyway) 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

[PHP] AW: PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-21 Thread Stefan Siefert
Hi, well I do understand your needing. First a question. What are your compile options, e.g. your configure call? Do you use --enable-discard-path ? If not, try this. You need this option to run Phpscripts from cgi-bin folders!!! Greetings, Stefan Siefert -Ursprüngliche Nachricht

[PHP] Re: [PHP-INST] Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI script appears in output

2001-10-20 Thread Stefan Siefert
in the scripts. I'm not sure, but it should work. Hope this helps you, Stefan Siefert - Original Message - From: Dave Goodrich [EMAIL PROTECTED] To: Philippe [EMAIL PROTECTED] Cc: php-general [EMAIL PROTECTED]; php-install [EMAIL PROTECTED] Sent: Saturday, October 20, 2001 6:05 PM Subject: [PHP

[PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan
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? Stefan Rusterholz, [EMAIL PROTECTED

[PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan Rusterholz
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? regards Stefan Rusterholz, [EMAIL PROTECTED

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 functions in PHP Krzysztof Stefan Rusterholz wrote: Hi For some

Re: [PHP] imageJPEG problem.

2001-09-25 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:07 AM Subject: RE: [PHP] imageJPEG problem. Thanks for your answer

Re: [PHP] imageJPEG problem.

2001-09-25 Thread Stefan Rusterholz
on a linux machine)... regards stefan rusterholz - Original Message - From: Hugh Danaher [EMAIL PROTECTED] To: Stefan Rusterholz [EMAIL PROTECTED] Cc: Php-General [EMAIL PROTECTED] Sent: Tuesday, September 25, 2001 9:33 AM Subject: Re: [PHP] imageJPEG problem. Stephan, Check

[PHP] How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz
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] 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: [EMAIL PROTE

[PHP] PHP 4.0.6 bug

2001-09-10 Thread Stefan de Wal
I upgraded from PHP 4.0.5 4.0.6 and since i get openbasedir errors all over the place when i try to upload a file through a php script is this a bug? Stefan de Wal dewal.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] PHP 4.0.6 bug

2001-09-10 Thread Stefan de Wal
p script is this a bug? Stefan de Wal dewal.nl Stefan, did you check your open_basedir and/or error_reporting settings in php.ini and apache config? What are the errors? I did. No difference between the old php.ini and the new...the apache config is also unchanged. Just because something worke

[PHP] Re: PHP and MySQL

2001-09-10 Thread Stefan de Wal
check your connection string and if it something like mysql_pconnect change it in mysql_connect Stefan de Wal Pieter Philippaerts [EMAIL PROTECTED] schreef in bericht ([EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Unfortunately, I can't access these settings. It's not our computer tha

[PHP] reading from file

2001-07-25 Thread Stefan Kostopoulos
' and appear on positions where there is 'nothing' in the original source file. Any idea what could cause that behavior? Stefan ? $myServer = 'xxx.xxx.xxx.xx'; $document = 'index.shtml'; $fp=fsockopen($myServer,80,$errno,$errstr,30); $request = GET $document HTTP/1.1\r\nAuthorization: Basic

Re: [PHP] testing if var is empty

2001-07-21 Thread Stefan Rusterholz
it because 0 === somestring will also return false hope you can use those informations 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

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

2001-07-20 Thread Stefan Rusterholz
); 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 more informations Hope, it helps best regards Stefan Rusterholz, [EMAIL PROTECTED] - Original Message - From

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

2001-07-20 Thread Stefan Rusterholz
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 PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 20, 2001 3:34 PM Subject: Re

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:47 PM Subject: Re: [PHP] Re: split

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

2001-07-20 Thread Stefan Rusterholz
, 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 - From: Garth Dahlstrom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 4:13 PM Subject: Re

[PHP] Classes and arrays

2001-05-08 Thread Stefan Kostopoulos
Hi! Can anybody explain to me why this script outputs: oneone instead of: zeroone ??? Thanks, stefan ? class Cart { var $items; // Items in our shopping cart function add_item ($id,$text) { $this-$items[$id] = $text; } function output($id

[PHP] Classes adn arrays

2001-05-08 Thread Stefan Kostopoulos
Thanks Jack! This was really driving me mad and it was such a little thing Stefan -- 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]

[PHP] Problem with Mcrypt + PHP 4.0.5

2001-05-03 Thread Stefan Scherf
everything works fine again. Greetings Stefan -- 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] include files with PHP 3.0.16

2001-04-16 Thread Stefan Kostopoulos
Tim, Check out the include() and require() function of php. Stefan -Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 5:38 PM To: [EMAIL PROTECTED] Subject: [PHP] include files with PHP 3.0.16 Hi, I'm currently working on a rather large

<    1   2