Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-06 Thread Markus Mayer
wd: ', cwd(), "\n"; > right before the include. > > On Fri, December 1, 2006 3:47 am, Markus Mayer wrote: > > Hi Richard, > > Hi all, > > > > The include path is correct. That was one of the first things I > > played around > > with. At

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
On Thursday 30 November 2006 19:04, Richard Lynch wrote: [snip...] And of course I forgot to put in the configure arguments './configure' \ '--without-pear' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--enable-mm=shared' \ '--with-mysql=/usr/local/MySQL/mysql-standard-5.0.27-solaris10-spar

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
s in their own accounts up, then ask me why it "doesn't work", I get annoyed at such things too. regards Markus On Thursday 30 November 2006 19:04, Richard Lynch wrote: > On Thu, November 30, 2006 6:49 am, Markus Mayer wrote: > > I have a strange problem including files

[PHP] Help with strange include problem in PHP 5.2.0

2006-11-30 Thread Markus Mayer
Hi all, I have a strange problem including files in PHP 5.2.0 running on Unix. If I try to include a file using include 'filename.inc';, everything is fine. As soon as I try to put a "." in front of the file name, for example include './filename.inc';, I get a "failed to open stream: No such

[PHP] Problems with HPHP on AIX and Solaris

2005-04-26 Thread Markus Mayer
Hi All, I have interesting problems with PHP/Hardened PHP 4.3.11 on Apache 2.0.54 on AIX 5.1 and 5.2, and on Solaris 9. I have a directory permissions scheme which has the absolute minimum of rights for the web server to work, that is a directory gets the permissions drwx--s--x (711) with the

Re: [PHP] Mail with acknowledgement of delivery

2005-03-30 Thread Markus Mayer
The mail() function allows you to specify additional headers that go into the mail. Delivery acknowledgement is done using specific headers, the exact format of which I don't know off hand. You will have to find the exact formatting information yourself, however this is the way to go. Markus

Re: [PHP] patch to php 4.3.10 to disabling URL wrappers in include like statements

2005-03-02 Thread Markus Mayer
Correct me if I'm wrong, but isn't this already available in the standard PHP? In the php.ini file, you can refuse the inclusion of url's : allow_url_fopen = Off I think also Hardened PHP offers additional similar protections. Markus On Wednesday 02 March 2005 08:57, Tom Z. Meinlschmi

Re: [PHP] PHP slowness

2005-03-02 Thread Markus Mayer
I'm a little bit late in on this one, and asking questions after the problem is solved is a bit academic, but I am curious about one thing - Does the debian package do reverse lookups to try to get a name for the visiting IP address? Every page request taking 5 seconds sounds like a name lookup

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
but it seems like I'm dealing with more like /dev/braindead Such is life... Thanks for the info though! regards Markus On Monday 22 November 2004 14:48, Christophe Chisogne wrote: > Markus Mayer wrote: > > I've searched for a tool that would translate, or at least mostly >

[PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
Hello everyone! I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this subject, which surprises me. Does anyone know of any tool that can handle this

Re: [PHP] mysql_connect does not connect

2004-09-16 Thread Markus Mayer
On Thursday 16 September 2004 05:06, Sam Hobbs wrote: > It is my understanding that the firewall is not supposed to be relevant. I It is our experience at my employer that the firewall in XP-SP2, as well as other firewalls that are available, are very relevant. > have not seen anything saying it

Re: [PHP] Power failure = php failure: HELP!

2004-09-15 Thread Markus Mayer
I had a similar problem myself 1 1/2 weeks ago when my system locked up through an IDE bus lock up after 560 days uptime (system still ran, but no access to anything on the IDE drives, scsi was ok). There was significant file system damage, which for me took out my web pages, MySQL, a number of

Re: [PHP] download filesize problem with IE

2004-08-26 Thread Markus Mayer
At the moment you're talking about two different things - uploading and downloading. Your IE download problem has nothing to do with the php.ini settings for uploaded file sizes. There is nothing you can do with PHP to resolve the download problem. I have experienced the same problems with fi

Re: [PHP] making sure sendmail function is on and running

2004-08-24 Thread Markus Mayer
This one is rather annoying as I have found out in the last couple of weeks. Depending on if your apache/php is on Windows or Unix, one or the other of the configurations you mentioned is relevant. If you have Windows, PHP can only use an extrenal smtp server, so you have to open that server

Re: [PHP] Where clause

2004-08-24 Thread Markus Mayer
The answer to this is quite simple if you look in a manual. mysql_query returns a resource id from which you extract the results using things like mysql_result() or mysql_fetch_object() or mysql_fetch_row(). Look up the manual on those commands. On Tuesday 24 August 2004 13:24, Phpu wrote: >

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-24 Thread Markus Mayer
It may well be that they're using anonymous proxies. I know of a couple that spread the visiting IP addresses over a wide range of IP addresses, although everything does make it back eventually. Also possible is that they are using infected Windows machines and proxies. In the case of anony

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-18 Thread Markus Mayer
Just an addennum to my previous post 10 minutes ago: For ssmtp to work with apache/php in a chrooted environment, some kind of shell needs to be present in the /bin directory. This seems to be a limitation of PHP rather than some kind of deficiency with ssmtp. This in itself is a kind of secur

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-18 Thread Markus Mayer
I've been trying further to get ssmtp working with apache/php in a chrooted envrionment and have had some success on Linux, so I'm sharing it with everyone else. I've also come to understand quite well how the mail() function is implemented in php too, and actually it's quite simple. All direc

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-17 Thread Markus Mayer
On Monday 16 August 2004 17:03, Brian Dunning wrote: > I think I may have solved it by an even simpler method: I emailed the > perpetrator to "thank him for all of his orders" to see what he'd say. :-) Great idea! (me shows the thumbs up) > Anyone know who the "proper authorities" are, to whom

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-16 Thread Markus Mayer
Hi Brian, One possibility is to use a MySQL database which records all failures with the credit card verifications, the IP address of the failure, and when the failure was. Write a script which looks at the failures and if it detects three or more failures from any IP in a set time frame (24 h

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-16 Thread Markus Mayer
Hi Brian, One possibility is to use a MySQL database which records all failures with the credit card verifications, the IP address of the failure, and when the failure was. Write a script which looks at the failures and if it detects three or more failures from any IP in a set time frame (24 h

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-16 Thread Markus Mayer
Hi Stephan, On Monday 16 August 2004 15:16, Stephan Fiedler wrote: > do I get you right, you can't invoke mail() because php can't find the > sendmail executable? Indeed you get me right. As I said in my post, alternatives such as qmail, exim, postfix and similar full featured MTA's in the chro

[PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-16 Thread Markus Mayer
Hello all! I have a frustrating problem with PHP and am hoping someone on the list might know a solution. I need to set up an apache server with php on Linux and AIX machines, and it all has to be in a chrooted environment. Most things work very well except for the mail() function. It appear

[PHP] PHP 4.1.0 uses much RAM compiled --with-mm

2001-12-26 Thread Markus Mayer
Hi, I'm experiencing strange PHP memory usage on a Sun SPARC machine running Solaris 8: I when I compile PHP 4.1.0 --with-mm to store session variables in memory the resulting Apache (1.3.22) process(es) immediately uses 138 MB of RAM. One can also observe an immediate significant reduction of a

[PHP] Re: Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
Forgot to mention ... the only way to access the database on B is to connect to "localhost" there. -- 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 P

[PHP] Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
a webpage there (and with this, without opening a popup) from server A? ANY help much appreciated! Markus Mayer -- 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]