[PHP] Re: Avoiding NOTICEs on Array References

2005-01-26 Thread Jason Barnett
Tom Rawson wrote: I have many places where I use references like this: if ($fields['flags']['someflag']) ... or perhaps if ($_POST['checkboxfieldname']) ... if (isset($_POST['checkboxfieldname'])) { /** do stuff */ } -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/

[PHP] Re: Parsing search strings from referer urls?

2005-01-26 Thread Jason Barnett
T.J. Mahaffey wrote: First time post, please be gentle. I'd like to be able to extract search strings from referer urls that come from search engines. (via php, of course) For example, http://www.google.com/search?q=foo+bar&ie=UTF-8&oe=UTF-8 Now, I realize one might employ grep to pull out this in

Re: [PHP] Avoiding NOTICEs on Array References

2005-01-26 Thread Jason Barnett
[EMAIL PROTECTED] wrote: On 26 Jan 2005 Jennifer Goodie wrote: if (isset($fields['flags']['someflag']) && $fields['flags']['someflag']) if (isset($_POST['checkboxfieldname']) && $_POST['checkboxfieldname']) The && short-circuits, so the second part of the conditional only gets evaluated if the

[PHP] Re: [ParrotHeadPoster] - Re: [PHP] escaping quotes

2005-01-27 Thread Jason Barnett
Jochem Maas wrote: I had a parrot idea whilst writing this.. (see bottom) ... --- ParrotTalk: I think that this topic of string interpolation/quotes deserves 'parrot' attention which made me think that maybe the parrot could parse for markers (that if added to an email by an autorized poster) w

Re: [PHP] PHP4/Apache2 Content-Length stripped?

2005-01-29 Thread Jason Barnett
Stoian Ivanov wrote: Richard Lynch wrote: Stoian Ivanov wrote: I'm writing a wap download script involving dynamic image resizing and so on. I've notice that some phones are quitting in the mids of http transfer. After looking further I found out that headers() is sometimes ignored or stripped. I'

[PHP] Re: Trying to compile PECL fileinfo on Windows

2005-01-29 Thread Jason Barnett
Chris wrote: Hi, Are there any places that might have instructions on compiling PECL extensions on Windows? I tried going the pear install route, but fileinfo is not considered stable yet. Chris Trying a PEAR or PECL list might do you more good. That being said... are you trying to install pa

Re: [PHP] General question: packaging in PHP

2005-01-31 Thread Jason Barnett
Vivian Steller wrote: ... Thanks for metioning this issue! This is another point where I think OO is done the half way in PHP: Why do we need some implicit type check, like public method(Type $type) if we then loose the optional parameter advantage? I don't know *the* answer. So far as I c

[PHP] Re: PHP5 + SPL - Creating an object as an array.

2005-01-31 Thread Jason Barnett
Yotam Ofek wrote: I would like to create an object like this: class TestClass { private $some_array; public $just; public $some; public $public; public $vars; } ?> Is it possible, through SPL, to make the class accessible as "$testclass['array_key']", which will return the val

Re: [PHP] Autoflush

2005-01-31 Thread Jason Barnett
Robin Vickery wrote: On Mon, 31 Jan 2005 18:37:15 +0800, Wudi <[EMAIL PROTECTED]> wrote: Can PHP attain autoflush? (See attachments.) Yes PHP can be set to automatically flush - see http://de.php.net/outcontrol#ini.implicit-flush No, we can't see attachments. -robin And don't even bother *sendin

Re: [PHP] Credit card storing, for processing

2005-02-02 Thread Jason Barnett
Brian Dunning wrote: It's FAR less dangerous to implement what you are suggesting than it is to simply pay for your dinner with a credit card. I agree with this. There is way too much paranoia about credit cards online. 99% of stolen credit card numbers are acquired by phishing and It depends on

[PHP] Re: Is there a function to c if a php function exists

2005-02-02 Thread Jason Barnett
Ben Edwards wrote: ... So something like function_exists( cal_days_in_month() ) http://www.php.net/manual/en/function.function-exists.php And to check if a specific extension is enabled: http://www.php.net/manual/en/function.extension-loaded.php -- Teach a man to fish... NEW? | http://www.catb

