@# 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> greenpenguin13, your life would be easier just to use a java client
<1> ?
<2> yeah so is there a workaround
<0> if your using irc there's one's already made that are OSSM
<3> azuranz: Hack it.
<4> oh nice
<4> ill take a look
<4> ty :)
<0> google pjirc
<5> is there any library functions that could help me out with converting numeric representations of date parts and convert them into a textual representation. For instance the 5th month of the year is May.
<0> strtodate
<0> er
<1> strtotime
<1> lol
<0> stringtotime
<0> dammit



<2> i want to run a scrip on my webserver
<0> AfroTurf, got it
<2> which connects to my home webserver
<1> date('m', strtotime("now"))
<5> well thats pretty darned simple then
<2> my home webserver opens C:/programfiles/itunes/songnowplaying.txt and grabs the title & artist
<5> cheers
<6> AfroTurf: err... why does that make sense
<0> azuranz, sounds like a job for webservices
<2> so the file open busienss is going on in my home side. so is there maybe a way to isolate it to that?
<1> itrebal: just an example, i wouldn't do that
<2> like to isolate the file grabbing & outputting to my home server so my web server wont have to run file open?
<2> so my web server will just get the output of my homeservers get Nowplaying script
<7> I include "viewReferals.php" in my index.php, i set $pageTitle = "View Referals"... when I do <title><?php echo $pageTitle; ?></title> I get an empty title... why?
<0> azuranz, webservices
<0> check out php's SOAP
<1> eml: check to see if your setting the $pageTitle; before <title>.... </title> in your page
<2> cythrawll you must be one of those people who reboots their computer when they can't fix a problem
<2> maybe they'll get lucky and reboot will magically fix itself
<0> azuranz, no not really
<2> yeah well i prefer to find a solution other than hey can you build a road here so i can cross
<0> azuranz, webservice were created to do remote procedure calls across multiple web servers
<0> whats the problem?
<0> hell azuranz if you did it that way, you could even use ajax so it would update on the fly without reloading the page
<2> Still prefer to see if theres an alternate solution. in relation to my last question though. is it possible to isolate the file grabbing to the script on my home server? Can you do that with php? so the web server isn't running the script on their server
<8> sometimes a reboot is in order and that is the problem
<0> cuz the communications will be throught xml
<2> ie. i have http://website.com/nowplaying.php ->> nowplaying.php includes Http://homeserver.dyndns.org/nowplaying.php ->> include c:/program files/itunes/nowplaying.txt
<2> is that an understandable question? the possibility to isolate a scripts components?
<0> azuranz, oop?
<2> whats oops
<0> object orientation
<2> yeah?
<0> which would require SOAP
<2> dam
<2> seems complexer
<9> It what? :)
<0> to do a remote execution of
<10> []oi
<0> not really
<11> The greatest mistake in software development since Larry Wall was born
<0> it's easy :/
<10> http://pastebin.ca/58144
<9> No, it doesn't require SOAP, that's ludicrous.
<2> is this a feasible solution though
<10> the JS doesnt work innit
<2> in terms of time it'll take
<10> echo '<a href="#" onclick="addToBasket($i);return false;"><img src="images/basket.gif"></a>';
<2> bro just cause you chucked an echo in a javascript statement doesnt mean you come here for help
<1> toast: umm... is that a javascript function or a php function in there?
<10> both :p
<10> injecting a JS line..
<2> dont try that sht james bond. i invented these support seeking techniques
<8> It's RPC your trying to do azuranz
<2> RPC
<2> whats rpc
<0> mattmcc, what doing a remote call to a method?
<10> remote procedure call
<10> it's soap ..



<0> toast, no it's not
<1> its that windows thing
<8> look into XML_RPC on pear
<2> so will that run the script isolated? so my web server wont have to do fopen?
<0> soap and xmlrpc are tottally different
<10> well considering your exchanging xml objects it is
<10> ^O
<2> bro i'm using php what are you on
<0> but php has soap functions, but is still working on xmlrpc
<0> there is probably a pear module for it tho
<2> the hell
<0> and zend framework has it
<0> which is still EARLY in dev
<0> azuranz, you want to execute the output of a script and p*** the return value to another webserver
<1> toast: are you trying to use a php var of $i in your onclick?
<10> yes afro
<1> toast: echo '<a href="#" onclick="addToBasket('.$i.');return false;"><img src="images/basket.gif"></a>';
<10> thx
<0> or he could have just changed the ' to "
<0> and escape all his "
<1> either or
<0> OR
<0> heredoc
<0> why doesn't anyone use heredoc
<6> heredoc is satan.
<0> besides that
<6> lol
<12> yeah
<0> yeah
<6> yea?
<13> yeah
<1> yea?
<6> i guess so
<1> guess who
<8> azuranz: You want to trigger a function on your home webserver from a script on your production web server, right?
<13> yea?
<12> yeah
<1> yeah
<0> yeah
<6> alright
<10> ohh well, still doesnt work
<12> i want my home server to do the Fopen , and somehow for my webserver to just execute the result not do the fopen
<6> ak_work: ..waht?
<10> hum
<10> since i include it, maybe the JS doesnt work ?
<14> if i have a file in the $_FILES array is there a function to get the extension, or do i have to write my own
<15> ok so i got a site using sessions and cookies and i want their session to never expire ever, whats the best way to do this?
<1> ross: www.php.net/explode
<0> akumanz, your talking pure webservices yo
<14> afroturf:thattle do thanx
<12> god dam
<12> aite latas
<12> oh
<0> acidjazz, i would question the security in that, and also a whole bunch of other things but besides that: check you php.ini file
<0> acidjazz, also, the session should always be reset when the user reopens their browser, so you would have to set a cookie on teh clients' machine to re establish the session every time
<16> i need to save a product name and quantity, arrays or hash table s?
<6> they are all arrays
<16> oh, eh.
<17> ido: no they are al lhashes
<1> lol
<17> php doens't have a true array
<6> right, i knew it was one of those :/
<17> it does have numbericaly indexed hashes
<6> sorry :)
<17> heh.. number-icaly
<16> hrm
<0> perlperl
<16> indeed
<16> perh'lhashtables
<18> in php4
<0> upgrade upgrade!
<0> :p
<18> is their a way to cycle through the cl*** fields like an array
<19> why doesn't this work to find multiple needles?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#kde
xubuntu f5d7050
bad string length pgsql
what does inono mean
gentoo + fluxbox = font is blurred
Easy Bake Meth Lab + Playa Doh
ubuntu xorgcfg
#linux
#openzaurus
preg_replace zoop



Home  |  disclaimer  |  contact  |  submit quotes