| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> jonez: No, you don't need to do it. <1> Pollita: is there a way I can test the string prior to calling urldecode so I know for sure? <0> PHP automatically decodes data as it's coming in <2> Pollita: are you behaving? <3> ah, excellent <3> it worked <3> thankyou <0> jonez: You need to stop and understand why you're doing what you're doing. <1> which is why I'm here :) <0> piera: six slices of pizza, a wine cooler, and lots of sci-fi <0> I'm as content as a kitten <1> so I shouldn't need to use urldecode() at all, regardless of method? <2> I bet you are hehehe <0> jonez: It's VERY rare that you'll need to use urldecode() <1> ok <0> In 8 years of using PHP, I think I've used it twice.
<1> Pollita: thank you for the ***istance. <3> well, i'm out. thanks everyone <0> And I was doing something very much NOT related to handling form data <1> Pollita: know anything about pear? :) <1> though maybe I can wait on the pear stuff until tomorrow instead of bugging you about it. <0> It's a fleshy pomme <1> I asked in #pear here and on efnet and no response regarding a "fatal error" I'm getting when I try to execute something as simple as "pear help" <4> ah man, I have not done enough XML writing.. <0> What fatal error. <0> They usually come with descriptions <5> true that <5> hello Pollita :\ <4> can anyone confirm if this is valid XML: http://pastebin.com/526833 <5> hope your still not pissed at me <4> or, would echo valid xml <6> GregV|PHP: validate it <5> i'm a little unsure about <Cube> <5> <Cube time=\"" . $toR['date'] . " \"> <5> <Cube result=\"$money\" to=\"" . $toR['name'] . " . \" from=\"" . $fromR['name']" \"/> <5> </Cube> <5> </Cube> <5> actually... no <4> yeah, I really havn't done too much XML document stuff :/ <2> jiggster: pastebin perhaps? <6> you don't want nested elements that are the same name <5> nevermind i'm a loser <5> actually <5> lol <6> it's sloppy <2> well there ya go.. Pollita doesn't take no crap <4> okay, i'll get rid of the double named items <0> Mostly I'm pissed that my comics havn't updated <7> hrrm <4> hey AlexW <7> yep <4> almost done, i think <7> thanks for doing that <5> thanks for the splash of cold water, it felt good <2> im officially poor <5> i'm not poor, i just spend badly <5> i'd rather buy comp crap, junk food, or alcohol than go out and buy clothes, which i'm starting to need :p <5> next month i guess, should have enough, i quit smoking, so thats $80-$100 savings per month <8> hi <2> bleh smoking <8> piera <5> well hey at least i quit right <2> Taqqe <8> can you help me :) <9> I have a regex here that is somewhat too greedy: http://rafb.net/paste/results/zN6DxN50.html <9> What am i doing wrong there/ <2> with what? <8> how to give access to files in /root/ to PHP can write to them? <5> chmod a folder in root to a non-root value? <5> erm <5> chown* <8> looks root is owned them. <2> Taqqe: jiggster would be more then happy to help you since he's quit smoking he'll have the energy heheh <5> pff <10> guys, how do I add a string between a regular expression (how can I see if I number is (0 or 1) or (true or false)? <8> :) well. but need help urgent ;( <5> Taqqe: what kind of php scripts are in root? web based scripts or shell scripts?
<10> [01]|[true|false] didn't work <10> it searched for t, r, u, e, f, a, l, s,e <10> and I want to search for the full strings true or false. <5> "/0|1|true|false/" <11> [01]|true|false <10> oh, without the brackets.. <10> thank, you. <5> i havnt tinkered with regex in a long time, so ... yeah i tried <11> Yours would work too <8> jiggster: i will write to TXT files in /root. <10> yes. <8> no php scripts <5> Taqqe: oh i see <10> and to negate them? nor 0 nor 1 nor true nor false? <5> so the php scrpts are in /home under other users, or under some other apache web root <10> Would I have to use ^for false, too? <5> ? <11> ArthurMaciel: That's a little more difficult, you're using preg right? <8> yes. php script is in /var/www/html/panel/index.php <10> preg_match <8> this <11> /(?![01]|true|false)/ <11> Try that <10> ok. <10> ?! is in further cl***es on regex.info ;-) <5> Taqqe: best advice i have is touch the files... and chmod, or create a new folder inside root with different chown/chmod, or.. dont write to root <11> I'm not even sure how to describe it <11> Besides negative lookahead, which doesn't make much sense by itself <8> Warning: fopen(/root/a.txt): failed to open stream: Permission denied <8> i cant write to another file that is not in /var/www/html (webroot) <8> not in only /root.. <5> hm <5> well i'm outta ideas for you then :\ <8> chown apache:apache a.txt <8> chmod 777 a.txt <8> still permission denied <5> i dont muck around a lot outside of my "sandbox" <11> Taqqe: Why are you trying to write to /root? <8> i'm the root. and my machine controls me :) not i control it <11> That should be chowned root:wheel and chmodded 0700 <11> Nobody should be able to access it besides root. <8> nforbes: because i have to write files in there. files in there cant move somewhere <12> Well, it only belongs to "wheel" on very odd systems. :) <4> okay <11> oops. <4> AlexW: I think I got it <11> yeah, root:root <11> My bad. <12> :) <7> GregV|PHP: link? <11> Not that it would particularly matter with 0700 <4> http://currency.gregvernon.com/api/*key*/*to*/*from*/update <4> key = <?php <4> $cnx = mysql_connect("localhost", "lynx", "LTNetadmin"); <4> mysql_select_db("lynx_exchangerates", $cnx); <4> $norm_key = "d84a11e76ddeca7e73ddd895912aa9ea"; <12> No, I'm just a pedant <4> $to = $_REQUEST['to']; <4> $from = $_REQUEST['from']; <4> <4> if(isset($_REQUEST['api']) && ($_REQUEST['key'] == $norm_key)) <7> :P <4> mad sorry guys <7> whats the key? <2> TML: good job! <4> and I totally comprimised the server :( <12> piera: Hmm? <4> d84a11e76ddeca7e73ddd895912aa9ea <4> thats the key <7> kk <11> GregV|PHP: Yah, better go change that p***word huh? <4> good thing I have 2 servers for mysql & php :)
Return to
#php or Go to some related
logs:
nexenta default route oygkm undefined symbol glTexSubImage3D #php #perl #python #perl Could not determine kernel version #perl mysql Replication getting Duplicate entry
|
|