You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'Fallin-Again'

We found 464 matches.


<< < > >>

Viewing 1-30 of 464 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91216

1.

None

Topic: [php] Sorting Arrays

Posted: 07/31/09 08:49 PM

Forum: Programming

alright thanks


2.

None

Topic: Starting game site?

Posted: 07/31/09 08:43 PM

Forum: Programming

bottom line is, your better off learning php/mysql yourself, getting your own domain and hosting, and going from there. I had asked the same thing before and got the same answers. PM me if you would like to see where im at right now.


3.

None

Topic: [php] Sorting Arrays

Posted: 07/31/09 08:38 PM

Forum: Programming

I did find this page but i dont know how to apply the flag. I looked at all the examples. Could you show me a quick example on how to apply it to sorting an array?


4.

None

Topic: [php] Sorting Arrays

Posted: 07/31/09 08:28 PM

Forum: Programming

Is there a way to sort the contents of an array numericly?


5.

None

Topic: Cropping

Posted: 06/26/09 12:12 PM

Forum: Programming

alright thanks!


6.

None

Topic: Cropping

Posted: 06/23/09 11:35 AM

Forum: Programming

im not having problems with image cropping its getting a UI that im having the trouble with.


7.

None

Topic: Cropping

Posted: 06/21/09 02:01 PM

Forum: Programming

lol whats that even stand for?


8.

None

Topic: Cropping

Posted: 06/20/09 08:38 PM

Forum: Programming

actually sorry that was close but im looking for the exact same thing as the newgrounds art portal one.


9.

None

Topic: Cropping

Posted: 06/20/09 08:27 PM

Forum: Programming

wow spot on, thanks for the link!


10.

None

Topic: Cropping

Posted: 06/20/09 06:37 PM

Forum: Programming

Can anyone point me to a tutorial on how to make a cropping function exactly like the newgrounds one for the art portal?


11.

None

Topic: (php) Renaming A File

Posted: 06/13/09 05:20 PM

Forum: Programming

first off all the file security measures are taken care of by javascript before the info is sent to this script, the querries are secured by a function held in my database config file, all i need is a way to fix this.


12.

Expressionless

Topic: (php) Renaming A File

Posted: 06/13/09 12:40 PM

Forum: Programming

I have this script on my site for uploading files, and I cant seem to get renaming it right. This is the code I have, can someone tell me what im doing wrong?

<?php
if (!empty($_FILES)) {
	$random_digit = rand(000000000,999999999);
	
	$tempFile = $random_digit . $_FILES['Filedata']['tmp_name'];
	$targetPath = $_SERVER['DOCUMENT_ROOT'] . $_GET['folder'] . '/';
	
	//change the file name now.
	
	$targetFile =  str_replace('//','/',$targetPath) . $_FILES['Filedata']['name'];
	
	// Uncomment the following line if you want to make the directory if it doesn't exist
	// mkdir(str_replace('//','/',$targetPath), 0755, true);
	
	$ourfile = $_GET['folder'] . '/' . $_FILES['Filedata']['name'];
	
	move_uploaded_file($tempFile,$targetFile);
	include('../includes/dbconfig.php');
	$username = $_GET['uname'];
	
	$use = mysql_query("SELECT * FROM login WHERE username = '$username' LIMIT 1")or die("Tpc:  ".mysql_error());
    $them = mysql_fetch_array($use);
	
	$uid = $them['uid'];
	
	mysql_query("INSERT INTO photos (url, uid, edit) VALUES ('$ourfile','$uid', 'no')") or die(mysql_error());
}
echo "1";
?>

13.

None

Topic: (ajax & Php) No Response

Posted: 06/02/09 08:18 AM

Forum: Programming

alright ill see what i can find out. im not too good at debugging which is not good realy.


14.

None

Topic: (ajax & Php) No Response

Posted: 05/31/09 08:09 PM

Forum: Programming

Can anybody tell me why i dont get a response from my code?
Javascript:

<script language="javascript" type="text/javascript">
var AJemail = 'cc-chris-chase@hotmail.com';
var AJusername = 'ChrisChase';

	if (window.XMLHttpRequest) {
		var ajax = new XMLHttpRequest();
		ajax.onreadystatechange = function() { alertContents(ajax); };
		ajax.open("POST","/usercheck.php",true);
		ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		ajax.send("email=" + AJemail + "&username=" + AJusername);
	} else if (window.ActiveXObject) {
		var ajax = new ActiveXObject("Microsoft.XMLHTTP");
			
		var sid = Math.round(Math.random()*1000);
		
		ajax.onreadystatechange = function() {alertContents(ajax);};
		ajax.open("POST","/usercheck.php?sid="+sid,true);
		ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		ajax.send("email=" + AJemail + "&username=" + AJusername);
	}
		function alertContents(ajax) {
	      if (ajax.readyState == 4) {
		    if (ajax.status == 200) {
		        var checkRes = 0;
				var response = ajax.responseText;
				response = response.split('|');
				
				if (response[0] == '<span class="style3">This username is unavailable!</span>') {
					checkRes++;
					alert('Username already in use!');
				}
				
				if (response[1] == '<span class="style3">This e-mail is unavailable!</span>') {
					checkRes++;
					alert('E-mail address already in use!');
				}
				
				if (checkRes > 0){
					return false;
				}else{
					document.getElementById("registration").submit();
				}
            }
	      }
        }
