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: 'ProxyJock'

We found 21 matches.


<< < > >>

Viewing 1-21 of 21 matches.

1.

None

Topic: deleting cookies

Posted: 06/25/06 09:27 PM

Forum: Programming

At 6/25/06 04:22 AM, Zendra wrote: You do know unset is ment for variabales. Aight?

Incorrect as well, the syntax is void unset ( mixed var [, mixed var [, mixed ...]] ) meaning there is no specific data type that it can/cannot accept.


2.

None

Topic: deleting cookies

Posted: 06/24/06 03:45 PM

Forum: Programming

At 6/24/06 03:33 PM, Nino_JoJ wrote: And that's it.

That wouldn't work, at all. You're only unsetting the variable $cookie. You're not even touching the actual $_COOKIE superglobal.

As far as using setcookie() and assigning the expiration to a previous time, that method works perfectly fine and is preferred over anything else by at least 90% of the coders I know.


3.

None

Topic: Php: Secure Navigation

Posted: 06/24/06 03:37 PM

Forum: Programming

At 6/24/06 03:33 PM, ProxyJock wrote: You do realize you could shorten this script by about 50% if you'd just use a switch statement, right?

Sorry, forgot to add the code.

<?php
$page = ( !isset($_GET['page']) ) ? 'home' : $_GET['page'];

switch($page) {
case 'home': $inc = 'home.html'; break;
case 'forums': $inc = 'forum.php'; break;
case 'login': $inc = 'login.html'; break;
default: $inc = 'home.html'; break;
} // End switch

require_once($inc);

# I included the last break statement on the default case
# in case you wanted to add more cases at the bottom of the list.

# That sentence had the word "case" a lot lol

?>


4.

None

Topic: Php: Secure Navigation

Posted: 06/24/06 03:33 PM

Forum: Programming

You do realize you could shorten this script by about 50% if you'd just use a switch statement, right?


5.

None

Topic: Php:page Id

Posted: 06/23/06 03:55 PM

Forum: Programming

At 6/22/06 11:18 PM, ElementalFlash wrote: bump

Well, it is a decent tutorial. It has minimal use but I know sometimes people just want the "advanced" look as if they're coding in a dynamic language. You should explain what that approach is typically used for.

Rarely is it used for simple include statements. It would make more sense to use something like page.php?module=HomePage to include files to display. Using a numerical value for a textual file name doesn't make a whole lot of sense.

As someone else said, I would explain and encourage them to only use this approach when necessary. In my experience, avoid URL variables if possible. It only gives the user more power than you intended in most cases.


6.

None

Topic: Mysql Field Values?

Posted: 06/23/06 03:51 PM

Forum: Programming

At 6/23/06 11:52 AM, loonyboy wrote:
At 6/23/06 02:22 AM, GamesCool wrote: Isn't it how many digits the integer can have?
aye, INT(1) can hold only one digit, whereas INT(11) can hold eleven.

No. I found out it deals with how many zeros are used to pad small numbers. For instance, TINYINT(1) AND TINYINT(5) (signed) both have a max value of 127 (unsigned 255). While we're at it, say the field has an attribute of ZEROFILL.

However, say you have a number, 14. Well, it wouldn't be padded in a TINYINT(1) column, because it's more than one digit. But in the TINYINT(5) field would return 00014.


7.

None

Topic: Mysql Field Values?

Posted: 06/22/06 10:44 PM

Forum: Programming

What's the different between INT(1) and INT(5)? They both have the same max value. In other words, what does the integer value of the TYPE parameter do? I know what it does for things such as varchar, etc. just not with numerical values.


8.

None

Topic: Could someone help me fix IE probs?

Posted: 06/21/06 11:32 PM

Forum: Programming

I'm currently designing/coding a site which I'll need someone to fix up nicely for Internet Explorer users. Basically, the problems seem basic but I can't figure them out because I've never coded for a cross-browser website.

Basically the problems are <div> areas expanding too far or too little and stuff like that. A few things not lining up properly.

