Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Rory Browne
I think sending it to the list every so often, via cron isn't the best way to handle it. I've read it once, I don't see the point in getting it again. Perhaps, is the list admins were willing, it could be set up to be sent to all newbies, as part of the subscription process. To ensure that it is re

[PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numberswith X ???)]

2005-01-25 Thread Chris Ramsay
Join the club.. everyone who posts gets one. Annoying, no? Maybe that's another thing to add to the [NEWBIE GUIDE] - I would have found it useful! ;) Chris Ramsay - Web Developer - The Danwood Group Ltd. T: +44 (0) 1522 834482 F: +

Re: [PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]

2005-01-25 Thread Afan Pasalic
Not at all... Actually, I enjoy :-D I just wonder what's going on and is it problem on my side or... Now I breath easier... ;-) -afan Richard Davey wrote: Hello Afan, Tuesday, January 25, 2005, 4:12:43 PM, you wrote: AP> Hey! AP> I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!

RE: [PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]

2005-01-25 Thread Mike Johnson
From: Richard Davey [mailto:[EMAIL PROTECTED] > Hello Afan, > > Tuesday, January 25, 2005, 4:12:43 PM, you wrote: > > AP> Hey! > AP> I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!? > > Join the club.. everyone who posts gets one. Annoying, no? > > Best regards, > > Richard

RE: [PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numberswith X ???)]

2005-01-25 Thread Jay Blanchard
[snip] I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!? What's going on? [/snip] I have been getting it with every send too...off to /dev/null -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] I think that Justin Patrin started up a wiki for PHP, but he hasn't been on the list in a while and I can't remember what the url for his wiki was. But he had a fair amount of useful code in there that would be a great start for this project. AND ... Yeah the list is pretty high volume

Re: [PHP] Avoiding NOTICEs with list()

2005-01-25 Thread trlists
On 24 Jan 2005 James Kaufman wrote: > I just tried it with php 4.3.8 and it did not throw a NOTICE with @list. > I suppose you could try @explode as well as @list. Thanks. I was sure I had tried it with that but I will go back and check. -- Tom -- PHP General Mailing List (http://www.php.net

Re: [PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]

2005-01-25 Thread Richard Davey
Hello Afan, Tuesday, January 25, 2005, 4:12:43 PM, you wrote: AP> Hey! AP> I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!? Join the club.. everyone who posts gets one. Annoying, no? Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I a

RE: [PHP] Help with file not writing

2005-01-25 Thread Joey
Hi Marek, I don't see anything in the docs located http://us3.php.net/fopen to help. I changed it to w only but that made no difference. Can you please provide a more specific answer. THanks Code looks liks this: <% class counter { var $log_file = 'counters/google_log.txt';

[PHP] PATH_INFO empty, ORIG_PATH_INFO correct

2005-01-25 Thread Marten Lehmann
Hello, I'm using PHP as CGI (not through Apache-action, but she-bang line containing the path to php). When I'm calling http://test.com/phpinfo.php/a/variable/url PATH_INFO should contain "/a/variable/url". I checked this with a perl-script, which printed out all environment variables and so I k

Re: [PHP] Replace credit card numbers with X ???

2005-01-25 Thread Jochem Maas
Jay Blanchard wrote: [snip] I need to replace all the numbers of a credit card except for the last 4 with an 'X' ... can't seem to locate the string function for this... can someone point me in the right direction here to what php item i should be using. [/snip] ROFLMMFAO! It's all been discussed b

Re: [PHP] Maxing out sessions?

2005-01-25 Thread Matt
Ok, Right now if I look at a session I see the following... this is on a mail server.. so this is all mail variables and such... There are currently 319 session files and 1.5MB... you know I'm also wondering now if I didn't read things wrong.. .I wonder if it said 2.0MB not GB yesterday.. that

Re: [PHP] Replace credit card numbers with X ???

2005-01-25 Thread tg-php
In addition to what was mentioned already, using ereg_replace, if you're pulling the CC# string out of a database of off of some POST data or something, just use a substr() function to pull the last 4 digits and prepend a bunch of X's. $ccnum = "342342522342342"; # fake CC #, prob not even cor

Re: [PHP] Replace credit card numbers with X ???

2005-01-25 Thread Jochem Maas
Joe Harman wrote: Hello, I need to replace all the numbers of a credit card except for the last 4 with an 'X' ... can't seem to locate the string function for this... can someone point me in the right direction here to what php item i should be using. that'll be: string php_replace_all_but_last_fou

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jason Barnett
Jochem Maas wrote: Jay Blanchard wrote: ... Jay, great list BTW - I was thinking maybe we could drop it on a site/wiki or something which could also contain stuff that comes up again and again, or stuff that even the 6month y/o newbie finds trivial or just good stuff thats been condensed from the l

[PHP] [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]

2005-01-25 Thread Afan Pasalic
Hey! I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!? What's going on? -afan Original Message Subject: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???) Date: Tue, 25 Jan 2005 19:13:27 +0300 From: RIPN NCC <[EMAIL PROTECTED]> To:

Re: [PHP] Replace credit card numbers with X ???

2005-01-25 Thread Afan Pasalic
this is my way. $cc_stars = ''; $cc_no_lenght = strlen($cc_number); $cc_info_first4 = substr($cc_number, 0, 4); $cc_info_last4 = substr($cc_number, (strlen($cc_number) - 4), 4); for($i=0; $i<($cc_no_lenght-8); $i++) $cc_stars .= '*'; $cc_number = $cc_info_f

RE: [PHP] Replace credit card numbers with X ???

2005-01-25 Thread Jay Blanchard
[snip] I need to replace all the numbers of a credit card except for the last 4 with an 'X' ... can't seem to locate the string function for this... can someone point me in the right direction here to what php item i should be using. [/snip] ROFLMMFAO! It's all been discussed before Joe! http://

[PHP] Replace credit card numbers with X ???

2005-01-25 Thread Joe Harman
Hello, I need to replace all the numbers of a credit card except for the last 4 with an 'X' ... can't seem to locate the string function for this... can someone point me in the right direction here to what php item i should be using. Thanks! Joe -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] > This is interesting, I set up the mail line for the CRON to read > > mail("php-general@lists.php.net", "[NEWBIE GUIDE] - For benefit of new > list members", $msg, "From: [EMAIL PROTECTED]" . "Reply-To: > [EMAIL PROTECTED]" . "X-Mailer: PHP/" . phpversion()); > > And the test mail did not

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jochem Maas
John Nichel wrote: Jay Blanchard wrote: [snip] CR> Just a thought, but would it be worth someone posting the list CR> once a week to catch new users as they sign up? Isn't it posted once a month as it is? [/snip] It used to be, but it seems that it hasn't been posted in a while. So I retrieved it a

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jochem Maas
Jay Blanchard wrote: [snip] ...stuff... [/snip] This is interesting, I set up the mail line for the CRON to read mail("php-general@lists.php.net", "[NEWBIE GUIDE] - For benefit of new list members", $msg, "From: [EMAIL PROTECTED]" . "Reply-To: [EMAIL PROTECTED]" . "X-Mailer: PHP/" . phpversion());

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jason Barnett
Jay Blanchard wrote: [snip] stuff... [/snip] This is interesting, I set up the mail line for the CRON to read mail("php-general@lists.php.net", "[NEWBIE GUIDE] - For benefit of new list members", $msg, "From: [EMAIL PROTECTED]" . "Reply-To: [EMAIL PROTECTED]" . "X-Mailer: PHP/" . phpversion());

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread John Nichel
Jay Blanchard wrote: [snip] CR> Just a thought, but would it be worth someone posting the list CR> once a week to catch new users as they sign up? Isn't it posted once a month as it is? [/snip] It used to be, but it seems that it hasn't been posted in a while. So I retrieved it and posted it. I was

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] ...stuff... [/snip] This is interesting, I set up the mail line for the CRON to read mail("php-general@lists.php.net", "[NEWBIE GUIDE] - For benefit of new list members", $msg, "From: [EMAIL PROTECTED]" . "Reply-To: [EMAIL PROTECTED]" . "X-Mailer: PHP/" . phpversion()); And the test mail

