@# 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> CAD is always cool :)
<1> how to let PHP read a var from a remote(master) server
<0> caffinated: the one with the 'mac gamer' comic is cool, too :)
<2> name: depends on the complexity you require. you could use SOAP, or you could just p*** a request in the query string and parse the result
<3> If I have a large sql file which I execute using the CL client, is it possible to do an insert, then save the value of LAST_INSERT_ID() into a variable to use in a future insert?
<2> Vlet: why would you need that over an auto_incremenet field?
<1> caffinated: can i do a ini_parse?
<2> name: probably, if the response sent back is in the ini format
<1> sry
<1> my client crashed
<3> because I have a table which, aside from it's own auto-id, stores the auto id's of two other tables
<4> i have a table that is generated from a db which works fine, but everytime a record is entered the entire table goes down by one line...Any suggestions?
<5> Goes down by one line? ...
<6> zoopped: If you don't like the position of the new record, use some kind of sorting when you get the data from your database.
<4> Zule-: yes the entire table starts going down the page
<4> Tresnar: it's not the record it's the entire table



<4> it's really odd
<5> The position of the table on the page?
<4> yes
<5> I can only think it's something to do with the coding..
<2> Vlet: well, i suppose you could store it in a session, or in a file. what I would probably do is make it so all the inserts are done in the same script, so i didn't need to persist any of that data.
<6> You should probably link your page, or paste the code into a pastebin kind of site.
<7> zoopped: maybe css?
<2> either that or I would use other distinguishing features of that row to pull it in the next script in order to ***ociate it.
<4> mm2000: haven't check that yet
<7> zoopped: remove the style file an see what happens
<4> mm2000: i will try that now, thanks
<2> Vlet: then you could just use mysql_insert_id() to grab the last insert ID
<4> mm2000: doesn't change anything
<3> caffinated: the problem is that I need the insert id's of two different tables to insert this record
<3> so I was hoping that there was a way to temporarily store the insert id of one insert while I execute another
<2> Vlet: so pull the IDs based on something. or if they occur in the same script runtime, save their insert ids in to variables
<8> I am having trouble finding out what <<<EOT is used for - google searches dont return anything useful. Can anyone point me to a useful resource, please?
<3> sure I could do this all in a script, but I figured I'd see if I could do it all in sql
<3> caffinated: right, but what I'm wondering is if there is a way to do that in sql, or if I need to go up a level and write some php to execute these individual statements
<7> zoopped: hmm... then i dont know. Did you reload the page so that the old css vanishes?
<4> yes
<2> Vlet: possibly using subqueries, but it would be really ugly.
<2> Vlet: unless there is some special reason for doing it all in the same query, I wouldn't bother.
<3> caffinated: not worth it. I just wasn't sure if there was some little feature of the CL client that I did not know of.
<4> mm2000: i pasted by code on an html page so someone can view it and possibly suggest something about the code itself
<9> argh, now having a prob with php running from IIS.. if I run my script to exec a sys call via php-cgi.exe it works, if I go through IIS, it doesnt. IUSR as read/exec permissions to cmd.exe.. what else might be the prob?.. using default php.ini with safe mode off as well
<3> caffinated: actually, maybe I'm not communicating this clearly: I do not intend upon doing this in one QUERY; Just one sql file (I'm using the 'source' command at the cl to execute this)...
<2> Vlet: it might be possible using mysql environment variables. i'm not sure how that works in the CL client though. that sounds like a question for #mysql
<4> Zule-: i have the code displayed now at http://www.mpeyrow.com/office/code.html
<3> caffinated: Super brainfart: I thought I was in #mysql
<3> I just typed #php without thinking
<2> Vlet: haha
<3> caffinated: Thanks for your help bro :)
<2> Vlet: no trouble
<10> can somebody help me combine two php views
<0> a what?
<10> two pages
<10> my comic page and my news page
<0> Death_Sargent: Use welder
<10> can i google that
<0> o.O
<11> yes
<10> i mean welder
<0> Death_Sargent: I'm not sure, what you're trying to do
<10> im not even google listed yet
<10> i wish to combine my news page and my comic page
<0> in what way?
<12> so combing it
<13> include()
<12> combine
<10> i have a makeshift version running on my site now
<10> http://vengeanceearth.com
<12> Death_Sargent: you'll need to be a whole lot more specific
<10> i want to combine my news.php with my comic .php
<13> he wants to combine (concat) two pages into a signle one.
<13> include()
<10> thously making the blog part of my site run under my comic image
<12> Death_Sargent: there's a billion ways to "combine", as you so simply state
<10> well if you look at the link youll see what i mean visually
<10> just im using an iframe on that page



