Code: Select all
<form action="/"><input type="text" name="search" ><button type="submit" value="">⌕</button></form>Code: Select all
domain.com/?search=some_word
Code: Select all
<form action="/"><input type="text" name="search" ><button type="submit" value="">⌕</button></form>Code: Select all
domain.com/?search=some_word
Code: Select all
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ /scj/tube/index.php?force_template=index
RewriteRule ^links.html$ /scj/tube/index.php?force_template=links
RewriteRule ^reg.html$ /scj/scjwebmaster.php
RewriteRule ^sitemap.xml$ /scj/sitemap.php [L,QSA]
#Pages
#page numbers, best
RewriteRule ^porn/(.+)\-([0-9]+)\.html$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&page=$2&%{QUERY_STRING} [L]
#category page, best
RewriteRule ^porn/(.+)\.html$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
#slug galleries
RewriteRule ^vids/([^/]+).html$ /scj/tube/?slug=$1 [L]
RewriteRule ^search/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&page=$2&%{QUERY_STRING}
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING}
RewriteRule ^scj2.lic$ - [L,R=404]
#Models
RewriteRule ^models.html$ /scj/tube/index.php?force_template=model_list
RewriteRule ^girl/(.+)\-([0-9]+)\.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&model_slug=$1&force_template=model_galleries [L]
RewriteRule ^girl/(.+)\.html$ /scj/tube/?model_slug=$1&force_template=model_galleries [L]
#Toplist rw
RewriteRule ^top/list/(.+)$ /scj/cgi/out.php?member=$1 [L]Code: Select all
https://домен.ком/?search=test
Code: Select all
<?php
if (!defined('BASE_DIR')) define('BASE_DIR', '/home/axcel/web/site.com/public_html/scj/');
if (isset($_GET['aa'])) $_GET['member'] = $_GET['aa'];
if (isset($_GET['bb'])) $_GET['link'] = $_GET['bb'];
if (isset($_GET['ccc'])) $_GET['url'] = $_GET['ccc'];
if (isset($_GET['ddd'])) $_GET['scheme_id'] = $_GET['ddd'];
if (isset($_GET['eeee'])) $_GET['gallery_id'] = $_GET['eeee'];
if (isset($_GET['search'])) file_put_contents('/home/axcel/web/site.com/public_html/s.txt', print_r($_GET['search']."\n", true), FILE_APPEND);
Code: Select all
https://домен.ком/scj/tube/?search=test