| |
| |
| |
|
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
Comments:
<0> php-bot: tell Cambridge13 about sql <1> etam: whatever your running the file in, anything it includes is parsed by your current runtime. if you are running php5, then its php5 <0> etam: do not worry about this issue <2> numist: but require_once includes? <0> btw, MarkL, nice to see some old school faces :) <0> etam: rtfm, php.net/require-once <2> philip: ok :) <3> philip: good to see some old school 'rtfm' ;p <2> philip: rtfm? <1> etam: require_once, require, include, and include_once should all do the same thing in that situation <0> heh <3> Read the friggin manual <4> philip: Yeah, good to see you too .. though i can't actually see you, i can imagine your charming good looks <0> :) <2> numist: thank You <2> philip: tell me about rtfm ;)
<3> Now there's an invite.. <0> rtfm() used to exist in php, for a bit at least :) <0> apparently some thought it was inappropriate :) <5> I remember that <2> philip: what id does? <5> The docstrings thing <2> philip: what does it do? <0> i think it pointed to the manual <5> Yeah <2> philip: ok, thanks :) <5> It'd actually give the proto and a few other things <4> http://marc.theaimsgroup.com/?l=phpdoc&m=98823516829709&w=2 <-- rtfm php func <3> hah <6> man, if I had a dollar for every time I had to recompile PHP I'd be rich <5> Kog: Really? Because I'd only have about $30 <3> Kog: Don't complain. Atleast you HAVE the source :P <7> from this output, http://phpfi.com/118058 , how can i access the xml that this var should return to me? this is a wsdl request $ret = $client->ListaDeLotes('00150380844'); <6> Dangermouse: if it came compiled with everything I wouldn't need the source ;) <3> But that would **** <0> now, how to find rtfm source in cvs <3> philip: hah someone's bored <0> and determined :) <3> lol <6> Dangermouse: neh, whatev... for some reason when we last built PHP we forgot the USE flag for crypt <3> Kog: ah gentoo? You should be used to building from source, no? :P <6> Dangermouse: I AM used to it heh <3> hehe <6> Dangermouse: I got so tired of it I just wrote a package keyword for PHP... so my coworkers would stop breaking **** <3> lol <6> Dangermouse: it seems I put mcrypt instead of crypt... <3> woops <6> Dangermouse: so my boss calls and asks why our order sync script is broken. "can't open mcrypt_hash_function" <3> If only you had installed debian ;) *runs* <6> Dangermouse: this is after explaining that yes, there's a 2 hour delay in propagation he asked for ;) <8> i can see that the query is fine because it was working before. What can be wrong with php?? It actually executes some of the sql queries! <8> and i cant remember what i added before it stopped working <9> wow, that politics channel is awful <10> Thought "Politics" would've told you that. <9> oh, I mean they are BAD <9> they're in their quoting that hoaxed "The Protocols of the Learned Elders of Zion" as if it's real ;) <6> Cambridge13: echo the query and run it via the CLI tool or something else <8> what is the CLI tool? <11> Is it possible to replace single quotes in a preg_replace? I have "/\'\'(.*?)\'\'/is", but the quotes aren't replaced. <12> hi <4> spencer: If that's all you're doing why not use str_replace() ? <12> is there a way to remotely login into a webpage wich needs login and p***word ? <0> ext/rtfm/rtfm.c no longer exists anywhere, its history did not survive the move php made from php4 to php-src in cvs :( <4> the_rock: Use curl ? <11> MarkL: I'm replacing the single quotes with "<i>" and "</i>" <4> spencer: Double single quotes? So ''foo'' becomes <li>foo</li> ? <11> MarkL: yeah <13> anyone here have a lot of experience with ecommerce? <14> Hello folks <15> hi <7> any one knows how to consume this http://200.199.220.2/PQBIWebservice/Service.asmx?op=ListaDeLotes ? <14> I'm getting errors like .. -> [Tue May 16 06:11:56 2006] [error] [client 203.128.11.188] PHP Notice: Undefined variable: PHP_SELF in /home/users/websites/battcp/login.php on line 37 <14> [Tue May 16 06:11:56 2006] [error] [client 203.128.11.188] PHP Notice: Undefined variable: QUERY_STRING in /home/users/websites/battcp/login.php on line 37 <7> i p*** the vUsuCod but i get an object <7> and i dont know what to do with this object <4> wtheck: $_SERVER['PHP_SELF'] and $_SERVER['QUERY_STRING'] <4> spencer: Sorry, my brain can't handle that regex at this time of the morning :o
<14> MarkL: Means, register_globals is off. <4> wtheck: Yeah <16> hey all <4> wtheck: As they should be ;) <11> MarkL: no problem. Thanks anyway. <16> has anyone used php to create email addresses on a nix server? for example, john comes to my site and selects his email as john@mysite.com then using php will create the address on the server <7> any one who knows something about soap can help me pleasE? <16> yeah i know a little (i mean litttle) <7> mattems see, i've this webservice (http://200.199.220.2/PQBIWebservice/Service.asmx?op=ListaDeLotes) and i send the vUsuCod var: $ret = $client->ListaDeLotes('00150380844'); but when i echo the $ret i get 'Obejct' why that? i want to get the xml from that this var returns to me. <17> what have you folks found as a good lightweight, php friendly AJAX kit? <18> Is there a sensible way to build an XML document using a load of functions without having to put the DOMDocument in $GLOBALS? <7> mattems i mean, what can i do with this object to get the xml? a friend told me that he gets a dataset with c#, and he can see the hole xml. <7> mattems are you there? <19> hi all... how come php date ('T', time()); gives me UTC although I have +8 set on my windows box (apache)? <12> MarkL thanks for the answer <14> Hello! folks <12> MarkL , any way to dump a webpage? into an array for example? <14> I'm getting these errors => [Tue May 16 06:34:25 2006] [error] [client xxx.xxx.xx.xxx] PHP Notice: Use of undefined constant SCRIPT_FILENAME - ***umed 'SCRIPT_FILENAME' in /home/users/websites/battcp/topmenu.html on line 9, referer: http://xxx.xxx.xx.xxx/ <4> the_rock: Into a var -> $webpage = file_get_contents('http://where.com/foo.php'); <14> do I have another directive off in php.ini? <12> MarkL thanks, let me try <12> i need to dump a whole result <19> wtheck you need to define the cariable or switch off notices (which I would not) <4> Or use $_SERVER['SCRIPT_FILENAME'] <20> wtheck: Stop using array keys without quotes. <14> tokyoahead: Is this a php, apache, or some other script's var? <4> wtheck: As you know, register_globals is Off ;) <19> wtheck: PHP <18> Anyone here written anything where the backend builds an XML document, and then outputs via an XSLT parser? <14> Lateralus: Actually, I'm testing a web-app by someone else on our server <21> by GNU/GPL i can use something and just say 'ooh this was done by so&so' right? <19> how come php date ('T', time()); gives me UTC although I have +8 set on my windows box (apache)? is this set in PHP, apache or the box? <14> MarkL: I turned on register_globals for onw. <20> wtheck: Tell them to stop using array keys lacking quotations. <4> wtheck: What exactly is line 9? <19> wtheck: it makes your server insecure, dont do it. rather turn off the notice reporting in php.ini <20> tokyoahead: Or ignore your bad advice and fix his actual problem... <20> wtheck: Stop trying to turn things off to avoid "problems," fix them. <19> Lateralus: well since he is testing other people <14> if((getenv(SCRIPT_NAME) == '/cp/cp.php') || (getenv(SCRIPT_NAME) == '/cp/bwusage_report.php') || (getenv(SCRIPT_NAME) == '/cp/index.php')) { ?> <19> Lateralus: I guess he does not want to go there <4> Yeah, use single quotes <14> Lateralus: You mean the ' should be turned into " <14> right? <20> wtheck: SCRIPT_NAME etc are not defined, so PHP has no choice but to attempt to turn those into strings. <4> getenv('SCRIPT_NAME') <20> wtheck: And it's trying to tell you when it does. It's saying "If this is actually a constant, you need to go find it and see why it's not in my scope" <20> wtheck: In your case, though, you're actually wanting a string. In which case you should be providing one. <14> Lateralus: usually, it is created by php, imho <14> this constant <22> wtheck: no. it's not a constant. it should be a string <14> hmm.. <22> wtheck: are you familiar with, say: $_SERVER[PHP_SELF] <20> wtheck: Are you going to listen to what I'm telling you and fix your problem or are you going to continue telling me your opinion on the matter...? What I've told you is correct. For reference, read php.net/langref. <23> oh, for the love of rotten meat. What is wrong with libsqlite3 & php!??! "wrong sqlite lib version or lib not found", blah blah; what's the most recent sqlite lib supported by this ... swiss army knife, if you please? <14> deadroot: Yes <20> m4lu6: The correct version should be bundled, iirc. <14> Lateralus: Sorry! I'm just trying to understand what it means. <23> Lateralus not if your unlucky enough to have inherited a debian system, eh. <22> wtheck: would you mind trying the following code? it shows why you should be using strings: define('PHP_SELF', 'REMOTE_ADDR'); var_dump($_SERVER[PHP_SELF]); <20> m4lu6: 'pear install sqlite' should take care of everything for you <23> right. no can do. I have my orders. <23> (thought of that already, Lateralus) <0> wtheck: read php.net/types.string <7> see, how can i access the xml from the response of ListaDeLotes of this http://200.199.220.2/PQBIWebservice/Service.asmx?op=ListaDeLotes? <20> m4lu6: What steps are you performing to install? <7> when i try it with wsdl i get a soap_fault Object <20> That's because that service doesn't seem to exist, pm_. <7> which service? listadelotes? <20> Yes <20> "Method 'ListaDeLotes?' was not found in service Service." <20> ah, ****. <7> but it is in the wsdl file: http://200.199.220.2/PQBIWebservice/Service.asmx?op=ListaDeLotes and a friend can get it with c# <7> what?
Return to
#php or Go to some related
logs:
#php #php ultrium-lto centos mysql count(*) slow #php www.Hidden Street.com #math apt-get ubuntu sphinx2 dapper edgy bmc43xx #perl
|
|