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 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 scrip
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 different/bett
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
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
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 insta
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
// 2.php
user's primary language?
Thanks!
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
7;,
as
; a value 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] S
v[1],0);
return 0;
};
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
etting the
"PHPRC" environment variable, 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
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
[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 = /usr/loca
quot;Could not set test cookie. You browser has disabled
cookies support.";
} else {
echo "Your browser supports cookies
}
}
Hope that helps. ;)
--
Dmitri Zakharov
email: [EMAIL PROTECTED]
phone: (514)938-7389
--
PHP General Mailing List (http://www.php.net/)
To unsubs
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
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
14 matches
Mail list logo