skal havne i (husk den siste '/')
Don't set $MAX_FILE_SIZE using $_POST variables for security reasons -
someone could very easily alter it in the HTML file!!!
Beth Gore
magnus nilsson wrote:
I have trouble using upload scripts - none of them work on my current
config. I'
ntrol characters other than LF, CR
and Horizontal Tab.
b) You're expecting strings with european charater's with umlouts and
stuff like that.
You can add these characters to the list of exclusions on line 16 of
this code.
Hope this helps!!!
Beth Gore
function isbinary($input)
{
/* This
otime($sitedata["LastUpdate"]);
echo date("G:i, D \T\h\e jS of M, Y ",$timestamp);
?>
This then shows the last update time on the browser, and I also set the
page to expire at that time, so in that way (I understand) browsers know
if the page has been updated sinc
an deleting the link, it's probably better to set a flag to
show it was invalid last time you checked, but check it again next time.
Or you could keep a count of the number of failed attempts, and delete
if it goes beyond 3 or so.
Not sure how to supress the warning message that PHP auto
s, but it turns out that fopen completely fails UNLESS it
gets that 200, so it wasn't necessary.
Beth Gore
--
http://bethanoia.dyndns.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and even though I found a
better way to do it, it's annoying me that this didn't work!!!
Beth Gore
--
http://bethanoia.dyndns.org/
rss feed: http://bethanoia.dyndns.org/bethanoia.rss
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ead2(reply to comment1)
---comment3/thread3(reply to comment 2)
comment3/thread4(reply to comment 3)
--comment5/thread1(reply to comment1)
---comment3/thread5(reply to comment 2)
--comment6/thread2(reply to comment1)
-coment7/thread1(reply to post)
Thanks for any help/examples. I really ju
if that's set? Or, do I
need to override the server's session variables each time I start
sessions in every page that uses them? I imagine the former would mean
that other sites would be able to potentially get my session variables,
which isn't great.
Probably very simple, s
I did a print_r on that, and I got..
Array ([0] = StdClass Object([personal] = "blah" ); etc...
so how do I access the data within the Object bit? a simple
$header->from['personal'] refuses to output anything.
Sorry to be a pain again, I know this is simple language stuf
This didn't work. Apparently from[] returns an array of objects, however
I have no idea how to access the object within the array.
print_r gives this:
Array ( [0] => stdClass Object ( [personal] => Beth Gore [mailbox] =>
bethanoia [host] => habitformer.co.uk ) )
I've tri
easier way!!!
I've already made sure it's not possible to abuse sendmail with the
user's email address, but I'm still nervous.
Thanks!
--
Beth Gore
http://www.habitformer.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
11 matches
Mail list logo