@# 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> qbert: the MTAs use perl mail plugins customized by us
<1> In a switch/case, is there any way to branch to a different case from within one case ?
<0> qbert: you won't catch me dead writing a perl script that outputs HTML to a web server
<2> $sth = dbi->prepare("SELECT ToCa_ID, ToCa_Name FROM tour_category WHERE ToCa_Name != ?"); $sth->execute( $temp_tour_category_enabled[$i] );
<1> Without cascading down.
<1> Something like a Goto case '10
<3> mst: It is hare to write perl dead
<3> mstL hard
<4> CyberMad: http://us2.php.net/manual/en/security.database.sql-injection.php
<0> biodan: it's even hard to read it dead
<5> mst yea agreed
<0> aight folks, I'm outta here, time to go home
<0> <3 all
<6> thanks.. i note them all
<7> enygma, how then? I know how to do a file: http://rafb.net/paste/results/oqEYhv17.html
<6> i will secure it after finish the programming logic.. so,



<0> CyberMad: NO
<8> CyberMad: that is a death wish
<0> CyberMad: never, never ever say anything that contains "i will secure" and "after" in the same line
<4> security throughout the developement process is the first rule
<8> CyberMad: security should be a key component of the programming logic
<9> is there any special flags or permissions required to use p***thru?
<9> i cant seem to call a perl script with it
<6> ok boss :) i will... =D
<8> CyberMad: remind me to never ask you to write something for me
<0> I dont think I'd be your boss..
<0> itrebal: ^5
<6> ^^
<9> anyone?
<10> if i'm using Zend Controllers, how do i set up my form action to post back to the current page?
<10> anyone know?
<5> m00kie_, you cant call perl from within php, php wont allow it
<9> php shouldnt care that it's perl..
<9> im calling a command with p***thru
<5> but it does, its racist like that
<9> ..
<9> are you just pulling my chain :)
<5> you have a chain, weird
<5> m00kie_, is your perl script executable by apache/nobody ?
<9> yeah
<9> 755
<5> how do you know its not working ?
<9> die() fires
<5> paste ?
<1> Does $_SERVER['REQUEST_URI'] include the query string ?
<5> try it and see ;)
<9> its just one line..
<9> echo p***thru("/usr/bin/perl -w /root/geo2.pl");
<9> hm i think i figured out the problem
<1> It does.
<11> What is a good way to get some data from one system into another from different urls.. for eg my site needs to read a list of items provided by another of my sites at a different location - could site a write an xml file to a public area, and site b read it?
<1> Is there a global that doesn't include the query string ?
<2> use URI::URL
<1> thanks
<4> ChrisC35, you are describing webservices
<12> e-head: or print_r($_SERVER) to see what options you have
<4> look into SOAP
<13> e-head, http://php.net/reserved.variables
<11> ok thanks
<1> thanks and thanks
<11> cythrawl is that essentially what I was getting at? I had envisioned server a updating the file with a cron job, but could server b communicate directly to server a and request the information?
<7> enygma?
<12> ChrisC35: it depends on whatever you have running on the second server. there are a lot of ways to transfer such information. SOAP is just one of them
<11> ok well if server a always makes sure the xml file is up to date (its a simple list of data) - could server b read it publicly? the xml file? is that easy to do using php?
<12> if the XML file is publicly accessible from normal web browsers, like being placed in example.com/readme.xml, yes
<11> yes that is what I mean
<14> lightbringer - hmm?
<7> enygma, I'm just curious how I would parse it, I know how to do a file: http://rafb.net/paste/results/oqEYhv17.html
<7> I'm trying to cobble together what I know.
<11> what if I needed server B to do a sql query to server A?
<12> ChrisC35: if you're using php5, you could do DOMDOcument->loadXML(get_file_contents('http://example.com/readme.xml'));
<15> file_get
<15> Not get_file
<16> TML!!!
<12> my bad
<15> jfarrell
<14> lightbringer - I ***ume you're having the stream sent to a PHP script on your server?