[PHP] Re: Date Update

2005-02-04 Thread Jason Barnett
Adi Pramadi wrote: Dear Friends, I'm new in PHP programing, and i need a way to add date in php. here is the sample If today is 29/01/2005 (dd/mm/yy) and i need to make an apointment for another 10 days the date recorded sould be 08/02/2005 and not 39/01/2005 is there a way to do it in just like in

[PHP] Re: Is it Possible?

2005-02-04 Thread Jason Barnett
Sagar C Nannapaneni wrote: I'm calling a php script with tag for ex: http://localhost/test.php?img=asfd";> and the test.php is as follows... test.php --- Theres no problem with this..its working fine. But i want to return some text(or Html

[PHP] Re: printf() in a variable, or alternative to printf()

2005-05-27 Thread Jason Barnett
sprintf() http://php.net/manual/en/function.sprintf.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: xml

2005-05-27 Thread Jason Barnett
Andy Pieters wrote: Hi all I recently decided to switch to xml for the configuration of our programs. I am now looking for a good way to handle that xml data. Basically, what I am looking for is a functionality where I say Get tag x with attribute1=y, attribute2=z,..., read its contents and p

[PHP] Re: Sorting Objects in an array by object properties

2005-05-27 Thread Jason Barnett
Reto M. Kiefer wrote: ... PS: The array has the following structure: Array ( [0] => mail_Header Object ( [id] => 1 [pid] => 1 [read] => r [flagged] => n [from] => [EMAIL PROTECTED] [subject] => Re: [ugffm] TYPO3 anybody ? [sendtime] => 2005.05.17 - 18:27:25 ) [1] => mail_Header Ob

[PHP] Re: Voting Polls and preventing multiple votes

2005-05-27 Thread Jason Barnett
Dan Rossi wrote: Hi there I am mocking up a quick voting poll system, however I would like to put hooks in place to prevent users posting more than once, voting bots etc. Is there a way to prevent them, obviously sessions, cookies, host ips cant be used as they can be removed, and especially w

[PHP] Re: Moving PEAR installation (for self-contained class library)

2005-05-31 Thread Jason Barnett
Andrei Verovski (aka MacGuru) wrote: Hi, I have a PEAR-related question. My class library using some PEAR packages, and I would like to make it self-contained, i.e. to be able to move it to a server (for example MacOS X) which do not have (and will not require) installation of any PEAR packag

[PHP] Re: .INC files

2005-05-31 Thread Jason Barnett
Martin Zvarik wrote: Hi, I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. Martin STOP SPAMMING THE LIST! .inc is just a shorthand for include files and it's just a different way of organizing code -- PHP General Mailing List (http

[PHP] Re: PHP and USB Devices

2005-05-31 Thread Jason Barnett
Joe Harman wrote: Has anyone out there found a way to get information from a USB device running on their computer... what i am trying to do is retrive the fingerprint ID that the Microsoft USB fingerprint reader returns for a finger print and put it in a webpage form??? There has to be a way to

Re: [PHP] PHP 5 Question about OO

2005-06-02 Thread Jason Barnett
Jochem Maas wrote: Richard Lynch wrote: On Wed, June 1, 2005 3:53 am, Marcus Bointon said: On 1 Jun 2005, at 11:38, Jochem Maas wrote: all true, now imagine that you install a couple of 3rdparty php5 'packages' and they all define __autoload() - ain't gonna work! which is why there has bee

[PHP] Re: Best way to use other objects within classes?

2005-06-03 Thread Jason Barnett
Matthew Weier O'Phinney wrote: * "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>: (Note: my development environment is PHP 5.0.3, but the production environment is 4.3.10. This is my first project built with 5.x local and 4.1.x remote, so if anyone with more experience spots any fatal flaws

Re: [PHP] Newbie - Request interface for PHP 5 website

2005-06-03 Thread Jason Barnett
Greg Donald wrote: On 6/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: For PHP 4.x sites I used my index page to capture the HTTP request and use a switch statement to call the content or task based on the $_GET and $_POST arrays. That was very inefficient and the Switch case became totall

Re: [PHP] Re: Best way to use other objects within classes?

2005-06-03 Thread Jason Barnett
Then you're a better coder than me, but then again who isn't. :) It's just that in general I try to make things as strict / difficult as possible to code during development so that I will catch as many errors as possible before hand. But then again I use error_reporting(E_ALL). -- PHP Gener

[PHP] Re: Exporting to MS Word or Excel

2005-06-03 Thread Jason Barnett
Miguel Guirao wrote: Hi!!! Are there any chances that I could export a dynamic created web page into MS Word or Excel? I know this can be done with PDF!! I'm using LAMP!! If you're using LAMP then you're probably out of luck. The only possibility I can think of would be to check out the MO

Re: [PHP] about the absolutely path

2005-06-07 Thread Jason Barnett
http://marc.theaimsgroup.com/?l=php-general&m=111008638014141&w=2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The "goto" discussion on the Internals List

2005-06-07 Thread Jason Barnett
I agree 100% with Greg's comments for the goto() / ifsetor() discussion on the internals list. As far as speed goes if the dev team knew of ways to improve specific parts of the codebase (while maintaining the rest of the features available in PHP) then I'm confident they would make that chang

Re: [PHP] Beautiful HTML Invoice -> Prints like crap! I need somesuggestions!

2005-06-08 Thread Jason Barnett
Marek Kilimajer wrote: Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a goo

Re: [PHP] Beautiful HTML Invoice -> Prints like crap! I need somesuggestions!

2005-06-08 Thread Jason Barnett
@media print { /* style sheet for print goes here */ } http://www.w3.org/TR/REC-CSS2/media.html ^^^ This is a good suggestion. But if you only need to print just this one invoice then you can also take a full screen shot, paste that into your favorite image program and then print from th

Re: [PHP] Re: reverse MD5 ???

2005-06-10 Thread Jason Barnett
That is incredibly interesting stuff, many thanks for that link! So the position seems to be that it may not be feasible to reverse MD5, but it is now feasible to create forged documents / binaries / whatever that result in exactly the same MD5 hash as the original. I actually tried it out fo

Re: [PHP] Re: reverse MD5 ???

2005-06-13 Thread Jason Barnett
Richard Lynch wrote: On Fri, June 10, 2005 3:01 pm, Jason Barnett said: That is incredibly interesting stuff, many thanks for that link! So the position seems to be that it may not be feasible to reverse MD5, but it is now feasible to create forged documents / binaries / whatever that result

Re: [PHP] What Works Works Validator

2005-06-13 Thread Jason Barnett
Although this isn't a validator, I recently found this site which seems to hold a lot of good information for supporting a wide range of browsers (especially some of the dinosaurs). http://www.quirksmode.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread Jason Barnett
Talk with Richard Lynch. He had talked about doing something like this several months ago and he might have worked on it since then... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OT Major Release Versions

2005-06-16 Thread Jason Barnett
Richard Lynch wrote: This is Computer Software philosophical musing, not specifically related to just PHP, but applicable to PHP and, well, all other OpenSource software... As I sit here surrounded by machines (physically and virtually) and realizing that while I've got most of them on "auto-upd

[PHP] Re: Using Exec Function

2005-06-16 Thread Jason Barnett
Exec is the way to go... it gives you output as well as any error status. Here's an example script that works for a Win32 program I have and you should be able to adapt to your own usage: /** Notice that the command has extra quotes around it for the Windows command line as well as double-ba

