Re: [PHP] cache_control_limiter

2010-07-06 Thread Alexandre SIMON
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

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

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

2010-01-28 Thread Alexandre SIMON
ill do not know what 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 > Hello, > > I'm pretty "sure" (in r

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 b

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

2010-01-27 Thread Alexandre Simon
as newline ? > > On Wed, Jan 27, 2010 at 10:46 PM, Alexandre Simon wrote: >> 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 >

[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 : http://ubuntuforums.org/showthread.ph

Re: [PHP] process creation

2009-01-23 Thread Alexandre Gaigalas
g to run.. > > So.. thoughts/comments would 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

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

2009-01-21 Thread Alexandre Gaigalas
e exact results. But I get it when > testing POST and GET variables from web pages. > > Paul > > -- > Paul M. Foster > I've replaced all my techniques for testing POST and GET data by the filter extension. http://php.net/filter -- Alexandre Gomes Gaigalas alexan...@gaigalas.net http://Alexandre.Gaigalas.Net

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 hightligh

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

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 player

[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 po

[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 w

[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 Gener

[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. How can I fix this? With out to turn re

[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?

[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

[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

[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

[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 me.

[PHP] Using sessions

2002-02-25 Thread Joel Alexandre
_VARS but nothing changed. could someone help thanks Joel Alexandre Lisboa Portugal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 thi

[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: I would like to have a result like this: array(2) { ["X-Powered-By"]=> string(12) "PHP/4.0.3pl1"

[PHP] PHP scripts

2001-03-12 Thread Alexandre Hautequest
Hi all. How do i use php to build "shell scripts"? Please send me the compiler-time options or the link to the page that instructs me to how to do this, i had look at phpbuilder.com as mentioned before, but didn't find anything related. Thanks. -- Alexandre Hautequest hque

[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 Fundação de Estudos Sociais do Paraná - http://www.fesppr.br/ Centro de Administração de Redes - CAR "Ninguém é melhor do que

[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 Fundação de Estudos Sociais do Paraná - http