[PHP] Game development approach

2005-03-24 Thread Alexandre
Hi there, I'm developing an online game (using PHP+MySQL, and being totally interfaced via web) which needs to have a game cycle running. For example, the player is flying a plane, so he sets the plane speed to 10%, then the game cycle needs to keep moving the plane forward (i.e. updating

Re: RES: [PHP] Game development approach

2005-03-25 Thread Alexandre
Robert Restad wrote: I suggest you write a 'tick' engine, which i.e. games like Planetarion use. This should be written in C or C++, compiled... You can run this using PHP of course, and run it from command line/shell, but PHP isnt ideal for this. If you have a decent server and not too much

Re: [PHP] Game development approach

2005-03-25 Thread Alexandre
Robert Cummings wrote: Javascript. And perhaps use XmlHttpRequest to synchronize the game cycle with your web server from time to time. Or if the pages are being submitted, you can just synchronize at that time. Hi Rob, thanks for your answer. Let me see if I got it right, I would use javascript

[PHP] Problem with session and register_globals=off

2002-10-26 Thread Alexandre
Hello, When I try the code below and register_globals=On, its work fine, the counter variable is incremented each time that I load the page, but, when register_globals=Off, its does not work, the counter variable is save just in first time and never more. ?php session_start(); // register a

[PHP] Creating bw png images

2001-03-06 Thread Alexandre Hautequest
Hi all. To not use anymore gif, i switch my gd lib to 1.8, but i need to generate 2 colors png graphics, but i just got 16-bit images. Is there any place/function/variable i can set to achieve this? TIA. -- Alexandre Hautequest hquest at fesppr.br Fundao de Estudos Sociais do Paran - http

[PHP] Using PHP as a shell script

2001-03-09 Thread Alexandre Hautequest
Hi all. Can i use PHP as a shell script, like bash? Or this is inviable, impossible and/or out of question? Thanks. -- Alexandre Hautequest hquest at fesppr.br Fundao de Estudos Sociais do Paran - http://www.fesppr.br/ Centro de Administrao de Redes - CAR "Ningum melhor do que tod

[PHP] Using sessions

2002-02-25 Thread Joel Alexandre
Alexandre Lisboa Portugal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Building Libraries

2002-03-26 Thread Alexandre Soares
Hi All, This is my first participation in this group, so my question is I write a function in c, but I need use this function and more joined in a library make using the command ar rc alexlib.a x.o, but this procedure show a error when I use this in my browser, please anyone can help

[PHP] Again my question about Building Libraries

2002-03-27 Thread Alexandre Soares
Hi All, This is my first participation in this group, so my question is I write a function in c, but I need use this function and more joined in a library make using the command ar rc alexlib.a x.o, but this procedure show a error when I use this in my browser, please anyone can

[PHP] PLEASE SEE MY MSG

2002-03-28 Thread Alexandre Soares
Hi All, This is my first participation in this group, so my question is I write a function in c, but I need use this function and more joined in a library make using the command ar rc alexlib.a x.o, but this procedure show a error when I use this in my browser, please anyone can

[PHP] Creating an PHP program and C program

2002-07-14 Thread Alexandre Soares
Hello All, I wrote some times ago an library to draw graphics in 2 and 3 D, but this sources are write in C, whats the procedures I need to use this rotines in PHP. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] distinguish between null variable and unset variable

2009-01-21 Thread Alexandre Gaigalas
-- Alexandre Gomes Gaigalas alexan...@gaigalas.net http://Alexandre.Gaigalas.Net

Re: [PHP] process creation

2009-01-23 Thread Alexandre Gaigalas
be appreciated! thanks Check out the user comments under this function: http://php.net/ignore_user_abort -- Alexandre Gomes Gaigalas alexan...@gaigalas.net http://Alexandre.Gaigalas.Net

[PHP] Plotting Data Graphics

2002-12-23 Thread Alexandre Soares
Hi All, Where I can get more information about a free library to plot 2d and 3d data information, Thanks --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.427 / Virus Database: 240 - Release Date: 12/6/2002 -- PHP

[PHP] JPgraph Font Problems

2003-01-05 Thread Alexandre Soares
Hi All, So I install the jpgraph in Linux RedHat version 8.0, everything running ok, except examples need special fonts resource, the message follow bellow: Font File /usr/X11R6/lib/X11/fonts/truetype/arialbd.ttf is not readable or does not exist This problems occour

Re: [PHP] Text Editor for Windows?

2007-02-08 Thread Alexandre B.
u can try PSPad, a freeware code editor (kind of ultraedit but free) http://www.pspad.com/ ALexandre B On 2/8/07, Andrei [EMAIL PROTECTED] wrote: Lots of ppl would tell u lots of different php editors. I personally use editplus2 bcuz it's very light and has syntax hightlighting on php

[PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Hello, I'm pretty sure (in realty I do not understand a lot about the problem... :( ) this is a distribution or a version problem but maybe some PHP/bash expert here could have some idea and tell me what I could try to solve the problem described here :

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Le 28 janv. 2010 à 00:42, Ashley Sheridan a écrit : On Wed, 2010-01-27 at 23:27 +0100, Rene Veerman wrote: My initial goal is to complete a PHP script, using the PHP script itselfs as function for bash completion. Mechanism that works perfectly on some other platforms (with different PHP AND

[PHP] Re: Curious PHP cli output in context of bash completion ?

2010-01-28 Thread Alexandre SIMON
exactly differs and makes the problem appear. Maybe some PHP expert could orient me to the right direction (I'm not a Guru of compilation, especiallly for PHP ...) ? Thanks 2010/1/27 Alexandre Simon lexsi...@gmail.com Hello, I'm pretty sure (in realty I do not understand a lot about the problem

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Alexandre Simon
Hello, multiple things: - escape your values: 1. if some of the user input contains '\'' for instance, your query is not well formed 2. if some evil user want to do anything with your DB, he can do it = See mysql_escape_string or PDO prepared statements - Use else part of the if statement

Re: [PHP] cache_control_limiter

2010-07-06 Thread Alexandre SIMON
the cache_control_limiter to public, but it seems to stay in nocache. What can be wrong? Tried two servers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- SIMON Alexandre

[PHP] HTTP Response Headers using iPlanet

2002-01-28 Thread Alexandre Ferreira Novello
How can I retrieve the HTTP Response Headers using iPlanet or a independent SAPI function? For example, supose there is a function called response_header() If I write a script like this: ? header(TEST_HEADER: TEST_VALUE); var_dump(response_header()); ? I would like to have a result

[PHP] HOW TO: How can I retrieve the HTTP Response Headers

2002-01-29 Thread Alexandre Ferreira Novello
Hello guys, I asked that before, but I will explain my problem with more details. How can I retrieve the HTTP Response Headers using iPlanet or an independent SAPI function? Does these variables could come in any $HTTP_*_VARS or $_*? In Apache we have a function called getallheaders(), but

[PHP] Question to 'DIR'

2002-07-23 Thread Alexandre M. Stassevitch
It´s a silly question, but how can I create a directory on web?