Re: [PHP] Googlebot

2004-01-28 Thread Michael Mulligan
Googlebot visits my site occasionally and follows a lot of my PHP links with long query strings... -Mike __ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! __ On Jan 28, 2004, at 8:34 AM, Jon Bennett wrote: Does that go

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Michael Mulligan
I think this revenge is a bit (longer) more of a fun read ;-) http://www.scamorama.com/threebucks.html On 07/04/03 12:40 AM, "erythros" <[EMAIL PROTECTED]> wrote: > that was the coolest thing i've read in a while... (considering i just read > the latest harry potter book) > what a way to get tho

Re: [PHP] mail() with OSX

2003-07-02 Thread Michael Mulligan
It has sendmail installed but you need to look into activating it as it is not enabled by default (I don't know how off the bat, but google should help) Hope this helps On 07/02/03 11:07 PM, "Justin French" <[EMAIL PROTECTED]> wrote: > Hi all, > > I've googled, but to no avail... I have apache

[PHP] UTF-8 encoding/decoding

2003-04-01 Thread Michael Mulligan
Hi So say I have some UTF-8 (not certain, but probably in UTF-8 format, I need to check some more) encoded text. The text comes in encoded already, so it's not an htmlspecialchars kind of quick fix. For instance, I get 'ê' and I want to output 'ê'--how do I convert from the two high ASCII charact

Re: [PHP] Reading remote image into a file and displaying..

2003-02-20 Thread Michael Mulligan
More specifically (since I just dealt with this issue myself), use fpassthru (and be sure not to fclose the file pointer as it's automatically done by fpassthru) On 02/20/03 12:47 PM, "Mincu Alexandru" <[EMAIL PROTECTED]> wrote: > use header("Content-type: image/jpeg"); and then you can echo it's

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-18 Thread Michael Mulligan
So I implemented this the other day and got excited as it worked...sort of. My code is very similar to the link that you suggested. This is the script that I would call from within an : if(isset($i)) { //codeImageURL decodes $i into an image path that we can work with $link=codeImageURL($i

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-16 Thread Michael Mulligan
7;t directly call image.php?file= > picture.jpg in the browser, which can also be done with apache / .htaccess > files. > > > > Order Allow,Deny > Deny from all > > > > > There's plenty of examples of passing images through in the manual... in > particu

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
I hadn't considered that before. Thank you. :-) The reason why though is that Mac OS X comes with permissions set by default so that Apache can't wander outside of the publicly accessible folder (~/Sites/). The script that I have written is something that I intend to distribute to other Mac users

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
Perhaps you could further describe such a method? I'm sorry, I just don't quite see how this will block the files. Perhaps I should further explain my situation. The script that I will distribute will always make use of a very particular directory structure. In "imageDir", there will always be a s

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
If the user knew the actual URL of the image though, wouldn't they be able to get around a script like this by simply typing it into their web browser? Thanks! :-) > On 02/15/03 10:55 AM, "Marco Tabini" <[EMAIL PROTECTED]> wrote: > I guess the easiest would be to filter those images through a php

[PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
Hi I have a bit of a problem which might just be due to my lack of knowledge with Apache. Basically, what I want to do is to *not* allow users to enter particular URLs in their browser (namely to *.jpg and *.xml files under a particular directory, let's call it "imagesDir"). However, I can't simpl