Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. I would also remove record_id and the '' part, record_id should be an auto increment and you don't need to send any value
  2. If you don't know what I mean by multi insert, then google it before asking how to do it. It's in the manual, which is the first hit for "mysql multi insert" and there are plenty of examples online.
  3. You try to loop through it twice. By the second time, the internal pointer is already at the end. You should only loop once, and build your email AND your multi-insert in one block. You should never run queries in loops. You can make the insert in a loop one larger insert.
  4. Instead of using a foreach, use array_shift()
  5. I just noticed you have sha1 around that whole thing. $this->form_validation->set_rules(); What you're effectively doing here is this: $rule = sha1('password', 'trim|required|max_length[32]'); $this->form_validation->set_rules($rule); This should have triggered an error because those arguments won't work for sha1. You're basically giving set_rules an encrypted string.
  6. So you're saying the first name field also displays the email is required? Don't limit password length at all.
  7. What is it not doing? In what case does the password field not display an error? Also, there's no reason to limit the password to 32 characters. That's only making your site LESS secure. *jesirose waits for the response that makes it obvious OP is not hashing/salting passwords.
  8. You're not passing $icao to the function. Read about variable scope. Also our code tags are [ code ] without the spaces. There's also a button.
  9. I looked at the author's website to figure out which colors are which Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\*****] "Colour0"="131,148,150" base 0 "Colour1"="147,161,161" base 1 "Colour2"="0,43,54" base 03 "Colour3"="7,54,66" base 02 "Colour4"="0,43,54" base 03 "Colour5"="238,232,213" base 2 "Colour6"="7,54,66" base 02 "Colour7"="0,43,54" base 03 "Colour8"="220,50,47" red "Colour9"="203,75,22" orange "Colour10"="133,153,0" green "Colour11"="88,110,117" base 01 "Colour12"="181,137,0" yellow "Colour13"="101,123,131"base 00 "Colour14"="38,139,210" blue "Colour15"="131,148,150"base 0 "Colour16"="211,54,130" magenta "Colour17"="108,113,196"violet "Colour18"="42,161,152" cyan "Colour19"="147,161,161"base 1 "Colour20"="238,232,213"base 2 "Colour21"="253,246,227"base 3 Then changed the base colors (greys) to bright colors. I know Colour0 is plain text and colour2 is background so I left them alone. I repeated that until I figured out the settings I liked. The colors for directories & files in ls (which I kept using to test it) were colour15 and colour11
  10. Jessica

    Mysql

    At first glance, I see you're joining two tables and haven't specified on what column they should be joined. You also clearly have more than one pet id in the table, I count 8. I'm guessing you have 8 pets and 2 users.
  11. I'm noticing another grey color...maybe it *is* set up right. if I don't use the saved session and just log in to the same server, with the Solarized I see two greys. Without it I see green and blue. I guess I want to change which color is used for what. Edit: for an ls -a command Now to figure out some other commands which I can try to see some varied output lol
  12. They have a separate one for vim which I setup already and it works, this was completely separate. I may be misunderstanding what it does. no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: If this isn't meant to do what I thought I guess I need to figure out how to reverse it, because I definitely don't like the all plain grey :-P Creator's website: http://ethanschoonover.com/solarized
  13. I guess I assumed that it was for that sort of thing - what else would it be for? Before I ran the .reg file, my ls output was colored, and now it's all the same color. I did the alias and it still is all grey. It's not just ls, it's all commands. Everything is just two colors instead of the multiple colors it was before, or the other colors in the scheme.
  14. This is a thread where I am actively trying to get help with a specific issue. Trying to "strike up a conversation" by saying I shouldn't even do the thing I'm trying to do is pretty rude. Make your own thread if you just want to talk about stuff.
  15. Is that relevant? Do you even know what PuTTy is used for? Did I say I was having trouble editing files? I specifically said I did an ls -a, which has nothing to do with EDITING files. Did I ask you how I should do my job? Because I'm pretty sure that JUST YESTERDAY my boss advised me as part of a performance review that I should really become more comfortable using the terminal, since I'm the only one in the office who doesn't know the basic commands at the command line or in vi. So I got a crash course on vi. All I want is for the terminal to be colored the way that I like, because I found it easy on my eyes. This wasn't a question asking SHOULD I use Putty. It was how do I make the colors the ones I'm used to. FWIW, I use prefer to use Windows clients like Textpad or jEdit. However, I haven't yet found a SVN or a CVS GUI client which works as easily as running the commands. So I use putty for my cvs/svn commands. We're converting to Git soon too and so I will to use it for that.
  16. 0000 is LESS THAN 1000. You're talking about the number of digits, not the value of the number, but you keep saying things that refer to the value.
  17. When I load the session that I've customized using the .reg file, I see all of the different colors assigned, but the problem is the terminal is only using one of them, not the rest. :/
  18. Considering 1801 is at the 0 key, I don't think OP is trying to use the key.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.