Re: [PHP] Script under Windows OK, under Linux, not...

2003-01-25 Thread Danny Shepherd
Daniel Page" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 25, 2003 11:39 AM Subject: [PHP] Script under Windows OK, under Linux, not... > Hi, > > I have the following code : > > $_fp = fopen("/home/dh2240/mgt/index.php", "

[PHP] Script under Windows OK, under Linux, not...

2003-01-25 Thread Daniel Page
Hi, I have the following code : $_fp = fopen("/home/dh2240/mgt/index.php", "a+") or die(); $_contents = fread($_fp,filesize("/home/dh2240/mgt/index.php")); fclose ($_fp); //Menu elements $_sme = strpos("$_contents","sub_menu_elements"); echo "sme = $_sme"; ... It should display somthing like "sm