Hello all,
I'm facing this problem and tried many solutions with no success. How do I reset the
value of PHP_AUTH_USER and PW.
I've tried session_destroy(), but as I'm not starting any session at all, it's not
worth.
I've tried using random value to include in header.
Now what should I do?
so, if I set php_admin_value open_basedir in httpd.conf, and I give
.htaccess AllowOverride permissions, can users Override the
open-basedir I set? And, how can I give out some Override's, but not
php_admin_value's?
Hi there,
I am just about to install a new server and I was wondering if php now
workes fine with apache2.x. I remember that there have been problems
some while ago. Is this fixed and is it good enough for production
servers?
Thanx,
Merlin
--
PHP General Mailing List (http://www.php.net/)
Merlin wrote:
Hi there,
I am just about to install a new server and I was wondering if php now
workes fine with apache2.x. I remember that there have been problems
some while ago. Is this fixed and is it good enough for production servers?
From http://www.php.net/manual/en/install.apache2.php :
Nitin Mehta wrote:
Hello all,
I'm facing this problem and tried many solutions with no success. How do I reset the value of PHP_AUTH_USER and PW.
I've tried session_destroy(), but as I'm not starting any session at all, it's not worth.
I've tried using random value to include in header.
Now
Juan Velasquez wrote:
so, if I set php_admin_value open_basedir in httpd.conf, and I give
.htaccess AllowOverride permissions, can users Override the
open-basedir I set?
No
And, how can I give out some Override's, but not
php_admin_value's?
--
PHP General Mailing List (http://www.php.net/)
To
Hello,
Thanks for your reply. but what I'm looking for is, yes logoff the user, but
not making him/her click some link. I've this page and I want it to ask for
username password whenever a user comes/comes back. Any suggestions?
Thanks anyway
Nitin
- Original Message -
From: Marek
Hi there,
thanx for the hint with apache2.x and php4.x.
I am now trying to build php, but the make command failes while configure did well?!
This is the cinfigure command I used:
'./configure' '--with-gd' '--with-freetype-dir=/usr/lib' '--enable-gd-native-ttf' '--enable-gd-imgstrttf'
Burhan Khalid wrote:
Merlin wrote:
Hi there,
I am just about to install a new server and I was wondering if php now
workes fine with apache2.x. I remember that there have been problems
some while ago. Is this fixed and is it good enough for production
servers?
From
Hi there,
in my previous post I wrote that I tryed to install php4.x with apache2.x and it generated problems with a module.
Now I installed apache 1.3.29 and it still does throw the same errors during make of php4.x
My guess is that this is coused because I have compiled sablot and curl by
I am having a login page which goes to login process file. I have a include
file which connects to database. Till now all was ok suddenly it started
showing following
---
Warning: main(): stream does not support seeking in
/home2/www/members/login-px.php on line 6
newbie alarm :-)
Dear all,
I just set up Apache, PHP and MySQL.
When using a link like xxx.proceed.php?language=gbr
the 'proceed.php' script does not receive any $language variable.
Does someone know how to get it run?
Thanks in advance
Klaus
--
PHP General Mailing List
php-general Digest 3 Apr 2004 16:15:45 - Issue 2684
Topics (messages 182235 through 182254):
Re: Global $_FILEs
182235 by: Jason Wong
Re: Problem sending with mail()
182236 by: Jason Wong
Re: php email functionality
182237 by: Jason Wong
182242 by: Burhan
When using a link like xxx.proceed.php?language=gbr
the 'proceed.php' script does not receive any $language variable.
Does someone know how to get it run?
This is a register_globals issue. Refer to $_GET['language'] instead of
just language. Or, at the top of your script, add
$language =
Your message dated Sat, 3 Apr 2004 19:18:13 +0200 with subject Re: Mail
Authentification has been submitted to the moderator of the WOC list:
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi...
i know this is a little ot but in an attempt to keep viruses off the list (i think)
somebody/something is forging an email in my name to the php mailing list as well as
mysql mailing list along with a few others. i get a message something like this:
your message titled: submit your
I have to send data to flash. Should i use the urlencode() or the
rawurlencode() function to encode the data?
If you are going to be doing this a lot, you should take a look at
AMFPHP, Flash Remoting for PHP, at
http://sourceforge.net/projects/amfphp/
This seems to be a fast, reliable way to
I am building a system which allows users to post data. I want to allow
them to use ONLY certain tags such as p, /p, b, /b, i, /i,
etc... I want to allow them to use only these, and then strip out ALL
attributes inside the tags. So if they input something like p junk=junk,
it would switch it to
Matt Palermo wrote:
I am building a system which allows users to post data. I want to allow
them to use ONLY certain tags such as p, /p, b, /b, i, /i,
etc... I want to allow them to use only these, and then strip out ALL
attributes inside the tags. So if they input something like p junk=junk,
hi...
i have the following code and i need to check to see if $_SESSION['guestbook'] has
been assigned to the session yet. if it has then use its values to create the combo
box...if it hasnt then run the sql query and assign it to the session as well as fill
the combo box with it... any ideas
Hi Andy,
Session Variable $guestbook exists?
echo isset ( $_SESSION['guestbook'] ) ? 'yes' : 'no' ;
Session Variable $guestbook exists and is not empty?
echo ( isset ( $_SESSION['guestbook'] ) AND
empty ( $_SESSION['guestbook'] ) === FALSE ) ? 'yes' : 'no';
-- red
Andy B wrote:
hi...
i
Jochem Maas wrote:
...
regular expressions, heres an example:
a slightly better example, which will display nicely if you
try the test in a browser (I think most people start out that way, I
know I did.)
?
if (isset($_SERVER['HTTP_HOST'])) { ob_start(); }
$input = 'this divis some/div ub
Okay, I have it all set to remove ALL tags and their attributes that I don't
want. Now I just have to strip the attributes from any remaining tags.
Anyone know of something that will strip all attributes from any tag, but
leave the tag in tact? So p junk=junk would be p and /p more junk
would be
something like this might work (written on the fly):
$var = preg_replace( /\s*([a-z]+)([^]*)/i , //1 , $var );
special action on the closing tags is not necc. as they don't contain
any attributes.
-- red
Matt Palermo wrote:
Okay, I have it all set to remove ALL tags and their attributes that
This is what i have so far:
$allowed = 'brpbiuliolulstrong';
$info = strip_tags($info, $allowed);
$info = preg_replace('/([^])[^]*/', '\1', $info);
This works for everything except the closing tags. It turns /p into /.
Anyone know why?
Thanks,
Matt
Jochem Maas [EMAIL PROTECTED] wrote in
Good afternoon.
I'm building a class and am having a bunch of trouble with the PHP
array_keys function. I keep getting these errors:
Warning: First argument to array_keys() should be an array in D:\Htf.php on
line 33
Warning: Wrong datatype for second argument in call to in_array in
D:\Htf.php
hi...
i have a combo box that is filled with a query from an sql table...
this is its logic:
if $_SESSION['guestbook'] doesnt exist
then query database, fill $_SESSION['guestbook'] with its values from the db, turn the
value part of the option into the values from
1) Have your ISP upgraded PHP lately?
2) Are you including files from another server?
Meaning, your on www.domain1.com including files from
www.domain2.com?
Ive encountered this problem earlier when 1) and 2) was the case.
--
--
Kim Steinhaug
1)ok, will check out with ISP.
2)Yes but not for the page i am geting error - for few others. But
previously all was ok, why suddenly this problem came out ?
what u did in yr case ? pls guide me so that i will try it out the same.
manisha
Kim Steinhaug [EMAIL PROTECTED] wrote in message
29 matches
Mail list logo