@# 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



Comments:

<0> modification,last access but not when it was crated
<0> created
<1> could someone help me to find the best way to preg_replace something with the current number of replacements? (sorry for my english :P )
<1> i tried to use preg_replace with 'count' parameter set... by i did'nt find to way to loop it...
<1> *but i didn't find a way to loop it... :P
<2> Shaba1: perhaps such info does not exist in files
<3> hi iam new to php and i am studying it i see the . near to variable i want to know why we put it like this print "2 + 2 = ".$sum
<3> the dot near $sum
<2> concat the var
<4> is it possible to destroy 1 session instead of all?
<2> 'foo ' . 'bar' == 'foo bar'
<5> Apocs - you need the session id iirc
<6> < -->
<7> whats the function that removes characters from a string? in m case im tryin to remove the ' 's from a strong
<2> str_replace
<5> str_replace



<4> lra_: how do i find that, and what do i do with it?
<3> okkkkkkkkkkkk thanks
<5> $mytidystring = str_replace("'",'',$mystring);
<5> php.net/session
<8> how can i echo a ascii value ?
<8> "%2s:%-'\xff30s:%-3s
<8> that does not work
<2> see ord() and chr()
<8> aah
<7> thanx lra_ and philip
<2> np :)
<5> philip - how can i iterate through a simplexml objecty?
<2> foreach
<5> and how would i change values in a foreach?
<1> please, is there a way to do this: 'a b b a b a a a' -> '0 b b 1 b 2 3 4' ?
<2> lra_: the manual has examples, see php.net/simplexml
<5> foreach ($this->xml as &$x) {$x = str_replace('&', 'and',$x);} ?
<4> lra_: unset($_SESSION['X']);
<2> you work on the object
<0> the files date has to exist
<0> it does in windows at least
<5> but not how to set values in a foreach
<9> can the index into an array be a integer value instead of a string?
<2> look at manual
<2> JJPeerless: yes
<2> but you cannot access ***ociative key with numerical key if that's what you mean
<1> guys... no ideas?
<2> commandline: loop through string?
<10> im attempting to set $_SESSION['key'] in viewer.php, which calls stream.php (for streaming video).. is there a reason why i should not be able to check the session vars when wmplayer executes stream.php immediately there after?
<1> philip: i didn't find a proper why to do that... :(
<1> *way... sorry
<10> philip: what are you trying to do?
<2> do you realize that $str = 'abc'; echo $str[1]; // b ?
<2> tmpvar: i'm trying to answer peoples questions :)
<10> oh
<10> answer mine ;)
<10> ill pastebin if you need
<2> by call you mean include?
<10> umm, not requests via http
<10> -t
<10> let me link
<2> both files need session_start()
<10> they do
<10> http://pastebin.com/738326 == stream.php
<10> http://pastebin.com/738328 == viewer.php
<1> philip: i'm thinking... i have to change every '/<regexp>/' in a text with the "position"...
<10> commented session stuff in stream.php doesnt work
<1> not proper the position, the number of replacemnts
<2> i'm on a mac too Davey :)
<11> if i have an element "<typepad:standalone>1</typepad:standalone>" how can i access the "1" with SimpleXML? $xml->typepad->standalone doesn't work...
<12> philip: Which? I just ordered a MbP :D
<13> philip: yay. go macs.
<10> any ideas?
<2> i just got my macbook pro, i'm now a mac user :)
<12> philip: tell me you got it after the CPU upgrades...
<2> tmpvar: nope, i can say i've done it with <img though
<10> philip, as have i :/



