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');
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
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
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
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
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
, 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
;
};
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
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
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 =
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
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
!
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
13 matches
Mail list logo