need help for customizing PHP-grep files search

Submitted by Anonymous (not verified) on Mon, 08/09/2010 - 08:47

can somebody please help me with this issue...

i have installed PHP-grep on my website and it works well.. but that i need a little change in the script so that it displays the file with hyperlink in it instead of displaying the actual path.

would be really helpful if somebody help me..
below is the code that i have in my site www.linktoprofessionals.com/files

/**
* powered by @cafewebmaster.com
* free for private use
* please support us with donations
*/

define("SLASH", stristr($_SERVER[SERVER_SOFTWARE], "win") ? "\\" : "/");

All Latin Words List

Submitted by Anonymous (not verified) on Fri, 07/30/2010 - 11:06

ab
abaci
abacis
abacta
abactia
abactium
abactius
abactor
abactoris
abactum
abactus
abaculi
abaculus
abacus
abaestuare
abaestuatus
abaestuavi
abaestuo
abagmenti
abagmentum
abalienare
abalienata
abalienatio
abalienationis
abalienatum
abalienatus
abalienavi
abalieno
abambulare
abambulatus
abambulavi
abambulo
abamita
abamitae
abante
abarceo
abarcere
abascanta
abascantum
abascantus
abavi
abavia
abaviae
abavunculi
abavunculus
abavus
abax
Abba
abbas
abbatia
abbatiae
abbatiale
abbatialis
abbatis
abbatissa
abbatissae
abbatizare
abbatizo

What is chrome:// url & protocol ? Is it from Google Chrome browser?

Submitted by Anonymous (not verified) on Fri, 07/30/2010 - 10:46

When I analyse a webpage with Mozilla Firefoxes Add-on "Firebug" I see some standart css urls starting with chrome://

What is chrome:// url & protocol ? Is it related to Google Chrome browser? If not why Mozilla not using something like mozilla:// instead of a productname?

Using shared same Mysql Data dir on multiOS Linux+Windows Laptop

Submitted by Anonymous (not verified) on Mon, 07/19/2010 - 15:33

My old OS was Win XP. I have formatted my Notebook and installed Windows 7 64bit english and Ubuntu 10 64 bit LTS. My laptop is a Fujitsu Siemens Amilo pa 1510 with AMD Turion 64 X2.

The reason why I installed 2 OS is using same codebase for webdevelopment. I want to use same htdocs/www directory for both Windows and Linux.

Howto duplicate (clone) VirtualBox image in Windows 7

Submitted by rex on Thu, 06/10/2010 - 09:39

1. klick on windows icon and write 'cmd' and press ENTER to open a terminal in windows.

2. change to VirtualBox directory

cd C:\Program Files\Sun\VirtualBox</cd>

3. run VBoxManage.exe

<code>
C:\Program Files\Sun\VirtualBox>VBoxManage.exe clonehd "D:\vm\WinXP.vdi" "D:\vm\WinXp-clone.vdi"

Sun VirtualBox Command Line Management Interface Version 3.1.8
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: 609c2e84-981c-4e73-b32b-dd7fbc5ee
4c7

php

Submitted by Anonymous (not verified) on Mon, 05/31/2010 - 16:56

using this code we can resize the image by height , width and both but i want get the out put like when we use constrain proportions in photo shop because when i resize using this code the image looks like stretched or compressed is it possible to write code to get the image without stressing or compressing?

if(isset($_POST['Submit']))
{
$a=$_REQUEST['aaa'];
//error_reporting(0);
include "db.php";
$current_image=$_FILES['image']['name'];
$extension = substr(strrchr($current_image, '.'), 1);

Howto log slow MySQL Queries in Debian

Submitted by rex on Sun, 05/30/2010 - 17:20

Sometimes MySQL use a lot of CPU and its really slow.
If you want to log the queries just comment out following lines in '/etc/mysql/my.cnf'

# Here you can see queries with especially long duration
log_slow_queries = /var/log/mysql/mysql-slow.log
long_query_time = 10

If a query need more then 10 seconds to get executed mysql will log it in '/var/log/mysql/mysql-slow.log'