<2> it's 2.16
<10> for some reason this just doesnt want to work
<1> philip: even something like this: '<a href="">link link link</a> word word <a href="">link link link</a> <a href="">link link link</a>' -> '0 word word 1 2' ?
<12> philip: yeah, but they got rid of the 1.83 and bumped the 2.0 down to the 1.83 model and the 2.13down for the 2ghz
<1> sorry, for the spam :P
<12> philip: the same day as the MacBook was released
<2> i ordered before that
<12> oh, that ****s
<2> i insalled parallels, it's cool :)
<12> I'm getting a 2Ghz w/512MB RAM (bumping to 2GB after market :) an the 100GB 7200RPM Drive :)
<12> I can probably sell that 512GB chip on eBay for $100 :)
<2> still looking for an editor
<12> as in, code?
<12> I use ZDE :D
<2> yeah
<12> TextMate is getting rave reviews
<12> I also use TextWrangler
<2> i have smultron and textwrangler, getting used to them
<14> ****ing cms's. every one we try is the worst yet.
<2> drupal? :)
<13> philip: SEE.
<13> philip: SEE for php.
<14> it's typo my hate is on today.
<1> philip: sorry... i just need an opinion... i can't get rid of it :(
<13> Davey|Mac: have you tried SEE? (SubEthaEdit)
<5> what does this mean: Premature end of script headers
<2> yeah, it's okay
<14> full of cl***es containing one 500-line method
<2> v2.2
<12> Gimp_: yeah, except I have nobody to collaborate with :(
<15> guys, I need your opinion. One of my customer's ISP wants them to use a wildcard SSL certificate on a common name mycompany.myhsphere.biz instead of get one of their own certificates: mycompany.com . I am arguing that they should get their own certificate on their domain... because then the PHP sessions will work fine. Otherwise, when jumping from http://www.mycompany.com to https://mycompany.myhsphere.com, all session info will be lost
<13> Davey|Mac: me! :p
<13> Davey|Mac: if you are a music pirate, you could work on my project with me :p
<15> what do you think I should do? Using trans_id to automatically send PHPSESSID or convince them to apply for their own domain certificate?
<14> zadas: we just p*** a session ID with the jump, I wouldn't use trans_sid though
<10> Xyphoid, try seagull
<16> hi im creating a photo gallery, i want to generate thumbnails on the fly using a php page and GET, from the original images. could anyone please point me to a tutorial or something that doesn't use the GD library?
<14> SSL certs are a total scam really
<14> can't blame them for not wanting to bend over to verizon if they can avoid i
<15> Xyphoid, we have a complex application that has so many functions/links everywhere.. it would be error prone to manually p*** PHPSESSID
<14> is it the ISP that doesn't want to install a cert?
<14> or does the client not want to pay for one?
<15> Xyphoid, yes the ISP it is
<15> I think they want to advertize their business.. or are lazy
<14> it is a pain in the *** for the ISP too since they need to dedicate an IP to you rather than vhosting
<10> god this is annoying, you cant debug through wmplayer.
<2> i'd like to try SEE with someone, you have it open Gim?
<15> Xyphoid, hmm you're right
<2> Gimp_: you have it open? :)
<13> philip: what version of SEE did you download?
<15> but if the customer is willing to pay...
<2> 2.5
<13> philip: just a minute ill have to dl that, i can't afford it so i have 2.2
<14> i can sympathise with both sides really, but the isp has shelled out a lot for the wildcard cert
<2> i have both too, just wanted to try this one
<13> philip: ah. well, open 2.2
<13> philip: then click this: see://nilok.ca
<14> just compare the cost of making the php app work with the ISP's cert, vs paying the isp or another isp to install your cert
<14> if you want to convince the client, i'd also point out that .biz looks retarded
<2> how do we talk in there? :)
<17> Apocs, say what
<17> nvm
<18> !ping me
<19> Wow
<19> Finally...
<19> foreign key constraints!
<20> philip: help me
<20> i took on a project for a friend of mine
<20> for one of his clients
<20> it uses the framework logitech
<20> no primary keys in the database


Name:

Comments:

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






Return to #php
or
Go to some related logs:

gentoo kaffeine kpart nvidia
jesuashok
dynqamic page
charybdis irc
#sed
ubuntu share conection
ubuntu nic media type
#centos
#python
xubuntu terminal keyboard shortcut



Home  |  disclaimer  |  contact  |  submit quotes