Well the simple way to put forced ads on a webserver si to have apache and php
simply put a .htaccess file in to the root of your web server ex
/home/public_html/.htaccess
now inside of the file .htaccess write this thing
without the quotes ( " " )
ok let me explane
will make the posibility to run php scripts form .html and .htm files
thoes commands just include a fil in all php scripts
IF u don`t want a directory whit ads you can simple put a .htaccess whit
in case php_flag dosent work TRI php_value instead of flag
simply put a .htaccess file in to the root of your web server ex
/home/public_html/.htaccess
now inside of the file .htaccess write this thing
| AddType application/x-httpd-php .html .htm php_flag auto_prepend_file "path to the file that is above" php_flag auto_append_file "path to the file that is down" |
without the quotes ( " " )
ok let me explane
| AddType application/x-httpd-php .html .htm |
will make the posibility to run php scripts form .html and .htm files
| php_flag auto_prepend_file "path to the file that is above" php_flag auto_append_file "path to the file that is down" |
thoes commands just include a fil in all php scripts
IF u don`t want a directory whit ads you can simple put a .htaccess whit
| php_flag auto_prepend_file none php_flag auto_append_file none |
in case php_flag dosent work TRI php_value instead of flag
NOTE: you must put php_flag auto_prepend_file none php_flag auto_append_file none in your folders It is a better ideea tu put .htacces in the first directory ex /home/.htaccess if u have acces put it in home dir most web host`s have /home/public_html/your_name/www (on cpanel) the you can put it /home/public_html/your_name/ here and the php_flag auto_prepend_file none php_flag auto_append_file none .htacces put it on your www folder so that the ads won`t apear on your pages













CyberNews