[PHP] Re: [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Jason Barnett
I have no clue why your PDF's are reading one byte short. However, I did find a class over at SourceForge which claims to do exactly what you want: http://sourceforge.net/projects/few/ I have never used this package and have no idea if it's going to explode when you use it. -- NEW? | http:

[PHP] Re: Include and extending classes

2005-06-16 Thread Jason Barnett
Mike Smith wrote: I'm trying to consolidate code in a new project. My dirs are: / /inc core.class.php /mods /mods/system system.class.php //extends core.class.php user.class.php //extends system.class.php In core.class.php I have my generic special html methods and my db connection.

[PHP] Re: If I have 2 arrays...

2005-06-16 Thread Jason Barnett
Close... I think array keys are preserved from the (original) first array, but other than that those appear to be the values that should intersect. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: If I have 2 arrays...

2005-06-16 Thread Jason Barnett
Jay Blanchard wrote: [snip] Close... I think array keys are preserved from the (original) first array, but other than that those appear to be the values that should intersect. [/snip] After a var_dump I am seeing that there is an extra space in each element of one array, so no intersection oc

[PHP] Re: Question to example from manual

2005-06-16 Thread Jason Barnett
janbro wrote: Hi, I've been working on this example and copied it in my webroot, it doesn't give me an output. Does anybody know why? "System" WinXP Apache 2.0.50 php 5.0.3 Because you've defined the function, but you've never called it. thx janbro Example 7-6. Static variables with recur

Re: [PHP] passthru() passing variables

2005-06-17 Thread Jason Barnett
What is a reliable cross-platform way of showing which user PHP is running as? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using Exec Function

2005-06-17 Thread Jason Barnett
Davide Pasqualini wrote: I did as You suggested: but Hello.Exe, a very simple program, doesn't run and my browser seems waiting something from the server. Can I run a program (exe file) in another way ? Thank in advance for your help. Davide PHP will just sit there waiting for Hello.exe t

Re: [PHP] Extensions: parameters as references

2005-06-20 Thread Jason Barnett
Yasir Malik wrote: Is there any list (or forum) that can help me with this? Thanks, Yasir You probably will have more luck trying out the PECL group. These authors write PHP extensions and have the knowledge / desire to work on extensions. Not too many of us "regular" developers have actu

Re: [PHP] asterix for arrray_search?

2005-06-20 Thread Jason Barnett
Richard Lynch wrote: On Sat, June 18, 2005 10:11 am, Merlin said: ... I believe that in recent versions of PHP, the preg_* functions will accept an array as an argument... Or maybe I dreamed that. FYI I thought this also... but it appears that you can only do one match at a time with preg_

[PHP] Re: security question...??

2005-06-20 Thread Jason Barnett
bruce wrote: hi... a number of you write apache/web/server apps that deal with secure information.. in doing some research it occured to me that a potential weak link is on the client side, regarding the browser? how many of you actually attempt to verify that the browser being used by the clien

[PHP] Re: Predictable-random array

2005-06-20 Thread Jason Barnett
Dotan Cohen wrote: I've got an array $items which has about 200 entires. I want to print them out in random order, but as usual, I have a catch! I need to add a 'key' so that if need be, I can always return to the same 'random' order, like so: $items=predicatable_random($items, "qwerty"); Try

Re: [PHP] Re: security question...??

2005-06-20 Thread Jason Barnett
Please do not CC me; I will check the newsgroups and usually respond to all messages there. Onward! bruce wrote: jason... it's the 2nd point... the hacked app that i'm concerned/thinking about... as i stated, a secure app/system incorporates not just the system, and the wire, it also deals

[PHP] Re: So many returned mail notices!

2005-06-20 Thread Jason Barnett
Chris W. Parker wrote: Hey, I know this kind of post can be annoying to some people but I must ask anyway. Is everyone else getting a bunch of returned mail from [EMAIL PROTECTED] It looks like it has something to do with (possibly) an email address that is subscribed through Road Runner? Yes

Re: [PHP] phpInfo() executed on Yahoo!

2005-06-20 Thread Jason Barnett
Rats, I guess Andrei is watching this list because it's already down :P I knew they used PHP... but it would have been cool to see what things they've done to handle the number of page requests they have. Oh well. :-/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Re: security question...??

2005-06-21 Thread Jason Barnett
I haven't tried it yet, but clock skew looks interesting: http://www.aunty-spam.com/track-any-computer-on-the-internet-using-its-clock-skew-fingerprint/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: security question...??

2005-06-21 Thread Jason Barnett
This was an interesting topic when it started, but this is getting way out of the realm of PHP and you are in danger of your messages going my /dev/null. I understand your concerns about application security being all-encompassing, but there have been a lot of good suggestions on how to overco

Re: [PHP] text areas and line brakes

2005-06-21 Thread Jason Barnett
http://php.net/manual/en/function.nl2br.php -- NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Strange notation to create object

2005-06-23 Thread Jason Barnett
Matthew Weier O'Phinney wrote: ... This doesn't demonstrate what the OP was talking about, which is initial assignment of an object using a reference operator. The results of this make perfect sense to me -- the references are passed exactly as I would expect. But not exactly as I would expe

Re: [PHP] Re: Strange notation to create object

2005-06-24 Thread Jason Barnett
Robert Cummings wrote: ... There's a difference between a reference to a reference and a copy of a reference *hehehe*. Cheers, Rob. Dear diary: jackpot! Now that makes sense. And am I correctly filling in the blanks when I guess that $foo3 = $aObj is merely copying the reference instead o

Re: [PHP] Re: Strange notation to create object

2005-06-24 Thread Jason Barnett
Robert Cummings wrote: ... Yeah, *grin*. And on that note, there are times when you will actually want $foo = &new SomeClass(); versus $foo = new SomeClass(); since assigning by reference will break any previous references -- something I forgot to mention to Matthew Weier when he challenged the

Re: [PHP] Re: Strange notation to create object

2005-06-24 Thread Jason Barnett
Robert Cummings wrote: ... This is intentional behaviour, there are times when you want a copy of a reference and there are times when you want a reference to a reference. For instance consider the following: $foo1 = $foo2 = $foo3 = new a(); $foo2 = new b(); If these were references to referen

[PHP] Re: PHP search

2005-06-27 Thread Jason Barnett
Bruce Gilbert wrote: Hello, I am fairly new to PHP, and I am looking to create a search functionality on a website using php. Can anyone point me to a good tutorial that can walk me through this? Between Google / Codewalkers / PHPFreaks you should be able to find something. -- NEW? | http:/

[PHP] Re: the EXEC command

2005-06-27 Thread Jason Barnett
mikael wrote: I wanted to use the exec function but when i did a simple test script i got no result. This is the testscript: exec('whoami', $stdout, $stderr); print "Standard Out:\n"; print_r($stdout); print "Standard Error:\n"; print_r($stderr); -- NEW? | http://www.catb.org/~esr/faqs/smar

Re: [PHP] looking for a pure startup opportunity..

2005-06-28 Thread Jason Barnett
OK, let me put this another way... while trying to remain polite. Let's suppose that I am an unknown (to you) member of this list and I have this great idea that I want to develop. My idea is a great one and it's going to make millions. Now since I'm the one that had the idea I think it's pr

[PHP] Re: DOM XML issue

2005-06-28 Thread Jason Barnett
Andrew Kachalo wrote: Hi! ... Fatal error: Call to undefined function domxml_open_file() in /Users/Andrew/Sites/portfolio/index.php on line 61 This is because PHP5 now has an object-oriented approach. You use DOMDocument's and/or SimpleXML to read your XML files. Also in the newest vers

Re: [PHP] Breaking up data efficiently

2005-06-28 Thread Jason Barnett
Kevin L'Huillier wrote: ... Create the function split_location to return the associative array or, if it is invalid, throws an exception. If PHP4, replace the exception with similar error handling. If efficiency is really the goal, then the OP probably shouldn't go the route of Exceptions. J

Re: [PHP] looking for a pure startup opportunity..OT

2005-06-28 Thread Jason Barnett
Jay Blanchard wrote: [snip] the fact is, you misread, misinterpreted what we stated... [/snip] The fact is... there are at least 4 people that regularly post on this list that "misinterpreted" what you stated. Then we would be even... [snip] I was just pointing out that the style in which

[PHP] Re: constant() - php5

2005-06-29 Thread Jason Barnett
Actually, thanks for pointing out this function to me because I never even knew that it existed. You learn something new every day. I have to admit that a warning seems a little unusual given that an undefined variable would result in only an E_NOTICE. Especially since the default behavior f

Re: [PHP] Re: constant() - php5

2005-06-29 Thread Jason Barnett
Marek Kilimajer wrote: Jason Barnett wrote: ... The above is wrong, use: echo constant('UNDEFINED_CONSTANT'); OK, that's a good catch. But this still causes an E_WARNING. -- NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=

Re: [PHP] constant() - php5

2005-06-29 Thread Jason Barnett
Richard Davey wrote: ... Isn't the warning coming from the fact that $cnst isn't defined, rather than coming from the constant() function itself? Best regards, Richard Davey Nope... tested with PHP 5.0.5-dev -- NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.t

[PHP] Re: __PHP_Incomplete_Class

2005-06-29 Thread Jason Barnett
Jay Wright wrote: ... My page uses a header.php5 include file to call session_start(). Next a require_once("classloader.php5") performs the autoload. Here is the problem... you need to switch the order. Load the classes / autoloader first, then session_start(). PHP was able to serialize

Re: [PHP] Object Oriented PHP (5)

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: ... Ooooh. At the risk of being branded a heretic, try to pick up another language or two. Start with something a whole lot like PHP. Maybe Perl, or even C. You'll have to shove all your PHP knowledge over to one side of your brain, cram all the new stuff into the other

Re: [PHP] reading PDF's

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: On Fri, June 24, 2005 12:10 pm, Jon said: Is it possible to read text from a PDF file with PHP? How? ... There may be a free one, or even an OpenSource one, but I've never heard of it, possibly because they'd have to pay a license to Adobe (Macromedia this week?) to be l

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-08 Thread Jason Barnett
But why are you going to all of that trouble? What does the mysqli_result object have that you really need? If you just need the result set then you can fetch it as an assoc array and serialize that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Jason Barnett
The typical way that forums handle this is to use what is called "BBCode". In short, you have a non-HTML way for users to supply information that will produce markup instead of just plain text. So if you want to allow italics, bolds, URL's, etc. then you have some codes for it like: [i]This

[PHP] Re: Register globals and ini_set

2005-07-08 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hi, If i use, at the beginning of my scripts, ini_set('register_globals', 0), register globals will be turned off? Thanks ini_set() just doesn't make sense for that directive. register_globals takes the input data from HTTP requests and sets them in the symbol tab

Re: [PHP] Register globals and ini_set

2005-07-08 Thread Jason Barnett
Since you mention the PHP version was old (4.1) then I have to ask: were you using the $_SESSION array all along or were you using session_register to register session variables? Although you probably aren't since that would be rather easy to debug. The script in which your global_variable wa

[PHP] Re: proxy security

2005-08-18 Thread Jason Barnett
The problem here is that you need an anonymous proxy server that you trust. Most of the ones you can trust aren't going to be free. However, once you've identified an anonymous proxy server which you *do* trust then you can just pipe the mails to them like any old email server would. -- PHP

Re: [PHP] Custom session handling - bad or good idea?

2005-08-18 Thread Jason Barnett
This can be a fine way to go, given that you have a specific reason to do so that is not easily handled by using session_set_save_handler. The most common session handler in use (besides the default handler) is a DB session handler. You could write this handler in C and it would possibly be worth

Re: [PHP] Unique user?

2005-08-19 Thread Jason Barnett
I'm going to agree with Jay... most users are lazy enough that if you just require them to have a user account then that will suffice. Since this is only for a joke site that would be my suggestion as well. However, if you really, really wanted to identify remote *computers* then you can try trac

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-13 Thread Jason Barnett
Close: You mix both of these ideas. Create a custom session handler. This handler creates user entries in a database. Then when you want to know how many are online you do a count on the number of user entries in the table. Play around with different gc_probability values to tune the efficiency

Re: [PHP] trying to figure out the best/efficient way to tell whoisloggedinto a site..

2005-09-14 Thread Jason Barnett
On 9/14/05, bruce <[EMAIL PROTECTED]> wrote: > > ben... > > i understand what you've stated, but i was under the impression that a > number of sites (etrade, etc...) can/do track who is/is not logged into > their sites.. and not just by some crude 'timeout' function... This might be possible t

<    2   3   4   5   6   7