Re: [PHP] "use strict" or similar in PHP?

2009-02-26 Thread Spam Recipient
I have no ideea why my response from half an hour ago was not sent, but here it is again: 1. Error reporting set to show notices, warnings and errors. See http://www.php.net/manual/en/function.error-reporting.php 2. For caching you can use memcache. See http://www.php.net/memcache 3. These are c

Re: [PHP] Re: Vote for PHP support in Google App Engine

2008-04-10 Thread Spam Recipient
function sign_petition() { throw new Exception('I WANT PHP may use your email address to personalize your experience on their website.'); } try { sign_petition(); } catch (Exception $e) { echo 'No thank you: ', $e->getMessage(), "\n"; } -- Homer: You know what? Grampa: What? Homer:

[PHP] Question re virtual and scope of definitions

2007-07-04 Thread spam
Hi, today I wanted to use virtual (an `include' wasn't an option) to get the output from another PHP script. I got errors about functions being already defined, which is true since in both scripts are functions of the same name. I always thought virtual makes an Apache subrequest which gives me a n

[PHP] Re: Question regarding include() and symlinks to directories

2007-01-07 Thread spam
On 5 Jan 2007, [EMAIL PROTECTED] wrote: > > On Fri, 2007-01-05 at 22:07 +0100, Jochem Maas wrote: >> reply at the bottom ... >> >> (Karl Pflästerer) wrote: >> > Hi >> > let's say we have the follwing directory structure: >> > directory test, with to subdirectories: a and b; both have ssi >> > su

[PHP] Re: Question regarding include() and symlinks to directories

2007-01-07 Thread spam
On 6 Jan 2007, [EMAIL PROTECTED] wrote: > On Thu, January 4, 2007 2:47 pm, Karl Pfl=E4sterer wrote: >> In my opinion include() should respect symlinks to directories and not >> dereference them before finding the file to include. Or am I wrong >> here? >> The PHP version is 5.1.6 (will soon be up

[PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread spam
Hi let's say we have the follwing directory structure: directory test, with to subdirectories: a and b; both have ssi subdirectory; a has also a subdirectory c with an index.php file in it and in b we habe a symbolic link to a/c. On the shell it looks like this: , | /htdocs/test>ls -gG * | a:

[PHP] Re: Different php.ini files for different apache processes on one server

2006-07-19 Thread spam
On 19 Jul 2006, [EMAIL PROTECTED] wrote: > You could chroot each apache instance but I would probably try to modify > the apache module to accept a parameter (and in the process verify that > one does not already exist). Thanks to all for the answers. As the solution has to work with Apache 1 I

[PHP] Different php.ini files for different apache processes on one server

2006-07-18 Thread spam
Hi, suppose you had several directories a, b and c where in each directory you had an Apache http.conf file. For each directory Apache gets started with the http.conf (and other conf files) in that directory. PHP is used a an Apache module. How can I have a different php.ini file for each differ

[PHP] Mailinglists are honey for Spammers

2004-08-11 Thread SPAM
Hi, Currently i'm working on a php script which allow to archive the content of email accounts. It fetch the accounts through the imap extension and store the messages in a database. It is easy to subscribe an address to this list and collect email adresses. I mean the attemp to hide emails, exa

[PHP] Re: excluding same field values in mysql

2003-02-19 Thread no-spam----me
In your query throw a 'DISTINCT' in right after your 'SELECT'; Sunfire <[EMAIL PROTECTED]> wrote: > hi > im making a mailing system for a company. i have to find all email addresses > in a table and send email to all of them. the problem comes in when more > than 1 company has the same email addr

[PHP] Re: Associative vs normal arrays

2003-02-02 Thread no-spam----me
No functions that I can think of but you can write one like this: $arrayType = 'numeric'; foreach($myArray as $key => $value) { if(!is_numeric($key)) { $arrayType = 'associative'; } } Also remember that an array can be both! Larry > Is there a way to determine if an array

[PHP] Re: need help with unusual php/mysql/array manipulation script

2002-07-27 Thread spam
On Sat, 27 Jul 2002 01:08:12 -0400, [EMAIL PROTECTED] (Chris Earle) wrote: > Ahhh, good old UO. I remember GMing my taming, crazy what they've done to > the game since I've quit (120 skill, insane!). > > I'm not completely sure of a few things about your question and I think that > I could he

[PHP] need help with unusual php/mysql/array manipulation script

2002-07-26 Thread spam
I run an online gaming fansite, and most people that visit my site want to know what would be best to raise their skill on. I started a script which basically takes numeric data (0-120) and pulls the information they need from my database. I got the easy part down, which you can see here: