Re: [PHP] non-php issue

2003-09-21 Thread Peter James
> Hey, man. This is NOT AIDS. Oh, sorry... wrong list. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
bly not the venue for his question... Cheers, Pete. - Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Raditha Dissanayake" <[EMAIL PROTECTED]> Cc: "Peter James" <[EMAIL PROTECTED]>; "PHP-General" <[EMAIL PROTECTED]&

Re: [PHP] non-php issue

2003-09-21 Thread Peter James
You guys running Linux sure are cocky about these sorts of things. I have no doubt that Linux' time will come, and then it will be the MacOS X users, or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar here] users that think they are "untouchable". If Linux enjoyed the same

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Peter James
> I thought that maybe with some Apache stuff, but I don´t think thereś > something that will help, since directives such as RedirectMatch, etc. > rewrite the URL, and I don´t want that, I want the URL to remain > http://www.domain.com/directoryX/whatever.php mod_rewrite allows you to do internal

Re: [PHP] PHP Interview questions

2003-08-26 Thread Peter James
7;s a big difference between talking and walking. My 2 cents. -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Micheal Harris" <[EMAIL PROTECTED]>

Re: [PHP] auto_prepend_file

2003-08-23 Thread Peter James
Check out php_admin_value, highlighted in the link below http://216.239.33.104/search?q=cache:mpDXuwrDs_gJ:www.php.net/configuration.changes+php_admin_value+site:www.php.net&hl=en&ie=UTF-8 -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Maga

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread Peter James
As an aside... I wonder what the ratio is of emails *from* the virus vs. emails *about* the virus. The latter certainly doesn't help the impulse response of the attack. :-) -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professi

Re: [PHP] virus on the list

2003-08-21 Thread Peter James
the return address). This version also looks through the victim's cached webpages, so any email address found on websites that many people visit have discovered that their getting hundreds or thousands of virus emails." -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED

Re: [PHP] Help with parse error

2003-08-20 Thread Peter James
Can you give us a couple lines either side of this? This could be due to a missing semicolon on the previous line. -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message

Re: [PHP] Calling to a page without having to load it

2003-08-14 Thread Peter James
Make your request, but send a 204 HTTP response header back. http://ppewww.ph.gla.ac.uk/~flavell/www/status204/results.html -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Creative Solutions New

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread Peter James
Use the post method? -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "murugesan" <[EMAIL PROTECTED]> To: "Robert Cummings" <[

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
or in php 4.3 echo join($wresult); -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Matt Giddings" <[EMAIL PROTECTED]> To: "'Micah Mo

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
Of course, in this case, it would be much easier replace all of the above with echo join(' ', $search_string); and be done with it. :-) -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.p

Re: [PHP] how to use array_map() with a class callback function?

2003-08-14 Thread Peter James
array_map(array('Maker', 'sGetNameId'), array("1") ) Have a look at the callback type, here: http://www.php.net/manual/en/language.pseudo-types.php -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Profes

Re: [PHP] Flash Actionscript List or Forum

2003-08-09 Thread Peter James
Not sure about a list, but this site has a boatload of tutorials and answered lots of questions that I had. http://actionscript.org/tutorials.shtml -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: &quo

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-30 Thread Peter James
Via: http://www.google.ca/search?q=Crime+Perfect+2003&ie=UTF-8&oe=UTF-8&hl=en&meta= Found: http://www.zone-h.org/ Search: Crime Perfect See: Results (doesn't look good) :-( -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals h

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Peter James
I wonder if something like mod_filter, that would be able to access each request before it hit PHP, would work for this. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Nicholas Robinson&quo

Re: [PHP] DB resource as Session var

2003-07-29 Thread Peter James
sible to persist any type of resource from one request to the next. Cheers, Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Jackson Miller" <[EMAIL PROTECTED]> To: <[EMAIL P

Re: [PHP] Curl alternative?

2003-07-29 Thread Peter James
You can do anything (almost) with fopen() and fsockopen()... but it won't necessarilybe easy. It depends what you want to do. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Steven Kallstro

Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
Just forwarding this reply back to the list. - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Peter James" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 10:26 AM Subject: RE: [PHP] debuging and getting mor information about failu

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
se a parse error when encountered. Move this up a few lines at a time, until the original parse error goes away, and this one starts. This will help you identify where your problem is. This is a very frustrating error message, but the above should take some of the pain away. :-) HTH. Pete. -- -- P

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
I think it's pretty standard. It just means that you can control how much memory your script uses. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]

Re: [PHP] Please HELP me

2003-07-27 Thread Peter James
ou do, you should be referencing your uploaded file with $_FILES['util']['tmp_name'] 3. You should read the manual here:http://ca2.php.net/features.file-upload HTH. Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com ---

Re: [PHP] small request

2003-07-27 Thread Peter James
Yes. . -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 8:34 AM Subject: [PHP] small request >

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
py: http://www.zend.com/manual/function.memory-get-usage.php HTH. Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Torsten Rosenberger&qu

Re: [PHP] Parsing PHP

2003-07-26 Thread Peter James
There is the tokenizer extension... http://www.php.net/tokenizer This might give you a good start. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Nikhil G. Daddikar" <[EMAIL PROTECTED]

Re: Re[4]: [PHP] Submitting to cgi script

2002-07-21 Thread Peter James
> This worked now my question is. Is there a way to force it to submit with > POST rather than GET > Look at the CURL functions on php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sessions / logins / cookies / security

2002-07-17 Thread Peter James
There's a good article on authentication at phpbuilder.com http://www.phpbuilder.com/columns/tim2505.php3 that may provide an idea or two. - Original Message - From: "Chad Day" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 10:30 AM

[PHP] Re: Script Security: Best coding practices

2002-07-03 Thread Peter James
A suggestion would be to make sure that the variables you're receiving are coming from where you think they're coming from... For instance, $_SESSION['logged_in'] is also (generally) $logged_in but so is $_GET['logged_in'] A smart user could fake it if they wanted to... check the $_SESSION or