@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35



Comments:

<0> I mean how MUCH more secure does it need to be?
<1> tek_: That's not the point of that article. The point is to prevent Netvibes from having my Gmail p***word, while letting Netvibes do stuff to my Gmail account.
<0> CWhiz, I realize that
<0> I'm talking about something different now
<1> tek_: You really need to learn to provide context to your questions ;)
<0> What in your opinion is the most secure way to store p***words in a adatabase?
<2> [sellout], As I said, server variables. var_dump($_SERVER); Take a look on it's output.
<1> tek_: The SHA-1 you suggested should be fine.
<3> <looks>
<0> okay.
<0> I do like the idea of the RSS feeds though
<4> CWhiz, hmmm so it's a feature in Gmail and other services that you want? Not Netvibes?
<3> eml that gives me a lot of information but not html source...
<2> [sellout], To be honest, I don't think you can get the actual HTML-source. With good design you can get it though.
<4> CWhiz: Sorta like setting up a limited use account which can only be used by a certain domain, without them having the root p***word.
<4> s/use/user/



<3> http://www.dan.co.uk/viewsource/index.php?url=http%3A%2F%2Flanceslife.com
<3> is an example of what i want
<3> i have a very crazy template and using css i want to have a pages source code, ias its background
<4> CWhiz: So am I correct in ***uming that this would be more a feature of Gmail and other such services?
<1> Gerry: Yep, it's not something that Netvibes could do on their own. I'm not necessarily blaming them.
<1> Sorry, bbl
<4> k, gotcha
<5> blah security update
<5> rebloots
<6> Gerry: It's something that should have been implemented, however. It's kind of obvious.
<7> I have a constant cfg_ADC which contain a field name ! I want to use that constant something like $nbr = $row["cfg_ADC"] but it seem is not likle that ! how could I use cfg_ADC in that $row[""] ?
<4> CWhiz: you could set up your own in between proxy. Where Netvibes p***es on the request to you and then you fetch the data and p*** it back to Netvibes... if they are in fact netvibes.
<4> CW[a] ^^
<4> CW[a]: it is now. =D
<6> Gerry: That I can blame them for, because there's no way to redirect the request to my hypothetical proxy without re-writing the module...which I considered doing.
<4> Ohh yeah
<4> Sux
<8> Hey how can i make sure there are no duplicate entry's being sent to mysql?
<4> CW[a]: You could suggest the feature
<9> I have a field name ADC_EN or ADC_FR and I define a language constant cfg_ADC which contain that field name ! I want to use that constant inside while's something like $row["cfg_ADC"] but it seem syntax is not ok ! How could I use cfg_ADC in that $row[""] ?
<6> Gerry: I'd want to figure out why we don't have the whitelist yet.
<4> CW[a]: Agreed
<6> Gerry: From the very first Web 2.0-style API - Blogger - I knew it was a bad idea and how to fix it.
<10> web 2.0 **** is stupid if you ask me
<4> CW[a]: Don't every say that word again.
<6> It's hyped, but it's a valid description of what's going on.
<4> No it's not
<6> And we were agreeing so well...
<4> Web services will do
<11> im in a little truble with regex. i need to get the action= on a <form> tag.. so i builded up <form[\s\S]*?action=["|']([\s\S]*?)["|'][\s\S]*?> this.. but if someone forgets to do action="a" (the quotes) that dosent give me any result at all.. what sould i do?
<4> The rest was already a major part of Web1.0 :D
<6> Collaboration was the _intent_ of Web 1.0, but it wasn't implemented so John Doe could participate. Web 2.0 is fixing that.
<4> CW[a]: LOL, I just hate that word
<4> And I'm beginning to dislike you... for your use of it. =D
<9> noone know ?
<6> Just because something is hyped doesn't mean it's hype.
<6> really bbl now
<12> HI, I need to remove all CRLF in a string is there a function like that (I suppose I need mtrim :))?
<4> Yes it is if it existed before the name
<6> btw, Ajax Ajax Ajax!!!
<6> muahaha
<4> hate ya
<4> IFRAME IFRAME IFRAME
<4> qwertz, str_replace?
<4> ace_me, pastebin
<13> hi guys! I have written my own component which displays a resume. The values of the resume are displayed in text fields. What i want to do now is to have a print button and when clicked on I want to open a new page with the values from the textfields to appear as ordinary text on it. It would be like a preview button. Anyone has any idea how to achieve this
<4> pangelovski, do you know about this: http://xmlresume.sourceforge.net/
<3> how can I get $h->loadFile($include); inside an EOF set of html?
<3> \or rather how can i get the output of $h->loadFile($include); to a single variible like $loadedfile
<4> $loadedfile = $h->loadFile($include); ?
<13> cool, you just saved me alot of time
<13> :)
<4> sweet
<13> gerry, sorry but i dont think that is for joomla/mambo right?
<4> pangelovski, I have no idea, but I'm sure it could be integrated.
<13> ill give it a go
<13> Gerry: you any good with javascript? how can you do a window.open(); and fill that window with text?
<12> Gerry, thanks will try it
<14> hi, I have a situation where I have some config options stored in a database, these option will not change unless when I want them to (very rare). The options are needed with every pageview, and therefor I'd rather cache them. I was thinking about writing PHP code from the database in a file and include that file every pageview (like <?php $aConfig[x] = y; ?>).
<4> I think you have to do something like foo = window.open(); foo.write(contents); foo.close() but I can't really remember and this isn't #js
<14> But I'm having my doubts regarding security, mostly because the file probably needs to be world writable. Your thoughts about this situation please.



