$owner = fileowner ($file);
returns a string containing the owner or false. see
http://www.php.net/manual/en/ref.filesystem.php
-- Stewart
--- Bogdan Stancescu <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> How do I find out if a file was actually uploaded /without/ using
> is_uploaded_file()?
Im not the best at writing regex, but this could be represented as
$filename = ereg_replace ("[^a-zA-Z0-9.-_]", "_", $filename);
Someone correct me if I am wrong (this is what im using to rename
uploaded files, seems to work).
-- Stewart
--- Erik Price <[EMAIL PROTECTED]> wrote:
>
> On Tuesda
I'm tired :)
-- Stewart
--- J Smith <[EMAIL PROTECTED]> wrote:
>
> That will result in a parse error. I think you mean
>
> if (in_array($row['id'], $selected_users)) { /* execute */ }
>
> J
>
>
>
> Stewart G. wrote:
>
> > if ($row['id'] in_array ($selected_users)) { // execute }
> >
> >
Conor,
This works for me I even tried 6000 pixels and did not fill it. The
stripping of tags doesnt work so well but im sure youve already got
that covered so just replace it with your code.
]|\n)*>", "", $buffer));
}
fclose ($fh);
header ("Content-type: image/png");
$im = ImageCreate (640, 300
4 matches
Mail list logo