<14> I love the blank.gif so you can't get to the image in the actual BG
<12> wow, that's a really broken site
<0> Death_Sargent: If you need to tell the audience, which item is which, then you're in *big* trouble
<10> yeah
<10> . . .
<0> http://www.venganceearth.com/e107_plugins/comic_menu/comics/Jack.gif <--
<12> what part of "light grey text on dark grey background" seemed liek a good idea
<10> will you stop hacking me and help please
<10> and i do that to schedule release dates
<0> ha?
<15> Hey,
<16> Okay...I've got a bit of a problem here.
<16> I'm working on a category system for filing news articles. In this category system there can be an idefinite amount of nesting of categories in side of another...and so on.
<10> look anyway can some body help me here
<16> Anyways, So far I'm to the point where the category for the article is handed off into a function that will find the absolute root category.
<16> For example:
<15> Is it possible to echo/print a list of files that have been downloaded from the server?
<16> Lets say that there is an article filed under the category of Functions.
<16> The category "path" to functions is: Computers > Programming > Internet > PHP > Functions.
<16> The database table for article_cat is:
<16> ID
<16> Title
<16> Image
<16> Parent
<12> Death_Sargent: if you wrote this then you should be able to ask a better question
<0> Darn.
<10> i didn't write it
<10> its a prefab database system
<12> then we can't help you. hire a coder
<17> You banned the poor bastid?
<0> no
<4> i do have a question regarding blank lines inserting above my table when i enter a new record. I've removed the css to try and solve it but that didn't work. I pasted the code here http://www.mpeyrow.com/office/code.html
<10> seriously can somebody aid me
<12> Death_Sargent: without intamate knowledge of how that system was built, no one can tell you how to "combine" it
<17> Seems he couldn't speak on one line very well, eh?
<10> i know it for the most part
<12> Death_Sargent: so if you can't tell us how it work, then can't suggest anything
<10> just its not my brain child
<13> !tell Adam_ guidelines
<12> Death_Sargent: if you know it, then you know how to integrate it
<13> what the?!
<0> er... Jymmm
<13> !tell Adam_ about guidelines
<0> :)
<13> !tell Adam_ about pastebin
<12> Death_Sargent: integrating 2 completely seperate scripts is usualy non-trivial, and is going to require a serious re-write of at least one of the parts
<18> Hey,
<16> Hi
<18> Is it possible to get a list of files that have been downloaded from the server?
<13> Adam_ READ THE GUIDELINES, and dont flood the channel
<12> Death_Sargent: you need to understand that there is no way that we can't point you at anything except the source code. have a good read and come back with an actual coding question.
<16> I didn't post code...I just posted a very indepth question
<13> Adam_ I dont care, you flooded. dont argue
<12> Adam_: paste is a paste
<16> It wasn't a paste though....I typed that all up...Oh wahtever
<12> you are a wicked fast typer then
<7> Death_Sargent: If you are using templates it should be no problem. Include one of the scripts into the other and rewrite the template for it. But i guess you are not using templates?
<16> ||cw: I've been typing that up for the last 10 minutes
<10> im gona check the source
<10> be back when i know what i need
<13> !+enter
<19> Don't use the enter key as punctuation. Think in complete thoughts, then type.
<4> can someone help me now? lol
<16> Anyways....Here is my question in proper "format". http://cpp.enisoc.com/pastebin/6959
<12> Adam_: if it's more than 3 lines, you still can't dump it here all at once
<14> Jymmm: I had to ground a girl's enter key the other day. ALL you saw was ehr name down the sid eof the screen and about a million lines of small sentances. UGH!!!
<20> is there something i need to do to make CLI PHP reload its php.ini file?
<7> Death_Sargent: in fact you just have to merge the two templates to make it work.
<12> khaladan: SIGHUP ?
<13> kittyanya you can't fix stupid
<14> Jymmm: no, but you can give it a good kick in the rear
<20> well, it's weird, since i thought php from the command line would always re-read the ini file, but i changed it and it seems like it didn't take


Name:

Comments:

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






Return to #php
or
Go to some related logs:

waking up ZMD hangs
mount nfts recovery ubuntu
screen position ubuntu kvm xvidtune
ubuntu cannot open display nautilus
88W8000G patch
#physics
#suse
could not find mkinitramfs-kpkg
maildirmake -q hangs
sendmail doesnt deliver to cyrus



Home  |  disclaimer  |  contact  |  submit quotes