| |
| |
| |
|
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
Comments:
<0> a <1> =DD <0> few <0> more <0> things. <1> you're getting banned by an op next time =P <1> /************************************************************* <0> yes, because of multiple lines, when i'm actually helping people <1> dropped my keybord <0> you need to wake the **** up. <0> and realize that everyone's taste is a little different <0> you elitist goddamned ***hole. <1> huh? <1> you don't really make sense man <0> 09:45 Ignoring ALL from drakas*!*@* <0> i have to say, after that statement was issued several minutes ago
<1> lol <0> the channel quality and goals has increase substantially <2> ^_^ <2> it works!!!!!!!!!!!!!!!!!!!1 <2> http://lanceslife.com/content/graffiti/engine.php <0> awesome <2> you know you guys want to test it. <2> been working on it since dinner yesterday <0> haha <0> that's pretty cool. <2> now that i got all the fotns down toa list in a text file <2> illa dd abotu 200 ttf fotns <2> so no one ever ses the sam e font twice <2> and if they do tehy wont notice <2> man i can not type today <3> Perl was not found at '/usr/bin/perl' when I try to execute perl from php, what setting can prevent this? <2> http://lanceslife.com/source.php?file=/content/graffiti/engine.php <2> if anyone has any ideas of source improvements <2> i am new to php <2> this is my first full script <1> wtf is going on there... <1> had to disable javascript <1> why calling me a faggot, eh/?!? <1> Ries: you can't <2> that was SO not me. <1> Ries: there is no /usr/bin/perl <1> Ries: try to do in your server "which perl" and it should show the path.. <2> lol my goal for tommrow is to add an emial and name and message function that will pop up on mouseovr <2> and ill have an emial validator <3> sellout_: 1) USe single quotes instead of double quotes on whatever that doesn't need to be parsed 2) Create functions 3) Comment your code <2> he he <1> sellout_: nice script <3> Drakas: let me see.... <4> hey <2> i just finshed, i have a lot of cleaning to do. i was just wondering if you see any better ideas to accompolish what i am. <3> Drakas: it returns me /usr/bin/perl <1> sellout_: and yes, you should do what Ries said, OOP (Object Oriented Programming). It's far more powerful than functions on their own if anything. <2> :-) <4> i'm having a bad thinking day today, so i need somebody to help me with my (very simple) problem <1> strange Ries <1> Ries: what does your perl script have in the fist line? <3> good question.... Just a sec, looking it up <2> hmm. Well ill have plenty of fune fine tuning this, thanks Drakas , Ries <1> if you do #!/usr/bin/perl in the first line of your perl script, and then execute "/bin/sh" with parameter "/your/path/to/perl/script.pl" <4> say i have a script running off my webserver with the HTTP path as /blah/install/install.php <3> Drakas: it's some code I am using in a CMS.... <1> sellout_: nice graffiti thing :) <4> how would i cut out the /install/install.php part? <1> Ries: add a execution line, and then you should be able to use the perl script as a binary through /bin/sh <1> AlexExtreme: ? <2> thanks to yalls hammering it i can see ill need soem more restrictions <2> ill need to prevent blank posts whatch make whitespace <2> and limit the number of chars for the submit box <4> if i have a path /blah/install/install.php, i want something that just returns the /blah part <4> and it needs to work where blah is anything <3> Drakas: I am going to check code now.... <4> like /foo/install/install.php, /bar/install/install.php, etc <4> i just want to return everything before /install/install.php in the path <5> is it possible to replace letters, with preg_replace, by nothing <6> superpimp: yes, just use an empty string for the replacement <5> something like: $file_correct=preg_replace(" ","",$file);
<4> yeah, i've just realised that :P <4> let me try it <2> hey will doinga random array ona text file with about 200 font names in it kill my cpu? <5> GarethAdams: then I get this error: Warning: preg_replace() [function.preg-replace]: Empty regular expression in C:\wamp\www\bruteforcer\index.php on line 7 <2> i dont know houw resource intensive it is. <2> especially if i get hundreds of people hammering the script randomly <6> superpimp: the first argument has to be a regular expression <5> so i can't replace spaces with nothing? <1> sellout_: is your website on your computer? <6> you can <5> by a variable in preg_replace? <6> preg_replace('/ /', '', $file); <2> no it is on a 64 bit dedicated gentoo box i compiled in minnisota on mutiple fibers <2> lol <2> however i dont want to spike it every time somone hits that script <1> anyway, it's getting bashed right now <1> you got some holes <5> ok <5> thanks :) <1> and i am having revenge :evil: <2> i mean if it snot resoruce intesive, ill symlink my entore collection of 10,000 fonts <2> lol <2> let it randomly grab from THAT <1> oh the guy is ignoring me :] <1> yeah Baby <1> going smooth now <1> :] <1> now, if i multiply the shells.. <2> Darkas someone must really like you on my script... <2> Drakas, * <7> is there somebody who know how to use conditions (if / else) in template using template.inc from PHPLib ? <1> huh? <1> !tell jessy_ about +g <1> !tell jessy_ about g10 <7> well ... <1> Connecting to lanceslife.com|12.47.45.189|:80... connected. <1> HTTP request sent, awaiting response... No data received <1> your site is down now :/ <1> back now : <1> :] <8> how can I tell if a var is a valid file handle? <5> got another question <6> absentia: is_writable and is_readable will let you know if you can do what you want with a file <1> absentia: http://uk2.php.net/manual/en/function.feof.php#60632 <5> is it possible to check what error it returns using fsockopen or fopen ? <5> like 401,404, etc <8> eof? <1> superpimp: yes, jsut parse it <5> how? <1> absentia: no, look in the comment =P <9> hi all <1> superpimp: the same way you receive your data. li,e, explode() etc.. <9> anyone read 'PHP 5 Objects, Patterns, and Practice'? <1> i don't read books, i use manuals :) <5> ok <8> perfect <8> thank you <8> get_resource_type is the thing I was looking for <1> great :) <1> i needed it too <2> anyone knwo how to unzip all files in a directory? <1> sellout_: shel_exec("unzip dir/p"); or something like that <1> sellout_: shel_exec("unzip dir/*.zip"); or something like that <2> <is actually at a real nix shell <2> and it doe snot like * <2> :-/ <1> you need "unzip" then =P <1> and it should work <1> sellout_: have you checked out http://pear.php.net/ ? <10> where can i paste some code... i need some advices regarding php/mysql performance (big database query and reporting) <1> BigSinep: http://pastebin.ca/ http://rafb.net/paste/ <10> http://rafb.net/paste/results/T8T42L67.html <1> why aren't there any comments? ;/ <10> well
Return to
#php or Go to some related
logs:
distcc failed to exec i686-pc-linux-gnu-g++ instaling apache2 on ubuntu #gentoo bash: ./smaug: Permission denied KUBUNTU compile 2.6.15.4 #fedora qemu time sync problem too slow linux restart the process if it dies #math debian owner iptables: No chain/target/match by that name
|
|