| |
| |
| |
|
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> or Storm[c]haser can slap you :P <1> anyone knows someway to force reloading on web browsers, when using history, and post variables? to prevent to ask the client to refresh the broweser <0> d_b use meta refresh + php variables <2> meta==headers? <0> meta == <meta content="something" /> <0> google for "meta refresh" <3> xshad: maybe its better that i somehow get my package manage to do it :/ <2> xshad>> yes, but... <0> I dunno, i never played with gentoo <1> i would someting which would do like: reload the page if the client used the history :P <1> not setting time refreshing <4> d_b: when the client uses history the server is not contacted so this something you'd have try and detect in javascript <1> i see <5> I tried sscanf($string, "%a[%b]", &$blah, &$blupp); on asdasdasd[asd,asd,sadasd] but its not working <1> couse i tried setting headers with private , no-cache public, .. . . and when it comes to posted variables, browser asks always from refreshing <1> it's good , .. but ****s for this i wanna do
<2> use ajax.. <2> hehe <1> :) <1> maybe some day <1> not now <0> luke_de_php preg_match('/(.*)\[(.*),(.*),(.*)\]/s', $string, $matches); <0> I'm needing caffeine again... damn <2> (eh, monkey..) <5> xshad: wohoo! thank you very very very much!! I just don't understand regex <6> anyone know what header i could send to make a site think a certain page is requesting it? <7> xshad: .* ?!? <0> Storm[c]haser why not ? <0> not <0> hehehehe <7> xshad: .*<-- greedy <0> forgive me Storm[c]haser ... I'm in need of caffeine <0> becoma a fool lol <0> become* <7> lol <0> luke_de_php this is wrong, won't work <8> Isn't PHP Designer also a good editor <7> !+editors <9> http://freshmeat.net/browse/63/ or "real men don't use editors, they just filter /dev/urandom until they get the chars they were looking for and pipe those to a file.", or http://www.php-editors.com/ <2> <6> GET /something.htm HTTP/1.1 <7> I'm all for /dev/urandom <0> use '/([\w]+)\[([\w]+),([\w]+),([\w]+)\]/s' <0> I think <10> !+mre <9> [MRE] 'Meal, Ready to Eat' used by the military in the field and others during a disaster as they have a long shelf life. But you probably wanted 'MRE - Mastering Regular Expressions' the bible of regex http://www.oreilly.com/catalog/regex2/ Use this utility for learning/understanding/troubleshooting your RegEx --> http://www.weitz.de/regex-coach/ <6> DxZone: huh? o.0 ... i meant with using the header function <0> Jymmm :) <2> <6> You can't :-P <6> say for example i want to load http://www.yoursite.com/index from a page that http://www.mysite.com requested but i want yoursite to think your site requested it not mine <11> are we allowed to ask for people to test things and get opinions here? <2> <6> whaaat?? <7> no <11> ok <2> <11> Next time don't ask.. <12> is it possible to overload operators in php(5) ? <2> <12> maybe, try <13> burian, they're mean. just put it somewhere and ask...if people don't want to, they won't :P <11> DxZone: Yes I know now not to <13> 'dont ask to ask' <0> overload operators ? <6> DxZone: i just basically want to change the page requester <12> yes, like function __add(a,b) <14> hmm, could anyone take a look at this, please? http://rafb.net/paste/results/iRgmih44.html -- i'm trying to do a simple download script, that i swore worked before, but i've had this project set aside for awhile. <2> headers(location: www.somesite.com); <14> it appears to be listing the file rigrht, so i'm not sure that the issue's with the top part of that paste, but rather the bottom <14> the problem is: it downloads a file with nothing in it. 0kb. <2> JakeConnor>> headers("location: www.somesite.com"); This works.. <6> DxZone: that changes the current location of the page doesn't it? <2> yes.. <0> dariball php.net/overload <6> thats not what i am trying to do <8> PHP 6? <8> whats php6? i thought 5 was the latest version <15> inf3rno: it seems like your query fails <2> JakeConnor>> so?
<6> i am trying to change the requesting url of the page <16> a client just asked me in an email if my hosting was 'tier 1' <16> any guess to what that means? <2> <6> ok.. let me think... :/ <6> davidbest: say its tier 69 <12> xshad, this looks like I only can use __get __set .... which is not exactly what i want ... i would like to have 2 (a and b) instances of the same (self-written) cl***, and then just c = a + b <15> inf3rno: but on the other hand, then mysql_num_rows would result in a warning. Is this all the code? <14> sjors (or anyone): see anything obviously wrong? i've looked this over pretty hard, the save-file dialogue in the web browser names the file right but it's empty. see something specific i might be missing? =/ <16> it's tier 33 son! <14> sjors: ya <15> inf3rno: you should at least have that line with <center> in your document. <15> if this is all, it won't prompt you for a download <14> pardon? regarding what you mentioned with a <center> tag? <7> !+g8 <9> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here. <0> dariball __call($method, $args) <14> the only thing the top (list) document pulls from another document is an ID number, which presumably is pulling correctly, since <0> $obj->anUndefinedMethod($a, $b); <14> it lists the correct ID in the listing page. <0> __call($m, $a) { return $a[0] + $a[1]; } <15> if your query is correct, and it is otherwise mysql_num_rows gave an error, the script would come at least as fas as line 12 and thus echo-ing the line with <center> <12> xshad hmmm, i confess i can not exactlly follow .... but i first try to do it how i understood, before asking again^^ <17> who wants to offer constructive critism!? <17> criticism* <14> it does echo that, what's pasted in that pastebin URL is 2 seperate files. the bottom part is download.php that the previous file references. sorry if i'm missing something obvious you're trying to tell me... i've been looking at this all day... perhaps that clears things up though? <14> sjors^ <17> Storm[c]haser: you much into designs? i've done up three, but i like second opinions <18> I'll offer destructive criticism <18> :P <7> jiggster: Yes, I'm very good at evaluating designs :) <19> is it possible to extract the code from inside a function programatically? ie. I know you can build functions dynamically, but can you deconstruct them? (or will i have to open the file and use regx) <7> PM e the link :) <7> *me <17> i dont mind posting it in here if you dont <15> inf3rno: sorry, didn't see the second part. <14> =) <15> please remove all those ugly and bad '@' <7> jiggster: yes, I do <19> possible? <17> heh np <14> sjors: cool, removed those, no effect though -- file now reads as such http://rafb.net/paste/results/UKDJTu75.html <15> well, you don't seem to echo any data... <15> you forgot to add echo $content; after the last header() <19> is it possible to pull the code of out a function? (Basically extract its body) ? <20> can any of you help me use Allah in vain? <17> no <20> its actually important, its not to offend <14> hah, works - thanks sjors - no idea why it worked before... <0> jaydub check http://www.php.net/language.oop5.reflection <17> in vain? important? <20> yes, a friend of mine got in trouble for, and i quote "using the Lord's name in vain" and one of the last things to try is using another god's name in vain, say, Allah, and see if he gets in trouble for it <21> hi people, get to me some support, who is the possibles causes from php no send emails, and on php show yes :X? <14> itrebal: what are you talking about? <17> itrebal: i see, well... i dunno man <22> itrebal: "Oh, for the love of Allah." would be a vain usage. <20> TML: thanks alot <17> but it sounds so obvious :P <22> Or "For Allah's sake!" <17> itrebal: who did your friend get in trouble from? <14> itrebal: where was this used that he got in trouble from? <20> jiggster: teacher <7> TML: Have you checked out that comic yet? :) <17> pff, like it's their right to say what i should be able to say :P <17> free speech bitch! <14> itrebal: a teacher where? heh <17> it's noisy but it gets the job done <14> a convent? <14> heh <14> anyway. going home - thanks again folks, n' sjorj =) <19> xshad: close, but i need the actual BODY of the function (the actual code -- not just metadata about a cl***) <19> I'll have to use file access / regx me thinks <21> hi people, get to me some support, who is the possibles causes from php no send emails, and on php show yes :X?
Return to
#php or Go to some related
logs:
novicat free #centos #suse DennisCGc crontab emerge sync osdev book entrance_edit ardour pkgsrc azureus 4mbit config hauppauge hvr 1100 in mepis
|
|