Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

help with another error
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache
View previous topic :: View next topic  
Author Message
bigredcherokee



Joined: 27 Aug 2005
Posts: 13
Location: Shreveport, Louisiana

Posted: Wed Jan 31, 2007 3:37 am    Post subject: help with another error  

Notice: Undefined index: action in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 41

I get this when I access the error.log link under the apache logo or and toher sub menue.

start of line 41

if($_POST['action'] == "Write to file"){
$feed=stripslashes($_POST['feed']);
$mesg = "Written modifications to $file";
$fhw = fopen("$file", "w");
$ok = fwrite ($fhw,"$feed");
fclose ($fhw);

I'm getting this in the php error log:

[30-Jan-2007 21:40:03] PHP Notice: Undefined index: action in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 41

Also getting this one when I open Proftpd now.

Warning: fopen(C:/apache2triad/ftp/slimftpd.log): failed to open stream: Permission denied in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 44 Warning: fclose(): supplied argument is not a valid stream resource in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 46
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group