Web Servers on Unix and Linux - PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > July 2005 > PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN
voipcanada

2005-07-02, 5:48 pm

PLEASE ADVICE I HAVE THIS php CODE ON THE FREEBSD BOX AND IT READS FINE
BUT WHEN I PASS AN DELETE QUERRY IT DOES NOT DO ANY THING ,,,,,

<?php
$mysql_host="localhost";
$mysql_user="root";
$mysql_password="00123";
$mysql_db="radius";
$client_table="client";
$stat_table="radstop";
$dialpeer_table="dialpeer";
$gateway_table="gateway";
$users_table="user";
$dir="/home/www/voip/";
MYSQL_CONNECT($mysql_host, $mysql_user, $mysql_password) or die("Unable
to conne ct to database");
@mysql_select_db( "$mysql_db") or die( "Unable to select database");


?>

WHEN I LOG IN from mysql shell i can do delete and insert both can any
one help with this
thanks

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com