, but post your code and
maybe we can
figure out what's wrong.
Erik
On Thursday, March 21, 2002, at 09:24 PM, Scott Brown wrote:
Ok - first off, I've found a few... phpbuilder has a nice number of
references. But every one I've tried has ignored
attributes... either
that,
or I dont
Ok - first off, I've found a few... phpbuilder has a nice number of
references. But every one I've tried has ignored attributes... either that,
or I dont understand what I'm doing.
I retrieve from a distant server an XML response to an inquiry:
?xml version=1.0 ?
response version=1.0
, old, I know)
-Original Message-
From: Scott Brown [mailto:[EMAIL PROTECTED]]
Sent: March 1, 2002 9:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] help please -- error compiling php 4.1.2
(4.0.6 compiles
fine)
I'm trying to deal with the recent security advisory... but
I
So - to confirm...
If upgrading from a 4.0.x up to a 4.1.x version, putting register_globals =
on in the /etc/php.ini will ensure that old code continues to run.
But in the long term (ie, in some future php version), the $HTTP_* vars will
no longer be supported.
Is this correct?
[mailto:[EMAIL PROTECTED]]
Sent: March 2, 2002 6:51 PM
To: Scott Brown
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: php 4.1.1 vs 4.0.6
You will always be able to turn register_globals on.
Completely removing
that feature would make it impossible to ever run a lot of
code written
for PHP
Ok - the scenario:
I have a box that I lease... I have root privs, so I can do almost anything
I want to it. Almost being the key word. Unfortunately, any time I try to
upgrade a base library, I snafu the thing, and the datacenter has to rebuild
the libraries.
Right now, I've got php4.0.4pl1
I'm trying to deal with the recent security advisory... but I cant get
4.1.2 to compile on my system
I'm getting :
gcc -I. -I/home/webmaster/new_build/php-4.1.2/ext/standard -I/home/webmaster
/new_build/php-4.1.2/main -I/home/webmaster/new_build/ph
p-4.1.2
Unfortunately, you're punishing the infected person, rather than the
instigator of the worm.
I've read of people developing perl scriptlets that basically hold the
connection open as long as possible by fooling the other side into thinking
that it's got a host it's infecting... thereby slowing
I've got PHP a routine that encodes some sensitive information using PGP and
then emails this from my linux server to a few separate people
People using Outlook (full version) see a perfectly formatted message when
it gets decoded.
People using Outlook Express see the message with the \n
Thanks for your reply.
Unfortunately, the problem is not in getting the code to execute - I know it
is for two reasons:
1) the setcookie(...) is being triggered because I have cookie warnings
turned on in the browser, and it warns me that a new cookie is being
received and it shows me the
(it's been about 12 hours since I sent this, and havent seen it come
through, so I'm re-building/re-sending it... 'cause I need some help on
this)
I'm confused. I'm bemuttered. I'm pulling my hair out.
I have a page which processes a membership request, and includes the
following code:
from
Has anyone any ideas/recomendations/pointers on how to send secure mail
through PHP?? Reason is that I may soon want to collect CC info through a
SSL secured page, and then email it off to me.
I have a linux server, PHP4.0.4pl1, and PGP2.6.2 at my disposal...
My theory is that I'd call PGP
Using a GD that has GIF support, you can do this
?php
// we expect $scale and $image to be defined, having been passed to us via
// query string, e.g. http://www.foo.com/img.php3?image=test.gifscale=4
// create an image object from the source file
$srcImg =
OK - this one really is stumping me.
I have a shell script that I'm running through bash on my linux server
it includes:
./configure \
--with-apache=../apache_1.3.17 \
--with-gd \
--with-mysql \
--with-gdbm \
--with-mhash \
If you're authenticating via .htaccess you can use the
environment variable "REMOTE_USER" to use as the
username to do the select on the db. Something
like:
$user = getenv("REMOTE_USER");
$sql = "Select * from usertable where username = '$user'";
I'm (currently) using PHP3.0.15 and
Have I lost something somewhere?
I have code which runs under PHP3.0.15, and PHP4.0.2 which references the
result of a
$row = mysql_fetch_array($result_of_query);
by doing things like:
$row["this_is_a_field_name"]
Seems simple, right?
Well - I compiled a new copy of Apache
Forgot to ask - does referencing an array with double quotes
around the key work for arrays not associated with a MySQL
result? I doubt it's specific to MySQL result arrays, but
it doesn't hurt to check. Make a small array and test.
I grabbed an example of of php.net dealing with just
I'd be curious to see others' answers on this because I
upgraded everything
the other day (been at php4 for a while though) and I don't
have a problem
with the quotes.
I've probably just putzed something somewhere during the build it's
been one of those days.
But the thing is it's
I've got a real weird problem happening after building 4.0.4pl1 and mysql
3.23.32 on my test machine. I previously had 4.0.1 up and running with an
earlier version of mysql - I think it was 3.22.xx - and this combination
worked fine.
I *seem* to successfully connect to my mysql database...
Welcome back to the ColoradoPTAC website, ?PHP print
$row['company']; ?.brbr
Please click a href="registered/registered.html"
target="_top"here/a to
complete the login process and begin using the site.
/center
/td
I dont know if this is reasonable to do or not, but what I'm thinking of
validating a user based on his/her current username/password.
Does anyone know if this is possible to do?
Or better yet - does someone have some code sitting around I can scavange
from? PHPBuilder didnt help much
Ok - I thought I saw that it could be done, so I tried it... and I almost
got it working.
But rather than one simple layer, I've got SHTML that calls other SHTML and
so on it made changes really simple until now ;-)
So anyways, rather than use ? virtual() ? I've replaced my
I tried virtual first - but it didnt work.
it grabbed the first ? virtual(...) ? call, processed it, and then forgot
about the rest of the page.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 11:56 PM
To: Scott Brown
Cc: [EMAIL
nd headers.(well,
it's worth asking...)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 12:02 AM
To: Scott Brown
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mixing PHP3 SSI
Well, your readfile() method will never work in a
If readfile is indeed that "broken", maybe we can talk the
powers that be into dumping full HTTP headers through the
readfile call in a future version I mean, the main
script has it already from when it was called... so it
should be able to sub-call pages in that same context.
25 matches
Mail list logo