Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 10th November 2008, 21:12
Mredin Mredin is offline
Member
 
Join Date: Nov 2008
Posts: 4
Default Announce.php
Hi everybody.

This announce.php file is VERY complicated for me.. Hope somebody will help me :)

I will like to know where I have to write my mysql informations.?!

My guess is:

PHP Code:
function dbconn($autoclean false)
{
   global 
$mysql_host$mysql_user$mysql_pass$mysql_db;
    if (!@
mysql_connect($mysql_host$mysql_user$mysql_pass))
    {
          switch (
mysql_errno()) 
Then i think it should look like this:

Code:
global localhost, Username, 123456, dbtest;
Is this right?? or is it something else??

Hope somebody would help me :)
Reply With Quote
  #2  
Old 11th November 2008, 00:39
Dragan3591's Avatar
Dragan3591 Dragan3591 is offline
Senior Member
 
Join Date: Oct 2008
United States
Posts: 168
Default
If you use installer it will do that for you, and don't use it that way. It will give you an error.
What code are you using?
__________________
CLICK HERE FOR IMPORTANT NEWS FROM BVLIST!!

"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."
Ernest Hemingway.

"A positive attitude will not solve all your problems, but it will annoy enough people to make it worth the effort."
Herm Albright.
Reply With Quote
  #3  
Old 11th November 2008, 11:21
Mredin Mredin is offline
Member
 
Join Date: Nov 2008
Posts: 4
Default
I used the installer, but when it finish the installation it also said that i had to edit the announce.php with my mysql informations.. And I saw somewhere that, if i don't edit the announce.php i will get an error when i upload things... And i tryed to upload something, and I got an error.. So i think i need to edit the announce.php??

Thank you for answering me :)
Reply With Quote
  #4  
Old 14th November 2008, 01:22
Dragan3591's Avatar
Dragan3591 Dragan3591 is offline
Senior Member
 
Join Date: Oct 2008
United States
Posts: 168
Default
No, instaler takes care of that automatically. Just make sure you chmoded torrent folder to 777 and it should work
__________________
CLICK HERE FOR IMPORTANT NEWS FROM BVLIST!!

"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."
Ernest Hemingway.

"A positive attitude will not solve all your problems, but it will annoy enough people to make it worth the effort."
Herm Albright.
Reply With Quote
  #5  
Old 16th November 2008, 03:53
Mredin Mredin is offline
Member
 
Join Date: Nov 2008
Posts: 4
Default
Ok, I think its working now..

Thank you very much!! :D

Last edited by Mredin; 16th November 2008 at 15:31.
Reply With Quote
Reply

Tags
announcephp

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC Announce azza2102 Torrent Strike 2 26th February 2013 14:15
Ban IP in announce? BCross Community Cafe 1 27th November 2009 11:13
[HELP] Change /announce.php to /announce dopeboy xBTiT 4 20th July 2009 01:42
how to announce Azurious BT.Manager (phpMyBitTorrent) 8 19th January 2009 15:47
Announce murda Torrent Strike 6 27th July 2008 13:39



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