| |
| |
| |
|
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 32 33 34 35
Comments:
<0> the references are never changed <0> in copying <1> $a = 1; $b =& $a; $b = 0; echo $a; <2> vestige: because the linkage between instances gets broken <1> test this <2> vestige: $foo = Bar(); <- there are two distinct objects in that expression, the instances created by Bar(), and the copy made by "$foo =" <0> AcidReign, define linkage between the instances twith ithe copy is the exact same only at a different memory location and even then all refernences it stores are copied <3> hello <2> vestige: references in $foo, may refer to the original copy <0> AcidReign, then php would change those when copying <2> vestige: just accept that it is the way it is <4> bit confussed here.... I have got a page with an include in it, as part of the page (if a form field is set) its adds a number to a database field number which is shown on the main page. But the main page still only shows the old number (until refreshed) anyway to update the number??? <5> how do i pull down a url into a variable? <2> vestige: things break if you dont do it (in PHP3/4) <2> PHP5 does the "all objects are references" trick, like python/java/etc <0> AcidReign, show me where it says this in any article or in the manual because i have never heard of "broken" references from copying
<2> vestige: google, there are thousands <0> AcidReign, find me one that proves your point <0> its hard to go looking for something to prove yourself wrong someone needs to show you <3> when i try to install php into apache apache says it can't load c:/php/php5apache2.dll because it can't find the module <6> how long do sessions last? <5> Ortzinator, until the user closes their browser <7> check your session.cookie_lifetime <8> anyone know a php command that can translate html code so it will display as regular text in an html page? <9> [sellout]: htmlspecialchars() et. al. <4> bit confussed here.... I have got a page with an include in it, as part of the page (if a form field is set) its adds a number to a database field number which is shown on the main page. But the main page still only shows the old number (until refreshed) anyway to update the number??? <10> Stormchaser: you did not want to say my nick today :) <6> well obviously you would need to reload the script to see the new number <11> Andy298: Make sure ALL you database stuff, UPDATE, SELECT, etc are *before* your form, and UPDATE before SELECT. <4> i can't as the select is on the index.php which includes the page that does the update!! <11> [sellout]: http://php.net/htmlentities <5> Is it possible to take the entire string[html] contents of an outside url, and put it into a variable inside a php script running on another server? <12> Andy298 then rewrtie it. <11> Andy298: Well, then, you can't... You'll have to re-organize your code to do what you want... <?php include("update_query"); $query = "SELECT ..."; would be fine. <4> i can't rewrite it 95% of the system complete! :| <11> johnm1019: If you put code like $data = file_get_contents('http://example.com") on the other server, yes. <4> can't i like update the PHP / DIV with javascript <5> richardlynch, ahhh file_get_contents would've never guess'd that as a method name <5> ok thanks <12> Andy298 try #web for html js <11> Andy298: I cannot fix your code... It's doing things in an illogical order. What do you want from us? <3> when i try to install php into apache apache says it can't load c:/php/php5apache2.dll because it can't find the module <13> i'm painting html with php, and want to run a php function once the page is loaded, any ideas? <11> johnm1019: PHP treats all file* functions and URLs as files inter-changably, mostly. <11> aec27: AJAX? The PHP script you ran to generate the page is long gone. <13> ahh ok, wanted to delete the tempimages as soon as they were painted,ok impossible is a time saving answer!! <5> richardlynch, oh thats nice, i never knew that -- thanks for the heads up :) <7> so is there any way to specify per-virtualhost php options (open_basedir, upload_tmp_dir, etc) when php is cgi? <11> aec27: You do not need to wait for an image to "paint" to delete it on the server... Once you sent it out to the browser, you can nuke it. <12> You can't fix stupid. <11> shadfc: use a different Handler in httpd.conf for each Virtualhost, and a different shell script for each user to invoke the PHP CGI? <14> They are eventually going to change the name of Ajax into just Jax. <15> anyone able to tell me why i have to click al ink that takes me to this script twice before it allows me to home.php...check it out at alcoholshopper.com <16> you can fix stupid <15> http://pastebin.com/712184 <17> winmutt: show, how. <16> alcoholshopper? <16> you deliver alcohol? <13> ok, i tried echo "<img...>"; exec ('rm....') but it deleted too quick, so ended up with a broken img, have you got a way fwd ? <12> winmutt You are the poster child for unable to fix stupid <15> nope <15> lol <16> Jymmm: takes one to know one <18> If I want to set a variable to true/false depending on eg. (x > y), is there anything even shorter/better then the ternary operator? <12> winmutt They have viagra now, and you done ****ed up and in top of the frig! <16> alexandersandstr: no <15> but aynways at the top of every page is this http://pastebin.com/712189 <11> aec27: Do the 'rm' *IN* a script that delivers the image to the browser. IMG tag goes to PHP script to spit out image, and that same script that spits out image, deletes image. <16> alexandersandstr: oh try $ret=$x>$y <11> alexandersandstr: $foo = $x > $y; <7> richardlynch by a different shell script, you mean a wrapper that calls php with a different config file (-c) ? <15> but my problem is that why do ii have to click the link at the index.php page twice for it to work? once you areinto the site if you type alcoholshopper.com then click the i am above link....it works and takes you to the home page lol <19> hi <11> shadfc: Yup. <16> Stormchaser: a large frying pan <7> richardlynch good idea. thanks <17> winmutt: to use on you?
<12> winmutt: And what the hell is this ****? You really did lose your pair didn't ya?! <16> Jymmm: takes one to know one <16> Stormchaser : no thanks ive already had plenty of trauma <12> winmutt Not evne p0rn is ginna save you now! <16> Jymmm: i was resorting to 5th grade antics <17> *snickers* <11> daum: Show us a URL that uses that code. <15> http://www.alcoholshopper.com <15> go there <15> click i am over <16> dude i work for a pr0n company <16> pron is for loosers <14> thats a clever site <16> well atleast the paying ones <20> Jymmm: gina lynn ? <15> it will redirect you to the homepage again..but with a redir=home.php <16> daum: you deliver in ga? <20> lol <12> winmutt And you didnt learn with all that "research" material available to you?! Eeeeesh <3> cell one uses gsm <15> winmutt, we dont' deliver period. <3> tracfone and those other companies use cdma <15> right now its a bit of a misleading name lol <12> winmutt you're in GA?! <11> daum: And I'm on the homepage in one click... <15> werid. <15> must jsut be me <15> lol <16> Jymmm: where are u <12> !+u <21> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics <16> daum: internet security perhaps>? <16> oh damnt sorry <17> rawr <16> sorry sorry <20> I like this bot! <16> Jymmm: where are you <17> *blink* <17> rawr <12> winmutt Earth, are you from Gerogia? <16> Jymmm: born and raised thanks <20> php-bot: you think the same way as i do <20> lol <16> Jymmm: where on earth are you from <17> winmutt: He's not on Earth. <2> vestige: http://barriescene.com/reference.php <12> winmutt That explains your ***ual disfunctions.... As a kid you couldnt' even wack off to a Sears catalog! <20> what about GA? <12> Much less Victoria's Secret <16> Jymmm: that makes 0 sense, dont quit your day job for the comedian line <14> the ATL yeeeeeeah <16> atl <2> vestige: see the *RECURSION* is in the wrong place for the second print_r <12> GA has anti-obsenity laws...not evenasears catalog is permitted because it has bras and panties in it <14> uh <2> vestige: because the reference structure is not retained, if you ever make a 'copy' ***ignment, rather then a 'reference' ***ignment <16> Jymmm: uhm maybe in the 1800's when you were a kid <12> winmutt Ok, go try and get a Victoria's Secret catalog mailed to you. I'll wait. <20> Jymmm: hey give me abrak goergia is on the belt what else did you expected <16> Jymmm: got two sitting at home <20> s/abrak/a break/ <16> Jymmm: where did you get this silly idea <12> winmutt the publishers <16> Jymmm: i happen to be sitting on 10gb/s of porn <11> Uhm. Guys? I think anti-obscenity laws would be Local Rule, so maybe some County, or even one tiny VILLAGE in GA could do that... <16> Jymmm: like i said maybe in the 1800's <12> winmutt that's not MAILED <16> Jymmm: the local govt has no legal controls on the federal usps <16> the ftc does hoewever <16> Jymmm: hoever either way you are greatly mistaken <16> google: ga code <20> GA == jesus land
Return to
#php or Go to some related
logs:
#web #web #css #web charybdis irc #osdev wolftech racing
#gentoo 2wire change from 192.168.1.254
i2c-prog kernel 2.6
|
|