<15> Someone who can give me a hand on a regex problem? I want to replace from the beginning to the first match: $str="an example test string to test it". I want to replace from ^ till the first test, hoever ^.* replaces to the last test. Anyone?
<13> ok, but thanks for showing
<14> Johan, use (.*?) to match ungready (the ? does it)
<15> sjors_: thanx!
<16> Any pointers on why a php 5.1.x script using the zip extension would work fine from command line, but complain about not seeing zip_open() when run from a browser?
<3> i need to get the output of these commands to an eof$h = new PHP_Highlight;
<3> $h->loadFile($include);
<3> $h->toList(false);
<17> php.ini has a directive called extension_dir, how can i get this value?
<17> i tryed $_SERVER['extension_dir']
<14> Korthrun: are both the CLI and apache module using the same php.ini?
<14> Shaun: try http://www.php.net/ini-get
<16> sjors_:I wasn't 100% sure of that, so I added the extension to both of the copies I see
<4> sjors_ if you are writing and reading it on the same server then I don't think you need to make it writable to everybody do ya. I'm a Win user, so I'm not too sure on this.
<11> how to get last chr from a string? i dont remember the exect function..
<4> idan: http://gerardc.googlepages.com/phpsearch
<16> sjors_:according to phpinfo, from a browser and command lien though they are
<16> I did just notice that phpinfo from a browser doesn't show that zip support is included, do I need to recompile with some flag so that the DSO is aware of it?
<14> you also need PECL for zip. Try using the same php.ini with apache as you do with your CLI
<16> ill make a backup of one and symlink them to be 100% sure
<8> very n00b question.. but is there any program that kinda helps you out with the coding? u just kind of put it there?
<16> sjors_:I have pecl, but when I did "pecl install zip" the phpize failed, so I had to download it, run phpize manually and copy the .so to the extension_dir
<16> I'm ***uming that the presense of the pecl command line util menas that I "have pecl" in the way php expects
<8> anyone?
<16> Hrm, made progress anyway
<16> It's going to be some PATH crap
<16> [11-May-2006 01:49:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/share/extensions/no-debug-non-zts-20020429/zip.so' - /usr/share/extensions/no-debug-non-zts-20020429/zip.so: undefined symbol: _zval_ptr_dtor in Unknown
<8> how can i prevent mysql from getting a duplicate entry?
<16> INSERT ....... IF EXISTS
<16> check the mysql.com docs
<18> hey
<18> can anyone help me with this php script?
<18> its a login script
<19> shoot
<18> but it skips the part that gets echoed
<18> http://pastebin.com/711054
<18> when im supposed to get logged in
<18> seems like it cant get the $user_data variable
<20> [br]pun2, after check at SQL, you redirect them, *am i correct?*
<20> if that so... how come after redirect can p***ed Line:13
<20> there is no more $_POST after redirected
<20> and... where are you ? (im talking to myself)
<18> im here
<20> Line 22~24 will never running
<16> sjors_:fyi turns out there is a reported bug about this, and it some pecl stuff doesn't work with --enable-0versioning when called from a browser
<18> hm
<18> it does Ox41464b
<18> if i get login_error=true then i get the correct html returned
<21> hey all
<21> i'm displaying an invoice via html... just click on the link and will retrieve all info from the database usin php and display on a page... is there a way to know if the information got to a second page so i can put the same header?
<22> in php, how to call a function with arguments from an array?
<23> I have a whole bunch of HTML code, and I want to echo it from PHP -- echo is tedious
<23> is there another way?
<24> KEYWORD<<<
<24> test
<24> KEYWORD;
<25> guys, I have a question
<24> or something similar
<24> i've probably boned it
<21> InsomniaCity, in other words, in file/page setup, there's "Page &p of &P" for the header... is there a way to retrieve &p that usin php ?
<25> I have a Cl*** which builds my page beforehand, so before I print anything to the client. Now, if this cl*** takes a little bit longer (talking milliseconds here!) all browsers end up either loading the page forever without showing anything, or just timing out (like firefox: "The page isn't redirecting properly")
<25> The only cure I can find until now, is to print a space (echo " ";) in one of my cl*** methods, so the browser knows something is going to come
<25> is anyone familiar with this problem?
<24> are you redirecting anywhere in the page?
<25> keherman: printf should do it
<26> I have a pattern to extract the valign=* from a [table] tag and insert it into the next col tag without a valign attribute, but it does not move onto the next col tag if it does have it set already, how would I make this loop and go thro all the col tags? regexp is "%\[table(.+)valign=(?:&quot;(.+)&quot;|(.+(?=\s+|\])))(.*)\](.*)\[col((?=!valign).*(?<!valign))\](.*)\[/col\](.*)\[/table\]%isU"
<25> heh.. or just go out of php mode: "?>" and do your html stuff.. you can always add some php vars you wish to print with the shorthand: <?=$var_name;?>
<25> Rhasta: no, not redirecting anything
<25> well, not following this path anyway..
<25> Rhasta: IE just takes forever loading
<25> firefox obviously catches the 'error'
<23> yereth, good idea!
<25> but nothing is wrong, it just takes a tad bit longer
<26> not all servers support short tags you should do <?php echo($var_name); ?> to be safe so you can port your app to other servers without h***le


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

lactophilia+pics
dapper hdparms ubuntu
mozilla sirefox
#perl
mplayer plugin gentoo stopped
#mysql
#debian
msttcorefonts dapper
#gentoo
#web



Home  |  disclaimer  |  contact  |  submit quotes