5 последних сообщений пользователя phz |
Партнерство [ Идея платного сервиса ]
|
Начинай с чего-то. Как тебе уже написали пройди курс Твина. Что тебе еще нужно? Хостинг? Домен? Нет нечего не возможного. Садись и делай сам потихоньку, спрашивай и читай. Вот и "ешь слона по кусочкам" - ставишь маленькие цели и дисциплинированно к ним идешь. |
Бесплатные Курсы PHP программирования онлайн [ подключение перемених ]
|
Можно так:
index.php?mod=cemetery
index.php?mod=order
$mod = !empty($_GET['mod']) ? $_GET['mod'] : NULL;
switch($mod) { case 'cemetery': include './modules/cemetery.php'; break; case 'order': include './modules/order.php'; break;
default: include './modules/default.php'; break;
}
|
PHP ? [ Загрузка файлов... ]
|
Попробуй к примеру:
echo ini_get('upload_max_filesize').'<br>'; ini_set('upload_max_filesize', '8M'); echo ini_get('upload_max_filesize');
|
PHP + SQL [ sql запрос, min, max ]
|
А так?
$sql = mysql_query("SELECT max(`x`) as `max` FROM `base`"); $row = mysql_fetch_assoc($sql); echo $row['max'];
|
PHP для начинающих [ input type image ]
|
А причем браузер. Я за то что если использ. type="image" то проверять нажата кнопка нужно не $_POST['acura'], а вот так $_POST['acura_x']
$acura = isset($_POST['acura_x']) ? true : false;
When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server.
The x value is measured in pixels from the left of the image, and the y value in pixels from the top of the image.
The submitted data includes name.x=x-value and name.y=y-value where "name" is the value of the name attribute, and x-value and y-value are the x and y coordinate values, respectively.
http://www.w3.org/TR/html401/interact/forms.html#h-17.4
|