Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

26 October 2007


Total 50 pages. You are browsing page 1/50.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Fri Oct 26 00:00:01 2007
--- Day changed Fri Oct 26 2007
00:00 <****> freshhawk, yeah, PHP in the cpan
00:00 <****> Kronuz, http://search.cpan.org/~karasik/PHP-0.11/PHP.pm have a look at how he did it, maybe you can do something similar
00:00 <****> I can't figure out how param can be an array?
00:00 <****> redrain, i don't want to add anything to the file... i just want to post the contents to a web server
00:00 <****> All the actual game processing happened inside the "tick processor", the web front end was conventional PHP and essentially was reporting / turn setup
00:00 <****> erisco: you should, you can make a great game :D
00:00 <****> freshhawk, thanks, I'll take a look to it
00:00 <****> redrain, and have php write the posted data to a file
00:00 <****> MarkR42: so it ran periodically, so it isn't a long running daemon, no?
00:00 <****> InsolentDreams: It was a long running daemon, but it didn't really need to be, that's just how I had it implemented
00:00 <****> erisco, do you always spend your time doing experimental project with little value
00:00 <****> erisco: one day, famous browser-based game :D
00:00 <****> guid3r, I am a kid, I am very much allowed to :P
00:00 <****> The daemon just did sleep(lots...), processturn(), sleep...
00:00 <****> in my html document?
00:01 <****> mfolnovich, that'd be nice... so long as I am charging a membership fee :P
00:01 <****> Yeah, that supports my point in your case. :P There are reasons for long running daemons in PHP, just very, very few. :P
00:01 <****> erisco: :P
00:01 <****> guid3r, I have written things with great value though... such as my dynamic headers script
00:01 <****> InsolentDreams: There was no reason to do it that way, had I got it to a playable state, I might not have done it like that.
00:02 <****> One option would be a long-running non-PHP based daemon that just kicks of the PHP CLI at regular intervals
00:02 <****> Yeah. :)
00:02 <****> Like "cron" but with better control over multi-instancing, startup, shutdown etc
00:02 <****> guid3r, what are your two favourite colours?
00:02 <****> and different behaviour
00:02 <****> if i'm reading web sites with sockets, and want to select just a part of that website.. which function should i look into?
00:03 <****> Nicki^^: Don't do screen-scraping. It's bad.
00:03 <****> erisco: I'm crazy with that game I'm programming, one friend, goes to, hmm, not college, something like that, and I'm going to elementary school :) he's making story, buildings and all for game, and I'm programming :D
00:03 <****> what's screen scraping?
00:03 <****> Nicki: definitely do screen scraping, it's awesome.
00:03 <****> What you're trying to do ;)
00:03 <****> has a term
00:03 <****> i guess i'll start with that..
00:03 <****> mfolnovich, consider yourself lucky
00:03 <****> Nicki^^ you'll want substr, strpos, etc.
00:04 <****> mfolnovich, there is no one in kilometers of me who could relate to my interests
00:04 <****> Nicki: look into the string functions heavily.
00:04 <****> I really got quite a long way with my browser-game, it was well designed but lacked entheusiasm, also the implementation was getting quite complicated
00:04 <****> guid3r, I am serious. two fav colours.
00:04 <****> Plus that was way back on PHP4.
00:04 <****> I think I made a bad decision of ORM
00:05 <****> erisco: his idea was making game :)
00:05 <****> erisco: for competition to ogame :D
00:05 <****> mfolnovich, the hard part is gaining recognition. Unfortunately there are dozens, hundreds, of browser games out there
00:06 <****> erisco: I'm from Croatia, which is known for good programmers all over world, but for algorithm contents, we are trying to proove to others that Croatians are good in web programming
00:06 <****> guid3r, do you like navy and yellow?
00:06 <****> heay, again about the visual studio, can php be built using ms visual studio 2005 ?
00:06 <****> mfolnovich, well good luck in your quest
00:06 <****> or do I need mingw
00:06 <****> Kronuz: Good luck with that. I don't believe it can be done.
00:06 <****> for some reason when i put a php echo statement in the head of an html doc it displays the actual php instead of the result
00:06 <****> why would that be?
00:06 <****> guid3r, no way! pink and purple
00:06 <****> mlubin: most likely you're using short tags. Try opening with <?php instead of just <?
00:07 <****> erisco: tnx, good luck to you too :)
00:07 <****> Kronuz: I remember a project about compiling and developing php with .net... but i don't know what happened to it.
00:07 <****> mlubin: or your apache/webserver isn't configured properly.
00:07 <****> InsolentDreams: no..
00:07 <****> how so?
00:07 <****> mlubin: paste code
00:07 <****> http://projects.abstractflow.com/dynamic_headers/img.php?t=Heya%20guid3r!&tc=4B0082&bc=DDA0DD&xb=20
00:07 <****> mlubin: it's not executing the php obviously. Is your filename .php, and apache is configured to run php scripts?
00:08 <****> InsolentDreams: are you kidding me?
00:08 <****> erisco: it's 12:11 AM here :)
00:08 <****> AlReece45, so generally it's compiled with mingw then, I guess..
00:08 <****> mlubin: uhh no
00:08 <****> mfolnovich, are you nocturnal or something? :P
00:08 <****> of course its configured to run php scripts
00:08 <****> erisco: what does it mean nocturnal?
00:08 <****> and make it output contents.
00:08 <****> If it does not, then it isn't configured. :P
00:08 <****> mfolnovich, you sleep during the day and are awake at night
00:09 <****> erisco: no ...
00:09 <****> erisco, what am I: I sleep at different time every day
00:09 <****> InsolentDreams: that is so not helpful
00:09 <****> i hate you
00:09 <****> erisco: hmm, wrote wrong, it's 00:12AM xD
00:09 <****> guid3r, dang I forget the name for that
00:09 <****> mlubin: I'm sorry if you're a skilled expert here, but we get all types here. I am trying to help, so maybe you're not telling us something.
00:10 <****> erisco, what is the dynamic headers tool doing?
00:10 <****> guid3r, you know sIFR?
00:10 <****> is there a reason cookies wont clear in ie 7?
00:10 <****> erisco, my favorite colors: I like all colors. let's say two common colors which go fine together - black and blue
00:10 <****> it works in another page
00:10 <****> guid3r, here is something that doesn't use javascript or flash
00:10 <****> erisco: but soon I'll go to sleep, having school at 7 AM ...
00:10 <****> hello, when I enter this code: http://pastebin.com/m5d49e8ee it does not print any values in the table. Does anybody know why?
00:10 <****> mfolnovich, my bus picks me up at 7
00:11 <****> mlubin: there, that's a start. Can you pastebin both files?
00:11 <****> Kronuz: Phalanger is the project
00:11 <****> erisco: talking to that guy who's thinking about story of game :)
00:11 <****> erisco: my schools is 15 min from my home :D
00:11 <****> mfolnovich, my bus ride is an hour
00:11 <****> mfolnovich, yet my high school is only 20mins away...
00:11 <****> erisco: and you are going to, what, elementary, high school or what ?
00:11 <****> erisco, the value of sifr is that you don't need to download an image from the server. image headers predates sifr
00:11 <****>
00:11 <****> AlReece45, thanks


Total 50 pages. You are browsing page 1/50.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo