Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

03 October 2007


Total 37 pages. You are browsing page 1/37.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Wed Oct 03 00:00:02 2007
--- Day changed Wed Oct 03 2007
00:00 <****> copying just the lib files should work? :P
00:00 <****> installed BUT different versions
00:00 <****> why doesnt this work? http://www.notchill.com/wtf.phps ( http://www.notchill.com/wtf.php ) why is the object empty?
00:01 <****> Azhi_Dahaka: I wouldn't recommend simply copying some lib files. But I must confess I don't have the slightest idea of package managment on macOS. maybe there's a #max channel here somewhere?
00:02 <****> I'm using MacPorts
00:02 <****> acidjazz: what do you get when you var_dump the object, instead of print_r
00:02 <****> God, I hate typing.... today more than ever.
00:02 <****> are you supposed to url encode things when using curl?
00:02 <****> VERY similar to FreeBSD ports
00:03 <****> oh nm, stupid question
00:03 <****> kabumm: it could be worse. your sole input could be a tablet with handwriting recognition
00:04 <****> anyway, I DEMAND star trek level voice recognition :)
00:04 <****> i'm trying to get a value out of a simplexml object, and i narrowed it down to this:
00:04 <****> form )
00:04 <****> How do i get the value out of that 0th element?
00:05 <****> hi everyone can php use for hacking
00:05 <****> flungabunga: smae thing, http://www.notchill.com/wtf.phps ( http://www.notchill.com/wtf.php )
00:05 <****> the thing is, i can't use that simplexml object as an array
00:05 <****> ive got script A, that requires script B and C, script B has variables and script C has functions, why cant script C access the variables in script B when a function is called from script A?
00:06 <****> icheishvili_: still print_r and var_dump dump objects just fine
00:06 <****> acidjazz: right, so how do they get that value out?
00:06 <****>form;
00:06 <****> ah, ok, let me try that
00:08 <****> that doesn't work
00:09 <****> however, a simple (string) $object did the trick
00:10 <****> cool, thanks
00:11 <****> no prob
00:11 <****> now figure out my issue :)
00:12 <****> acidjazz: Harumph, wtf.php indeed. It may have something to do with the soap envelope, the docu does say a well formed XML string and I just xmllint'd the string and its fine.
00:12 <****> acidjazz: i might be able to, what's up?
00:13 <****> is there no way to access variables from within functions?
00:13 <****> samuel: global'
00:13 <****> ok, but if phpinfo SHOWS mssql that means that the mssql extension is indeed included on the compiled binary, right?
00:14 <****> that were created outside the function?
00:14 <****> samuel: yeah, global.
00:14 <****> thanks
00:14 <****> You're welcome
00:14 <****> Azhi_Dahaka: either included in the php core or loaded as extension module. There is or there isn't a a mssql.so?
00:15 <****> StevenBao: superglobals?
00:15 <****> yes
00:15 <****> well, it's not called mssql.so, just mssql
00:15 <****> Azhi_Dahaka: that's probably the extension module
00:15 <****> I am submiting a credit card to a processor, and only get back an approved code.but i would like to store the type of card that was used for the transaction. What is the best way to fork that input value?
00:18 <****> hello
00:19 <****> how to include bla.php?bla=3 if allow_url_fopen is off
00:19 <****> what are other solutions?
00:20 <****> so if i remove it, and restart apache it should dissapear from phpinfo right?
00:21 <****> Azhi_Dahaka: if it is the module file yes. and you should get a warning that the module has been removed (because there should be an extension=mssql entry in your php.ini)
00:21 <****> is it racist to wonder why indians bid for work in my country for $6 an hour?
00:22 <****> yes, it is
00:22 <****> I don't care
00:22 <****> hahaha
00:23 <****> such a low salary could surely not represent quality
00:23 <****> how do they work for such pittance
00:23 <****> i think it just represents economic illiteracy
00:23 <****> well, it depends of theur needs
00:23 <****> their needs
00:23 <****> and their english
00:23 <****> StevenBao: globals dont seem to work here: any other ideas? ive got script A, that requires script B and C, script B has variables and script C has functions, why cant script C access the variables in script B when a function is called from script A?
00:23 <****> can someone suggest a php book for an experienced programmer (and also familiar with web-apps via other languages) to pick up the language quickly?
00:24 <****> anyone?
00:24 <****> hey guys, I'm trying toget a better understanding of REST, basically, I have all my GET requests determining which pages/modules/output-format will be loaded, does this sound accurate to what REST is? If not, what would you recommend I change?
00:25 <****> Fryguy--: Advanced PHP Programming bySchlossnagle
00:25 <****> so, any ideas how can i fix this issue?
00:26 <****> Fryguy--: don't make the mistake of just learning PHP5 and it's OOP approach
00:26 <****> I had a developer who knew PHPOOP inside out but when it come to using array_shift he was stuck
00:26 <****> learn from the bottom
00:27 <****> How can I have this match / or -
00:27 <****> preg_replace('#(\d\d)/(\d\d)/\d\d(\d\d)#', '\3\1\2', $input)
00:27 <****> Hello. Im making a news system where user can comment. Lets say I want to list 20 news on the frontpage, and also show how many comments each news have. How can I count how many comments each news have, without running 20 queries inside a while loop?
00:27 <****> sadface: i'm currently in a position where I'm writing new code for a company, and even most of the legacy code has been "php5-ified" so I want to focus on OOP php5 for now, and then fill in old-school blanks as I come across them. I made a job change and thus a language change to php5 and so I just want to get up and running as quickly as possible
00:27 <****> Im assuming there is a better way
00:28 <****> read PHP 5 Objects, Patterns, and Practice then
00:28 <****>"?
00:28 <****>', $s) doesn't work.
00:28 <****> sadface: thanks for the suggestion
00:28 <****> no problem
00:29 <****> any tips on development environment in *nix? been mostly using vim and eclipse the past couple of days, haven't had too much time to customize vim so I'm not really happy with it yet
00:29 <****> Hi, I am am making a web page where the page gets a list of tables from a MySQL database and displays the tables to the user to chose one. I have gotten everything to work, but I want to add all the items to a list box. How do I add the tables to a listbox?
00:29 <****> anyone?
00:30 <****> Fryguy--: I work on a vista, I use zend studio but I think it's availiable for nix
00:30 <****> nevermind, it's \r\n instead of \n :-)
00:31 <****> why doesnt this work? http://www.notchill.com/wtf.phps ( http://www.notchill.com/wtf.php ) why is the object empty?
00:32 <****> acidjazz, should look into your error file for those questions]
00:32 <****>
00:32 <****> and it probably doesn't work because of namespace issues.
00:32 <****> acidjazz: http://bugs.php.net/bug.php?id=37035
00:32 <****> sadface, he doesn't need it
00:33 <****> is there a way to add a list of MySQL tables to a listbox in PHP?
00:33 <****> is that good practice?
00:33 <****> flungabunga, that was fast... must be familiar with it.
00:33 <****> sadface, depends
00:33 <****> the answer is no
00:33 <****> is it?
00:33 <****> why?
00:34 <****> well the obvious would be laziness?
00:34 <****> nope
00:34 <****> not at all


Total 37 pages. You are browsing page 1/37.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo