It is good that you are looking into classes and functions. The concept
you are missing is that of "returning" a result.
At the end of your function mysql_query, add a line:
return $result;
Then, when you call that function, make it like this:
$resultArray = $TemplateTable->mysql_query("se
The last person gave you a way to do it without using php.ini Re-read
the reply.
1) you can create a timestamp column last_access in your USERS table
2) every time that user hits a page, you need to update that column
3) every time the user asks for a new page, see if the last access is less
Someone just mentioned ImageMagick... Check it out:
http://www.imagemagick.org/
ImageMagickTM is a robust collection of tools and libraries to read, write,
and manipulate an image in many image formats (over 68 major formats)
including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF.
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.php index.php3 index.html
Sam
On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]>
wrote:
> Hi all, I'm new to the mailin
If I were you, I would start looking into procmail.
http://www.procmail.org
You would set up an alias on your server... Something like
[EMAIL PROTECTED] Procmail would filter the email for the important
stuff and pass that on to a PHP script. The php script would then update
your database.
Tr
There aren't too many elegant ways to do this, that I know of.
You can create a flash movie with a big chunk of nothing in it... With a
couple of calls, you can find how long it took to load So if it took 4
secs to load 200k You can sort of figure out their connection speed.
But unfortun
There is a very good article (with some well written OO classes) available
at PHPBuilder.
http://www.phpbuilder.com/columns/kartic2807.php3
I think the classes are at:
http://www.phpbuilder.com/columns/kartic2807.zip
This will make file attachments very easy.
BTW, the PHPBuilder col
Check out phpdig: http://phpdig.toiletoine.net/
My guess is that one of these packages on the web can serve as a foundation
for you... You might just need to build a custom layer on top of it.
Check out the site freshmeat.net. It tracks software packages and new
updates and is quite focused on
This is sort of a weird question as it seemingly involves both physical
theft and virtual theft. But here goes:
1) How do script kiddies find you?
If you have a public IP address, and you are not protected behind a
firewall, you will be probed by scripts. How do they find you? By port
scan
9 matches
Mail list logo