Re: [PHP] PHP5: DOM->removeChild Problem

2005-01-25 Thread Christian Stocker
On Fri, 21 Jan 2005 12:02:51 +0100, Mike Blank <[EMAIL PROTECTED]> wrote: > Hi Guys! > > I've got a problem with Dom and php 5.0.2. I'm trying to access an xml > node with $item = $objDom->documentElement->childNodes->item(0);. That > seems to work, because on the next line I can output the node V

[PHP] Re: PHP Cache

2005-01-25 Thread Matthew Weier O'Phinney
* Merlin <[EMAIL PROTECTED]>: > I am trying to find a open source PHP Cache extension. After trying > out ionCube PHP Accelerator (http://www.php-accelerator.co.uk) I had > to remove it from the system since it brought down the server every > few weeks due to some memory leak. There is also APC, b

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jason Barnett
Jay Blanchard wrote: [snip] although.. .just having a sense humor here... i think every topic has been covered a number of times... which means no one should be posting questions at the php list... cause they are all in the archive :0) [/snip] Maybe...except for PHP5 :) ! That and XML / SOAP. I've

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] although.. .just having a sense humor here... i think every topic has been covered a number of times... which means no one should be posting questions at the php list... cause they are all in the archive :0) [/snip] Maybe...except for PHP5 :) ! -- PHP General Mailing List (http://www.php.n

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Joe Harman
Great List... although.. .just having a sense humor here... i think every topic has been covered a number of times... which means no one should be posting questions at the php list... cause they are all in the archive :0) cheers! Joe On Tue, 25 Jan 2005 09:48:53 -0500, Jason Barnett <[EMAIL PRO

Re: [PHP] debugging modules

2005-01-25 Thread Arshavir Grigorian
Rasmus Lerdorf wrote: Arshavir Grigorian wrote: Hi, I am having trouble debugging a PECL module (APC) because while I am able to --enable-debug when configuring the PHP course, I cannot do the same for APC (no such configure option). Does anyone know how to do that? PHP Warning: Unknown(): apc

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jason Barnett
Jay Blanchard wrote: [snip] JB> It used to be, but it seems that it hasn't been posted in a while. So I JB> retrieved it and posted it. I was thinking about setting up a cron to JB> post it every other day or so. I think once a week would be more than enough. You have to actually hope the newbies e

RE: Re[2]: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] JB> It used to be, but it seems that it hasn't been posted in a while. So I JB> retrieved it and posted it. I was thinking about setting up a cron to JB> post it every other day or so. I think once a week would be more than enough. You have to actually hope the newbies even read it, most of

Re[2]: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Richard Davey
Hello Jay, Tuesday, January 25, 2005, 2:33:32 PM, you wrote: JB> It used to be, but it seems that it hasn't been posted in a while. So I JB> retrieved it and posted it. I was thinking about setting up a cron to JB> post it every other day or so. I think once a week would be more than enough. You

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Chris Ramsay
Richard & TheList... >Isn't it posted once a month as it is? Hot damn! That'll be why I have never seen it then! :/ Apologies to all!!! Chris Ramsay - Web Developer - The Danwood Group Ltd. T: +44 (0) 1522 834482 F: +44 (0) 1522 88

RE: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
[snip] CR> Just a thought, but would it be worth someone posting the list CR> once a week to catch new users as they sign up? Isn't it posted once a month as it is? [/snip] It used to be, but it seems that it hasn't been posted in a while. So I retrieved it and posted it. I was thinking about set

