@# 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> Oh, and it's hexdec() not hextodec()
<1> CryWorlf, in this case it comes from paypal. horde takes care of it when displaying the email now i'm making my script do the same
<2> nemik: then look at what horde does
<1> crywolf, hmmmm yea perhaps i should. thanks
<3> time for lunch
<4> Anybody got any good recommendations for PHP OOP related books?
<5> Hmm, just wondering ... I'm designing a site, and I would like to make my code as easy to move as possible. I was thinking about having a table with user specific stuff, email, p***word ... that's it (or, for the most part). And then having a second table project-specific. The only downfall I see with this is that I will have more queries since I will be pulling info from two tables instead of wrong. Is this a bad thing? or do you guys think it is good? Just doin
<0> You can pull it all in one query, and if the tables are indexed properly it shouldn't make any noticabe impact on performance
<6> sycofant: would you know how to do that?
<6> I'm trying to create a php script with a database that is user friendly for my client. I want it to be able to add/delete certain points on the map here is a example; http://www.dewitts.biz/test.php
<5> Sycofant: Gocha. When you say "indexed properly" ... what do you mean, exactly? I would most likely have the user specific table have an idea, and the project specific table have an id and a parent_id that links back to the user id.
<0> Yeah, and make indexes on the things you will be selecting on
<0> tdd1984: Uh, that is Google Maps?
<5> Sycofant: hmm, can you elaborate on that? Just want to make sure I got it
<7> Sycofant: i guess he wants to do something like that
<0> So if you're doing WHERE user.id = project.user make sure that user.id and project.user are both indexed



<0> user.id would probably be a primary key, so that's taken care of, but you'd need to add an index for project.user
<6> syncofast: yes that is google maps
<8> Just a question. In my PHP script I have some logging that is done but which does not affect the data sent to the browser. Is there any way to tell PHP 'I'm done talking to the browser, there will be more processing but nothing further will be sent'?
<0> But on small databases it's still not going to be a big impact.
<5> By an index, why not just a INT with increment set.
<0> It is, but you use SQL indexes to increase performance
<6> sycofant: yes its a google map
<0> Google for MySQL index performance or something.
<7> mhillyer: see ob_start (); ob_end_flush ();
<0> tdd1984: indeed.
<8> Thank you sse2.
<5> Sycofant: Gocha - thanks
<8> sse2: Anything stopping me if all I send is a header redirect?
<7> mhillyer: well you wont have redierctions problems with header using ob
<7> s/redierctions/redirections
<8> Thanks twice.
<6> sycofant: was you talking to me when you said mysql index performance
<7> even if you put header ('Location: www.foobar.com'); in the end of the document thats what ob is for
<6> sycofant: do you know where i can get a php script that will do this
<9> h all
<0> tdd1984: No, I was talking to foo.
<6> k sorry
<0> And no, not really mapping is very complex.
<9> can you tell me what is wrong with this code? http://pastebin.com/712865
<6> sycofant: you telling me
<6> to complexed
<9> all what shows is My name is
<6> there has to be a way thow to
<6> have a database taht will edit them settings
<0> tdd1984: There are ways to use Google Maps within other applications, look into that.
<7> return $this -> Name
<6> sycofant: i need it on a website thow
<7> OmiKrOn: not $Name
<9> ok ty
<0> Yeah, using Google maps within other web applications.
<6> sycofant: kinda of a stupid ?, but what should i search for
<0> Actually, you've already got it with that page.
<0> You just need to store and recall map points
<9> sse2: another question, does PHP4 supports what it is called visibility of the methods or properties??
<6> sycofant: yout alking about the web page i posted
<0> YEah
<6> sycofant: yea i got it on that website, but I need to set up some kinda of database that is userfriendly that will modify the points
<6> with out going in,and edit the code my self
<0> tdd1984: That is a bit a big ask really
<6> lol yea i know
<6> quite complicated
<7> OmiKrOn: properties and methods are visible from inside the same object you have to extend your cl*** to refer to another cl***
<7> OmiKrOn: now if youre talking about private and public methods you might want to move to PHP5
<9> sse2: yeah that is what i am talking about
<7> PHP 5 is the answer then :)
<9> was just a curiosity
<6> sycofant: I could set the test.php attritbutes to write/excute/read, but then create a script that will send the data to the php file to edit it
<6> lol but don't know how
<6> to make a script like that
<7> OmiKrOn: which is what im dealing with now, i have to use 4 in my project since its the version that is widely available on shared hosts
<6> or how to have it rewrite the test.php file
<0> It's fairly complicated.
<7> tdd1984: learn Java
<6> java ****s
<6> php is my buddy