I've noticed IE has a shitty way of rendering per pixel calculations and I can't deal with it. Would anyone be willing to help me out? I have a little money I could offer, but not much. :(


9.

None

Topic: WTF no realy!

Posted: 06/21/06 03:13 PM

Forum: Programming

I believe it is in your <head> and <style> tags. If you'll notice, you never end the <!--.

<style type="text/css">
<!--
body {
background-image: url(images/bg.jpg);
}

</style></head>

I believe IE is just commenting the entire code out. Try removing the <!--


10.

None

Topic: Links with tables in IE?

Posted: 06/05/06 12:12 AM

Forum: Programming

I have a link like this:


<table ... >
<!-- stuff -->
</table>

In Firefox it works just fine, but in IE it won't work. It shows up as a hand when you click it, but it won't take you to the linked page. What can I do to fix this? Is there an easy alternative?


11.

None

Topic: PHP / Downloading a image

Posted: 06/01/06 05:54 PM

Forum: Programming

At 6/1/06 05:17 PM, DarkDemon23 wrote: cool thank is there anyway to do it like

for example,

file.php?=image3.gif

You shouldn't be asking for specific scripts if you know this little about PHP.


12.

None

Topic: can u guys make me a portal?

Posted: 08/11/05 10:36 PM

Forum: Programming

FUCK YOU FAGGOTS DAMMIT U ALREADY FUCKED UP MY COMP NOW U DID IT AGAIN FAGGOTS

'UGH, MODS BAN THESE GUYS PLZ


13.

None

Topic: can u guys make me a portal?

Posted: 08/11/05 12:55 PM

Forum: Programming

why wont u fuckers ever fucking help me? greedy bastards


14.

None

Topic: can u guys make me a portal?

Posted: 08/11/05 12:49 PM

Forum: Programming

i realllly need one for my project in school im makin


15.

None

Topic: ASP

Posted: 06/20/05 07:10 PM

Forum: Programming

OMFG HELP ME YOU FUCKING FAGGOTS!


16.

None

Topic: how do i make a forum?

Posted: 06/09/05 09:48 AM

Forum: Programming

FUCK YOU YOU FUCKIN ASSHOLES NONE OF UR SHIT WORKED. I TIDNDT MAKE A FORUM AND I STILL NEED A FUCKIN FORUM!

dammit y cant people post code that FUCKIN WORDS suck my DICK YOU FAGOTTS


17.

None

Topic: how do i make a forum?

Posted: 06/09/05 12:43 AM

Forum: Programming

can anyone post the pph code to make a forum?i dont want phpbb cuz i alreayd had it and i didnt like it,


18.

None

Topic: Portal Help

Posted: 05/25/05 07:23 PM

Forum: Programming

tev11 FUCK U!!

THAT SHIT FUCKED UP MY DAMN COMPUTER. IMMA GET SOMEONE TO FUCKIN HACK YOUR GAY COMPUTER AND GET YOUR CREDIT CARD INFO AND YOU'LL BE FUCKED

JOKES ON YOU FAG!!


19.

None

Topic: Portal Help

Posted: 05/25/05 06:34 PM

Forum: Programming

At 5/25/05 06:33 PM, Pilot-Doofy wrote: What happened to all your posts sweetheart?

UGH AS YOU CAN SEE I CANT LOG IN NE MORE!!!

i lost my pword to my old NG accont and my gay email service shut my account off you dickhead!!!


20.

None

Topic: Portal Help

Posted: 05/25/05 06:32 PM

Forum: Programming

At 5/25/05 06:31 PM, Pilot-Doofy wrote: Can you go die please? Yes, thanks.

PILOT DOFFY YOU ARE A ASSHOLE IF UR NOT GONNA HELP DONT FUCKIN REPLIE!!


21.

Questioning

Topic: Portal Help

Posted: 05/25/05 06:28 PM

Forum: Programming

can sum1 please give me the html for a comic portal?i want one for my website


All times are Eastern Standard Time (GMT -5) | Current Time: 08:38 PM

<< < > >>

Viewing 1-21 of 21 matches.