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



Comments:

<0> I have a php page that is displaying nothing but a blank page and no error. Any ideas of how to force it to provide me an error so i can fix the problem?
<1> ok
<0> it is the checkout_shipping.php of osCommerce btw
<2> Squintz: are you doing @include anywhere?
<0> It uses a require function
<2> Squintz: uh then ask the oscommerce people
<3> what value does a check box return if it's checked?
<0> I did
<0> They take to long
<2> that doesn't mean you can ask here
<0> Was hoping to track it down my self
<2> do you know php?
<0> I asked a legit question
<0> I know some php. Enough to get by
<2> yes, I answered, are you supressing the error on any of the includes? if you didn't write the code then you wouldn't know the answer to that question, which is exactly why we don't support 3rd party scripts
<0> Why give me such are hard time? I asked a simple question as to how to force a page to generate an error. I figure it must be turned off of something.



<4> with PHP5, all I need to do to add functionality is to download the respective PECL extension and just add it into php.ini?
<2> error_reporting(E_ALL); ini_set('display_errors', 'on');
<0> thank you
<2> omgwtfbbq: pecl install someext
<5> awwa: http://pastebin.com/560579
<5> im not too sure if it will work but you can try at least
<4> aidan: and this will allow me to avoid a long list of parameters to configure?
<2> omgwtfbbq: not really, they're separate issues
<5> awwa: oh and on line 36: echo $PHP_SELF; <-- add a ;
<1> lilkid: nope did not work
<5> hmm..
<1> lilkid: the posting works, but it just posts the old post over and over
<2> $_SERVER['PHP_SELF'] not $PHP_SELF
<1> still dosent work
<5> or just leave it blank
<5> and
<5> hmm
<1> i have the exact same code on my blog but that works great
<5> is there any reason why you include('db_connect.php'); twice?
<3> could someone tell me why I'm not able to retrieve these cookie of session variables? http://pastebin.com/560586
<6> because its $_COOKIE['stuff'] not $_SESSION
<6> oh wait, nevermind
<1> lilkid: oops
<5> awwa: :)
<1> ~:)
<1> this is not working :((
<7> what is?
<1> http://pastebin.com/560579
<1> for some reason when i post with my guestbook it inserts a post in mysql and if i post again it inserts the old post, so i get two of the same, even if i change the form...
<7> what error?
<1> no error
<7> ah
<5> awwa: is the while() meant to be displaying the whole list of posts?
<1> yes
<1> its a guestbook
<1> i want to see all the posts in one window
<1> the same window as the form
<1> Sakuya: well? any ideas?
<7> awwa, change $name, $coment into $_POST['name] $_POST['comment'] and try
<1> i am not using POST
<5> ohhh how did i miss that!!!!!
<1> lilkid: tell meee
<1> so i did miss something
<5> awwa: lol you arent recieving the form information
<1> yeah
<1> how do i fix it?
<5> and umm you are using the same variables
<1> huh?
<5> ok hold on ill pastebein an update again
<1> thank you ;)
<7> awwa, you are using POST
<7> you are just posting to yourself again
<5> awwa: hold on ill just be a sec
<1> ok
<5> basically you were using the same variables that you used to display the posts, in the script to add to the database. you also didnt recieve the form information
<5> try this: http://pastebin.com/560597
<7> you need to use $_POST.. exactly what i said lol
<5> hehe :P
<7> lilkid, nl2br is standard PHP?
<1> oooh, shiat i am quite stupid arent i...
<5> yeah that confused me..i have no idea what it is :/



<8> hi ppl
<5> whats n12br?
<7> you posting to urself with the method POST
<7> lilkid, nl(L)2br
<8> is there a built-in function which just escapes quotes in a string ?
<7> is it a standard php function?
<7> roger21, you mean like change all qoute to space?
<1> lilkid: i am quite stoned, so that might be it
<5> lol
<1> n12br is something i used before i change the script :) forgot that
<5> sakuya: nl2br -- Inserts HTML line breaks before all newlines in a string
<7> ahh
<8> Sakuya, no, change quotes to \quotes
<7> nl2br dont replace \n?
<9> !+f nl2br
<10> Try looking at http://php.net/nl2br
<5> yeah basically wherever it finds \n it replaces it with <br />
<7> ok
<9> Sakuya you could just rtfm
<5> awwa: yeah its not a very good idea to be writing php when youre stoned :P
<11> which do you guys think has more of a future, postgre or mysql
<5> mysql
<12> I agree
<12> although
<7> ah
<9> take it to #dbwars
<12> I do quite like Mssql. :>
<7> roger21, tryed str_replace?
<12> and I'm not trying to flame :)
<12> bbs
<13> shush up all
<13> postgresql rocks
<7> bah
<7> mysql
<13> go bsd license
<9> again, take it to #dbwars
<1> mysql is love
<1> love is mysql
<9> Next?
<14> i would like to say my love is Kristina
<14> but anyway
<14> :D
<15> i've never tried pgsql, only mysql and mssql
<7> dont like mssql
<5> Jymmm: That was uncalled for
<5> ..
<14> yeah i tried many different girls but i have never tried latino
<9> lilkid then dont be stupid, I said take it elsewhere.
<13> noi
<13> yaya
<13> he's gone
<16> hi all
<5> Jymmm: Theres no need for moody channel admins to be kicking people off for tiny little things.
<16> anybody know what's the argument for the mail() function for if i want add files with mail ... if you prefer what's the synthax ...
<17> is it normal for apache to use up 50MB of memory? :D
<18> damn
<17> 200!?!?!?
<17> WHAT THE
<13> Fushuing: depends on how many users you got
<17> i was just executing a script :S
<13> if it is just 1 user
<13> normally..
<13> no
<17> and apache was suddendly taking up all my memory
<13> that is lots of memory
<17> what the hell is this crap under my skin...
<13> a tattoo?
<17> no, i get these things that look like musquito bites
<17> but they're not
<17> and after 2 hours they're either gone or appeared somewhere else
<17> i am going to cut it open, brb
<19> what do you use for b/w||system stats graphs? I have a mysql db which logs in X (minute) increments and want to make graphs of the data...


Name:

Comments:

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






Return to #php
or
Go to some related logs:

+mysql 5 +auth +slow
#ubuntu
#math
+python +getopts +tutorial -perl -unicode
could not save master table
xorg useflags
#kernel
#ai
+php stored procedure call out parameter +mysqli
#math



Home  |  disclaimer  |  contact  |  submit quotes