[PHP] Function by reference

2001-01-31 Thread Niklas Saers
encode() I was thinking somewhere along the lines $func=urlencode; $tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"$func(\\1)\"",$this-dataToBeParsed); Cheers Niklas Saers -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] user running PHP

2003-12-22 Thread Niklas Saers
as user www and group www rather than the user and group I set with SuexecUserGroup. Why is that, and how can I make it use the user and group the user belongs to? People are starting to complain that they have problems using fopen() and the like. Cheers Niklas Saers -- PHP General Mailing List

[PHP] Links

2001-12-28 Thread Niklas Saers Mailinglistaccount
Hi. I've got the following problem. I've taken over a website of about 1200 static pages. Yes, that's right, 1200 static pages. Containing roundabout a zillion working and broken links. I've done my job and made a system that actually works, importing each page (manually with a publishing tool

[PHP] imap trouble

2003-03-19 Thread Niklas Saers Mailinglistaccount
Hi, I'm running FreeBSD 4.8RC, c-client 2002, imap-uw 2002 and PHP 4.3.1 (tried a couple of other versions, but they give me the same error). Whenever I use imap_open() to localhost, I get the following error: Mar 20 00:20:29 doriath imapd[43632]: Command stream end of file, while reading line

[PHP] imap problem

2003-03-19 Thread Niklas Saers Mailinglistaccount
When contacting the imap-uw server I've built with plaintext and ssl support, I get Certificate failure for localhost: self signed certificate: /C=NO/ST=Oslo/L=Oslo/O=religion.no/OU=religion.no/CN=doriath/CN=localhost when contacting it through php. How can I make php accept my certificate? And if