[PHP] session question

2001-01-30 Thread Peter Van Dijck
Hi, help: shouldn't this increase the number every time you reload the page? session_start(); $funky_session_var ++; session_register($funky_session_var); print $funky_session_var; Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] PHP web based mailing list administrator

2001-03-03 Thread Peter Van Dijck
Hi, does there exist a web based mailing list administrator in PHP (Tying in with some open source mailing list software)? Ideally, something like egroups (now groups.yahoo.com). I just want to be able to easily administrate (or have other people administrate) mailing lists. I have access to

[PHP] bug tracking software

2001-03-06 Thread Peter Van Dijck
I've looked into bug tracking software at hotscripts: mantis http://mantisbt.sourceforge.net/mantis/main_page.php3 is promising but has too many bugs itself still (I fixed three in the past 20 minutes of playing with it, it's still in beta, but I can't afford the estimated x days of debugging

Re: [PHP-I18N] Re: Weekly Update

2001-03-10 Thread Peter Van Dijck
What's with all the spam on this list anyway? Is there no moderation at all? I'm working on some i18n issues, and I'll have some questions / answers soon, but this list is way too spammy for now. Also: since it's so low traffic, can we set it to reply to the list by default? Peter Haha

[PHP] objects in functions?

2001-03-10 Thread Peter Van Dijck
Hi, I want to make a recursive function generating a hierarchy using a class. The following code works fine when I don't wrap the function around it, but when I do it fails. I can't figure out why... I'm thinking I may need to make some vars global, or maybe you can't use objects inside

[PHP] dbadmin improved

2001-03-16 Thread Peter Van Dijck
I just tried out http://sourceforge.net/projects/phpmyedit/ it's like Paul's dbadmin script for generating admin, but seems bettter (has paging, ...). Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List

[PHP] function knows where call came from?

2001-03-28 Thread Peter Van Dijck
say you include a function in a page, and then you call that function. Is there a way (without actually passing through the parameters) for that function to know which page and which line called it? That would be VERY cool! Peter ~~ http://liga1.com:

[PHP] rewrite one line in file

2001-03-29 Thread Peter Van Dijck
How do I rewrite 1 line in a file? I got the filename and the linenumber. i was playing around with fwrite but to find the line I had to do all sorts of gymnastics, I'm sure there must be a more elegant way... thanks for any hints! Peter ~~

[PHP] (another) cms, but internationalized

2001-03-29 Thread Peter Van Dijck
Hi, I'm working on another content management system, coz I can't find what I need out there. Some features: - multiple languages for everything - multiple templates (so you can have a english-simple template version or a french-old style template version of the same page, all cached) - easy to

[PHP] damn $REQUEST_URI

2001-06-25 Thread Peter Van Dijck
$REQUEST_URI gets me home/dir/index.php but I need to get the domain name. Can't seem to find it anywhere, what's the environment variable for the domain name again? Thanks! Peter ~~ http://liga1.com building multiple language/culture websites

[PHP-I18N] weblog on i18n issues

2001-02-15 Thread Peter Van Dijck
http://liga1.com/ new weblog on localisation, internationalisation, globalisation and accessibility issues. Any feedback welcome, and feel free to participate, post articles, ... Peter -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] $result = $$function

2001-02-24 Thread Peter Van Dijck
Hi, I'd like to do: $function = "build_result()"; $result = $$function; but it doesn't seem to work. The reason why I think I need it is that I have a generic function, but within it I have to call another function depending on who called it. I could build a switch within the generic function

[PHP] ezpublish installation

2001-04-10 Thread Peter Van Dijck
Hi, I think I finally found a cms that does most of what I want it to: ezpublish (http://developer.ez.no/article/archive/4/) I'm trying to install it, I'm on a apache server, a few questions: 1. how do I install Imagemagick? Seems I need to recompile PHP and do --with-imagick=DIR, is that

[PHP] created a mailing list for ezpublish

2001-04-10 Thread Peter Van Dijck
Hi, since there doesn't seem to be a mailing list for ezpublish (a cms in php), I created one: http://groups.yahoo.com/group/php-ezpublish Feel free to join up, I basically created it because it seems a very powerful but complex system. Peter ~~

[PHP] ezpublish install

2001-04-11 Thread Peter Van Dijck
Hi, I think I finally found a cms that does most of what I want it to: ezpublish ( http://developer.ez.no/article/archive/4/ ) I'm trying to install it, I'm on a apache server, and having some problems. Where can I find help to install this? I've checked the entire website, there's no

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Ok, I have Apache running, and PHP running. However, when I look at http://localhost/test.php it works (e.g. phpinfo() shows all the info), but I get 3 popups: "Unable to load dynamic library 'php_pdf.dll' - The specified module could not be found." I click OK "The dynamic link library

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Hi, thanks for the tips. first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. php_pdf.dll (the first error - the other errors seem to have stopped all by themselves) is actually in the /extensions/ subdir of php.

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4 - solved!

2001-04-13 Thread Peter Van Dijck
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to the windows/winnt/system32 directory (it was just a hunch) and behold, it worked brilliantly!! Thanks! Now I just have to figure out how to: 1- get mysql to work 2- get virtual domains to worl Peter hello, i'm

[PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Hi, I installed php4 and apache on Win NT, it all works. Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in So it can't save those session variables. Do I need to change permissions? Or set up a folder? If so where / how? Also: I can't seem

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
more probs: I shut down my machine and restarted, now apache won't run properly. Typing localhost gives server error: The server encountered an internal error or misconfiguration and was unable to complete your request. There is nothing in the server error logs. ... I don't know where to start

[PHP] htaccess question

2001-04-14 Thread Peter Van Dijck
Hi, i installed Apache, PHP and mySQL on winNT. I am trying to get htaccess files to work. I created a .htaccess file in a directory with this line in it: errordocument 404 /404.php I changed the httpd.conf file for apache and restarted apache like this: # AllowOverride None AllowOverride All

Re: [PHP] htaccess question

2001-04-14 Thread Peter Van Dijck
Also, I am trying to find a way to get this to work: within the directory I'm in, 1/5/2/3 should be rewritten to index.php?a=1b=5c=2d=3 I'm sure lots of people have done this before, but the Apache examples don't seem to include this. Where can I find a working example? Thanks! Peter Hi, i

[PHP] xml-rcp problem

2001-04-21 Thread Peter Van Dijck
Hi, I was playing with the xml-rcp example given at o'reilly http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html which uses Edd Dumbill's PHP XML-RPC modules But when I run the example mentioned in the oreilly article (on Apache on win NT), I get a popup saying error in php.exe:

Re: [PHP] xml-rcp problem

2001-04-21 Thread Peter Van Dijck
Also, when I uncomment stuff, the line that seems to be giving the problems is: $response = $client-send($msg); When I comment that no more errors. (but nothing else either ofcourse) Peter ~~ http://liga1.com building multiple language/culture websites