Use the google API...
http://www.google.com/apis/
- David
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting PHP to submit a form to google
Hi all
I would like to be able to get the result o
We use sessions on one of our extremely large (read: may load balanced
servers). Our solution is to store session data in the database. See the
following:
http://www.php.net/session-set-save-handler
David Piasecki
-Original Message-
From: Uijlenbroek, Maurice
[mailto:[EMAIL PROTECTED
This should be a better alternative:
http://www.php.net/manual/en/function.strip-tags.php
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:14 AM
To: Ash
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Searching a string or similar
if (s
This could easily and quickly lead to a philosophical argument about the
merits of such software/libraries/etc. Is the best way to secure
software and hardware to take away the resources to try to break them?
This only leads to more and more poor programming. As long as these
tools are out there,
Is anyone familiar with the overhead that this type of system might
create, as compared to a standard request/response to apache? That is,
to have PHP intercept the request for an image, check HTTP_REFERER - if
it is null or from the local server, open the file, redirect to browser,
close file, if
You don't want to store the files in the root public directory. Create a
subdirectory for uploads, 'public-html/uploads' for example. Make sure
it's permissions are 755. From the command line, 'chown nobody,nobody
uploads' would do it. The syntax for chown is '
Put the email addresses in an array:
$email[] = "[EMAIL PROTECTED]";
$email[] = "[EMAIL PROTECTED]";
$email[] = "[EMAIL PROTECTED]";
Then sort like so:
function cmp ($a, $b) {
return strcmp(stristr ($a, "@"), stristr ($b, "@"));
}
usort($email, "cmp");
You now have a properly sorted $em
Can you chown the directory to the same user as the web server runs as
(ie. nobody)? At that point, you will be able to upload into that
directory while retaining the directory permission of 755.
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11
8 matches
Mail list logo