| |
| |
| |
|
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
Comments:
<0> will_: you have verified that $_POST is being changed at that point? <1> Why would $_POST change? <2> so unless I can find a working top for windows <0> will_: never mind. keep poking randomly at it until it's fixed. <3> If I wanted to add a forcetype to my .htaccess file and make an mp3 file redirect to a php file when it is opened, how would I do that through my .htaccess file.. im ***uming it would be something like <files example.mp3> ForceType MP3/PHP Redirect example.php </files> . Is that right? <4> RvGaTe: it still hasnt stoped the code <5> Razz3r: strange, is it being uploaded at all ? <5> Razz3r: becouse exit(); has to stop the script, no matter what <5> Razz3r: try putting in a random echo, see if it shows up <5> Razz3r: if that doesn't give you anything, clear your cache <6> can anyone suggest a good article on SQL injection w/ php? <5> baitable: MySQL or SQL ? <6> mysql, please <5> baitable: you trying to find an article on how to use mysql with php, or how to enable the mysql extension on the server? <3> If I wanted to add a forcetype to my .htaccess file and make an mp3 file redirect to a php file when it is opened, how would I do that through my .htaccess file.. im ***uming it would be something like <files example.mp3> ForceType MP3/PHP Redirect example.php </files> . Is that right? <6> rvgate: no, i'm actually looking for a good article on SQL-injection attack prevention (Sorry for the ambiguity). The stuff I've been finding on google has been pretty vague.
<5> baitable: ooh, making your queries secure.. <5> baitable: lemme do a search, hold on... any prefered language ? <6> :) sorry 'bout that <6> well, php/mysql <5> baitable: language in English/Dutch :P <6> oh, haha english <5> baitable: bah, i had one in dutch tho, hehe <6> heh, sorry :P <7> Preventing an SQL Injection attack? mysql_real_escape_string() simple :) <8> hey everyone <5> yo <8> can someone help me with a problem? <5> someone??... ehmm... therere are 455 pplz in here.. dont think so :P <9> with 1 million problems you could have, it's best to lay the problem out instead of asking all 455 peopel "HELP!" <7> Haron_: Ask, don't ask to ask, and don't ask if someone will answer if you ask. <8> if i have $_SESSION["basket"] = new array(), and then $basket = $_SESSION["basket"], how do i p*** the session object by reference instead of by value? <5> Viflux: you lost me there, haha <7> ;) <10> Ok, so I have a series of functions that leads to a pls file download; anyone know how I can save the output locally instead? <8> yeah, but i'd like to draw at least some attention on me first ;) <5> Josh43: fwrite <3> Josh: Just ouput the pls file on your server and there you go, <10> Ben225, The problem with that is that because it's plain text, there is no actual "file" generated; it's spit out to the client directly <8> anyone? :P <7> Haron_: I'd first like to know why :) <10> RvGaTe, Ahh, this looks like just what I'm looking for, thank you <8> why what? <8> Viflux <5> Josh43: np... <3> Ah josh. <7> Haron_: You can do $basket =& $_SESSION[ 'basket' ], but why do you want to do that? :) <11> when should I use strtr as opposed to using str_replace <12> whereami: default_socket_timeout is only relevant to the connect operation that PHP does <12> erm <8> because i'm a lazy bastard and don't like to type $_SESSION[] everywhere ;) <8> and thanks for the answer, already thought that :) nut wasn't sure <5> Haron_: then type something else instead, and do a replace in your editor :) <5> Haron_: like: "SOMETHING = blablabla;", then when you finished your document, replace SOMETHING with your real code ;) <3> So my question is.. if I wanted to a eat a semi-toasted bagel, toasted with only golden brown edges, would it still have the same effect as i chomped it down and tasted it with my tongue or would it leave a worse after taste? <8> gah, could do that, but i like it better this way ;) <7> Haron_: I would advise against it. It might seem clever now, but months from now you'll be stupified as to why your code isn't readable. <5> Ben225: you sure you dont wanna give it to someone else after you chomped it down? <13> Haron_: Yeesh, get a decent text editor with autocomplete. <3> RvGaTe: Well what be the point in giving someone else a pre-chomped bagel? <5> Ben225: becouse it might taste different? <8> Viflux, yeah, i know, but this solution with the session stuff is only temporary anyway, won't last a month, will do this with a login and a database instead soon when i know mySQL better <3> RvGate: Ah, you're so right, i'm going to try that. Thank you so much. <7> Fair enough. <5> Ben225: np, anything for php :P <3> onto my real question and dont say go to apache, there are no ops there and no answers <3> If I wanted to add a forcetype to my .htaccess file and make an mp3 file redirect to a php file when it is opened, how would I do that through my .htaccess file.. im ***uming it would be something like <files example.mp3> ForceType MP3/PHP Redirect example.php </files> . Is that right? <14> !tell Ben225 about g8 <5> Ben225 #apache <5> :P <15> this is ##php... <16> brilliant deduction <5> !google .htaccess <3> Tell apache ops to wake up <14> maybe i should stress part of that " Just because some other channel is 'dead' does NOT mean you can ask here." <15> ops are useless... mostly
<3> Nevermind Gerry is there now <3> He knows more than you and you and you combined <17> RvGaTe, date.timezone = "America/New_York" did not fix the timezone. what should i do? <14> outofjungle_m: did you restart apache? <5> outofjungle_m: lemme check my php.ini <14> nmatrix9: whats up <17> itrebal, yes <14> date.timezone = US/Eastern is what you mean, no? <17> itrebal, i got the info from http://php.net/manual/en/timezones.php <14> outofjungle_m: your in New York? <17> itrebal, yes, i need the US/Eastern, EDT <14> outofjungle_m: so US/Eastern will not work for you? <17> itrebal, i'm in detroit, but any eastern daylight timezone will work <18> itrebal: ah just finished packing my stuff <14> nmatrix9: where ya going? <18> itrebal: Iam not "going" Iam already gone so to speak <5> outofjungle_m: what does this give you? echo date_default_timezone_get(); <18> Iam up in Canada right now <14> nmatrix9: where are you 'gone' to? <14> ah <17> RvGaTe, let me check <19> Is it possible to store non-custom objects like an instance of XsltProcessor in the session? <14> Vlet: why not? should you? probably not hte best <19> it doesn't seem to persist <19> basically, I don't want to have to create a new xslt processor and load the xslt into it each time the page runs. I figured I could get some performance out of storing it in the sess <17> RvGaTe, i get an error. that function is not defined. i'm on PHP4 <19> well, the object seems to persist, but it seems that if I call importStyleSheet() on it, then add it to the session, when I (next time it's run) retrieve it from the session superglobal, it complains about having no stylesheet loaded. <19> so it seems like php is only storing the base object, and none of the objects stack usage <5> outofjungle_m: im affraid i cant help you any further, i need to leave... <17> RvGaTe, Thanks for your help. i'll find a way out :) <14> should POST data be urlencoded? <20> itrebal, what are you doing with it? <5> itrebal: never needed to... so i guess not <14> fires: cURL <20> yes then <5> gtg, bb all !! <14> :/ ok <19> oh duh: "Some types of data can not be serialized thus stored in sessions. It includes resource variables or objects with circular references (i.e. objects which p***es a reference to itself to another object)." <19> as always, it's a case of rtfm <21> is money_format() supposed to put on the $ and the , for me? <22> hello, how can i call the GET var with SESSION ? $_SESSION[GET] ? <21> blazerX3: $_GET <23> Is it possible to save some php in a mysql table and get the code to parse when you fetch it? <20> i suppose <20> but why? <13> mrzoom: Generally when people ask that, they're trying to do something in a bad way. <23> i just want to save some functions calls and then fetch them later.. <13> We have files for that. <24> That will only slow it down. <25> is there an php.ini setting to turn off or override the directive to include ini files from /etc/php.d as set by the --with-config-file-scan-dir configuration option? <26> please tell me the function to search in string, real quick <24> strpos <13> Or strstr. <26> Thanks <13> Read the manual pages carefully for proper usage. <26> What about substr ? <13> The manual page should make it evident what you use that for. <26> I forgot the function name for substring too :( <26> wait i guess its sub_str i guess <13> You... just said it ten seconds ago. <26> oops, cut one "i guess" <26> substring ? <26> oh, substr :) <25> is there a php.ini setting to turn off or override the directive to include ini files from /etc/php.d as set by the --with-config-file-scan-dir configuration option? .... anyone? <27> spazdaq: --with-config-file-scan-dir is not a standard PHP option. It was added by a vendor...RH, I think. <27> You'd have to ask them. <25> indeed it was RH/FC. this was always set in the php.ini i went to turn it off and couldnt find it. searched and found it is compiled in. im crying at the uselessness of it. <25> thanks anyways. <28> I am trying to get php mail() function to work on with an apache enviroment that has been chroot'd to /var/www but I am unable to sendmail and php is not generating any errors <25> look at the sendmail log <25> peace yall <23> mattmcc: hmm.. i can save it in a file but i will make it so i easy can change the order of the functions calls.. i was thinking to save ('page', 'id', 'position', 'And the function call') <28> there is no mail: syslog facility within the chroot <29> what is xml12 ?
Return to
#php or Go to some related
logs:
#perl invalid regular expression flag 0 #math #debian #php #perl #gentoo ubuntu + xorg headers #linux #math
|
|