Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

php
https://forum.ivorde.com/php-t19854.html
Page 1 of 1

Author:  keerthi [ Wed Jun 29, 2016 7:07 am ]
Post subject:  php

Write down the code for save an uploaded file in php.

Author:  Guest [ Thu Jun 30, 2016 12:01 am ]
Post subject:  Re: php

$filename = "/home/user/guest/newfile.txt";
$file = fopen( $filename, "w" );
if( $file == false )
{
echo ( "Error in opening new file" ); exit();
}
fwrite( $file, "This is a simple test\n" );
fclose( $file );

Author:  LatlonTechnologies [ Thu Jun 30, 2016 12:03 am ]
Post subject:  Re: php

Code:
$filename = "/home/user/guest/newfile.txt";
$file = fopen( $filename, "w" );
if( $file == false )
{
echo ( "Error in opening new file" ); exit();
}
fwrite( $file, "This is a simple test\n" );
fclose( $file );

Author:  admin [ Thu Jun 30, 2016 5:02 am ]
Post subject:  Re: php

LatlonTechnologies wrote:
$filename = "/home/user/guest/newfile.txt";
$file = fopen( $filename, "w" );
if( $file == false )
{
echo ( "Error in opening new file" ); exit();
}
fwrite( $file, "This is a simple test\n" );
fclose( $file );




You are using same ip class as the original poster. Nice marketing strategy, but doesn't work all the time.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/