@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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 28 29 30 31



Comments:

<0> Stormchaser, ok, I must be doing something wrong then, because I use fc4 on all my boxes, and I have no trouble with $_POST/etc existing and being useful. maybe I am misunderstanding the problem.
<1> TML: what do you think ?
<2> The most I've ever seen was for my SQL driver, and that only had like 8 :P
<3> Crescendo, you cant break that up into parent and child functions in any way? if someone has to debug that they are going to put a nail through their eye socket
<4> jonez: Ah, no... I believe that was in FC1 / RH9 thingy... I'm sure they realized that that ways is wrongdoing :)
<0> fc1 is *very* old, and not even supported anymore.
<5> I'm thinking about scrapping CL, and going with PHP for standalone application programming?
<5> bad idea?
<1> common lisp?
<5> yeah
<1> use the correct tool for the job.
<4> !+hammer
<6> When all you have is a hammer, everything looks like a nail... so get more tools in your toolbox already.
<5> absentia: i understand that...
<5> and its really about preference right?
<7> colder: it seems all right to me but still have that error $str = "test \$c0014 test"; echo preg_replace("\$c..14", "hi", $str);



<4> jonez: That's not my point. My point is, that RH *had* problems with that...
<8> _Brandon_, read the here : php.net/PCRE
<5> but a resource on google told me that getting standalone apps with php are pretty painful
<9> someone here has to be better than me at mod_rewrite, how do I make /x.php turn into index.php?page=x.php
<8> s/the//the doc/
<4> Bison: If you want to gauge your eyes out and claw your hands off, then go ahead..
<4> zid: #apache
<9> heh
<5> Stormchaser: so basically its probably not worth it
<4> Bison: no... I'd go with Python or C++ or maybe Delphi.
<10> does anybody know for good tutorial for writing a highlight parser?
<5> What would you say is most like php, as i love php :)
<11> johnm1019: Break it up? I can do so, what do you need?
<4> Bison: Then go with C++
<5> Actually not a big fan of C++
<4> then go with ***embler
<5> actually just got a book on ***embler!! :)
<4> um...
<12> does php 3 support the short if settences ? (ie: $i > 10 ? $rofl = true : $rofl = false; ?
<4> z1n: Um... Try it?
<3> Crescendo, The problem is that when one function has that many arguments, if something inside is broken its hard to make sure your p***ing valid data to the function. Maybe perform some of the logic to retrieve certain variables inside the function, and then only p*** nescessary ones through the main call
<12> i cant test it :P
<12> on the php5 machine
<5> alright, thanks for the advice guys...
<4> z1n: Then why do you ask?/
<12> the live version is on php3 server
<1> ooooh
<3> zln, and someone cant upgrade that because.........?
<4> johnm1019: Um... Lazinest?
<12> johnm1019 not my decision to upgrade it or not
<12> :(
<12> its work for a customers customer oO
<3> zln, im sorry to hear that - IMO if someone has to WORK with a box, they should have input to its config --
<8> this must the the decision of a stupid dumb***, though.
<3> Stormchaser, agreed
<12> johnm1019 idd but i just got handed over a cd and a project plan
<11> johnm1019: Right, that's why I'm so lost with this one. I've gone over each parent twice now.
<3> zln, i hear ya bud, just thinking out loud
<12> :P
<3> Crescendo, well there ya go, i'd just start picking **** apart --- figure out where each argument comes from, see if you can isolate the logic and relocate it somewhere else
<11> Maybe sleep first. X_X
<3> Crescendo, hah that helps too --- SOMETIMES
<11> =D
<3> Crescendo, if im hot on the trail of a l337 function i cant just cut it off
<13> is there any way i can execute an external command if a script ever reaches the max_execution_time and times out?
<3> sleek, php.ini?
<11> Yeah, I've been that way for several hours now.
<11> Sleep time.
<13> johnm1019: i figure as much, but any idea which option?
<12> damn i hate phpedit
<12> give back zend !
<14> Crescendo: Use an ***ociative array instead of a list of parameters.
<15> anyone know of any HTML generation libraries? functions that allow you to p*** data structures and it will generate the HTML for you... example: generateSelect($name, $arrayofoptions)
<15> or something like that?
<16> z1n: stick with vi(m) ... only way to fly
<8> dbruns, look into PEAR::HTML_QuickForm
<12> JAJMaster, nah textmate has found my love but havent installed php on my mac yet .. vim is good but to anoying sometimes ...
<15> colder thanks.. anything else like that but not for forms? <ul>s and stuff too?
<15> I'm considering buying a mac just for textmate....
<15> I just don't have much $$ to spend



<15> thinking of just grabbing a mac mini
<8> dbruns, look in the pear HTML category
<17> is magic quotes enabled by default on php 4.3+?
<15> colder lol thanks.. I have no idea why i didn't bother looking at pear.php.net yet... i mean i use Pear Auth, Pear DB, Pear Log lol
<18> EvilGuru: I belive so, but you can always check phpinfo()
<17> it is a pain in the arse if you ask me
<18> evilguru: or if you are going for a distributable application, you can always check get_cfg_var("gpc_magic_quotes") (or a similar variable name)
<19> Or use: set_magic_quotes_runtime(0);
<19> For GPC, it's not too hard to reverse the process. There's examples on the docts.
<8> ljbuesch, there is the get_magic_quotes_gpc() function
<19> Last but not least, you might be able to turn it off using a .htaccess file anyway :)
<17> I will look into it
<17> sadly my app will have to run on a windows iis server
<19> EvilGuru: Here's an example of reverseing what magic quotes does: http://uk.php.net/manual/en/function.get-magic-quotes-gpc.php#62171
<11> PHP ON IIS WUT!?
<20> hmm
<20> how do you control from which user php opens files as?
<20> its creating files as 'nobody' which is causing some problems
<20> it cant seem to read them after creating
<19> m-00kie: I believe that's more down to the webserver.
<21> plz tell me where can i find any php IRC client
<21> without java
<21> is there any?
<19> ali-shah: Amazingly unlikely.
<2> I doubt it...
<20> you cant do irc from php via a webpage
<22> is there a way to stop the further execution of a cl***? like break; does to a iterator, or exit does to the execution of a page?
<20> ive found php source to do irc via commandline (php) though
<2> all browser-based IRC clients I've came across are Java-based.
<20> yeah because of http timeouts
<17> cgi::irc is quite good
<19> lith: Can't you just use return from the call?
<17> but it is not php :/
<21> where m-00ke
<20> google
<21> commandline PHP client
<23> well, you can....it's just not every useful
<22> Zule: It would have to return through a few different functions
<22> Zule: I would ***ume there would be an easy way to stop a cl*** from continueing to run.
<19> lith: Not to my knowledge.. unless you can just unset($this);
<20> Zule - actually I found the solution while talking..
<20> just chmod a+x the folder and it works :/
<22> ah interesting.
<17> does magic quotes affect $_COOKIE?
<22> evil: yes
<20> for some reason its letting php CREATE the files and write them, but doesnt let it re-open them once created
<19> EvilGuru: Check the manual about it.
<19> EvilGuru: Like here -> http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
<19> Which has examples on how to reverse the process.
<22> DAMNIT my ear is clogged from ear wax and its throwing off my whole mojo today :/
<17> only problem is that the code is kinda ugly and I am not sure where to put it
<19> Top of each script or in a single script included by all others.
<19> Or any script that accepts userinput, at least.
<19> I don't know of any other way to deal with configurations that have magic_quotes_gpc on.
<19> Especially if you're going to use _GET, _POST_, etc.
<17> it is a very annoying feature, but I would call it a bug
<19> They're getting rid of it in php6 I believe.
<17> yes!
<23> yup, they are
<17> but since 99% of hosts still use PHP 4 it will be years
<19> But yes, I agree it is both annoying and counter productive to what I thought the idea of php was.
<24> i'm right here
<17> until they get to PHP 6
<25> Why are they getting rid of $_GET and $_POST?
<19> will[werk]: magic_quotes.
<25> ooooh :)
<19> Not the input variables.
<25> Whew!
<17> I am unable to make use of some of the nice features in PHP5 as most hosts run PHP4
<26> if (isset($_GET['art']) && isset($_GET['type'])){ <== I'm screwed o.o;


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

xchat 2.6 cloak
#python
disable xora devices
ubuntu gtk+ package install
#mysql
#awk
repo libdirectfb-0.9
how to play steam on ubuntu
mushrooomprince
gentoo ati-driver xorg 7.2 overlay



Home  |  disclaimer  |  contact  |  submit quotes