Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2002, 03:27 PM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Would like to learn how to Run a SQL Query

I have a Hack I am wanting to put in and put most of the hack is done on my .php pages. NowI need to run this. I don't know enough to understand how to. My admin who knows this is on vacation for 3 weeks. So I need some help please.

My site is http://www.gunsnet.net

I would appreciate some help from the powers to be here.


Here is the hack I am talking about and below is the Query I am suppose to run.

Hack Name: Proxy Detector v1.0
Author: Takara (Steph Sauv?)

Run the Following SQL Query

ALTER TABLE post ADD proxyip VARCHAR(255) not null AFTER ipaddress;



Thank You for helping
Reply With Quote
  #2  
Old 07-13-2002, 03:43 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well with most hosting packages that run php and mysql you will usually get phpmyadmin now what you want to do is go into that and selecet the correct database to edit. Once you are in on the main page of the database you will see a area that says:

Run SQL query/queries on database animeuto_forum [Documentation] :

now under that is the box where you can do the querys.
Reply With Quote
  #3  
Old 07-13-2002, 04:15 PM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just that I don't know what I should be looking for in this hosting packages.

All I have is the Admin C/P, the Server Management (Cobalt) site, which I looked has nothing on their other then the overall performances of the site and hacking into the server, but no SQL anything other then IF the server is under SQL which it has the PHP and SQL icon.

What package should I be looking for? I am asking on of the other Admins, but this is not his expertise nor is mine. So I appreciate anything you can do for us.
Reply With Quote
  #4  
Old 07-14-2002, 03:19 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best way to find this out would be to ask your server hosts since they are the ones that setup the server. I cannot help you any more than that since I dont know your server. Best of luck though.
Reply With Quote
  #5  
Old 07-14-2002, 03:25 AM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on the server.

Now how do I access this program on the server, the same as the website.

Just give me some of the basic's I need to run this sql query. PLEASE

Thank You
Reply With Quote
  #6  
Old 07-14-2002, 03:38 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well you need to get into phpmyadmin or you could install firefly's run queries in admin cp which would give you very easy access to run a query.
Reply With Quote
  #7  
Old 07-14-2002, 05:57 PM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well Just tell me what not to click hehe This has got to be the brains of the site, so I don't want to runn a query if it will mess up my site.

BowHunt
Reply With Quote
  #8  
Old 07-14-2002, 08:58 PM
GunsNetwork GunsNetwork is offline
 
Join Date: Jul 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database mysql
Error
SQL-query :

ALTER TABLE post ADD proxyip VARCHAR(255) not null AFTER ipaddress

MySQL said:

Table 'mysql.post' doesn't exist

So I guess what now, when you said enter it there is no:

Run SQL query/queries on database animeuto_forum [Documentation] :

So what else do I need to do to add this!

Need some help please.

Thanks
Reply With Quote
  #9  
Old 08-29-2003, 02:38 PM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to kindly ask bowhunt, or a moderator of the forum to please remove my email address from the first post. I make an effort to not have it posted online, thus making it harder for spam bots to retrieve my email address.

Thanks
Reply With Quote
  #10  
Old 08-29-2003, 02:52 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Address deleted.

Switch first to the vB database in phpMyAdmin by using the dropdown in the left frame. Or, click the link here:
Reply With Quote
Reply


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. The time now is 12:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04444 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete