@# 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



Comments:

<0> Judd-MGT: Well... isn't it obvious?
<1> Judd-MGT: any security holes discovered you are immediatly available for being attacked, whilst hiding php will make it harder to discover
<2> ummm no.. considering that if I wanted to hack something it would be very easy to figure out what they are using
<0> If I know that box X runs PHP 3.01, I could find some old exploit or something and "attack" it.
<0> If I don't know what version it runs, I have to guess and it's pretty much useless...
<2> or a hacker how had the time would just run every expoit
<2> and wait for a hit
<2> harder is not greater becuase computer time is negligent
<2> a computer could quickly go through the exploits
<0> I prefer to be secure over participating in statistics.
<3> Davey: did you have any trouble with properties in php4 when you used it?
<4> Folks EASY UP ON THE ENTER key please!
<3> Davey: Cl*** Properties
<4> Security thru obscurity, is no security at all.
<1> Jymmm: theres a little bit, it keeps some of the more kiddyish script kiddies away
<5> Jymmm is right, but its still fun to switch the header just to mess with people... OOOH! make it rotate!!!!



<0> Aaaah. Finally a clean, nice box.
<4> itrebal: No, there's not.
<0> It took ~500 installations and four years, but it was worth it!
<1> Jymmm: how so?
<4> itrebal: It's like hiding a key to your house under the mat.
<1> how so?
<4> itrebal: I just told you. And remember what I said about repeating myself.
<1> i know, i remember, ok
<5> itrebal: Jymmm raises good points.. security through obscurity is usually a bad idea
<6> itrebal, did you have any ideas on what i could do?
<1> Silliman: oh, lol, no... not right now
<0> Of course nobody's claiming that hiding the version(s) of backend software makes a box bullet-proof against crack attacks...
<0> But it certainly would scare me away if I attempted something.
<5> i just think it would be neat to mess with people... i've thought of hiding a simple game like tictactoe in the headers, and looking for a reply in a request header :P
<4> Hiding veriosn is like placign the server in a paper bag.
<0> :S
<0> Well... don't you think that some people would walk by that huge paper bag?
<7> by exposing your serverside technology and versions, you make it much easier for a hacker to just look on a list of exploits and pick one
<5> wouldn't that be a fire hazard?
<4> Yeah, and wonder what's inside it.
<0> ^_^
<8> What about making it so php extensions are "ASP" and reply as an IIS server (including error/404 messages)
<5> Jymmm: are you accuzing KimmoA of arson?
<5> accusing....
<9> Are there any (easy) ways to do searches on nested arrays? Say I have a structure like $x[]['title']='foo'; $x[]['title']='bar';, is there somethinng like array_??_exists('foo', $x['title']) ?
<6> Alystair, isent there and apache module that does that?
<10> I chmod a file and get a true return but the file's permissions don't change. Any idea how I can change its permissions?
<0> Alystair: And give MS better stats?
<5> Silliman: mod-rewrite could take care of it simply enough
<11> is there a function which will convert any set of chars into something which has a capital and the rest lowercase like: "aniUNFc" would be converted to "Aniunfc"?
<8> KimmoA: they could use it in presentations about how secure the servers are ;)
<7> genelisp: ucfirst
<0> :S
<5> KimmoA: no, this way you can claim that ms stats are bunk
<11> Davey: thanks - does that take a string as an argument?
<6> genelisp, array_search
<7> genelisp: php.net/ucfirst
<10> I chmod a file and get a true return but the file's permissions don't change. Any idea how I can change its permissions?
<11> Davey: ok
<0> Hrm... anyone using eAccelerator in a critical production environment?
<0> It finally supports PHP 5.1 now... but I don't dare to install it.
<12> heh
<6> ranger_, php.net/ucfirst
<6> ranger_, array_search
<9> ty
<6> :S
<13> .. ehm ..stupid question.. how do i make bold letters in email ??
<13> do they use other things as html ?
<9> no, the docs at least dont mention that it can search on nested elements
<6> they use html
<5> HS^: basic html is used, but some people prefer simple text
<13> but in mamy they filter html
<9> then use mime multipart
<14> HS^ a email can be 100% html... just be sure you set the Content-type of the email to text/html in the headers
<13> if html is filtered, no bold is allowe?D
<15> I just went out and bought The PHP5 and MySQL Bible...it better not be a bad purchase :P
<5> HS^: sometimes *bold* and _italic_ work....
<5> Petecakes: i hear its foma
<9> is it by Sams?
<0> HS^: Never, ever send non-puretext e-mail!
<15> ranger_, no. Tim Converse and Joyce Part with Clark Morgan



