I've solved the problem. Turns out it wasn't my fault, but the other
network admins...
He said he installed PHP 5.. Turns out that in his mind 5 = 4. So I
changed from str_ireplace to str_replace and it all works.
Thanks for the website though!
On 02/11/05, Gustavo Narea <[EMAIL PROTECTED]> wrot
Daniel Spain wrote:
//Remove the drive letter and replace it with a single slash
$step1 = str_ireplace("T:\\", "\\", $_POST['path']);
I would use:
$step1 = ereg_replace(trim("^[:alpha:]"),"",$_POST['path']);
This will remove the first letter of the string. You should use this,
unless this let
Hi, Daniel.
Daniel Spain wrote:
//Remove the drive letter and replace it with a single slash
$step1 = str_ireplace("T:\\", "\\", $_POST['path']);
$step2 = "file:server01\\staffpub".$step1;
$html = "Staff";
$result = htmlspecialchars($html);
Where is the definition of $step2staff?
On the o
3 matches
Mail list logo