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



Comments:

<0> stoffus: highlight_file
<1> ah, nice, thanks
<2> Some how you people think I actually give a ****, when I really dont. If it works 100% of the time, that's all that matters.
<3> Where can I set some restrictions for php?
<4> Jymmm, I didn't say you had to 'give a ****', but you shouldn't stop other people from doing so
<5> Anyone have any clue why including a .php with cl*** definitions would cause the whole script to just STOP working, no error, no nothing...
<2> GarethAdams Do you see me holding a gun to anyone's head?
<5> Is there any other place i can look for an log about what happened?
<4> Jymmm, no, I see you asking "<2> GarethAdams and your point is?" and then saying "<2> Some how you people think I actually give a ****," when we answer. That's all, I'm happy to stop now
<6> Does anyone know of a "image rezise/cut utility" based of php. Like people can upload an image and cut/crop it ?
<2> GarethAdams: That's not me stopping anyone from doing anythign they damn well please. There are so so many dumb***es that come in here anymore, ask something, we say you shouldn't do that, then ask how to do it anyway. Then ****ing wonder why theri system got hacked.
<7> snor: I have seen one done in flash and php
<6> OrbX: Oh yea thats what iam looking for! do you remember its name?
<7> snor: No sorry, I will have a quick look though.
<5> :(
<8> cool



<8> you can hack systems with <pre> and <code> these days
<2> Rhasta you mean modify the markup tags so the code inside gets exectuted somehow?
<7> snor: Sorry no luck, try google it
<7> snor: php / flash image upload php /flash image editor
<9> Are there any obvious risks with this code that I haven't thought of?
<9> $sss = strip_tags($_POST['sitesearchstring']);
<9> mysql_query("SELECT article_id, heading, MATCH (heading, text) AGAINST ('$sss') AS score FROM articles WHERE MATCH (heading, text) AGAINST ('$sss') LIMIT 50") or die(mysql_error());
<2> mysql escape real string
<4> in which case, the answer to "and your point is?" is that HTML is about marking up text, and CSS is about styling it. Just because <code> looks like <pre> doesn't mean they're the same tag. If your question was rhetorical then I'm sorry I answered it.
<2> GarethAdams When I said "I dont give a ****" I was refering to any/everything in respect to SGML.
<0> tempo2k: ***ide from the fact you haven't put a single bit of sql injection protection in?
<0> I must say, I love the new php.net search thing
<0> searches bugs and pear/pecl
<2> GarethAdams I've played the compatability wars forway too many years, just give me a headache.
<10> hello there, is the admin of this channel here?
<10> i need to talk to him
<9> aidan I thought that it wasn't a problem becuase of that php automatically esacpes post variables?
<4> fine, in which case my previous comment was relevant to stoffus
<4> and he can find out more in #css
<0> tempo2k: if magic_quotes_gpc is enabled, yes, but it's off by default now
<9> Well on my server it's on so that won't be a risk.
<0> Al_Qaeda_leader: I suggest not having a stupid handle if you wish to be taken seriously
<0> Al_Qaeda_leader: secondly, /msg chanserv info ##php
<10> my real name Osama_Bin_Laden is banned for no reason
<11> ugh my sister just told me she almost got into a car accident yesterday
<12> "No reason"
<0> "no reason", haha ... I love the internet
<10> yes, i didnt even wrote anything
<13> piera: happens to me at least weekly
<11> ||cw: well she's pregnant and due any day now with her first child.. she wasn't driving, her husband was. They were p***ing on green light when a car in the opposite direction was speeding and cut them off
<13> piera: ouch. why to many people on the road that shouldntbe
<13> way^
<11> ||cw: yep couldn't agree more
<7> Does anyone know a good tutorial on validation multiple check boxes which have the same name but different values, I have only found places which give you the code without explaination.
<2> !+forms
<14> i guess forms is Read this to learn more about html forms, including GET and POST methods http://www.cs.tut.fi/~jkorpela/forms/methods.html -and- http://php.net/variables.external -and- http://www.apptools.com/phptools/forms/forms3.php
<15> to get working mail() with apache + mod_chroot what does i need in the chroot dir except a sendmail binary ? i mean /dev /var ...
<13> samm: it would need whatever sendmail needs
<13> which is going to vary depending on what mail system provides your sendmail binary
<15> ||cw: i tried with both ssmtp and nbsmtp as they say http://core.segfault.pl/~hobbit/mod_chroot/caveats.html
<15> but none worked, no error at all
<16> how do you hide ' in text in php
<17> What do you exactly mean?
<18> ciao!
<16> when you use html source sorry
<17> Where does the ' come from?
<17> Or more like why can't you just remove it from the code?
<16> for example member's
<13> Razz3r: what do you mena "hide"
<16> is in my code and Im trying to add it to the define function on my site
<16> but the member's is causing a problem
<13> Razz3r: example code?
<19> I think Razz3r means 'escape' the '. you escape it by using \' where you want to use '
<13> probably member\'s
<16> I will give it a go thanks guy
<16> sorry for how basic
<20> how can I test wether a string contains of, and only of, the chars a-z A-Z 0-9 and -?
<13> R1ck: preg_match
<21> when running php-mysql 'insert' queries, is it important to place the field names in quotes for cross-compatibility? ie. insert into something (name, email) values ('me','me@e.com');
<22> gamengineer: That isn't a cross compatibility issue.
<22> gamengineer: That's a requirement.



<21> therefore, shud the (name, email) really be: $sql = "insert into something ('name', 'email')...";
<21> really? darn these net tutorials then! :)
<22> gamengineer: You said "quotes", not he absense of column names.
<22> s/he /the /
<23> hello - i can't seem to get error reporting working on Windows (v 5.1.2, apache 2.0.55). I have error_reporting set to E_ALL and E_STRICT in php.ini, and log_errors set to "on" in the config file. Am I missing something obvious?
<12> Talrias- what exactly do you have error_reporting set to?
<24> windows ****s
<25> kuja: Do you really need to quote the _fieldnames_? Cause I never do so. Only the values.
<21> thanks kuja! i'll play around with it more...
<23> E_ALL | E_STRICT
<22> berry__: In the context he provided, I had to ***ume that he didn't know what he was talking about (because his example only quoted values)
<12> Talrias- check phpinfo() to make sure the settings are taking effect
<25> kuja: Ah, good point.
<25> kuja: Here I was thinking I was doing it wrong all the time :)
<22> =)
<23> Dragnslcr: error_reporting is set to 4095, and log_errors says "On"
<21> berry: I confused field names with column names.. I'm using navicat to design the tables, and they call the columns, fields.
<12> Talrias- check the log file name. I think it's error_log
<23> says "no value"
<21> berry/kuja: I just asked in general, as I thought certain databases (maybe oracle), required sql statements to also quote the column names.. wasnt sure if php did anything about it when you do a query
<12> That might be why, though I think errors get sent to the web server's error log by default
<23> i want it to output to the same location as any html output would go
<12> gamengineer- no, SQL doesn't quote field names
<12> Talrias- ah, check display_errors then
<23> well, I just checked the error.log file, and nothing shows up there
<23> Dragnslcr: display_errors says "on"
<12> Hm
<24> Talrias, paste the php.ini
<24> pastebin
<12> I don't see why errors wouldn't be showing in the page then
<23> ok
<12> Unless you're changing error_reporting or display_errors in .htaccess or the scripts
<23> http://pastebin.com/642085
<23> no
<23> oh wait
<23> hmmm
<23> let me check that
<23> ah yes, silly script :)
<23> shame php.ini doesn't override that
<23> sorry about that
<26> How can I track down Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\Beta\opr\notify.php on line 1353 ? It is no where near 1353.
<19> Enox93: Get an editor that does code highlighting.
<26> Looks like an unterminated string.. But it could be hundreds of lines before that
<26> I'm using ZDE
<26> I wish PHP said where the strings begin.
<27> humm iv been trying to make some thing in php that changes p***wds on an ldap server, any ideals why its not working ? http://pastebin.com/642086 ? heres the webform http://pastebin.com/642081
<19> Does ZDE not do code highlighting?
<26> It does
<26> But it doesn't show any problems
<26> Hmm.. I found it.. Unterminated string of course
<26> But it's just a PITA to track down.
<19> before or after?
<26> Way before
<26> $a = <<<EOD
<26> blah
<26> EOD;
<26> With a Tab after the ;
<28> hello
<28> I am having a problem with uploads in SAFE MODE (uid 520 is not 48)...
<28> how can I solve this?
<19> Wow. You know, I keep seeing that <<< >>> format. what's it for? Seems to cause no end of heartache for everyone who mentions it.
<26> Ahroun- The only place I use it is SQL
<26> Ahroun- It's a way of doing multi-line strings
<26> So you can make SQL easy to read
<26> Rather than jumbling a 30-line query up into a single line where it's impossible to diagnose.
<29> he, small question here: does gmail support mime 1.0 format?
<29> (just want to be shure)
<19> I've never had to do that, Enox93. Heck, you should see my current PRS_Queries.php file... all my SQL strings are multi-line defines and they work just fine for MySQL.
<26> Ahroun- Multi line defines?
<30> anyone know of a editor that does sftp and syntax highlighting for winderz?
<19> Enox: Like, I define the name, then the query is the value, and I spread it out over numerous lines within " 's.
<29> gvim can run in windows
<28> any1 please?
<30> strav : that not vim


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Shared memory not supported mplayer xinerama
sudo doesn't work
#osdev
zone alarm for linux
suse10.1 captive
jjhosting
Gentoo mplayer with-codecs
#javascript
systembip
libmp4v2 sles



Home  |  disclaimer  |  contact  |  submit quotes