@# 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 32 33 34 35



Comments:

<0> itrebal: he may want to do nothing with it now but I'm talking about his future
<0> :p
<1> lamers_inn, look into using sessions
<2> any other way to make a redirection? within php?
<3> i have used sessionregister() and sessionstart()
<4> and 'sides, if i'm adding <br /> after the newlines, i'd use nl2br(file_get_contents('file'));
<1> Toerkeium, you can use meta calls in html
<5> itrebal: thanks !:)
<2> oh damn
<4> yup
<1> lamers_inn, you need to call session_start() at the top of every page
<0> I still can't seem to get this php5 binary to reload its ini
<3> ok i try it
<0> :/
<2> you know what was it? the flush in line 59



<2> it was flushing anything, but anyway
<1> merlincorey, are you sure you are editing the right ini file?
<0> Wilik: I am now
<2> thanks for the help nice people
<0> # /usr/bin/php5 -i | grep php.ini
<0> Configuration File (php.ini) Path => /etc/php.ini
<1> merlincorey, perhaps a error in the file?
<0> # more /etc/php.ini | grep mysql.so
<0> extension=mysql.so
<0> wouldn't I get an error running the binary?
<1> is your extension_dir set to the right location?
<5> where can I find the pear manual for finfo?
<4> Renacor: there is soo little information on it, look in the folder of finfo, theres an example.php or something, thats how i figured it out
<6> Are there any good patterns out there for doing multiple inheritance in PHP5?
<0> Wilik: hmmm, I don't think it is; it appears to be set for php4's
<5> itrebal: heh yeah google doesn't really show anything
<1> merlincorey, you may want to change it then
<7> What I read about PHP5, it's not setup for multiple inheritance
<0> Wilik: did; no change, still not loading the extension :/
<4> Renacor: of, if you'd like a challenge, view the source :)
<6> Shariff: Maybe more of a way to do emulate it?
<1> merlincorey, do you have the mysql.so file in the php5 directory?
<5> itrebal: heh yeah might have to
<7> nsanity> that's beyond me, I'm afraid.. I still haven't worked out OOD
<6> Shariff: hmm thanks
<0> Wilik: aye
<7> nsanity> Sorry, and good luck
<1> have you tried restarting your webserver?
<6> Shariff: danke
<0> # ls /usr/lib/php5/extensions/
<0> mysql.so
<0> yes
<1> and extension_dir=/usr/lib/php5/extensions/?
<0> yes
<1> odd
<0> # more php.ini | grep extension_dir
<0> extension_dir = "/usr/lib/php5/extensions"
<0> very
<0> I've been banging my head trying to fix this since last night
<0> because it makes absolutely no sense
<1> why not just recompile php with mysql support built in?
<3> <1> :i tried but it not works
<8> ...
<7> merlincorey> you have trouble with executing php scripts?
<0> because I am not even sure this stupid OS has a way to do that
<0> Shariff: just the mysql extension
<3> although the variable is recieved on third page but it gives the same error:(
<1> merlincorey, why wouldnt it?
<4> oh that bitch is going down..... the maid over-drew the circuit that my server runs on
<7> merlincorey> ah. ok..
<1> lamers_inn, try pasting your code in pastebin.com so we can take a look at it
<3> ok
<1> btw, are you accessing the variable via $_SESSION['abc']?
<1> if not, it wont work
<1> page 1 should look like this
<0> Wilik: it's Engarde-Linux; I'm helping a friend set up his web server... they use apt with rpm and I haven't yet determined what their equivalent of package build-essential is so I have no build tools (gcc, g++ are absent)
<1> session_start(); $_SESSION['abc'] = 'foobar';
<1> then on page3 put session_start(); echo $_SESSION['abc'];
<9> I have a HTML document, and I want to put a namespace in there, and then use PHP's XPath to query for it.
<9> I have the namespace uri defined in the top <html> tag, and then I have attributes of various elements with a namespace prefix.



<1> merlincorey, I have no idea what to tell ya man, i've never used that linux distro
<9> but when I do something like $xpath->query('//*[@*[namespace-uri() = \'myuri\'); , it's not working appropriately.
<9> Anyone good athat kind of stuff?
<0> Wilik: I recommend not using it yet
<3> wilik:if i use print(abc); on third page it works fine on local host but gives bug error when i upload it to server
<0> Wilik: their support channel is always idle
<3> and i use to get it as
<3> $subj = $HTTP_COOKIE_VARS['subj1a']
<1> lamers_inn, look at how you are setting your cookie, my guess is you are setting it wrong for the server
<3> but i am also setting two more cookies the same way as this is and they are working quite fine
<1> lamers_inn, im not sure what to tell you without seeing some code
<3> ok
<3> one last question before pasting code "what is the function to get the ip of client"
<1> lamers_inn, $_SERVER['REMOTE_ADDR'];
<3> thanks man
<1> np
<0> yay
<0> I think I broke apache now
<10> lamers_inn: Just don't pretend it's useful for uniquely identifying the user.
<0> trying to go back to php4
<0> I really don't recommend engarde-linux to anyone
<11> why would you want to go back
<1> back to the future!
<0> ||cw: because php5 wouldn't work with the mysql extension for ABSOLUTELY NO REASON
<11> what mysql version?
<12> Hey guys. Getting an error on this line about T_STRING but I cannot find what I did wrong :( any advise appreciated : $content = " . date('l, dS of F, Y, H:i:s A) . " GMT: " . $_SESSION['account'] . " toggled the status to: " . $action . "\n";
<0> ||cw: *dunno* they provide mod_php5 and php5-mysql
<0> so I ***ume it all works together
<11> Teach: $content = " .
<13> can anyone help me with a quick configuration question?
<11> i think you want that part at all
<12> Ah I can't start it with a .?
<11> er, don't want
<0> Teach: you have an unclosed "
<13> i need to send mail (ubuntu-server breezy) with php
<13> whats the easiest quick config?
<11> Teach: it's not a matter of what you start with, you open a quote that you don't close
<12> Oh
<14> how can i get the status of a process with php to show a loding bar or a page during loading ....
<11> test: is it config'd as a mail server?
<0> coca: sounds like you need some system() tricks
<15> print_r array($var1,$var2) doesn't work
<15> what's my error?
<11> Yango: print_R is a function
<16> coca: Sounds like you need to rewrite your script to process a LOT better.
<16> s/rewrite/redesign/
<13> ||cw: it was originally configured as local host only
<15> coca, what I do is just to create an intermediate page with an animated gif or a flash movie
<11> test: well, first you gotta make it a real mail server, then just use it
<12> This look better? :) $content = "Date: " . date('l, dS of F, Y, H:i:s A) . " GMT: " . $_SESSION['account'] . " toggled the status to: " . $action . "\n";
<11> Yango: that's about all you can do, outside of dhtml or ajax
<13> ||cw: do you know of any good howtos
<0> I AM GOING TO EXPLODE
<14> Yango: hmm sounds coll but when do you move to the final page how do you know th eprocess is finised
<11> Teach: yeah
<16> Is there an actual name for this -->
<0> explode('@#%$@*@#', $merlincorey);
<12> okies, thanks :)
<15> coca, when you finish the slow process, you send a redirect header
<0> Jymmm: it is how some people write 0, some people use it to denote NULL or undefined
<12> still getting it :( Parse error: syntax error, unexpected T_STRING in
<14> Yango: do you have an example by hazard ;)
<11> Jymmm: htmlentities calls it a Atilde
<14> ah and when you start too
<14> mean you redirect then you start and then you redirect again
<16> ||cw well, that's a lame name... guess I'll stick with 'slashed zero' instead.
<12> Oh I've got it, sorry.
<11> Teach: check the line above too
<14> right ?
<12> I didn't close the date one
<0> Jymmm: no, it's really undefined
<0> Jymmm: mathematically, I mean
<16> merlincorey wtf are you atalking about?
<14> Yango: :) ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sebzy
#python
firestarter flakrat
irssi quakenet cloak
#debian
yum libssl.so.5
sbminst loopback
echolinux Ubuntu
drmRadeonCmdBuffer: -22 (exiting)
postmans sort



Home  |  disclaimer  |  contact  |  submit quotes