
Snooble
Members-
Posts
311 -
Joined
-
Last visited
Never
Everything posted by Snooble
-
GET variables not working when I include the file.
Snooble replied to JJBlaha's topic in PHP Coding Help
have you tried outputting the variable straight from the URL. Is it actually posting? Just examine it i'm sure it'll be something simple. If you see some contents of the included file then it doesn't matter about being on a subdomain etc. Just look at the get method and make sure it's back to itself. <?php ECHO "$_GET['content']"; ?> Snooble -
i think simoco is right. you could insert something into the table. See if it works then. (It can always be deleted) Snooble
-
http://us2.php.net/date
-
Just had a bath and a think... The easiest way would be to take the row split it into the columns. | SONG | SIZE | DOWNLOAD | MIRROR | -------------------------------------- Then create a loop that prints the first two cells from the row and then places the next cell within <a href="cellfromrow">Download</a> and the same with Mirror. How could i do that? It seems easy? Thank you for help so far! Should be last post! ComeON! Snooble
-
ok, this would involve placing the values in an array and spitting them out? like $list = mysql_fetch_assoc($result); .$list['Download']; I dont have an ID assigned. I haven't learn about ID's yet. (Probably a bad idea to leave them out) Any help? i can always add a column etc. Thanks Snooble
-
if you look at my script though it's a loop. how can i implement it into that loop? I havn't used mysql loops much if at all. So i need it to be placed into the loop. Can someone tell me some rough code and the place to put it because i'm lost here. I'm echoing rows so i need to edit parts of them rows dont i? Snooble
-
php.ini's timeout limit. Google... Snooble
-
Code: $count = 0; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "\t<tr>\n"; foreach ($line as $col_value) { echo "\t\t<td>$col_value</td>\n"; } $count++; echo "\t</tr>\n"; } echo "</table>\n"; if ($count < 1) { echo "<br><br>No rows were found in this table.<br><br>"; } else { echo "<br><br>".$count; echo " rows were found in this table.<br><br>"; } Under the Download column and Mirror column i want all the values to be links. So Song Title | Size | Download | Mirror --------------------------------------------------- Blah | 2mb | Download | Download 2 The Blah and the 2mb values are taken straight from the database but i want the Download value to be placed as a link. <a href="content from database>Download</a> Savvy? Thanks you Snooble
-
<embarrassing> Changed field to int </embarrassing> Thankyou for the help!!!!!! Learn something everyday.
-
wezzsmusic.ifastnet.com/WM/music.php sign in with username = test password = abc123 that link works, copy and paste it. navigate to the tab "MUSIC" and then you can see my trobule. It's hard to explain. Numbers are shown like 1 10 2 29 ... But even with the song title you should have AAAAAA before Arnold ?? Snooble
-
Thank you, it now changes order BUT BUT BUT! There's some errors, try it and you can see... It's not proper alpherbetical order. How can i fix that. Thank you very much for your help so far!! Snooble
-
wezzsmusic.ifastnet.com/WM/music.php Apologies...
-
<?php $query = "SELECT * FROM table"; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); echo "<br><br><b>Let's fetch data...</b><br>"; echo "<table border='1' width='98%'>\n"; echo "<tr> <th>HEADER1</th> <th>HEADER2</th> <th>HEADER3</th> <th>HEADER4</th> </tr>"; $count = 0; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "\t<tr>\n"; foreach ($line as $col_value) { echo "\t\t<td>$col_value</td>\n"; } $count++; echo "\t</tr>\n"; } echo "</table>\n"; if ($count < 1) { echo "<br><br>No rows were found in this table.<br><br>"; } else { echo "<br><br>".$count; echo " rows were found in this table.<br><br>"; } ?>
-
if (isset($_GET['orderby'])) { $order = $_GET['orderby']; $query = "SELECT * FROM songs ORDER BY $order"; } $query = "SELECT * FROM songs"; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); That should be all the code you need. So i put URL or : www.wezzsmusic.ifastnet.com/WM/music.php?orderby=Title and they dont change. Have a look at that page and see what you can do... You'll need to login. user = test pass = abc123 Thanks, SNooble
-
I thought so, but in what order? and how would i seperate them? I've never seen a connection string before. But i connect to my database, just through variables. Snooble
-
I don't know what information to place in "Connection String:" could someone example one and then i can fill my information etc. As i haven't a clue Snooble
-
read orios... it's pretty well explained there. Snooble
-
anyhelp? thanks Snooble
-
I have this screen: I want to take two values from a database. Name and Age. The table will have 3 columns. (ID, Name, Age) I think i can sort out the looping query to go from each row in order of ID. But whats the connection string? What do i put there. Replace my database username with "username" and table name with "tablename" etc. This is an automation program. I want it to save the information into a .txt file via this program. I know how to use fwrite. Thanks, Snooble
-
I don't own the ability to: Create a reflected (DRD) attack using standard proxies' DNS' as the rabbits. Whilst using a DNS amplification attack, using my(a) much larger list of DNS servers. ICMP Echo's are old and outdated, 'easily' tracable and stopped with the right tools. Just clarifying, i couldn't even change my MAC let alone commit DDoS' on ebay. Snooble
-
I see... So if i DDos'd ebay. I'm talking '000's you reckon i could time out the server? As an example... I'm assuming i would need to then surf (and Dos) through numerous requires to find the sql info... Would i not? I'm just curious and talking fictionally. Snooble
-
it's happened on ebay. never on my server...
-
Hello people, I've noticed on many occasions (usually using Mozilla Firefox) the download box will appear with a .php file as the target. I think it's something todo with the server timing out, as it usually happens when the page is taking a long time to load. Any ideas on how to force this upon a server? Anyone have an idea on what causes it? (I was thinking possibly include ''; or require ""; might cause it? As most of the files are adframe.php or something similar. But occasionally index.php Snooble (Thanks in advance)
-
dynamic png image without loading php page
Snooble replied to HaLo2FrEeEk's topic in PHP Coding Help
i dont quite understand the problem here. If it's an alignment problem then it should be easy to figure. Take a look at the image. If you have the .psd then open it up! Dont write back here until you have done that. You know what you're doing, help is too easily available some of the time. Snooble