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



Comments:

<0> has anyone ever seen a problem where a shell exec will occasionally return nothing even tho the command execited and output was generated?
<1> s/new/real/
<2> hi
<3> Wolfpaws => http://www.deviantart.com/view/28592929/ awesome!
<1> kaamoss: not really sure, i've never used __call personally
<0> (shell exec through php)
<3> his shading is amazing
<4> xshad: Um... Maybe it's better to take this into PM :3
<3> Wolfpaws lol
<5> Touqen thanks....1600x1200 with 10pt font :)
<3> I'm leaving ;) back again to work :(
<4> xshad: I know Foxy too :)
<2> I have a problem with php and my sql. I allways get errors. Would someone have a look at it. This is the Page. http://web4.vs209017.vserver.de/index.php?site=impressum and this is the source code: http://phpfi.com/124149
<6> Touqen: how do i disable trans_sid?
<1> ini_set or php.ini
<6> ok



<7> nighty: $line_imp = mysql_fetch_array(tbl_imp);
<7> should be $tbl_imp
<1> kaamoss: no excuse 1920x1600 @ 10pt font and my q doesn't look like a g
<2> i test it
<8> why a BOM isn't attached to webfiles, so the editor would know whether the file is unicode or not?
<9> anybody know of a free web host tha thas php ?
<4> Nerd42: Google knows
<2> McFly, hmmm doesnt work too
<9> tried that - none of them are actually free or actually work
<7> Notice: Use of undefined constant tbl_imp - ***umed 'tbl_imp' in /var/www/web4/html/impressum.php on line 4
<1> McFly: You need to put $ before all variables.
<9> o well
<7> You are using tbl_imp still on line 4, instead of $tbl_imp
<7> Touqen: I know, that's what I said
<1> Wait. Who are you talking to.
<2> oh
<2> sorry i am new to php
<1> McFly: Sorry about that McFly, I was half-informed
<7> np :)
<1> Your nickname makes me want to type like that doofus from the bttf movies
<7> yeah, but I'm more like Marty, not George :)
<4> heh
<6> Touqen: trans_sid set to 0 doesn't want to fix it
<6> and use_only_cookies doesn't...
<10> Guys quick question. Let's say I want to do: www.domain.com/?var=bob and capture var in a session, how would I do that? Every example I look at has set the variable in the session not from a url
<1> Lafy: You restarted apache after making the change right?
<1> Also, you can modify url.rewrite_tags so it doesn't rewrite form entries
<1> $_SESSION['var'] = $_GET['var'];
<10> thank you
<11> anyone have any experience install php5 with cpanel's easyapache ?
<12> is this regex ok for a one line comment //comment here: //.*\n ?
<1> depends, what are you using for your delimiters?
<12> what do you mean?
<1> If you are using preg you need delimiters, if you are using ereg then I don't want to talk to you.
<12> i'm using preg
<12> if (preg_match($regex, $string))
<12> why do i need a delimeter?
<1> b0red: That's the way preg works.
<1> read the man.
<10> Does this syntax work? if ($_SESSION == ""){session_destroy();}
<1> only if $_SESSION was cleared in some way
<10> sometimes someone might come to my site with www.domain.com/?var=foo but sometimes they will just come to domain.com so I am trying to figure out the best logic for that
<13> what is it you wish to accomplish?
<14> Vlet: I Was able to reinstall php4 and it is working just as it was before. So, something must not be configured properly when I install php5.
<10> I want to carry the "var" to my order page and append it to a hidden input field. But if there is no var even mentioned don't make a session at all
<10> should I use isset ?
<13> RobbieB, Like I said, it's been a long time since I've IIS'd it, so I could only suggest reading the docs that come with php5 to see if there are any cavets you are missing.
<13> rebelfallen: perhaps you want something like: if (!isset($_GET['var'])) { session_destroy(); }
<15> hi..
<15> whats wrong with this regex.. http://pastebin.dk/index.php?show=1765 <-- im using it to make a next link... so the $_GET['start'] can only be numbers
<14> Vlet: Thanks, at least its working for now. If I figure out the solution I'll let you all know.
<10> Here is what I wound up with: http://pastebin.com/713615
<16> hi all. I get no errors with 'php -l', but I've got a form that refuses to post
<16> it just hangs the browser and says "waiting for <hostname>..."
<16> the host is responding just fine, in fact another form that posts to the same place has no issue at all
<16> since the form is failing to even post, I don't have any way to echo data out, so I'm a little stymied as to how to test this. I'd appreciate any ideas
<11> could someone help me out with cpanel's easy apache ?
<11> *easyapache script
<1> lepine: It's not with the scope of this channel.
<1> within*
<11> :(



<1> lepine: Why not ask the cpanel people?
<11> then httpd.conf for loading php5 properly then
<1> lepine: php.net/install
<16> there is nothing in apache's access or error log
<10> Okay Touqen I got it to work. Now the session is set, what code do I have to include on all of my pages if any to make sure the session doesn't expire?
<4> misty: What do you mean "refuses to post"?
<16> I click the submit button, and nothing happens
<1> session_start
<16> no time-out, no nothing, just "Waiting for <host>" in the status bar
<4> Then there're something wrng with your HTML, misty
<16> the entire form displays correctly though
<17> misty: Give us a URL to the form.
<16> it's on an internal server but I can pastebin it
<18> anyone here using debian sarge and ming librairies ?
<18> It used to have a package on the oldstable which is no longer available
<17> alex__ There is a Ming mailing list, super low volume that may be of more use...
<19> hey, any PHP programmers around?
<17> Not here.
<19> join ##php
<19> er
<19> oh good
<18> richardlynch: does not help
<17> [Ke]: You are already here. Just ask the question, eh.
<19> I have a strange issue with _() on the sourceforge servers
<19> basically instead of displaying the page (or returning the translated string in this case)
<19> I get prompted to download an empty file
<17> __() as in GetText?
<20> whats the difference between php4 and php5?
<19> yeah
<10> How do I get strip_tags(SID); to just get p***ed automatically to every page?
<19> it doesn't happen all the time, just on the demo I have installed
<11> in my apache error logs, i got a line that states "Apache/1.3.36 (Unix) PHP/5.1.4 mod_auth_p***through/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7f configured -- resuming normal operations" ... then why is php not working over http?
<11> dir listing footer : Apache/1.3.36 Server at ... Port 80
<1> lepine: how exactly is it "not working"?
<11> <?php phpinfo() ?> is returned plain text
<21> php isn't installed correctly
<17> rebelfallen: You could use php.ini auto_prepend -- Or just have a globals.inc that you include on every page.
<3> lepine add this line AddType application/x-httpd-php .php in your httpd.conf
<1> and how exactly was php installed?
<22> anyone use php5 under freebsd?
<23> lepine: the file is .php?
<3> tmpvar I do
<17> tmpvar: Yes.
<11> xshad: , it's already there
<21> tmpvar: daily but not via a port
<18> logout
<18> quit
<22> you guys happen to know how to add extensions using the binary packages?
<11> tougen, it was installed using cpanel easyapache, no error were returned
<11> inv_arp[work]: , of course, it's .pphp
<11> *.php
<17> leping: You should do the AddType thingiie xshad recommened.
<21> tmpvar: i would ***ume pkg_add php-mysql php-extension etc..
<17> lepnie: ^^
<14> tmpvar: I dont know how but I found this document for you http://ca3.php.net/manual/en/install.windows.extensions.php
<11> it's alreadt there!
<23> did it restart apache after changes?
<10> What would the globals.inc file include? Sorry if that is a silly question
<22> RobbieB: freebsd mang
<11> yes, i've restarted it many times
<3> lepine have you restated apache ?
<11> yes
<3> tmpvar why the heck are you using the out date binary packages?
<21> tmpvar: if i were you i would use the portupgrade tools to manage things instead of using the binary versions
<11> LoadModule php5_module /libexec/libphp5.so ...
<24> is it possible to run php5 in php4 compatibility mode?
<17> rebelfallen: Ah. I see. Never mind. SID is a constant, and you can't undefine it.
<16> ok here's my form
<11> AddModule mod_php5.c
<16> http://rafb.net/paste/results/EUAZIx22.html
<17> rebelfallen: Well, you could if you installed runkit, but that's not really an option.
<22> xshad, eh.. out of date being php 5.0.4
<10> yeah it is. I am just trying to carry my session variables around pages.
<21> ries: there is an option similar to that in php.ini but it is mostly for oop


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sbcl run-program ls
#css
alsarecord from microphone
mount special device none does not exist
libegg ebuild
#css
public aways + stupid
#ai
iptables -A INPUT -p tcp -m stealth
#css



Home  |  disclaimer  |  contact  |  submit quotes