PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN DO DELETE AND INSERT WITH THE SAME LOG IN AND PASSWORD /...

This is a discussion on PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN DO DELETE AND INSERT WITH THE SAME LOG IN AND PASSWORD /... within the Linux Web Servers forums, part of the Web Server and Related Forums category; PLEASE ADVICE I HAVE THIS PHP CODE ON THE FREEBSD BOX AND IT READS FINE BUT WHEN I PASS AN ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-02-2005
voipcanada
 
Posts: n/a
Default PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN DO DELETE AND INSERT WITH THE SAME LOG IN AND PASSWORD /...

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0