#php
05 October 2007
Total 53 pages. You are browsing page 1/53.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Fri Oct 05 00:00:24 2007
--- Day changed Fri Oct 05 2007
00:00 <****> I think I found it... ini_set("session.gc_maxlifetime", "18000");
00:00 <****> ebe-1: what are you looking for?
00:00 <****> or whatever you want
00:00 <****> denisbr: no idea then sorry man
00:01 <****> so i have an array of header information, and i want to search for a particular string within the entire array
00:01 <****> hi
00:01 <****> enat, not problem
00:01 <****> enat, thanks for your help
00:01 <****> ebe-1: why the whole array? What are you looking for?
00:01 <****> you could always do a 'mkdir a' then 'make install DESTDIR=$PWD/a'
00:01 <****> does anyone know what the difference is between like 'name' and ='name' in a query (in term of results)
00:01 <****> then 'cd a' , then 'find .'
00:01 <****> and you'll have a list of all the files installed
00:02 <****> oh no, i see. theres an option in get_headers to make it an associative array. im cool :)
00:02 <****> well , a proper list with "find . | sed 's/^.//g'"
00:02 <****> filelist"
00:02 <****> wfq: There is none unless your LIKE pattern contains % or _
00:02 <****> then "for x in `cat filelist`; do rm -f $x; done"
00:03 <****> that's what i'd do
00:03 <****> lol
00:22 <****> hi
00:22 <****> hi
00:22 <****> anyone knows which port uses sql server? i'm trying to connect via mssql but have no luck
00:22 <****> I have a PHP program on pastebin that I just posted. Could someone please help me with it?
00:23 <****> I have a form page that worked fine for entering the first name and last name.
00:23 <****> However, the names don't appear.
00:23 <****> Nothing appears.
00:23 <****> Azhi_Dahaka: 1433 ...google says
00:24 <****> gonna check the connection via telnet
00:25 <****> Can anyone tell me if xdebug works with php version 5.2.3?
00:26 <****> VWJ1bnR1: paste a link to your paste :)
00:26 <****> http://pastebin.com/m6784f31a
00:27 <****> apache just dies when I try to use the xdebug_5.2.2.dll file
00:27 <****> Naktibalda: I probably should have put more comments in it. Sorry.
00:28 <****> VWJ1bnR1: did you set permissions for names.db?
00:29 <****> Yup.
00:29 <****> VWJ1bnR1: fclose() before file_get_contents()
00:29 <****> kabumm: Why do I need to do that?
00:30 <****> I just want to know for future reference.
00:30 <****> VWJ1bnR1: Why do you need the file handle after riting the new entry?
00:30 <****> +w
00:31 <****> got it
00:31 <****> kabumm: Thanks for the help, but it didn't work.
00:31 <****> $arrName[] = split("::", $str);
00:31 <****> this creates 2D array
00:31 <****> remove []
00:32 <****> Naktibalda: Sorry, still nothing.
00:32 <****> check your file, isn't it empty
00:32 <****> VWJ1bnR1: tell us more about "symptoms" and "error/warining messages"
00:32 <****> names.db
00:33 <****> Naktibalda: It's empty.
00:33 <****> kabumm: I don't get anything.
00:33 <****> :)
00:33 <****> I don't receive any error messages. Nothing is in "view source" for firefox.
00:33 <****> VWJ1bnR1: "nothing" like "nothing at all which indicated a parse error"?
00:33 <****> I suppose.
00:33 <****> :)))
00:34 <****> $i < $arrName, $i++)
00:34 <****> VWJ1bnR1: please open your php.ini in a text editor. Search for display_startup_errors set it to On save the file and restart the apache
00:34 <****> nn all... gl with the rest of the war and RIP to all my friends and family: Murati, Anoek, vBm, Ini and anyone else ive missed _o_
00:34 <****> shit, other server again
00:35 <****> kabumm: I don't have permission to do that.
00:35 <****> VWJ1bnR1: error is in for cycle
00:35 <****> ???
00:35 <****> VWJ1bnR1: please install a local webserver with php support and test your scriptsthere
00:35 <****> and benster! :o RIP BENSTER!
00:36 <****> $i < $arrName, $i++)
00:36 <****> you should separate parts with ;
00:36 <****> kabumm: I've tried that. I keep getting error after error, and packages without candidates.
00:37 <****> Naktibalda: Oops. Thanks. It's amazing such a huge difference that makes.
00:38 <****> VWJ1bnR1: learning php will be a painstaking (or even futile) process if you can't see the error messages
00:39 <****> Yup. Well, now I've got the problem where I can't print anything out to a new line.
00:39 <****> :)
00:40 <****> VWJ1bnR1:; and then you have this little problem and then that little problem and then another bumch of problems. Sorry. Really try to install the local webserver
00:55 <****> anyone know how i can read from a proc_open to see if the process is still running WITHOUT waiting for it to finish running? i just want a yes/no for an if
00:58 <****> is mybb any good?
01:02 <****> samuel: take a look at the function list at http://www.php.net/manual/en/ref.exec.php you want to know more about the status of a process
01:02 <****> Besides "display_errors = On" in php.ini, what else can enable errors to be shown?
01:03 <****> kabumm: thanks
01:03 <****> Solifugus: error_reporting
01:04 <****> Solifugus: YouÄve set display_error Off in your php.ini and wonder why it still printsr messages to the browser?
01:05 <****> Even "error_reporting = E_ALL" is set like this and yet no errors will show... just a blank page.
01:05 <****> Solifugus: display_startup_errors On
01:06 <****> kabumm: It couldn't be that, because I moved an fputs($fo,"I am here"); line to a debug.txt file.. step by step all the way through to just before a class definition, where the problem occurs.. not during php startup.
01:07 <****> The fputs() statement works prior to the class definition, but not just after...
01:07 <****> Solifugus: then use phpinfo() to verify your settings
01:08 <****> kabumm: I've done that.. it's as it is in php.ini
01:09 <****> kabumm: mediawiki does something really strange that makes it like this, regardless of the server you run it on.
01:09 <****> kabumm: and, in fact, nothing I print/echo after the first require_once() statement shows up at all.
01:10 <****> Solifugus: you could try to disable error_reporting() and ini_set() http://www.php.net/manual/en/features.safe-mode.php#ini.disable-functions
01:11 <****> i will take a look at that..
01:11 <****> hallo. is there an easy way to remove empty values from an array? the elements containing values should stay untouched
01:12 <****> Isil`Zha: array_filter($arr)
01:13 <****> kabumm: looks interesting. i'll try. thank you
01:14 <****> kabumm: do i need to restart apache, or just save the changes in php.ini ??
01:14 <****> Solifugus: restart
01:14 <****> o
01:14 <****> ok
Total 53 pages. You are browsing page 1/53.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
