Re: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Dmitri
Try adding session_start() at top of the script Balpo wrote: Hi everyone, I'm having a problem moving my code to a linux computer. I won't post the whole code here, but an accurate example that reproduces exactly the error. // 1.php ?php session_register('tree');

[PHP] My open source php CMS

2008-05-15 Thread Dmitri
Hello, first of all, sorry for this plug, I am looking for interested developers. I just want to let you know about my open source project that uses over 15 pear classes and uses pear installer as the primary means to install it I also wrote a web-based interface for using pear installer to

Re: [PHP] question about validation and sql injection

2008-05-15 Thread Dmitri
your validation looks good enough to me. If you only allow alphanumerical chars, then your should not be worried about sql injection also use addslashes($username) before you insert into database and you should be fine. Usually addslashes is enough to prevent this, but the validation that you

Re: [PHP] SetEnv directives in VirtualHost configuration not accessible in PHP

2008-05-16 Thread Dmitri
If you are on apache2 server, try |$myvar = apache_getenv(|APP_CONFIG_SECTION|); echo $myvar and see if it has value that you expect | Dietrich Bollmann wrote: Hi, I have the following directive in my virtual host configuration: SetEnv APP_CONFIG_SECTION development and would like to

Re: [PHP] mnoGoSearch and similar

2008-05-21 Thread Dmitri
Mattias Thorslund wrote: Hi, I'm looking at possibly implementing mnoGoSearch (for indexing and search of uploaded documents on the server) into my application, but noticed it has been moved into PECL since PHP 5.1. Does this mean mnoGoSearch has been deprecated and there is a

Re: [PHP] Strategy to protect images

2008-06-15 Thread Dmitri
This is how I do it: 1) put image files in folder that is not accessable from browser, like outside of http root dir. 2) in the img src tag point src to script like img src=/image.php?imageID=$someID where $someID is the id of image or name of image you want user to see 3) the image.php

[PHP] overriding php.ini path in cgi

2003-02-04 Thread Dmitri
, same results). Can anyone suggest why, or how to override php.ini path otherwise? Thanks a lot, --Dmitri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] overriding php.ini path in cgi

2003-02-04 Thread Dmitri
; }; Thanks, --Dmitri - Original Message - From: Dmitri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 7:01 PM Subject: [PHP] overriding php.ini path in cgi Hi! I am trying to override php.ini filename for cgi scripts running through the following setup

Re: [PHP] Sessions and Cookies

2003-02-04 Thread Dmitri
for this directive (e.g., output_buffering=4096). output_buffering = On --- Yours trully, --Dmitri - Original Message - From: acleave To: php-general [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 12:01 AM Subject: [PHP] Sessions and Cookies I'm trying to use cookies in PHP4 (.whatever

[PHP] PHP --with-java problem

2002-04-12 Thread Dmitri Zakharov
I am trying to configue PHP with Java support. with PHP-4.1.2, JDK1.3.1_01 The installation goes smoothly. My php.ini file contains the follwing section for Java code [Java] java.class.path = /usr/local/src/php-4.1.2/ext/java/php_java.jar java.home = /usr/local/jdk1.3.1_01 java.library =

[PHP] HTTP_RAW_POST_DATA

2001-05-07 Thread Dmitri Zasypkin
Hi, Could anyone help me with altering PHP sources? Or tell me please where may I ask this question? The problem is when PHP handles a POST request of a known Content-type (e.g. x-www-form-urlencoded), it leaves $HTTP_RAW_POST_DATA blank. I need to alter the sources so that PHP would always put

Re: [PHP] HTTP_RAW_POST_DATA

2001-05-07 Thread Dmitri Zasypkin
Zak, Thank you for the answer. Are you sure $HTTP_POST_VARS will be still set after that modification in case of a valid x-www-form-urlencoded POST request? I'm afraid they won't.. Such side effect is very undesirable for me. Anyway thanks. Zak Greant wrote: Dmitri Zasypkin wrote: Hi

[PHP] User's language settings

2004-11-08 Thread Dmitri Pissarenko
! dap -- Dmitri Pissarenko Software Engineer http://dapissarenko.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php