Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Downloads
Reply
  #51  
Old 29-08-16, 12:27
fireknight's Avatar
fireknight fireknight is offline
VIP
 
Join Date: Aug 2010
Australia
Posts: 141
Default
That's a copy of the function sql_query ($querytme)
From FreeTSP, line for line.
I think it comes from U232, not to certain though, as Krypto added that part.
Full credit to the coder that created it ( don't know his / her name sorry )

It is close to the function you are after.
As I said, you brag about how much custom code you do your self.
And how fantastic it is.

A simple replacement function should be dead easy for a coder of your skills.
Should take about 2 mins, to write it.
I have done most of the function for you.
You just need to fill in the missing pieces.

EDIT

You edited your post while I was posting mine.
There is a very good reason for using sql_query.
When you recode your site to mysqli.
You only need to update your function to accommodate it.

Last edited by fireknight; 29-08-16 at 12:39.
Reply With Quote
  #52  
Old 29-08-16, 12:39
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,057
Default
Quote:
Originally Posted by Napon View Post
i see where you are coming from mate this would not work the above mate at all and its a long way of doing it too mate sorry it would not work at all ive given up on this when bittorrent can do this for you with out adding to every page

sql_query();

to every page and it would not work at all


You do not add that Function to every page it is added to the one page that is used on every page AKA (global.php, functions.php)

and doing it like that is FARRRRRRR easier then editing every query to use mysqli

and you call your self a coder?
I have used this standerd in my source sence day one when I added mysqli to my source it only took one day to create the mysqli class functions and did not need to edit any of the pages.
Reply With Quote
  #53  
Old 29-08-16, 13:42
DND's Avatar
DND DND is online now
Support
 
Join Date: Dec 2008
Posts: 1,030
Default
or could just use mysqli converter and convert mysql_query line to mysqli standard like i use it :)
tricky part is when switching to OOP+PDO :)
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support

Last edited by DND; 29-08-16 at 13:57.
Reply With Quote
  #54  
Old 29-08-16, 14:11
Napon's Avatar
Napon Napon is offline
Senior Member
 
Join Date: Feb 2016
P2P
Posts: 259
Thumbs up
ive try all the above over this few days and still the same do not bash i wanted to get my torrant strike out on here

so ive given up on this im not geting the correct info at all from noone at all so it stays as it is so there be no torrantstrike on here from me

Last edited by Napon; 29-08-16 at 15:09.
Reply With Quote
  #55  
Old 29-08-16, 15:34
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 208
Default
Ohhh nooo , why? ... the tragedy !
You never was going to post it!
"Your torrantstrike"

Quote:
Originally Posted by Napon View Post
im not geting the correct info at all from noone at all so it stays as it is so there be no torrantstrike on here from me
And also fireknight was nice for him to explain for beginers and pace to pace.
__________________
only me
Reply With Quote
  #56  
Old 29-08-16, 15:55
Napon's Avatar
Napon Napon is offline
Senior Member
 
Join Date: Feb 2016
P2P
Posts: 259
Default
And yes i was going to do not presume i would not {solved} now working on sql_query now ill set up msqli

Last edited by Napon; 29-08-16 at 18:25.
Reply With Quote
  #57  
Old 31-08-16, 00:41
shorto's Avatar
shorto shorto is offline
Senior Member
 
Join Date: Feb 2012
P2P
Posts: 15
Default
Any possibility for php7 support?
PHP Code:
ErrorCall to undefined function set_magic_quotes_runtime() 
Is killing me
Reply With Quote
  #58  
Old 04-10-16, 21:24
Marco's Avatar
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 326
Unhappy Hello
--- solved---

Last edited by Marco; 04-10-16 at 21:47.
Reply With Quote
  #59  
Old 08-10-16, 10:55
Napon's Avatar
Napon Napon is offline
Senior Member
 
Join Date: Feb 2016
P2P
Posts: 259
Thumbs up
ill repo this up in a few hours and send it back here i think it need it
Reply With Quote
  #60  
Old 16-05-17, 12:08
M1601's Avatar
M1601 M1601 is offline
Member
 
Join Date: Oct 2014
Posts: 3
Unhappy
Quote:
Originally Posted by Napon View Post
ill repo this up in a few hours and send it back here i think it need it
Notice: Undefined index: up_success in D:\Ampps\www\mybonus.php on line 33

Notice: Undefined index: class_success in D:\Ampps\www\mybonus.php on line 50

Notice: Undefined index: smile_success in D:\Ampps\www\mybonus.php on line 56

Notice: Undefined index: warning_success in D:\Ampps\www\mybonus.php on line 62

Notice: Undefined index: invite_success in D:\Ampps\www\mybonus.php on line 68

Notice: Undefined index: title_success in D:\Ampps\www\mybonus.php on line 74

Notice: Undefined index: ratio_success in D:\Ampps\www\mybonus.php on line 80

Notice: Undefined index: gift_fail in D:\Ampps\www\mybonus.php on line 86

Notice: Undefined index: gift_fail_user in D:\Ampps\www\mybonus.php on line 92

Notice: Undefined index: gift_fail_points in D:\Ampps\www\mybonus.php on line 98

Notice: Undefined index: gift_success in D:\Ampps\www\mybonus.php on line 104

Notice: Undefined index: exchange in D:\Ampps\www\mybonus.php on line 111

Notice: Undefined variable: SITENAME in D:\Ampps\www\mybonus.php on line 246

Notice: Undefined variable: count1 in D:\Ampps\www\mybonus.php on line 249


Pls fix this
Reply With Quote
Reply

Tags
16 , 2016 , tbdev , tbdev16 , tbdev2016

Thread Tools

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 On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:05. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.