There seems to a problem attaching files to a PM
Browse to a file and add as attachment. - No file name appears in list of attached files and you don't get option to add another file
Posted 28 February 2013 - 08:25 AM
There seems to a problem attaching files to a PM
Browse to a file and add as attachment. - No file name appears in list of attached files and you don't get option to add another file
Posted 28 February 2013 - 08:31 AM
Posted 28 February 2013 - 08:38 AM
require('members/connect.php');
// Get a count of the banners available
$query = "SELECT COUNT(*) AS RowCount FROM banners WHERE banner_size=7";
$result = mysqli_query($dbc, $query);
$banner = mysqli_fetch_array($result);
$num_rows = $banner['RowCount'];
mysqli_free_result($result);
// Pick a random number and subtract 1 (we want the OFFSET)
$randomOffset = rand(1, $num_rows) - 1;
// Select the banner
$query = "SELECT * FROM banners WHERE banner_size = 7 LIMIT $randomOffset, 1";
$result = mysqli_query($dbc, $query);
$banner = mysqli_fetch_array($result);
mysqli_free_resullt($result);
Posted 28 February 2013 - 08:40 AM
Edited by Christian F., 28 February 2013 - 08:40 AM.
Posted 28 February 2013 - 08:48 AM
413 Request Entity Too Large
Posted 28 February 2013 - 08:53 AM
David - I've had the double-spaced code problem a couple of times
Christian - I got no error message (at least I didn't notice one). However, the stated limit is 50MB
Posted 28 February 2013 - 10:19 AM
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
Posted 28 February 2013 - 12:00 PM
I've filed a bug report for this.The nobbc tags are not working in that line. I am using the PHP (not CODE) tags below
I can't seem to replicate this, at least consistently. If anybody figures out a good way to replicate it, I'll happily submit a report.If I flip the switch so I'm using the Rich Editor it post's fine (in the Preview). If I flip the switch OFF, it posts double spaced
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
Posted 28 February 2013 - 01:26 PM
See Double Spacing in Code Tags on the Test BoardI can't seem to replicate this, at least consistently. If anybody figures out a good way to replicate it, I'll happily submit a report.
Posted 01 March 2013 - 01:52 AM
Should be fixed now. Although I'm tempted to lower the limit down to like 20MB. I can't think of a use case really for more than that.
I'm sure my ISP enjoyed me testing this... ![]()
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
Posted 01 March 2013 - 03:49 PM
Posted 01 March 2013 - 04:14 PM
Should be fixed now. Although I'm tempted to lower the limit down to like 20MB.
If necessary, we could keep zipping the zip file until it's less than the limit. ![]()
Posted 01 March 2013 - 04:17 PM
I can't longer "like" a post on mobile because at the every time it will be updates.
Thanks
Posted 01 March 2013 - 04:26 PM
I can't longer "like" a post on mobile because at the every time it will be updates.
Thanks
Huh? ![]()
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
Posted 06 May 2013 - 01:49 AM
A nice addition would be a code runner that asks for the values of any unassigned variables.
if ($skill_level==learning && $my_knowledge==the_required_level_of_knowledge){
echo "I will try to help, because you're still $skill_level , and my skill level is at $my_knowledge";
} else {
echo "I can't help you, go away.";
}
I am a Grand Dungon Master.
Posted 06 May 2013 - 06:35 AM
... This is a forum, not an IDEA nice addition would be a code runner that asks for the values of any unassigned variables.
Posted 07 May 2013 - 10:55 PM
But the forum could do a link to code example like JSfiddle built in to it for showing the code, and what you're trying to do instead.
if ($skill_level==learning && $my_knowledge==the_required_level_of_knowledge){
echo "I will try to help, because you're still $skill_level , and my skill level is at $my_knowledge";
} else {
echo "I can't help you, go away.";
}
I am a Grand Dungon Master.
0 members, 0 guests, 0 anonymous users