| |
| |
| |
|
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> is if (preg_match('#' . $match . '#i', trim($accept_lang_ary[$i]))) correct? <1> jiggster why's that? <2> cause then i get stuck into conversations with you :P <1> jiggster and that's bad why? <2> cause i can't compete with you? <2> lol <1> jiggster compete? <2> i'm just bitchin <2> yeah, i have nothing really constructive to add half the time <1> jiggster Just dont quit your day job to become a laywer =) <1> jiggster then blow **** up, that's always fun and entertaining <2> yes nobody has to worry about that <2> bleh <2> i dont have any explosive devices <0> hello?
<1> jiggster wanna bet? <2> i'm not willing to make any at 1 AM :P <1> jiggster almost anythign can be made to blow up <2> i say! you're right! <2> muhaha :p <2> lol <2> on second thought.. :P <1> jiggster have you ever seen a tesla coil being demoed? <2> no sir <3> Wei! I made a scraper without using regex =D <3> wihoo! <1> jiggster Oh man... neat thing to watch... 6' arc's coming from a persons fingertips <2> whoa :\ <1> jiggster yeah, he was standing on the tesla coil demostrating it <3> What is the special character for tabs in PHP? like \n is for new line... is it simply \tab ? =) <3> because that don't seem to work =/ <4> \t <1> jiggster http://mysite.verizon.net/res07cmo/images/Ruth-Cage-of-Death.jpg <3> GarethAdams: Thanks! =) <2> ha that looks like fun :\ <1> http://www.ucsc.edu/currents/00-01/art/tesla.00-10-30.200.jpg <1> Gotta love it... from the freaks down in Santa Cruz --> http://www.ucsc.edu/currents/00-01/10-30/tesla.html <0> why does it say preg_match() is undefined? <2> cool Jymmm <0> i compiled php4 with pcre <0> and regex <1> jiggster: Years ago, I got to see a NICE demo at a BoyScott Jamboree in LA. The Tesla coila was 3ft in diameter and in height. They stood on the coil barefoot and used the huge I beams of the stadium to direct/conduct the high voltage from their fingertips <2> cool <5> hello pl <0> why cant i get preg_match() to work !? <0> it keeps saying undefined? <5> i have that code to send m***mails http://pastebin.com/556844 , i try add headers to workt with html, all tags work fine, but, on img tags, that cheat send a correct tag, but add chars to img link, and the img no load :S <5> anyone can ehlp me plz? <3> Is this a good way to solve the scraping you think? If you have any suggestions on how I can optimise it, please do! Code is: http://pastebin.com/557308 (about 15 lines of code) <6> is there a way to remove all non alpha characters from a string <6> i am making a spellchecker using pspell/aspell but i want to remove all like ! < > #@8#$*$#@)#$ etc etc from strings <6> and just be left with an array of 'words' <0> preg_match() keeps saying its not defined, what do i need to define it? <6> anyone? <3> dimitri: regular expressions <7> hello <8> Hmm... How would I check whether an entire string is in uppercase? :/ <8> I hate figuring out ways to filter crap input data. :@ <9> Wow this is sweet, http://mrl.nyu.edu/~jhan/ftirtouch/ <1> KimmoA: if($string == strtoupper($string)){} <1> === <8> "Returns string with all alphabetic characters converted to uppercase." <8> Hmm... <1> KimmoA But if you had RTFM you would have known that. <8> I must admit that I still don't know what the heck === really means. <8> Jymmm: I know about strtoupper, if that's what you mean. <1> KimmoA just go rtfm already <1> he's been here how long and still doesn't at least know what === does. *sigh* <10> Jymmm: some people are just a tad slow.. ;) <11> Hi, I just finished installing php 4.1.2 (with mysql support) and I keep getting an irritating error: "Warning failed opening 'foo.php' for inclusion (include_path='.:/usr/local/web/php') in Unknown on line 0." <1> fangel any slower and we would be in reverse. <12> hello everyone =) <13> can anyone help me write a regular expresion to match any "<?" but NOT "<?php" ? I've done a regex that works, but it selects the whole line also.. ;( it is " (\<\?)[^pP] " <4> I think Jymmm must have installed an RTFM button on his keyboard
<14> erm, why is this line giving me a parse error? return implode(',' $rejects); <10> eschen: your trying to include a file that doesn't exist... don't matter what version af php your using, the file still won't be there.. ;) <1> GarethAdams you got a problem with that?! <2> gnight everyone <11> Anybody have any ideas? The path is correct to where php is installed and permissions are ok. <1> laters jiggster <10> MarkJaquith: implode(',', $rejects); - your a , short.. ;) <14> fangel: FRICK! <14> man, time to call it a night ;-) <14> I __always__ do that... the comma messes with my brain. <11> fangel: Hmmm, the file simply has <?php phpinfo(); ?> in it though, I don't include anything that's the annoying thing. <10> eschen: check if you have something like auto_prepend on in your php conf.. <11> The php.ini or apache's httpd.conf? <10> eschen: it's prolly in php.ini, although you _can_ set it in apaches conf, or maybe a .htaccess <6> $work = str_replace("!", "", $work); <15> Hey guys, just wondering if anyone can point me in the right direction for using PHP to login to a website which doesnt use HTTPAUTH? <11> fangel: Thanks, I'll give that a shot :) <6> Parse error: parse error, unexpected T_VARIABLE when i do $work = str_replace("!", "", $work); <6> why? <0> what is the best way to get pcre? <16> "to get"? <6> Parse error: parse error, unexpected T_VARIABLE when i do $work = str_replace("!", "", $work); <6> any ideas guys? <7> hello <7> any side found for auto complete javascript and php <17> dimitri: check lines before that one for ; and other syntax that might be wrong <11> No joy on auto_prepend, it's totally empty. Any other ideas to try? <10> dimitri: check the line above and see if you are missing a ; at the end.. <10> eschen: okay.. <10> eschen: well, your error-msg. is that it tries to include the file foo.php, and that that file doesn't exist... you might wanna search thru your conf. files and php files for places that might include "foo.php" <15> Ummm, looking for some pointers/docs on using php to login to a website and retrieve specific data, anyone able to help? <11> fangel: 'foo.php' was just an example of a filename, it does this with all .php files. Plain old html is fine however. <10> Bhaal: http auth of form based auth you wanna login at? <15> fangel: form based <10> Bhaal: you want to fetch the html-page with the form, catch the sessid cookie, post the data, then request other pages sending the sessid with you.. <10> eschen: soo if you create a page "foo.php" with the content "<?php phpinfo(); ?>" you get the error in question? <11> Yeah, that's exactly what happens. <15> fangel: Ahhhh thanks, any hints on how I catch the cookie(s) ? <0> I have pcre on my system, but i still get the preg_match() is undefined <0> do i have to configure something? <10> Bhaal: fetch the html via sockets or via some http php functions (like Snoopy).. even using Curl might do it.. <15> fangel: Okey, thanks, that will hopefully have me heading in the right direction, thankyou <18> i feel stupid asking this but <10> Bhaal: np <18> how do you convert from a string to a int? <19> Cast it, or intval. <19> (int)$var, or intval($var) <18> mattmcc: then back to string <18> (string)? <18> or.. <19> Yep. <19> Or strval() <18> mattmcc: thanks ! <10> mattmcc: ohhhh, why do you have to be sow fast... I was just about to say that.. ;) <0> do u have to configure anything for php to use pcre? <20> hi <16> OptikKore: http://www.php.net/manual/en/ref.pcre.php <20> Do you actually help a beginners here? :) <0> yeah i know, and by default my php should be able to use, that but it keeps telling me preg_match() is undefined <16> what version of php are you using? <0> 4.4.0-r4 <18> any idea on how I could default a input text field to 1, but then when the user changes the number from 1 to any other int, it catches it? <18> javascript? <20> I am accessing mysite throug cpanel, where there is an icon "mysql db" and through it I get to phpMyAdmin, I made export and so I backup everything .. now I need to RESTORE .. to Import .. How? <11> fangel: I'm such a bloody nugget, I simply hadn't given the file the correct permissions and a quick chmod 0777 to test sorted it right out. Damn I feel *very* stupid now, in my defence I have been up trying to get apache/mysql/php integrated from source compiles for about 12 hours now. <11> Thank you for your help though! :) <10> eschen: 777 might be just a taaad to agressive! just o+r so apache can read the file.. ;) <0> Jakarta: any idea? <11> fangel: I was sure I had set permissions up in samba but I had left it at the default of 0700 and so group and others had nothing, hence every file I made wouldn't work. Yeah, the 0777 was just a test, I'm still getting the hang of all the permissions that need to be wangled in Linux - that's many years of Windows abuse for you I suppose. <21> hey guys. i'm writing a function where i want one of the parameters to be a combination of bitflags (like for example the last parameter in preg_match_all), that the user would combine with bitwise OR. <16> OptikKore: --with-pcre-regex=dir_with_pcre's_library_files
Return to
#php or Go to some related
logs:
perl check useragent configure: error: you need to install kdelibs first gentoo qemu -usb -tablet -usbdevice Q OSX #linux apache --with-gd GD build test failed #linux hdparm -T dothan #linux #fedora postfix/local fatal: gethostbyname: Success
|
|