@# 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 25 26 27 28 29 30 31



Comments:

<0> you have to send all calls to the header() before you output anything to the browser
<0> or, use output buffering
<0> http://us3.php.net/manual/en/function.ob-start.php
<1> you need to put the image into a separate PHP script and call <img src="http:/path_to_script" />
<2> GarethAdams, the same for a flash file too?
<3> i need help with file handling, how can i match $vote1 to a line of text in list.txt?
<1> if the flash file is generated by PHP, yep
<2> GarethAdams, they are not generate by php
<2> they are behind public view
<2> I am just tring to get access to them with headers
<1> access them?
<4> arg! what array_ function creates a multidimensional array of dimensions $x,$y ? ;p ;)
<0> tbnolan, start here http://us3.php.net/manual/en/function.file-get-contents.php
<5> !+arrays
<6> [ARRAYS] Please read http://php.net/manual/en/language.types.array.php for a basic understanding of how arrays work in PHP, as well as http://php.net/array for functions to manipulate arrays. Be sure to read 'user comments' as well.
<3> thank you javan



<4> Jymmm: i've been looking through there ;p
<2> GarethAdams, you cant access urls like <img src="/../vids/image.jpg">
<5> Smirker_L maybe you need to read the FIRST link, and not the second.
<4> im guessing you cant have multidimensional array, but only arrays of arrays?
<1> stabb: I don't know what you mean by 'include' then. To me that means you're sending an HTML page and you want to put an image into it
<2> yeah
<2> blah ill give it a shoot...
<7> how do i concatenate two arrays without looping?
<8> array_merge
<2> GarethAdams, wow thanks that worked!!!!!
<2> hm... ~_~ with flash it make the user wait till it downloaded to show....
<1> stabb: you can't show the user something if it's not been dowloaded?
<2> doh lol
<2> sorry im in stupid mode right now
<9> howdy
<2> yellow
<10> http://www.valvehacks.zaccum.com/ - great cs dod hl2 (valve) hacks
<9> green
<2> any reason as to why I would get this fatal error? http://www.seocashcow.com/forward2.php?file=frooglevid1.html&path=/home/seocc/vids/ ?? line two is just $file = $_GET("file");
<11> square brackets toa ccess an array, not round
<2> deltab, but its in the url....
<2> ack
<2> lol nvm
<2> meHER!
<5> !+enter
<6> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<11> stabb: love the logo, btw
<2> deltab, uhh thats not mine... i fine it very ugly
<11> I refer to http://www.seocashcow.com/images1/scc_headerTEST.jpg
<2> yeah i know.... i dont like it...
<2> not my style or taste
<12> anyone know a good script for like a ladder
<2> ladder? like the one you climb?
<13> Act I: The fireman arrives
<14> mrrcparish: cl*** ladder {public function climb($direction) {} public function fall() {} } should just about cover it
<5> Act II: In a blaze of glory!
<13> Act III: Backdraft
<13> bah, must go home
<12> cl*** ladder?
<5> Acti IV: Up In Smoke!
<11> Jymmm: galoshes
<15> How can I kill this error?
<15> ldap_bind(): Unable to bind to server: Invalid credentials
<15> PHP 4
<16> Give the right credentials.
<17> hi, got some mysql problems but no errors, how do i show the swl errors?
<18> i have an advanced PHP question :-)
<19> ugh, i sense completely retarded office layouts in the future
<15> FlamingCows: I want the error to go away.. even when i give it invalid credentials.
<18> Noobies: Run away; this will hurt ur eyes
<19> someone just came through with my boss and was making noise about putting eight people in this room, which has two now
<20> Xyphoid: has someone come up with bunk desks?
<21> Hey, how is everyone
<21> first off, im not a coder, i got stuck with a 85% complete website from an efnet php guy
<21> anyone interested in finishing?
<18> ME!
<20> !tell dgx about jobs



