vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help Me (https://vborg.vbsupport.ru/showthread.php?t=53574)

Legendary Kid 05-30-2003 10:18 AM

Help Me
 
Ok I dont have anytype of thing on my server that allows me to access my mysql database to run quires. How do I run them without accessing the db?

Kriek 05-30-2003 12:06 PM

If you do not have access to phpMyAdmin. Create doquery.php with the following and upload to your admin directory. Then run doquery.php from your browser.

PHP Code:

<?php
    error_reporting
(E_ALL & ~E_NOTICE);
    include_once(
'./global.php');
    
cpheader('<title>Run Query</title>');
    
$runquery "Your query here";
    
$DB_site->reporterror 1;
    
$DB_site->query($runquery);
    
print_r('Query successful:<br>');
    
print_r('<font face="Courier New"> ' $runquery '</font><br><br>');
    
print_r('Do not forget to delete this file.');
    
cpfooter();
?>


Erwin 05-30-2003 12:30 PM

Firefly and a few others have released similar hacks for the Admin CP. Look for one of them. :)

Xenon 05-30-2003 01:10 PM

you can install phpmyadmin by yourself, it's not neede, that your host preinstalls it


All times are GMT. The time now is 05:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete