- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
10 Posted Topics
Hello! Here's the deal, my server has at least 5 different IP's. What is need is to in some of that IP's block specifique ports. Example: 120.120.120.120:4000 -> Port 4000 is open, I want it open! 120.120.120.124:4000 -> Port 4000 is open, I want it closed! I'm using APF firewall. …
Hello! I'm running a dedicated web server and I'd like to use APF to block HTTP(S) access to certain PORTS from all IP's except from mine. Anyone knows how to do that? Many thanks in advance!
Hi! OK, I don't really now how this can be done, but as far as I can remember when I was in shared hosting, they always complaint about memory usage.... but they always know what specific files were cosing the most load on the server. So, I remember I have …
On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first. Now I cannot, and files are required to be chmoded properly so I can write to them. I cannot even touch() a file …
You could do it in the query itself, but since you're posting in the PHP section, I asume you want to do it using PHP functions. So, you could do something like this: [CODE]<?php // Not tested $sql = "SELECT TRIM(`reg_date`) FROM `users` ORDER BY `id`"; $qry = mysql_query($sql); $today …
Hi dewhickey, why don't you create another field? You could name it `priority` for example with a default value of ZERO and then do something like this: [CODE]SELECT * FROM `records` ORDER BY `priority` DESC , `id` DESC LIMIT 0, 1[/CODE] And when the user submits the form, you can …
Hi Modo, Go to Start Menu and type Run in the search box to go to comand prompt, and assuming you have mysql on C:\ type this (one line at a time): [CODE]C: cd \mysql\bin mysqld --console[/CODE] That shoul work :)
Hi! :) I know there are a couple of good books and so, but [B]I'm looking for YOUR experience[/B], tips and suggestions on such an important subject - [B]Linux Server Security[/B]. The fact is that I've just order my first dedicated server. It's unmanaged and only comes with [B]Debian 4.0 …
Hi! I believe you want something like this: [CODE=PHP] <?php // Not Tested!!! if(isset($_GET['sites'])) { $id = (int)$_GET['sites']; if($id > 0) { $sql_about = sprintf("SELECT `FileName`, `About` FROM `sites` WHERE `ID` = %d LIMIT 1;", $id); $qry_about = mysql_query($sql) or die (mysql_error()); if(mysql_num_rows($qry_about) == 1) { $obj_about = mysql_fetch_object($qry_about); ?> …
Hi everyone! I'm =IceBurn= from Portugal and I was googling for some juicy information to mess with my mind :icon_cheesygrin: so I found this forum. So here I am! :) I've been a Web Developer for almost 5 years and I'm always up to learn something new. My areas of …
The End.