|
|
|||||||||||||||||||||||||
superjerUser
Recent posts by superjer
Truck: Post From PHP Page to PHP Page in Programming Help
You can use PHP to make an HTTP POST here but it wouldn't make much sense. Generally the browser is what makes a POST. In the exception handler, you could output a form with some javascript to cause the browser to immediately POST to your other page. But that would be weird, too. What are you actually trying to accomplish?
Friday at 19:35
Truck: $_GET Vulnerable? in Programming Help
MySQL injection is when, for example, you do this: php code <?php mysql_query("SELECT * FROM yodawg WHERE id=" . $_GET['id']); ?> because an attacker can use a URL like: hxxp://example.com/page?id=1 OR 1 which will then SELECT everything in your table.
Friday at 19:32
Truck: $_GET Vulnerable? in Programming Help
I'm not sure what you mean? $_GET contains an element for every key in the URL's query string. So a URL like: hxxp://example.com/page?a=1&b=1&c=lol populates $_GET with $_GET['a'] = 1; $_GET['b'] = 2; $_GET['c'] = "lol"; It's entirely injection, I guess. You shouldn't trust what's in it, obviously, since anyone can put anything in a URL.
Friday at 19:28
Truck: Video Player in Programming Help
You might be able to get away with this, too: html code <embed src="movie.file" width="540" height="400" autostart="false" loop="false" volume="60"></embed> Or some horrible Java thing, or some horrible custom browser plugin.
2012 Jan 28 at 21:59
Truck: More c halp in Programming Help
Don't be afraid to use aggregate initialization. c code int t_loc[52] = {0, 30, 60, 90, 120, 150, 180, 210, 1, 2, 32, 1, 3, 60, 39, 1, 90, 90, 16, 226, 167, 167, 44, 45, 46, 47, 48, 54, 55, 56, 57, 58, 64, 65, 66, 67, 68, 74, 75, 76, 77, 78, 84, 85, 86, 87, 88, 95, 96, 97, 98 }; char *t_name[52] = { ".", "%", ",", "@", "0", "^", "0", "^", "-", "[", "]", "-", "{", ",", "(", "-", "@", "@", "0", "0", "0", "0", "i", "e", "f", "g", "h", "o", "j", "l", "m", "n", "t", "p", "q", "r", "s", "y", "u", "v", "w", "x", "5", "1", "2", "3", "4", "a", "b", "c", "d" };
2012 Jan 28 at 21:50
Truck: Noise! in Programming Help
Down Rodeo said: how might I go about creating some small config file that can change lots of the program, rather than a couple of numbers?
With fopen() and fscanf(). That's how I usually do it, anyways.
2012 Jan 20 at 19:03
Truck: Funny shit all will enjoy! in Video Recommend!
OK the last one got me pretty good.
2012 Jan 17 at 18:38
Truck: How to compile SPARToR/McDiddy's in Programming Help
I've got audio added to the engine now, and lots of sound effects for McDiddy's. I also added this edit to the instructions at the beginning of the truck: ***EDIT (2012-01-17): I am now working on several different games for SPARToR. They are in their own branches in Git. To switch to the McDiddy's branch, do a git checkout mcdiddy before you make. It will stay on that branch until you checkout something else.
2012 Jan 17 at 18:35
| |||||||||||||||||||||||||