| |
| |
| |
|
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> good thing I have 2 servers for mysql & php :) <1> :x <2> ther is another thing which interesting :) I have another machine. These 2 machines are same, apache-php OS versions etc.. I use this script at there. and Works very well when write to /root/..txt <3> TML: by removing ever excessive copy pasters heheh <0> u guys don't know what it is, but, yes, i'm gunna change it <4> piera: Oh...thanks :) <5> thank you, nforbes. <3> =oP <1> ArthurMaciel: No problem <2> i'm trying where are different things. <2> find them <5> guys, in php when I want to break a line in the code do I have to use \ or that is C++? <6> how often does the exchange rate change? <2> ArthurMaciel: \n <1> ArthurMaciel: You don't have to use anything <7> often enough for you not to hard code it AlexW :)
<1> ArthurMaciel: I want to say \ is Visual Basic <1> You can do like... <6> GregV how do i get that into php now? <1> $code = 'hello' . $there . <1> '...!'; <1> And it'll parse fine <6> :P <7> anyone working on any interesting apps/ <4> ArthurMaciel: PHP will ignore linebreaks. <5> nforbes, thank you again. <0> haha, p***word changed :) <5> thank you, TML and Taqqe. <0> AlexW: it produces a XML document <6> greg do i use a file? <1> ArthurMaciel: :D <0> read the XML using a parser <6> Warning: mysql_connect(): Access denied for user: 'lynx@localhost' (Using p***word: YES) in /home/lynx/public_html/currency/request.php on line 3 :P <0> the conversion data is in the "cube" item <0> oh yeah, I changed my p***word <0> this is gunna get annoying <6> so can i get the source to that file? <0> changing ALL my p***words over <6> to /home/lynx/public_html/currency/request.php ... <5> is count the appropriatte function to count an array number of elements? <7> yes <7> alias is sizeof <4> GregV|PHP: This is why most people put the database connection in one file, outside the webroot, and include it <0> TML: I have many things running on that SQL database <1> I have a different p***word for everything <1> It's just easier that way <1> Well, easier for me. Since I'm prone to doing stupid things like pasting my p***word ;p <7> nforbes, if you have a lot of pwds, may wanna grab something called p***wordsafe <1> No <1> I have sticky notes. <7> ah much better ;) <0> AlexW: I was trying to make an API <7> I dont need those though, I just use the same p***word for everything <7> 'a' <0> the request.php file is basically the same thing as before, just changed for an API usage <1> >nickserv< ghost Plasma a <1> -NickServ- P***word Incorrect <1> :-( <7> hehe <8> whoops, lagged. Did someone look at my regex? <2> nforbes you have MSN? <1> Yes <2> give in prv? <1> Nah, the channel can have it <1> nforbes@cynigram.com <2> :) <7> anyone ever used php as a daemon to launch processors (and return immediately, not block) ? <1> :P <2> this is not nforbes 's messenger men. ok <7> Ive made one that does this, but some *really weird stuff* happens <2> :D <1> Jeeeez, your display name is like ... damn <7> if it launches a program that uses sockets (this is on linux) - and then I close the php software, and then its software it launched, the port it launched is still blocked, really weird <5> does $b_{$optionals[$i]} works great when $i==1 and $optionals[1] == "ac"? is the result $b_ac? <6> GregV|PHP, so your script is basically just doing the html and xml work <0> basically
<0> XML mostly :P <7> $b_$$optionals[$i] possibly <7> I dunno youd have to try it :) <0> u should use a back-end script to get it, just a XML reader <7> either way ArthurMaciel, sounds inefficient <7> would be a better way to go about doing it <5> what? <5> oh, I'd have to try it to see. <5> I know $$ works great, but I don't know afet a $b_ <5> let's see. Thank you. <5> and what about vars created inside for loops? do they continue alives after the for? <9> PHP does not have block variable scope, so yes <8> i have a regex here that is somewhat too greedy, or borked in some other way: http://rafb.net/paste/results/zN6DxN50.html So, what's wrong? <9> we sortof, have to know what you're trying to do to know what's wrong <0> hey Cody` <10> haha lo <10> Anyone have any ideas how I can do this? <10> I have a bb code parser <10> and I've integrated GeSHi <10> into it <10> I need to nl2br the code p***ed to it so it displays correctly on my forums I'm developing <10> but when I do that, the geshi code gets double spaced and I can't html entities it <11> is registering via $_GET a bad idea? <12> registering for.... <11> ?p***word=blah&email=... <10> Anyone know of a quick way I can yank it from the text <12> yes <10> insert a symbol there <10> to the formatting <10> then replace the code symbol? <10> I just can't figure out how to get the code from the message <10> not too great with regular expressions <10> tek: Very bad <10> if you do it via $_GET, at least sha1/md5 it <5> thanks. <0> tek: or do a combo md5/base64 :P <11> well my problem is mod_rewrite now, how do I post to a URL if i'm using mod_rewrite? <0> the same way you normally would <11> say I want to post the register/login details to site.com/login or /register <11> will that go to the index.php underneath that URL? <11> aka site.com/login = index.php?option=login <10> yea <11> it will? <10> did it last night :) <10> yeah <11> k, thanks <11> when I go to //localhost/phpmyadmin it pops up a download dialog box? (windows) <11> what in the wrodl? <11> Fixed it, nevermind <11> omg <11> I got it <11> thanks dude <10> np <5> guys, how do I make an regex with an unpredictable string inside it? like <?php if (anynameIdon'tknow']) ?> I want to remove all this php code from within the html. <6> whered greg go? <13> try strip_tags <5> <\?php[a-zA-z]\?> ?? <5> <\?php[a-zA-z\s_]\?> <13> what exactly are you trying to remove? <5> a specifically php code within html (there are many of these specific code but with different var names inside each repetition). <5> <?php if (empty($varnamethatchanges)) function_to_call()?> <5> the function name is the same... what changes is the $varname <13> is it used as a prefix or something... eg blah_common, xyz_common etc etc.. <13> if it's not known you're better off stripping everything then allow only certain parts <13> (or allow certain parts then strip everything else) <5> thank you. <13> safer that way i think. <13> anyone know much about pcntl functions? <5> [a-zA-z0-9] in regex does not count empty strings nor new lines nor spaces, right? <13> no, that doesn't count whitespace, strings or tabs. not sure if this will work with ereg_ functions but \s works for preg_ functions <14> oh hi <15> hey <14> how goes it
Return to
#php or Go to some related
logs:
#perl error processing totem-xine phpagi example select count(*) takes long time in oracle repository for xgl fro kubuntu
resolution ubuntu zd8000 Pygoscelis ubuntu
#css domdocument php5 characters entities savehtml #gentoo
|
|