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



Comments:

<0> !+quotes
<1> Details on the usage of single and double quotes within PHP can be found at http://php.net/language.types.string
<2> ok so ho can point me to a GOOD reference on getting php as fast cgi working harmoniously with lighttpd and mysql ??
<2> :)
<3> Slipp: which part are you having trouble with?
<2> well no trouble yet
<2> a friend wants me to do it for him
<2> and i have only used php as a module with apache
<2> so wanna read up on it first
<2> he said he had probs
<3> start with the lighttpd docs
<2> well yeah
<2> i am lookin for a how-to :)
<4> *coughs*
<5> sneezes
<0> keep away from me you two!



<6> Slipp: FastCGI + PHP is great, but they're still working bugs out of the fcgi sapi module so beware.
<5> (spread the germs)++
<6> I prefer Litespeed Webserver + LSAPI
<2> ahhh ok
<2> good to know
<6> The standard version of LiteSpeed is free, so you might give it a try if Lighttpd + FCGI/PHP gives you problems.
<2> how does it perform with php ?
<7> bed time
<6> Slipp: LiteSpeed + LSAPI beats FCGI
<6> http://www.litespeedtech.com <-- Check out the benchmarks section
<0> (and yes, I REALLY do have a emergency bottle of tequilia just above my monitor within reach)
<8> Jymmm: you too?
<9> hey, i'm posting some variables called "itunes:author" and "itunes:summary"
<9> is there a reason why that might not work properly ?
<10> im havin an issue with require_once(), i have a $var on my index.php that i want to call on in the file i required, but its not picking it up..
<11> nanotech, so you have a $var = 1;
<11> then a require_once(file);
<11> and your trying to access $var inside the included file?
<10> yes
<11> you should be able to access it directly
<10> hmm
<11> how are you including the file?
<10> if $_GET['page'] == 'orders') {
<10> require_once('pages/orders.php');
<11> ok
<11> and in the orders page, what are you trying to do?
<10> echo $clientuname;
<11> hrmmm, the included scripts occupy the same scope as the script they were included by, so, try putting an echo $clientuname; just before the include, and see if the value is set there...
<10> thanx ^^angusta :)
<10> turns out the vaar wasnt being set ;\
<5> later all
<11> what is the word to describe when you config for all requests on a domain to be processed by a script
<11> eg blah.com/go/to/this/page.php
<12> can someone suggest a simple way to count upwards in binary and output it as raw ascii character(s) to a file ?
<11> would process through a single script?
<11> Samus_Aran, cast an integer value to char?
<12> so it would first output ascii 0-255, then 0 0-255, then 1 0-255, then 2 0-255, etc.
<13> HELP
<13> how can i disable PHPSESSID from forcing itself into my URLS in my webpage
<14> PHP.INI NIGGA!
<15> !
<11> azuranz, you can't
<13> i dont have access to php.ini
<11> the users web browser is doing it
<14> THAT NIGGA TRIPPIN!
<13> no i think i pinpointed my script is doing it
<13> http://fexnet.co.nz/hosting/meilad/meilad/index.php
<12> ^^angusta: what would that produce ?
<13> look at that
<13> i think it's my stats Tracker SCript -
<13> which is included at the top of the page in the php index file
<16> azuranz: in php.ini there's something like trans_session
<13> bro can i say one thing for the rest of my time here
<13> why do people offer php.ini solutions. Do you all ***ume that I run my website from a local server where i can edit anything i dream of including php.ini
<11> Samus_Aran, if you counted up right, it would produce the ascii chars from 0 - infinity
<13> cause i'll clarify. i don't. I don't have access to php.ini either. My websites hosted at my web host. not locally
<11> azuranz, try using a cookie to maintain your session, then the browser, and webserver won't need to store it in the url
<17> morning, how to compat a html string, remove delete '\n' ?
<13> my problem is my Stats tracker script uses the session_start(); at the beginning of the script



<11> str_replace()
<11> write a cookie
<11> and update it on every page
<13> :/
<13> how
<11> azuranz, set_cookie()
<17> $s_html2 = str_replace('\r\n', '', $s_html2); // this is not working
<11> the_rock, that will _only_ replace instances of \r\n not just instances of \n
<17> $s_html2 = str_replace('\n', '', $s_html2); // this isnt working neither
<11> also, why are you concerned with \n? it does not render in the browser...
<13> say what
<17> its to parte the contents
<17> parse
<13> if i replace session_start(); with set_cookie; will my script still likely work?
<11> azuranz, http://www.php.net/set_cookie
<11> no, don't replace it
<13> ?
<11> put it after the session start to store the session info in
<12> ^^angusta: could you possibly give a one-liner of what you mean about the counter-to-ascii thing ?
<11> that way your web browser won't automagically put the session var into the urls
<17> is there any other code apart of '\n' to eliminate line breaks in html code?
<11> if you have a loop with a counter starting at 0, then increment it and echo it cast to a char
<11> you will probably get the ascii characters
<11> the_rock, possibly
<17> i mean i want to convert from
<17> </table>
<17> High </span>
<17> </td>
<17> to: </table> High </span> </td>
<11> why do you want to do that the_rock ? it would make your html infinitely unreadable
<17> i need that to be done
<17> for other purpouses
<17> hi Stormchaser, how to compat a html string, remove delete '\n' ?
<11> ok, well, you could try doing a preg_replace("/(W)/", "", $html)
<11> should strip non word chars
<17> ok lemme try
<18> ^^angusta: That'd be wrong... Unless you ment \W
<17> i mean i want to convert from
<17> </table>
<17> High </span>
<17> </td>
<17> to: </table> High </span> </td>
<11> Stormchaser, thats what I menat
<11> meant
<18> the_rock: don't flood the channel.
<18> ^^angusta: doesn't matter... That's what you didn't wrote...
<13> :/
<12> ^^angusta: it seems to just be using a modulus to make it into a single character
<17> echo $s_html2 = preg_replace("/(W)/", "", $s_html2); // doesnt work
<18> *blink*
<13> hm
<17> anyone a clue?
<17> imposible?
<13> hm
<13> does $_cookie work similar to $_session
<19> similar, but different
<17> noone has a clue?
<18> azuranz: Do you know, how cookies work?
<20> hi @all
<13> a basic understanding yeah
<18> apparently not :)
<13> i'm asking if the functions for handling cookies are similar to for sessions
<17> (w)
<13> session_start();
<13> if($_SESSION[visitor_no_log] != true)
<13> visitor_no_log is that a predefined function?
<18> no
<17> help?
<13> thats weird
<21> Hi is it possible to detect this error and make some fancy errorpage? Fatal error: Maximum execution time of 30 seconds exceeded
<15> i run a program "C:\\Program files\\runme.exe" from shell_exec. I get the error 'C:\Program' is not a recognized program. why?
<18> azuranz: *nothing* is predefined in array...
<18> thyko: you want to escape the whitespace as well...
<20> question: i have downloaded php 6 from cvs but there is missing a ./configure script. how do i configure it otherwise?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

ntfs-captive+ubuntu
ubuntu faster mouse
DisplaySetConfig failed
#php
#kde
+sendmail +aliases +user unknown
phtml phpmyadmin ubuntu
alertsound.pl
Torrent District B13 HD
presentation for A_4



Home  |  disclaimer  |  contact  |  submit quotes