<16> been keeping up on Bleach at all?
<11> Essentially Server B needs a list of cities dependant on the customer that server B is currently using
<12> ChrisC35: then provide a php script that will accept and respond to the request
<15> jfarrell: Not really. The whole Bount story line sort of killed my interest. I figured I'd wait for them to move on, and then slog through to the next arc.
<16> hehe, i cant wait till they do
<16> im following the Manga, its gonna be a pretty cool season
<12> jfarrell: Bounty?
<16> deadroot, if ur not an anime fan who is watching bleach, dont ask :)
<12> jfarrell: p***phrase: ichigo
<7> enygma, yea.
<7> Via an HTTP POST
<16> bounto is the group of villians that are being featured in the current filler
<15> jfarrell: "you are"
<14> lightbringer- you can use something like: $input=file_get_contents("php://input"); at the top of the file to get the stream input
<12> jfarrell: oh. the anime fillers ****s >__<
<16> before we get to the part where Aizen unleashes the Arnacors
<17> Hi all!
<16> deadroot, ive seen worse fillers, *cough* naruto *cough*
<7> enygma, okay, thanks, I'll try that.
<16> TML, i do have a question for you
<17> Is there anyway I can return more than one value from a PHP function without putting them and taking them out of arrays?
<15> Sure
<15> rindolf: No
<12> i've seen a couple of naruto fillers, yeah
<16> configure: error: wrong mysql library version or lib not found. Check config.log for more information.
<16> that error has been driving me crazy
<16> hard as I try I cant get php 5.1.2 to compile with mysql 5.0.22
<15> jfarrell: post config.log somewhere
<18> how long is a database connection kept, if it isn't specified as persistent?
<18> mysql that is.
<16> tml, www.jfarrell.net/config.log
<18> until the end of the script, i'd ***ume?
<16> mikedub, that is defined by MySQL
<18> ah
<16> off the top of my head i dont know
<16> there is a way to dump that info, im not sure the command line curse though
<12> mikedub: typically until the script ends
<16> deadroot, that is incorrect
<12> jfarrell: ?
<16> actually, ill let someone else make that statment
<16> that might be relegated to only non presistent, though I seem to remember that if the conn is not explicitly closed it still stays open
<16> s/non//
<15> connection is closed at script termination unless you're using pconnect
<19> I am new to php and web development, how do you p*** objects between pages?
<12> mythril: GET, POST, COOKIE, or SESSION
<16> ok so i was wrong
<17> TML: thanks.
<16> TML, that error has been baffling me
<12> mythril: those are the typical methods. you could also use serialisation with files/databases/remote files/remote databases to transfer objects
<16> the box is clean and all programs are fresh installs
<18> i'm concerned that i'll have "too many connections" popping up as I have a cl*** that checks if a user is logged in.. a db connection object is p***ed in when creating the cl***, and the methods use the connection validate the user session.
<20> Hello
<20> Is there a function that counts the number of words in a string, or is that something I am going to have to parse myself?
<18> I dunno if this is the most streamline way, as there would be a db connection made just to check if a user is logged in every time the page loads.
<18> add a few thousand users...
<20> mikedub: persistant connection
<19> deadroot, so ***uming I have $tmp initialized to some user defined cl***, what do I do to get it to another page? Is there a simple tutorial on how this works?
<18> i'm using Pear::DB for my db connection handling..
<12> mikedub: with non-persistent connections, i doubt you'd run into 'too many connections'. persistent connections on a wrongly configured apache server will quickly exhaust the connection pool
<18> I'll have to check into the persistent connection junk with the script
<15> jfarrell: Looks like everything after mysql-standard-5.0.19-linux-i686 is broken
<16> lovely
<16> is that PHP or MySQL, which channel shall I complain in
<15> jfarrell: They use a private copy of libgcc (!!!), but mysql_config doesn't tell PHP to link it in
<21> TML: http://ben.nullcreations.net/images/coffee_bug.png
<12> mythril: normally, using PHP's session feature is recommended
<16> LOL @ caffinated
<16> gotta love the office
<21> that was a bug that got submitted last week heh
<16> did you fix it?
<21> hell no, we have to have meetings about that!
<22> guys is there an easy way to print out the contents of an array so you can see the structure and the content?
<16> TML, do you want me to break the news to them about the MySQL break
<16> or should you :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

collationphpmysqladmin
maatttt
#web
gentoo configure: error: GL library was not found.
#linux
ubuntu write floppy .img
w32codec.deb
Using keyboard-interactive
rejectnonexist
+gui library +single DLL



Home  |  disclaimer  |  contact  |  submit quotes