<18> dgx: hopeseekr@gmail.com and i'll get one of my ***ociates on it asap
<19> crywolf: quite possibly
<18> anyway, my advanced question...
<21> hrm. i need to speak with someone now though
<20> and, as always, be wary of getting or offering a job to someone over irc
<21> thanks crywolf
<18> I have two XML documents taht I need to merge: http://hope.tixtix.com/ The first and second are inbetween <break>----</break> .. I can't for the life of me figure out how to do this with PHP's DOMDocument (the 2nd break). I have tried so much. Solve my riddle (using PHP DOM) and I will pay you $25.
<20> I don't know much about XML...but those breaks look a bit strange.
<20> Are you trying to use content to define display?
<18> CryWolf: they're debugging to show where the DOMDocuments begin
<22> where is a good place to get info on testing a web application that is built on php? i want to simulate multiple users using my application
<3> does anyone have a second to look at my pastebin of code/output and tell me why the loop only works the first time and not the 2nd or 3rd? its only 20 lines of code, about half are variable declarations? :/
<3> heres the code: http://pastebin.com/531517 and heres the output: http://pastebin.com/531524
<20> HopeSeekr: well, that's about all I can come up with, other than the warning given about the bad parameter.
<18> thx
<20> I didn't get a chance to tell him that showing code could be useful.
<20> TBNolan: what do you mean "only the first time"?
<3> do you see the output? it tries to output integers 3 times, but only the first gets output
<20> TBNolan: and the complete contents of $votes?
<20> TBNolan: btw, always wrap print_r and var_dump in <pre> tags, or take the html source.
<3> i used print_r to output the complete contents of $votes
<3> ah, there was a whitespace at the beginning of the array elements- i fixed:)
<23> can anybody help me?
<24> The $count is counting the $_POST
<23> phpize
<23> i need help for phpize
<17> hi, i need to upload a diretory full of text files on my server, then zip the files there. Can that be done with php and how?
<5> !+g10
<6> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts
<17> asking what functions to use, need to learn to make it not asking for someone to make it for me
<12> !-g10
<17> so can someone help me out?
<23> u have to write a shell script for that
<17> hm... for the upload or zip?
<16> !tell phpcli about u
<23> probably zip
<16> Stan1: Look at the bzip page in the manual.
<23> so you zip it right after somethign gets uploaded in that folder
<25> I have PHP4 server installed on my Debian box ... phpmyadmin works but other things tell me mysql extension is not enabled. I have the package php4-mysql installed. What am I doing wrong?
<17> how can i do, or what's the best way to do this: have 50 small text files in a foder, need to upload them, add a text line in the begining, then download them abck to the user
<23> oh thats pecl
<17> pecl?
<23> php extention
<17> i know, ut can;t be done witha simple script? i see phpmyadmin has something like it. what do they use?
<23> FlamingCows, need to know about phpize?
<23> Sran1, yup yu can do it
<26> doesn't it use zlib?
<23> write a script that will go through your 50 files and do those changes
<17> not sure lol that is why i ask
<17> phpcli: i know lol, question is: how do i upload them all easily, and how do i download them easily, 50 files 1 by 1 gets tedious
<27> what's the alternative to realpath? i hosted a site in netsol and i got an undefined function call to realpath ?
<20> Stan1: tar
<17> is that a php function...?
<20> Stan1: no, it's a standard unix command
<17> lol.... i'm so confused right now
<23> tar, zip
<23> tar.gz
<17> i know, but how can that help me, no idea
<20> Stan1: you combine all of the files into one file. You transfer the one file. You then expand that one file into the original X files.
<28> hola
<23> in the uploader
<27> yes. php.net/realpath
<27> netsol is using php 4.4.1
<23> somebody knows how to install phpize?
<18> *PLEASE* tell me how to set a PHP DOMXML's doctype :O I BEG YOU
<23> !tell phpcli about BEG
<23> !tell HopeSeekr about BEG
<29> Say I wanted to define some stuff such as a site's root directory in an include file for a PHP script... The most-often-used way seems to be to just define such things as variables, but should I be using define()>
<29> ?*
<30> Hey all, I working on a $POST string that will be posted to a site that requires a user/p***. Like a .htp***wd. I tried using the http://user:p***word@host.com/myfile.php but it didn't seem to work, any ideas?
<8> mintee_: error 1) its $_POST, not $POST
<18> PLEASE :O
<30> :D sorry
<30> *Ahem... Hey all, I working on a $_POST string that will be posted to a site that requires a user/p***. Like a .htp***wd. I tried using the http://user:p***word@host.com/myfile.php but it didn't seem to work, any ideas?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

gentoo samba-client ebuild
Pyramid Zachman
ubuntu x window startup program
#iptables
lufsmount ping
ubuntu mp3 xfmedia
jintxo
without-sqlite+rpm
#awk
#linux



Home  |  disclaimer  |  contact  |  submit quotes