@# 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



Comments:

<0> postgresql4L
<1> itrebal: alot of people work with xml and php as it uses php within the file but hey if its only php questions here, sorry.
<2> its alright... but working with XML ***umes that xml works in the first place
<3> does anyone here use the integrated template cl*** of the pear package?
<2> atwhever: #PEAR for pear related question
<2> +s
<3> =/ too few ppl
<2> :/
<4> Hmm
<4> Undefined reference
<4> :S
<5> if stuff in an iframe stays the same, will a browser cache it?
<5> ..me wonders..
<4> itrebal
<4> Any idea?
<4> Pastebin code?



<2> go ahead, but don't limit questions to me, there are plenty of well-verse php users in here, but i'll try to help
<4> Thanks
<6> kombi: depends on your server, server configuration, and browser
<6> also on your headers
<0> happy easter php'ers
<2> you too
<4> Whoops
<5> fred87: I remember there was some way to prevent a file from reloading httpd.conf-wise, just can't remember..
<2> Hotwir3d: pastebin.ca
<4> http://pastebin.com/663332
<2> that works too
<5> fred87: I'll look it up..
<4> I used .com
<4> But I didn't copy properly for the URL lol
<2> i generally use .ca, 'cause its faster, less used
<2> no i got it alright
<2> you should use print_r and var_dump, look into it
<7> hi
<4> For the echo $swords[0] bit?
<2> yea
<4> It's because I intend to use them sepearately
<2> what version of PHP do you use?
<4> Just as a test
<4> The Zend server
<4> So, 4
<4> I think
<2> ok, look into the file_get_contents and file_put_contents (file_put_contents is php5 only)
<7> How can I create a multi format email using mail or something else? Like have a text and html email, so if the user doesn't have the ability to render HTML then they can have a text based one
<4> How would they help itrebal?
<2> they're easier IMO
<2> ie, for getting the contents of the file
<4> I prefer the fread and stuff
<4> Easier to read
<2> ok, well thats your mistake in the code: your only opening the file, not getting the contents
<4> Ah
<4> Is this valid: $spells = explode(",",fread($spellsfile, 5000));
<2> well sure
<4> It doesnt work for me
<4> Just says spells is undefined
<4> http://pastebin.com/663346
<2> err...
<4> Stupid error?
<4> Oh crap
<4> I think I see
<4> Maybe not
<4> You see it?
<2> nope
<2> where are you running it
<4> In the Zend server
<2> ..wheres that
<4> Eh?
<2> URL?
<4> I'm using Zend studio. I click run. It says Undefined
<2> ah
<2> i have no idea whats going on, i think it has a debugger
<8> how do i install those cl***es with pear?
<8> just pear install package?
<2> mmhmm
<4> It does



<4> It says
<9> go pear go!
<4> Notice: E:\Documents and Settings\User\ZDE\ZDEProjects\GDev\install.php line 41 - Undefined offset: 1
<2> see pear run
<9> make sure you have defined offsets!
<4> Doesn't explode do that?
<8> pear run?
<2> lol no, kidding, like see spot run?
<9> heh
<4> philip
<4> Any ideas how to fix?
<9> Hotwir3d: i have no idea what you are doing, i just got here, maybe if you showed some code :)
<2> O.o
<4> http://pastebin.com/663346
<9> i just like to make comments with !!! at the end!
<2> heh, i didn't even **** with that part of the source and its exploding at me
<10> hi, how do you usually sort your content entries in a selfmade cms?
<11> which functions should I look for to format numbers (precision) on PHP. I've a big number returned from database (8.582000000) and would like to round it to 3 digits (8.58).
<9> Hotwir3d: what is the question? fact is, [1] does not exist in that array
<2> bigstumpi: in an order that makes sense :/ ?
<9> Teolupus: number_format is a good start
<4> How do I make it so that the loaded contents of the file go into $sword[0] etc
<4> The file is:
<10> itrebal: I mean how do you have to prepare the database, so that a user can move entries up and down?
<4> Shortsword, Longsword, Dagger
<11> philipb: Thank you... I'll read about it.
<4> Can I disscuss this in PM? Getting confusing in main window?
<9> no
<12> Hotwir3d: var_dump($swords) to see what you've really got.
<4> Kay
<4> Okay
<13> hi all !!!
<4> it gives this
<4> array(1) { [0]=> string(0) "" }
<4> Which looks wrong
<9> heh
<12> yes. there's your problem.
<9> now guess why this happens?
<9> keep going back and back until you find and fixthe problem
<4> Explode is wrong?
<9> woohoo!!!
<9> no!
<2> explode is fantastic
<9> think harder
<2> something else is wrong
<9> stop typing and start thinking (more)!
<11> philip: Thank you!! Exactly what I was looking for :-)
<9> Teolupus: np :)
<4> Is the size wrong?
<4> I've only just started to use explode
<12> don't you just love random guesses.
<2> absolutely
<9> this problem has NOTHING to do with explode
<4> I can't see anything :(
<9> first, figure out how to get data from a file
<9> then check that, make sure the data is actually "gotten"
<9> which you did check and it appears it was not
<9> so make it happen!
<8> [root@electron log]# pear install channel://pear.php.net/Net_GeoIP-0.9.0alpha1
<8> Skipping package "pear/Net_GeoIP", already installed as version 0.9.0alpha1
<8> god damn, why cant i use its cl*** then?
<9> include the appropriate pear file? :)
<4> Whats a resource id?
<9> make sure it's (pear) is in include_path?
<9> resource ids are hot
<9> maybe you should just use file_get_contents() Hotwir3d
<4> Kay
<13> helpme... have one autoresponder.php and not work :(
<9> autoresponder.php not work? NOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!
<9> who will respond?
<14> you just did. have fun!
<9> so so true!
<4> I got it to work


Name:

Comments:

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






Return to #php
or
Go to some related logs:

fedora sg_map device already in use
#mysql
#fedora
#openzaurus
#perl
packages.keyword gentoo emerge
superblock last write time is in the future
linux explain
#math
gnome-xgl-config



Home  |  disclaimer  |  contact  |  submit quotes