<15> (as per the front cover)
<9> I mean the publisher
<6> i have had a tidy extension installed on firefox for a time now and i only found a like 3 sites that was 100% valid :O
<10> could someone help me figure out why chmod() is not modifying the permissions of a file?
<15> ranger_, the publisher is Wiley
<9> you might be ok then. Sams books are expensive firestarters
<15> I noticed.
<5> wow... what a neat cover http://media.wiley.com/product_data/coverImage/67/07645574/0764557467.jpg
<13> StaZ[home] how do you set that in the mail() php function?
<15> I've flicked through some of their books...they claim to make you learn languages in 24 hours and the suchlike.
<5> ranger_: my intro to php was "teach yourself php in 14.5 hours" or something.... it was decent
<15> My intro to PHP was Hudzilla's online tutorial...
<13> wait i got it
<14> HS^ check any good mail tutorial you'll see how to set headers
<14> once of mail()'s params is $header
<10> could someone help me figure out why chmod() is not modifying the permissions of a file?
<16> my intro to php was the php documentation
<17> hey guys. i have a table in database where news are stored by ids. i got mysql_query to write last three news sorted by id. now i'd like to know how would i put this texts in it's tables becouse right now, everything is just written together in one but ofcourse, i'd like that in tables rows nicely sperated. what should i do ?
<10> could someone help me figure out why chmod() is not modifying the permissions of a file?
<9> existance: apparently not. And asking every 30 seconds wont change that.
<18> you may not have permission to change the permissions
<10> ranger_ what would you suggest then/
<6> existance, waiting?
<5> Matic`Makovec: huh? INSERT INTO doesn't work?
<16> Matic`Makovec: I understand you saying you have news sorted by id in a mysql table but I'm not sure what you are asking at the end - perhaps you should use pastebin to show some of the code so we can see better what you are saying
<13> mail($to, $subject, $message, $from, $headers);
<13> what is wrong with that
<10> Silliman, until when pray tell?
<13> i read headers as last ??
<13> it doesnt work
<18> existance: i answered you!
<10> zbq, if it returns true though I thought that meant it was successful
<19> i can't send mail to HOTMAIL help me please!
<20> gnn; that's not a php issue
<20> :P
<18> you didn't mention that it was returning true
<18> it is possible that at the server-level the command is blocked and php is not aware of this. you might check with your admin
<15> heh.....my client is set to ping on $me*, e.g. Petecakes!...but any time someone types a variable in here starting with $me, it pings me >_<
<11> is there a limit on the length a URL can be?
<5> GNN-Ricardo: i've read hotmail filters some mail unless it has certain headers... google it
<5> genelisp: yep, really long
<17> mikere,
<17> i'd like to output of SELECT nicely sorted in table
<17> so it would be like <table><tr><td>news1</td></tr><tr><td>news2</td></tr>......</table>
<16> Matic`Makovec: ah - that should be easy
<17> becouse now, everything is just like news1news2news3..
<17> mikere, could you please give me a hint?
<16> Matic`Makovec: one sec
<6> Matic`Makovec, foreach?
<17> i have a while sentence now
<21> Well, isnt that great. The ZDE debugger seems to not understand how to display arrays in order
<19> can you give me a script that work? stealth
<17> but foreach would go to
<19> stevarino???
<19> i'm trying to make one work have 3 days
<19> without success
<17> but still i don't know how to give them in different rows
<16> Matic`Makovec: while($row-myqsl_fetch_array($result)){
<16> Matic`Makovec: could also use foreach as Silliman says
<6> Matic`Makovec, they just use echo '<table..>' in the start and the end of the loop
<17> mikere, i have
<6> then*
<0> So... Does anyone in here use eAccelerator (PHP cacher) in a critical production environment? It finally supports PHP 5.1 now, but I don't dare to install it. Also, are there ANY known downsides of using it?
<17> while ($vrstica = mysql_fetch_array($beri, MYSQL_***OC))
<17> {
<17> print $vrstica['novica'];
<17> }
<17> but now it's like news1news2..
<4> !+pastebin
<22> Submit your code to http://hashphp.org/pastebin or http://cpp.sourceforge.net or http://php.pastebin.com then tell us the URL and a summary of the problem. Don't flood by pasting in the channel.
<10> Could someone tell me if I've uploaded and used chmod correctly here : http://pastebin.com/636291
<5> GNN-Ricardo: i told you to google... top result for php mail hotmail: http://www.webmasterworld.com/forum88/971.htm
<6> Jymmm, isent the rule "over 5 lines use pastebin" ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#linux
#perl
#openzaurus
sesamia street flash animation
#python
fedora no drives
ubuntu badram
no line break youtube
#css
#osdev



Home  |  disclaimer  |  contact  |  submit quotes