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

Channels


#php

12 November 2007


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

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

--- Log opened Mon Nov 12 00:00:03 2007
--- Day changed Mon Nov 12 2007
00:00 <****> okay
00:00 <****> does it have a php extension then...
00:00 <****> foobar.php
00:00 <****> okay, last question, then i promise to go away =P
00:00 <****> it does have the php extension
00:00 <****> can i include something halfway though my script
00:00 <****> if you gave it a .html extension then i won't get parsed
00:00 <****> or does it have to be at the beginning?
00:00 <****> include can be anywhere
00:00 <****> John_: read the manual, now would you finally?
00:01 <****> after the last block of php code had been closed...
00:24 <****>
00:24 <****> ?
00:24 <****> nl2br()
00:25 <****> I like the second option. :]
00:25 <****> thanks
00:26 <****> before each newline
00:26 <****> (I don't know if that really matters to you or not, but I thought I'd mention it)
00:28 <****> hi.. is there any reason ftp_nlist wont work whereas ftp_rawlist does ?
00:29 <****> ok its good to know, i would have done it with preg_replace but i didnt know if that was faster than str_replace
00:29 <****> anyone ?
00:34 <****> hi! is it possible to include SimpleXML in php4 with an include() for example?
00:34 <****> Um. No.
00:35 <****> Wolfpaws: arrrg
00:35 <****> php4? lol. Where do you live? In some developing country?
00:35 <****> carrierBag: What's wrong with PHP4?
00:36 <****> 4.4.7
00:36 <****> adac2: You could use xml_reader on PHP4, since that uses domxml
00:36 <****> Wolfpaws: it stinks, is way outdated and not supported anymore.. But you knew that already.
00:36 <****> carrierBag: and what would be wrong with people in developing countries?
00:37 <****> adac2: not beeing developed is totally wrong.. :)=
00:37 <****> carrierBag: it's good, it's not outdated, and it's still supported by the end of the year.
00:38 <****> Wolfpaws: okok. I'll wait another month.. :)
00:38 <****> month and half
00:39 <****> :)
00:43 <****> hi
00:44 <****> looking for a good lightweight php editor for windows
00:44 <****> everytime i use a php binary that sends a mail using postfix, i seems to get 500 Error - Internal Server Error, error log says : malformed header from script. Bad header=/var/www/web4/dead.letter... S: index.php, referer: http://mattias.wesnothfan.ath.cx/joomla/component/user?task=register <-- which indicates that it makes the dead.letter, but it never sends it and gives this error
00:44 <****> that can do most things that dreamweaver does
00:44 <****> i don't know how to fix it, anyone got any idea?
00:45 <****> d3vx: so you wanna have a wysiwyg PHP-editor?
00:45 <****> u know how dreamweaver has design and code view
00:45 <****> that would be nice
00:46 <****> more important is deep undo
00:46 <****> yes, get firefox, and vim
00:46 <****> !+u
00:46 <****> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
00:47 <****> is it possible to check if number is in specific range using regular expression?
00:47 <****> aye
00:47 <****> ssh
00:47 <****> i use aol
00:47 <****> ok
00:48 <****>data, right?
00:48 <****> (php4)
00:48 <****> zoldar: whats wrong with good, old compairing operators?
00:48 <****> ferric: yes
00:48 <****> perfect, thanks.
00:48 <****> ferric: thats a pointer/reference
00:49 <****> carrierBag: in this specific case i just need to do it that way
00:49 <****> right - I wasn't sure of php4 semantics, because of the fact that it actually copies the object even when it is referenced.
00:50 <****> zoldar: well, I'm sure you can do that with regex, but it's a little tricky
00:51 <****> well, ok, going to dig further....
00:51 <****> thanks for input
00:52 <****> zoldar: why do you want to use a regular expression for this anyway?
00:52 <****>. Works fine but the issue is that I need to append the "/" that show up. Any ideas?
00:52 <****> zoldar: And what is the range you're looking for?
00:53 <****> hi guys, I have questions regarding the escape characters
00:53 <****> How well suited is PHP for acting as a torrent tracker
00:53 <****> And/or host of torrent files as a seed
00:53 <****> Actually i wanted to have a nice output on the HTML side
00:53 <****> PerlJam: it's just normal integer range like (100,1000) i want to check against. It just would shorten my validation code - i'm checking db field containing SOA record data, and there are few numbers in that string
00:54 <****> I stored html code in a variable
00:55 <****> Anyone?
00:55 <****> but on the new line. when i use \r or \n it was printed on screen. how to avoid this?
00:55 <****> rexus, you mean the \r and \n was printed?
00:56 <****> yes correct phil
00:56 <****> rexus, put them in "s not 's
00:56 <****> rexus: learn the diffrence between '$a' and "$a"
00:56 <****>\n"; << like this?
00:57 <****> yes
00:57 <****>' . "\n";
00:57 <****> whatever suits you best
00:58 <****> " will execute the contents if possible and ' will simply use the contents
00:58 <****> thanks, let me try it first
00:58 <****> i.e. $hi = 'hello'; echo '$hi'; // prints $hi
00:58 <****> echo "$hi"; // prints hello
01:09 <****> lets say its the 2nd of november, I want to take 5 days of that... so it'd be... 26th of october or whatever
01:09 <****> Is there an easy way to do tihs?
01:09 <****> I'm not quite sure how I'd do the calculations...
01:10 <****> There are a number of calendar classes built already that handle this accurately.
01:11 <****> I can't name one off the top of my head and I'm a bit busy though
01:11 <****> post what you find
01:11 <****> phil, it worked, thanks for the help
01:14 <****> devBrent: yeah I guess. thanks :D
01:19 <****> can i make the php session save_handler to have different "session" directories depending on the vhost?
01:20 <****> im on a shared host
01:23 <****> hello
01:24 <****> I would like to make a sql query where I get the rows where the field "movies_ids" contains an ID. the values of the fiels "movies_ids" are e.g. "7,43,232,20"


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

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


Tutti i nuovi CAP Italiani. Come ottenere il database completo