[PHP] Re: IE 6 mangling posted code

2003-11-20 Thread David Strencsev
You may play with these functions: addslashes(); stripslashes(); htmlentities(); html_entity_decode(); Good luck - David Strencsev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: file_exists on Windows problem

2003-11-20 Thread David Strencsev
If you're using NTFS file system... please make sure that the PHP's temporay UPLOAD directory and SESSIONDATA directory are set with the correct permissions. I mean that the user IUSR_YOURCOMPUTER has write permissions in these directories. Hope it will help - David Strencsev -- P

Re: [PHP] passing PHP variables to Javascript ...

2003-11-20 Thread David Strencsev
"Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > From: "Kenn Murrah" <[EMAIL PROTECTED]> > > I need to be able to pass a PHP variable to a Javascript and can't > > figure out how to do it. In short, the Javascript win() statement is > > used open a page as define

Re: [PHP] How to get the key of a specific index of array?

2003-11-19 Thread David Strencsev
"Wouter Van Vliet" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > First of all, you said to use the first three values of the array for anoter > reason .. well the, what I'd do is this: > > $FirstThree = array_splice($_POST, 0, 3); > > Which will give you the first three elements o