Hi, i'm having a problem with an sql query. i've got 2 new tables Table 1: File Name Downloads (Default 0) Table 2: File Name Downloads (Default 0) There are 95 files in Table 1, with 3 downloads There are 2 files in Table 2, with 1 download. To get these figures, i used: Select sum(downloads) from ...
Hi, ive got a problem that i cannot seem to sort out: There are two Tables, Table1: Code Location Table2: Code1 Location1 Code2 Location2 Code3 Location3 Each code number is only used once, in both tables, so theres only 45 in either table,not both. I've tried to make it seach like this: $sql = &quo...
Hi, Is there anyway for a page to find out the location/web address of the page that loaded it? Say i press a JAVASCRIPT link on the page www.itsall3.com/startgame.php Could the popup window that the link opens see the address of the page that made the request to loaded it? I've tried the following:...
Hi, I've no idea how to even start this, but im trying to make Very basic FTP for my forum. The first thing im trying to do is, make the system automaticly create a folder. Any idea how to do this? Can PHP make folders on the host? The next question is, how do i refer to phpbb when not in the "...
Hi all, I've got a problem, i've got a javascript function that displays a popup box, i dont really want to change it, as it works well: <script language="JavaScript" type="text/JavaScript"> x = parseInt(window.screen.width) / 2 - 175; y = parseInt(window.screen.height) / 2 - 230...
You solved it!!! Thanks very much!!! ---Edit: But, when i try and include this in an another folder, the link wont work. I know its somthing to do with this: $phpbb_root_path = './forums/'; Because the "forums" folder isnt in the new folder i've made, so how can i link to the phpbb forums ...
Thanks mate, i've now can get the header included on any page, but none of the links are working? Heres my code: <?php define('IN_PHPBB', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'fetchposts....
Hi, My forum was working perfectly yesterday, but i've come to it today and its just gone: http://www.itsall3.com At first i thought it was just the ezportal i have, but its not, the whole forum is gone. i've had to repair nearly all of the tables and now have come stuck on: phpbb_posts_text - this ...
I carnt even connect through phpMyAdmin? i get this error: #2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) is there any chance that my database could have been lost??? I havent been taking backups of the database. A question with somthing to do with this: T...