</script>

PHP:

<?php
@include('includes/dbconfig.php');
//check to see if the email is already in use
$regemail = $_POST['email'];
$regq = mysql_query("SELECT * FROM login WHERE email  = '$regemail'") or die(mysql_error());
//if its in use let them know
if(mysql_num_rows($regq) > 0){
echo ('<span class="style3">This e-mail is unavailable!</span>|');
}
//now check to see if the username is in use
$username = $_POST['username'];
$q = mysql_query("SELECT * FROM login WHERE username = '$username'") or die(mysql_error());
if(mysql_num_rows($q) > 0){
echo ('<span class="style3">This username is unavailable!</span>|');
}
?>

15.

None

Topic: Php: Loops

Posted: 05/03/09 11:33 PM

Forum: Programming

well everytime the while loop comes back around i need it to check if the next row its gonna display has that variable in the column.


16.

None

Topic: Php: Loops

Posted: 05/03/09 10:50 PM

Forum: Programming

Ok I have a query that checks for an array in the database. And then I have a while loops which displays the info from the databse. I would like the while loop to only display the rows of the database which dont have a value in the array stored in the row.

I have tried for a day or two now and havent come up with a solution could someone assist me with the proper type of loops or a better way of doing so.


17.

None

Topic: How To Make Flash Lag

Posted: 03/11/09 03:02 AM

Forum: Flash

i dont mean as in a flash im making i mean to make a flash that im viewing or playing.


18.

None

Topic: How To Make Flash Lag

Posted: 03/11/09 02:58 AM

Forum: Flash

I know people usually ask how to stop it from lagging but i was wondering how you can make it lag.


19.

None

Topic: flash joystick

Posted: 12/15/08 12:57 AM

Forum: Flash

any idea why it wont work for me? i have my controller plugged in, flash joystick installed, running, and the maps downloaded, and i cant get it to work. Any ideas?


20.

None

Topic: (php) Case Sensitive

Posted: 11/14/08 02:50 PM

Forum: Programming

no im saying, i md5 encrypt the passwords, but for some reason they are able to log in with different cases. If their name was Billybob505 they could put BILllybob505 and still get in.


21.

None

Topic: Calling A Js Function

Posted: 11/14/08 01:12 PM

Forum: Flash

ok thanks


22.

None

Topic: Calling A Js Function

Posted: 11/14/08 01:07 PM

Forum: Flash

How would I call a javascript function thats on the page from the flash? I have no clue what actionscript is used to do that.


23.

None

Topic: (php) Case Sensitive

Posted: 11/13/08 02:24 AM

Forum: Programming

i dont i md5 encrypt them. i only want to have the username case sensitive


24.

None

Topic: (php) Case Sensitive

Posted: 11/12/08 04:19 PM

Forum: Programming

ok thanks a bunch.


25.

None

Topic: (php) Case Sensitive

Posted: 11/12/08 03:43 PM

Forum: Programming

On my site I have a bunch of users who login using they're username, but they never use the right cases, and it screws things up sometimes. Is there a way to make sure that the php querries search the database but do it so that they results are case sensitive?


26.

None

Topic: (php) Case Sensitive Logging In

Posted: 08/29/08 07:03 PM

Forum: Programming

they all have a numerical id, but if they type they're username in with different cases how the script supposed to know which id it is using?


27.

None

Topic: (php) Case Sensitive Logging In

Posted: 08/29/08 06:25 PM

Forum: Programming

I have a script that searches a database and sometimes people can log in with different cases in thier name. I need to know how to modify it so that it searches the database cases sensitively. Here is what I have:

$username = trim(mysql_real_escape_string($_POST['username']));
$password = md5(trim(mysql_real_escape_string($_POST['password'])));

$query = mysql_query("SELECT * FROM users WHERE username = '$username' LIMIT 1") or die(mysql_error());

28.

None

Topic: custom browsing

Posted: 06/29/08 11:43 PM

Forum: Programming

how would i make a button open up the window to browse shit on my computer without having to use the form element to do so?


29.

None

Topic: screen recording

Posted: 06/15/08 05:36 PM

Forum: General

dont hve one


30.

None

Topic: screen recording

Posted: 06/15/08 05:23 PM

Forum: General

hey i was just wondering what the best screen recording program to use is....well which free one is best.


All times are Eastern Standard Time (GMT -5) | Current Time: 03:27 PM

<< < > >>

Viewing 1-30 of 464 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91216