
Tucker
Member-
Posts
55 -
Joined
-
Last visited
Everything posted by Tucker
-
Hey guys, I want to learn AJAX as I see there is some benefits to it, however I am not really sure what is involved in AJAX. From the topic I read in this forum "AJAX Support" I noticed that you guys mentioned, Javascript and PHP. But is there anything else? As googling it seems to come up with unrelated answers to my questions. Is there also a good tutorial website I can go to, to learn it? Faithful supporter
-
Hem... The first time I actually read this. It sounds like a good idea
-
Forget it... I figured it out, php_pdo_mysql.dll was not included in the extensions so had to add that in and ammended the php.ini file and added the appropriate text. May I suggest you guys include PDO_MYSQL by default installed or at least avai in the extension to be turned on
-
I managed to figure it out in the end, though it was for a multiple page template.
-
I am truly boggled when creating my own template engine. I read about it, seen them, read it line by line and understand most of it's logic, I just can't seem to grasp the concept behind it to produce something that will achieve what I want... Its something to do with parsing the file is where I seem to screw things up... Any thoughts?
-
What do you mean...?
-
Yes... But I am thinking about like SID=thisismysessionid something along the id of that, but more defined and unique obviously
-
Man that's sweet been wanting to get that install, to lazy to ask. lol thanks guys
-
Is it possible we can create our own session ID?
-
Yeah, want to know what exactly happens when this occurs?
-
man that sucks the reply i posted never posted, anyway here is the link, what i wrote is that i havent updated the site it has alot of css info that some arent correct any longer. which i iwll be updating within the next 24-48 hours
-
At least someone agrees with me here. But this is what I don't get. I took a copy of a friend's CSS coz it looked cool, and altered to try something, that was just the positioning of one of the elements, suddenly on IE it went from being centered to everything positioning to the left??? Do you have any idea why this would be the case?
-
I hate IE I hate how it never works with IE on my first attempt. I have been working on a new site, everything is beginning to work out so I have begun to style it slowly, and things look fine until you try to view it on IE. Any tips on how to get it to work with IE without having to re-style it?
-
Thanks, why did I not think of it sooner. Dah it was so obvious thanks for pointing that out to me
-
oh sorry yes. i am making a new site and i am trying to make it so people can use the username without the worry of case sensitivity. Ie, someone types tuCker and can loging it with that matches tucker.
-
I am trying to figure out a way so i can allow people to use their username with the worry of caps lock on. any suggestions?
-
HuH thanks for the help there Believe it or not I was just looking for something like this :angry:
-
switches, that would defiently be shorter.
-
Well, after working on it for quite some time, and yes what you said was true, it went on, like and endless loop, however, I did this. $array= 'glb:0:0:0:0:0;mod:0:0:0:0:0;usr:0:0:0:0:0;vis:0:0:0:0:0'; $array = explode(';', $array); foreach ($array as $key => $value) { $array = explode(':', $value); $$var = $array[0]; for ( $i=1; $i <= 5; $i++) { if ( $i == 1 ) { $type = 'view'; } else if ( $i == 2 ) { $type = 'read'; } else if ( $i == 3 ) { $type = 'post'; } else if ( $i == 4 ) { $type = 'reply'; } else if ( $i == 5 ) { $type = 'upload'; } $perm_auth[$$var][$type] = $array[$i]; } Now, my next mission is to cut that if statements to a shorter statement. Is that possible?
-
Lol... Well I am experimenting with some other way to write that out, perhaps if I do it in a loop? Would that work? something like this: while ( $array ) { $auth[$array['name']] = $array[value']; } something like that? It's probally wrong, but yeah.
-
Lol... Well the $array is suspose to be info I grab from the db, I just left that part out. I want to be able to do this instead $auth['glb']['read'] instead of $glb['2']
-
I know, but you said So I was curious that is all... btw, i'm not going to open a new topic for the heck of it. Ok I have done this permission system that is short of lie IPB, using a colomn to place the information in a form o a string. Now when I grab the info I have to use the explode function than place it a loop. Than I use the explode function again. Anyway this is my line of working $array= 'glb:0:0:0:0:0;mod:0:0:0:0:0;usr:0:0:0:0:0;vis:0:0:0:0:0'; $array = explode(';', $array); $glb = explode(':', $array[0]); if ($glb[2] == 0) { code... } Is there a way to some how convert that to an associative array? This way I dont have to remember that $glb[1] is for show forum, and $glb[2] is read topics, but instead have it show $auth[name][id] instead...? anyway ideas how to go about that?
-
It works! Man that is awsome, thanx for the help. btw you mentioned about doing a forum? curios, how are you going to go about doing this?