<6> lol
<6> sorry
<7> tdd1984: your buddy is not meant for what you want to do
<10> hey anyone have any ideas for my new script here http://sourceforge.net/projects/phpgraffiti
<6> am i going have to use java to do that
<4> lol comparing a honda cbr and a ferarri f50 , is that even possible?
<11> use vb
<10> demo@ http://lanceslife.com/?content=graffiti
<6> sse2: should i use java then?
<7> tdd1984: sure
<0> [sellout]: Well, that's different
<6> sse2: i should be able to use php
<6> php should rewrite the test.php file which contains the map, but i can set text field with the lat. lon.
<0> xpowerstudios: A CBR, while a crappy Honda, is much better than a Ferarri, as the Ferarri is ugly.
<0> tdd1984: It is a fairly easy task to do, and more than achievable, but you need to know how to do PHP/SQL stuff
<6> sycofant: i know php
<6> but not how to do this one
<11> wha are you trying to do, tdd
<6> sql still learning
<4> Sycofant: the point is , to each of his own both are performance engines that are widely used, but built for completely different purposes and are used thereafter
<6> still learning both actually
<0> xpowerstudios: Sure, but the Ferarri is ugly.
<4> Sycofant: that might be
<11> xpowerstudios: dont forget, sdl.
<0> tdd1984: Look into one of the SQL abstraction cl***es.
<11> tdd1984: what are you trying to do?
<12> Hello, What is the command to convert A to decimal? I know it is something liek decbin but I forget
<6> tobmoox: okay look i got a map here http://www.dewitts.biz/test.php. I want to create a database, so just one person can change the points of the map like how many points are on there, and be able to add more, and stuff
<0> xpowerstudios: It is. And Java is ugly too.
<0> exoity: php.net/manual
<4> tobmoox: you've got a point to make about SDL?
<11> so make a database for that
<0> exoity: And it's ord
<6> tobmoox: I want it to be userfriednly thow
<11> how userfriendly?
<6> just for the average pc user to use it
<11> then maybe you wanna make it in java
<6> u know like a text field where they can add/delete certain points
<11> and use an applet
<7> tdd1984: idiots imply clicks
<7> tdd1984: using text fields dont imply average users clicks do
<6> well for the longitude, and latitude positioning
<6> on the map
<11> tdd1984: i think you should code it up in java, not php
<6> k
<6> tobmoox: do you know of any scripts already made for that?
<11> no sorry
<11> except xpowerstudio's sdl game
<11> thats kind of similar
<11> no theres nothing
<0> tdd1984: Check out the Google Maps API and their discussion group, there may be existing and easy ways to do this.
<0> http://www.google.com/apis/maps/
<4> tobmoox: You still haven't answered my question
<7> http://freshmeat.net/search/?q=java+map&section=projects
<6> okay guys thanks
<0> xpowerstudios: You own a Ferarri, don't you. That's why you like them.
<6> i've been looking all day, but i guess i'll conitnue looking cause im sure someone has already written a database for it
<6> u can write databases under java correct?
<11> is there a ferarri mode in your game xpowerstudios?
<4> Sycofant: spas?
<11> tdd1984: you can communicate with databases in java i think
<7> im sorry can someone tell me what does SDL has to do with PHP ?
<7> tobmoox: you can, the language would be useless if you couldnt
<6> yea
<7> theres tomcat for that
<7> afaik
<6> database is just somewhere where data is stored
<7> hello ? can someone tell me what does SDL has to do with PHP ?
<11> ask xpowerstudios
<7> someone pointed that out
<11> he seems to know
<7> xpowerstudios: what does the Simple Direct Layer has to do with PHP ?
<4> tobmoox: I would concider you a child, but i'm afraid a childs intelligence level would be rated much higher. Stop making a fool out of yourself, or go find a ferarri game.
<7> xpowerstudios: im asking for real


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#sdl
Genkernel -all ERROR: Failed to compile
mysql bind_address
#linux
#perl
tutorials fo GIMP
Napalm components
#css
#perl
#linux



Home  |  disclaimer  |  contact  |  submit quotes