Re: [PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Richard Davey
Hello Chris, Tuesday, January 25, 2005, 2:03:09 PM, you wrote: CR> Just a thought, but would it be worth someone posting the list CR> once a week to catch new users as they sign up? Isn't it posted once a month as it is? Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Develo

Re: [PHP] PHP Cache

2005-01-25 Thread Tom
Squid any good to you? You can configure it to cache based on page name, GET and POST params (personally don't like to use POST params for static or semi static content, but that's a personal preference, not a hard and fast rule), farside domains You set it up above your php servers so it do

[PHP] ldap functionality

2005-01-25 Thread Bruce Douglas
hi... i'm in need of an app that has/should have directory/user/member functionality. i want to setup a process to allow an adim to create different fields and categories for a user to enter. think of a company employee database, where you have the employe name, and then the various groups/proj

[PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Chris Ramsay
I too agree - the list raises some really important points... Just a thought, but would it be worth someone posting the list once a week to catch new users as they sign up? Might be worth it in the interest of keeping the list tidy? Chris Ramsay ---

[PHP] PHP Cache

2005-01-25 Thread Merlin
Hi there, I am trying to find a open source PHP Cache extension. After trying out ionCube PHP Accelerator (http://www.php-accelerator.co.uk) I had to remove it from the system since it brought down the server every few weeks due to some memory leak. There is also APC, but the latest build is ove

[PHP] Help with file not writing

2005-01-25 Thread Joey
I'm not too good with classes, in the below class I can get the hit counter to write to the hit counter file, but I can't get it to write the log file, I know security is done correctly on the file because it's the same as the counter log file, but I can't figure out why the other file isn't being

[PHP] Re: [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jason Barnett
Great list Jay. The only other thing that I would add is this: The people on this list are not your paid support specialists that *have* to answer you on your slightest whim. Most of this "netiquette" is covered by http://www.catb.org/~esr/faqs/smart-questions.html, but basically if you make i

[PHP] php 5.1.0 release - when?

2005-01-25 Thread Sergio Gorelyshev
Hello all. Is anyone aware of php 5.1.0 release date? Thanks. -- RE5PECT Sergio Gorelyshev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [NEWBIE GUIDE] For the benefit of new members

2005-01-25 Thread Jay Blanchard
= Please feel free to add more points and send to the list. = 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it of

RE: Re: [PHP] String to Date and Date to String Functions?

2005-01-25 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 25 January 2005 00:25, Ben Edwards wrote: > On Mon, 24 Jan 2005 20:15:15 -, Ford, Mike > <[EMAIL PROTECTED]> wrote: > > To view the terms under which this email is distribute

Re: [PHP] Allowing Users to Edit HTML

2005-01-25 Thread trlists
On 24 Jan 2005 Richard Lynch wrote: > Assuming you are authenticating them correctly so that a Bad Guy can't > change the HTML out from under them, it seems reasonable to me -- Not much > point to cross-site vandalism on one's own site, eh? Exactly, that was my thought as well ... -- Tom -- PH

Re: [PHP] PHP editor suggestion?

2005-01-25 Thread Merlin
Robert Cummings schrieb: On Mon, 2005-01-24 at 12:26, Merlin wrote: Hi there, I am now using Homesite 4.5.x since a few years since I found it the most relieble editor arround. Now I would like to have a look around to see if there are better solutions nowadays. I am looking for a relieable, s

Re: [PHP] php5 --enable-soap compile error

2005-01-25 Thread Marten Lehmann
Hello, Try posting the error messages and your exact configure line to php-install for the maximum odds of a useful response. the configure line is as follows: CFLAGS="-I/usr/kerberos/include" ./configure \ --prefix=/webserver/php-5.0.3 \ --enable-bcmath \ --enable-calendar

<    1   2