@# 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> no flashing tho?
<0> ah :)
<1> the app in the task bar will flash, plus the one in the systray
<2> say if im using dynamic content, all loaded from a database, and in this example i am showing all the information in the field Description.. But within that description, i want to include a video or shockwave file, how would you do that?
<0> you would go on #html
<1> Advocated`: either offer a upload system in the cms, or upload it via ftp and static-reference it.
<1> i'm actually looking at the same sort of delema... though i think i have the solution... but i'm not sure. :D
<3> ooh ooh does php do postback ? :)
<1> postback?
<0> as opposite to postfront :P
<1> just stick the tape on the other side...
<1> :D
<2> DWism im just not sure how to work it. I want to do a totally dynamic page, can you still acheive proper page formatting and layout when all the content is stored in a database table?
<1> Advocated`: yup
<2> do you know of any examples or tutorials?



<1> Advocated`: it works just like normal html honestly. no different
<0> check this one out: echo "<html><head><title>The boo! page.</title></head><body>Boo!</body></html>"
<2> so, for instance, on this page http://uk2.php.net/while its got some information, would that be stored in one table field?
<1> that would be a number of different fields for the entire page :)
<1> different tables too
<2> oh, how come then?
<2> thats what im not sure on
<1> page_content in one, comments in another
<1> anything that repeats itself
<2> oh yea, didnt see the comments,
<2> what about the different fields, just for page content
<1> i'm sure they have a heirarchial list of all the functions and such
<1> just for page content... they probably only have a few tables
<1> name, content, updated
<0> 1 table
<0> 3 fields
<2> ill explain my dilema, i want to show an article based on a search term
<0> code type content :D
<2> my table is at the moment like:
<2> id, title, content
<2> just seems very basic
<1> that's about all you need
<1> unless you want to get further into SEO and include keywords / description / author ... blah blah
<1> should add an updated though
<2> and would/could you include things like <divs> within that field?
<1> sure
<2> DWism ive kind of done that sepearetely
<1> would and could
<2> *seperately even
<2> ahh cool, thanks for the help then
<2> ill go have a play for a bit
<1> why seporate? it directly relates to the content in question
<2> that sounds a bit rude
<2> DWism i mean, ive done it for something else, so shouldnt be that hard to move over to what im doing now
<1> ahh
<1> my cms has an insane amount of data for pages :D
<1> content, description, name, keywords, title, author, last editor, bound items, blah blah blah :D
<2> do you store it all in the database? was having a conversation with someone yest about why you should or shouldnt store information such as the wikipedia site into a database
<1> yeah, i do
<2> because the wikipedia content could stretch over multiple pages
<2> so would it be better to use files?
<1> really it's more a load question
<1> what i'll probably end up doing is caching the actual page output of most pages for 24 hours
<4> what would be better would be to use postgresql on applications that are like wikipedia
<1> so i'm not running 60 freaking queries every time someone hits a page
<4> DWism, stored procedures.
<1> segfault-: stored procedures are not going to run smarty template procing for me :)
<4> yeah but i can improve it.
<5> been reading spiderman storylines
<4> it
<5> so so so weak
<1> segfault-: uhm... that's kinda apples to oranges :)
<4> Hajuu, welcome to world of productivity
<4> DWism, nope
<1> they're indexed lookups
<5> Productivity?
<5> Its 1am..
<4> Hajuu, not on every country
<4> netics, we don't care.
<1> but with the design of the software, stored queries wouldn't change the amount of queries for pulling data. :)



<1> i'm not pulling from multiple tables or anything
<6> header('Location: http://www.incomegroupforum.com'); <- what's wrong with this?
<1> it's just the way everything needs to interface that causes it.
<4> DWism, it's not about the amount
<4> DWism, it's about improving it and doing better
<1> Dannyboy-: looks fine
<6> oh ok just figured it out!
<6> dam i was redirecting to the same page that's y i got the error
<1> segfault-: well, either i use a FS write-around for smarty, or i use a db lookup. db lookup is less taxing than the fs workaround. :)
<1> Dannyboy-: ... LOL :D
<6> no no wait
<6> Warning: Cannot modify header information - headers already sent by (output started at /home/dannyboy/public_html/index.php:2) in /home/dannyboy/public_html/index.php on line 3
<6> still same error
<1> means you already output a line
<1> you have a blank line at the top of your file
<1> :)
<1> or at the top/bottom of an include
<4> Dannyboy-, same
<6> no no the page only has
<6> <?php
<6> header('Location: http://www.incomegroupforum.com/forum');
<6> ?>
<4> Dannyboy-, pastebin.
<6> and html open and close tags
<1> Dannyboy-: you are lying
<6> segfault just those lines
<1> ahh
<1> lose the html lines
<6> oki
<1> see?
<1> don't fib to us, we can tell. :)
<4> Dannyboy-,
<6> i didnt fib lol
<4> AND
<7> morning
<4> youi didn't put the full error
<1> PapaBear: :)
<6> yes thats the full error lol
<4> http://www.incomegroupforum.com/
<4> Warning: Cannot modify header information - headers already sent by (output started at /home/dannyboy/public_html/index.php:2) in /home/dannyboy/public_html/index.php on line 3
<4> uups
<7> dwism, got an interview with a company down in carlsbad this thursday :D
<4> my bad
<6> its fixed now :)
<6> thanks guys
<4> then check after line3
<1> PapaBear: sweet :)
<7> yeah, within driving distance, and its like 50K+/y
<7> just for doing basic LAMP ****
<4> PapaBear, at least if they pay good it's ok
<2> damn acache mod_rewrite
<2> or even damn apache
<1> Advocated`: what's up?
<1> hehe
<1> PapaBear: that's cool... almost got the new server totally ready for clients... :D
<2> DWism nothing, just been trying to fix a problem for ages, realised now its because my mod_rewrite is changing my links :p
<1> Advocated`: lol
<7> dwism, nice, can i try to blow it up yet? :D
<1> Advocated`: i do a lot of mod_rewrite work here...
<1> PapaBear: give me a few and i'll switch you over... just letting all the perl modules finish installing
<1> only got 100 or so perl modules to go :/
<8> DWism PERL modules?! heh I thought you were a php guy :P
<2> DWism sorry back now, what kind of stuff do you do with mod_rewrite?
<2> so far, ive done it so users can goto like mypage/title rather than mypage.php/title.php
<9> segfault- hey again
<9> segfault- the files should be put in the folder www, right ?
<4> {}naz, yep$
<1> fun stuff, i love my steady connection. :D
<1> PapaBear: even have json installed for you
<9> lol me too
<7> zog zog :D
<7> json rocks
<7> :D


Name:

Comments:

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






Return to #php
or
Go to some related logs:

general error c101008a
php_pdf.lib example
the song Hallulejah
rpm warning: user tv does not exist - using root
#skype
skismek
#c
dewcat
#chatzone
Squid Parent: child process +exited due to signal 6



Home  |  disclaimer  |  contact  |  submit quotes