| |
| |
| |
|
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> hi TheDieform :) <1> steeeb > array_keys <1> in other words $new_array ($old_array1, array_keys($old_array2)) <2> PastaFrasian: you want to read an incoming email? <1> $new_array = array_merge($old_array1, array_keys($old_array2)) that is <3> m0dman: yes i want to read and forward it as it is <2> Use qmail, there are a bunch of modules for doing that. <4> need help finding the remote IP <4> $_SERVER["REMOTE_ADDR"] only show the server IP <2> www.qmailrocks.org <1> err anybody willing to help with my problem? :) <4> had a friend loggin on and stuff, and $_SERVER["REMOTE_ADDR"] is the same as _SERVER["SERVER_NAME"] <5> Kumelk: http://php.net/phpinfo -- If what you want isn't there, then you can't have it. <6> unreal, i tried array_keys, i did this: $updates['11th May']; $dates[] = array_unique($updates); but i got an error <4> it wasn't threre richard <3> m0dman: are there any other solution without touching a mail server?
<4> did try it, only did show my own IP <7> Kumelk: REMOTE_ADDR should always be different from SERVER_NAME unless it's broken <5> UnrealX: It depends what kind of movie it is... Find a movie that DOES work, and see what headers it sends. Send those headers. <8> hack_swor: How reliable is Remcom? I'm currently with FuitadNet and they've had DNS issues twice in the past three days. <2> not that I know of, unless you want to make your own <4> MarkR42 borken how ? <7> Kumelk: I take it you're not behind NAT or anything like that <1> Steeeb > you have to set a value i guess ;) <9> Kumelk: REMOTE_ADDR is the client's IP <4> I am, tho port 80 is open ofc <1> the movie works fine using gxine when streaming avoiding php file <1> i mean directly <7> Kumelk: It's possible that the NAT server is NAT'ing the src address as well as the destination <4> hmm <4> like two firewalls ? <7> Kumelk: Try it on a server that isn't NAT'd (Most NAT does not do that anyway) <5> UnrealX: So, use Firefox headers plug-in to see what headers are coming out, and duplicate them. <7> If your firewall is doing port forwarding, you'll only see its IP address <1> had this idea, forgot it :) thanks, will try <5> Kumelk: More like a firewall that is doing inside-out firewalling as well. :-) <7> However, normally NAT preserves the origin IP <7> Unless the connection goes through two NATs <4> right <3> m0dman: well, thanks for telling me about that, but otherwise i think imap_mail function maybe useful but to forward an email i have to reconstruct it with imap_fetchstructure <4> well only got one nat setting on my router <2> You could use exec to constantly run a check on the mail <4> but thats it <3> m0dman: and it's a pain in the a$$ <5> PastaFrasian: You *could* use "man smrsh" with a PHP shell script... Or whatever shell script, at which point it's not germane here... <7> Kumelk: More likely you're seeing your ISP's transparent proxy IP address <4> hmm <4> so there is nothin I can do to change it ? :x <4> ah crap :') <5> Kumelk: Re-configure NAT, firewall, Apache, etc. PHP gives you everything it gets. It can't make stuff up for you. :-) <7> Kumelk: Well, have a look at the network environment carefully. Place a network monitor on both sides of your NAT router to work out exactly what's happening <10> Kumelk: and what does $_SERVER[HTTP_X_FORWARDED_FOR] says? <11> good afternoon... I've got a weird looping issue: http://rafb.net/paste/results/QFVD1H50.html <4> will check <3> richardlynch: youalso mean that there aren't somewhat doable solution in php? if so, that bad... <7> Maybe your ISP runs a transparent reverse-proxy (although why, I'm not sure) <11> $row is an array but only has 1 element. If I don't do the foreach part, that doesn't work <11> but the empty foreach looks retarded, so I guess I just don't really understand what it's doing <7> Kumelk: You could try moving your web server off port 80, that avoids most transparent proxies. <3> m0dman: i would love a php solution ;) <4> Undefined index: HTTP_X_FORWARDED_FOR <5> PastaFrasian: No, I mean it's a lot easier to handle email with a program designed to handle email :-) <2> right, like qmail <4> oky <4> guess I can do that <3> eh, you are both right <2> There are a ton of modules: www.qmailrocks.org <2> But you could work around it by using a shell script to grab mail and dump it someplace readable with php <3> i'll looks for both solutions <7> PastaFrasian: You can probably use some pipes in .forward in a particular user account to invoke a shell script (or PHP script) which can then read messages send to that account from stdin <3> ah maybe i look into che codings of any webmail that have a forward feature... who knows <3> MarkR42: mhh interesting <5> PastaFrasian: man smrsh will tell you how to configure sendmail to forward incoming email to a PHP script. <3> richardlynch: i have a qmail server, does it apply on that? <5> PastaFrasian: I dunno. Ask the qmail guys. <3> yep, thanks :) <12> why they keep making these lang bindings for php
<12> i thoght php was a web lang <13> TML ? <8> Wizz_Kidd: "PHP is a scripted programming language that can be used to create websites." --http://en.wikipedia.org/wiki/Php <14> can anyone help me out with this regex? "/<a href=\".*\"/" <14> I want it to match the url (to grab all urls from html source), not the hyperlink <8> fires: http://us3.php.net/manual/en/reference.pcre.pattern.syntax.php <8> fires: http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php <8> fires: http://us3.php.net/manual/en/function.preg-match-all.php <8> fires: Start reading. <7> fires: Do not use preg_match as an html parser, use a proper html parser instead <14> why's that MarkR42 ? <14> got any suggestions? <7> fires: Because it's impossible to make a regexp that matches every possible anchor syntax <7> Imagine <a href='someurl'> <7> Or <a href="someurl"> <7> Or <a title="something" style="somethingelse" href="someurl"> <2> Is it true that Aspartame causes Parkinsons Syndrome? <14> yeah, alright <14> so does php have a built in html parser? <7> PHP5 does, it contains libxml's one, in the DOM::loadHTML <7> I mean DOMDocument::loadHTML <14> i'm still **** on php4 though :-/ <7> m0dman: Only in the same what that aliens cause crop circles <13> college students? <11> I'm very confused about w <11> t this does: foreach ($row as $item) { <13> !+f foreach <15> Try looking at http://php.net/foreach <11> does that take the first element in $row (which is an array) ? <11> I'm trying to avoid the foreach loop since htere will only be one element in the array anyway <11> can I just say $row = $item; <13> misty RTFM <11> or vice versa, I mean <13> !+enter <15> Don't use the enter key as punctuation. Think in complete thoughts, then type. <11> I was correcting a typo <11> I still don't understand what the 'as' is doing, and how I can do it outside of a loop. <13> misty I gave you the link, go read <13> !+g11 <15> Guideline #11) ##php is a manual supplement. Read the manual FIRST, If after reading the manual you still have difficulties, then you are welcome to ask questions in ##php <16> misty $row=$array[key($array)] <11> Thank you, ks. That makes sense <16> that's for short <16> replace [] with [$key] <11> ks: thanks, I can figure it out, wouldn't want you to get in trouble for saying too many sentences in a row! <16> np <4> thx for ya help guy, after some changes in the nat and such the remote ip worked a sharm <3> Solar, Prado, Yawp, Cake, Mojavi, zend framework... where/what can i read to compare them? <5> PastaFrasian: Google <17> quick question for you all... <17> is it possible to store cl***es within an array? <18> hi, im having tremendous difficulty fixing this problem: http://pastebin.com/711810 - 'We would like to thank... is $_POST[text] <5> jdaiker: Try it and see. <18> and the post[text] doesnt have any double or single quotes in it <7> jdaiker: No, you can only store objects in an array not cl***es. Of course you can store cl*** names. But probably what you're trying to do is store cl*** instances (i.e. objects) in your array, which is fine <17> richardlynch: I think I can store the cl*** in the array, but I'm having trouble calling the functions that are defined within the cl*** <19> jdaiker: cl*** != object <19> object is an instatiated cl*** <7> jdaiker: Perhaps if you've serialised your array then unserialised it, you've done so before the cl*** definition exists <19> jdaiker: what are you trying to do <5> jdaiker: How are you trying to call the functions? <20> hi all <3> thank you all! byebye <17> I defined my own cl*** to help me create PHP images <20> Is there anybody who knows something about MVC ? <21> how can i access the value of the first key in an array without knowing the key name and without array_shifting (i.e. deleting) the first element? <17> I use the cl*** to automatically space out text, make text different sizes, etc <22> Hello1 <22> I have a strange problem with my script... <17> and I want to define all of the cl***es at once, but need them in an array so that I can reference the cl*** "above" it in the array <19> jdaiker: $ary['key']=new ImageCl***e(); <17> as each cl*** needs info from the previous one <19> jdaiker : $ary['key']->method(); <22> I have this code:
Return to
#php or Go to some related
logs:
sidd chroot glade python nonetype #osdev lowkey site:www.quotesdb.info
#math can't boot with ndiswrapper ubuntu #awk #ubuntu GM910 linux #kde
|
|