Some files did work well, while others did not work at
all.
Is there anyone with reference of a small example of binary storage and
retrieval from database? I have performed working solutions for images
before, but this should support any file extensions (with exceptions of
course).
Best
Hi Tedd,
Thank you for your answer. I have it working for images already, the problem
comes to Excel, PDF's etc. I will do some more testing using your sample,
thanks.
/Peter
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:29 PM
To: Peter
Switch($a) {
Case 1:
Dowhatyouwant();
Case 2:
Dowhatyouwant();
Default:
Dowhatyouwant();
}
-Original Message-
From: Barry [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 5:12 PM
To: php-general@lists.php.net
Sub
ix for IE, but I can not find it. Anyone with experience of this?
Best regards,
Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ncoding: 7bit\n\n")
The message is being sent, but the UTF-8 specific characters are not being
presented. Is there any fix on this?
The messages etc are coming from a form. Is it possible to set the charset
for the form?
/Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That worked "better". Now I at least am getting something that looks like
the same it looks in MySQL database table. However, in the email client
(outlook, gmail, hotmail) it is being showed like this:
Document name: ´¡¿Ë
Document summary: ´¡Ë¿
/Peter
-Original Message-
F
, and is displayed correct on the web site when
retrieving the data from the database and using UTF-8 as the charset on the web
site.
When sending it in text/plain via mail() and charset=utf-8 it is displayed like
below.
/Peter
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent
What do you mean with the display fonts? Do you mean the text that is
inserted in the form?
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 12:55 AM
To: Peter Lauri; 'tedd'; 'Barry'; php-general@lists.php.net
Subject: RE: [PH
Yes, that class I am aware of. However, I only want to send text/plain
messages, not MIME messages.
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 4:36 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: Sending UTF-8 mail with
Hi, when I do that I do not get any download frame showing up. Can that be
solved?
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 4:58 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Setting headers for file download
#x27;);
header('Content-Disposition: attachment; filename="'.
basename($file_name) .'"');
header("Content-Length: $file_len");
readfile($file_name);
Peter Lauri wrote:
> Best group member,
>
> This is how I try to push files to download using he
in WHY the server is
not sending the correct headers? This is becoming more and more irritating
:)
Best regards,
Peter Lauri
-Original Message-
From: Rafael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 6:28 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Setting headers
headers for file download
Peter Lauri schrieb:
> Best group member,
>
> This is how I try to push files to download using headers:
>
> header("Content-type: $file_type");
> header("Content-Disposition: attachment; filename=$filename");
> print $file;
>
&
Best group member,
I have a variable $content that is taken from a database. It contains line
breaks and the $content will be posted with line breaks.
I need to use this to insert this into a JavaScript function:
$output = 'writeRichText(\'rte1\', \''.$content.'\', 400, 200, true,
fals
Just do:
SELECT * FROM thetable ORDER BY yourfieldyouwanttoorder
If you want it in reverse order you add DESC in the end.
/Peter
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 5:51 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Re
Thanks. I will ignore it, it is not a big deal in my Development. Was more
curious if where was an easy way :)
I am using PHP4
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 3:50 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re
o, 'cos it's been uploaded
before your script runs) then you should do a bit more checking before accepting
it. The Unix/Linux "file" command can help here. Not perfect, but still...
You could also Virus-scan the file before accepting it. All depends on whether
your cust
Jim Lucas wrote:
Peter Ford wrote:
Frank Arensmeier wrote:
17 jun 2008 kl. 22.14 skrev Jim Lucas:
Jason Pruim wrote:
Hi everyone,
I am attempting to adopt some code to work more reliably then how
it is now...
What I am doing is coding a upload form where people could be
uploading .zip
r)
And before everyone shouts use mySQL postgresql etc that isnt an option
at this point in time. I dont need to update the records I just need to
be able to read them with php.
Oh and whilst I'm here is it possible to read an ms-query via odbc?
(eg select * from myquery). Just thinking that may fix one of my
problems (Caps and spaces in table/column names aaarrgghh)
Peter Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
}
echo '';
echo '';
?>
If I'm reading this correctly you mean if the value has been selected
before select it again?
If so way I did it was by checking the database value
eg
echo " $value \n";
Peter Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bastien Koert wrote:
On Sat, Jul 5, 2008 at 11:04 AM, Bastien Koert <[EMAIL PROTECTED]> wrote:
On Sat, Jul 5, 2008 at 6:51 AM, Peter Jackson <[EMAIL PROTECTED]>
wrote:
$conn=odbc_connect("Database","",""); works
$a = "abcd"; (this va
Peter Jackson wrote:
well thats it Ive come to the conclusion that its a driver/lib issue.
From what I can see mdbtools lib only reads and only does basic select.
(eg Select * from table where col =thistext But not tex* % or date.
Also looks like the project has died (think the last release
e new image was a background image,
which was being copied up to the foreground... and I had caching disabled (I was
on my development system and hacking some annoying IE/JS problems) so the
copying-up was forcing a reload from source...
Not broken after all.
Faith restored.
All is well.
--
randa, but it's raining horizontally at the
moment and my keyboard hates being wet.
I'm using Lucida Sans for code these days - I finally figured that it didn't
really have to be a fixed-width font, since I couldn't find one that wasn't ugly.
--
Peter Ford
ne know if Apache can do such a thing?
In a Java environment, I used a session object which cleaned up such folders
when it was garbage-collected...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft Interna
ging permissions in /var - where is your web root?! It looks like
your PHP code has the /usr/local/apache/htdocs path hard-coded, when your web
files are actually in /var/something...
--
Peter Ford phone: 01580 89
Developer fax: 015
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 4:06 AM
To: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
Hi, Rob:
I forgot to mention that I have been using yum install.
I
Wei, Alice J. wrote:
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July
Wei, Alice J. wrote:
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford
t there is *nothing* output to the client before you
start pushing the ZIP file out - that definitely leads to corruption of such
things, although if you were sending data before changing the headers you would
get an error message about that.
What I can't understand is why is might work with
preg_split('/\s+/',$string);
echo "1: ". $data[0] . " 2: " . $data[1] . " 3: " . $data[2] . " 4: " .
$data[3] . " 5: " . $data[4]
?>
Does that work for you?
--
Peter Ford phone: 01580 89
nstead, I would say
But -- pause -- that didn't happen.
So, I write it:
But, that didn't happen.
It's arguably more correct in this case to use ellipsis:
But ... I could be wrong :)
--
Peter Ford phone: 01580 89
Developer
string:
e.g.
$foo = 'You need to pay $dollars...';
compared with
$foo = "You need to pay \$dollars...";
Again, it depends on you view of backslashes.
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justc
use one of:
die("ERROR--CAN'T CONNECT TO SERVER");
die('ERROR--CAN\'T CONNECT TO SERVER');
die('ERROR--CANNOT CONNECT TO SERVER'); // English is a very powerful language!!
and similar for the other message...
There may be other error
am or some such) and the actual size of the data sent in the request is
therefore likely to be some fraction bigger than the file itself (like 33%
bigger for base-64 encoding)
--
Peter Ford phone: 01580 89
Developer fax: 01
er to test on Wine or Mono?
-Shawn
Tried on Wine (version 0.9.60 on OpenSuse) and I could even get the downloader
to start.
To be fair, I've never really got anything to work on Wine...
--
Peter Ford phone: 01580 89
Developer
You want the php.ini setting:
log_errors_max_len
It defaults to 1024 characters: presumably that includes the preamble giving you
1015 or so to play with.
If you set it to zero then you get unlimited log messages. 'course that might
fill your logs up a bit...
--
Peter Ford
Anything else?
Cheers,
tedd
why don't people just check for x/y co-ord's on an image submit instead?
Not so good if you're using lynx, or if you're blind, I guess.
--
Peter Ford phone: 01580 89
Developer fax: 0
"Alain Roger" <[EMAIL PROTECTED]> writes:
I think both will be ok, it just depends on what's you want:)
> HI,
>
> i'm currently working on some web application and i would like to know what
> is the best way to do what i want.
> basically like all application i have a menu and based on selected i
& isset($_SESSION['userInfo']['loggedIn'] &&
$_SESSION['userInfo']['loggedin'] == TRUE) {
You can probably short-circuit some of that - for example if
$_SESSION['userInfo']['loggedIn'] is only ever set to TRUE (and is not se
*Anything else you use frequently in you're PHP'ing that's worth
> mentioning:*
>
> ps: I'm not asking for any kind of research project, just interested and
> interested to know what's most common + might learn something/find some
> new tools/toys!
>
&g
evant to the original thread) when I commit code
to the repository, it asks for a comment to attach to the commit.
That's really useful (as I think Richard finds) when I come to do my timesheets,
which is usually less often than my commits...
Cheers
Pete
--
Peter Ford
Ryan A wrote:
Which brings up a little question, any idea of whats ZEND's (or anybody else
that matters) opinion
of using PHP in a domain name?
eg: my-lovely-php-and-apache-website.com
Have a look at http://www.php.net/license/
"We cannot really stop you from using PHP in the name of your project
p me" is it possible to
send that text to a javascript? I am quite stuck here so any help would be
greatly appreciated.
regards
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks!
It works like a charm!
/peter
> On Sun, 15 Feb 2004 07:52:11 +0100 (CET), you wrote:
>
> Could be missing the point here because your question is quite vague.
>
> However...
>
>>I am using a web page that uses the following php code to display the
>>co
Hello group,
I am having problems to transform xml document with xslt_process().
This is my code:
test.xml:
Peter Billen
16
test.xsl:
http://www.w3.org/1999/XSL/Transform";>
test2.xsl:
http://www.w3.org/1999/XSL/T
execute the following query:
SELECT LAST_INSERT_ID();
Peter
-Original Message-
From: marc serra [mailto:[EMAIL PROTECTED]
Sent: dinsdag 17 februari 2004 20:17
To: [EMAIL PROTECTED]
Subject: [PHP] auto increment
Hi,
i use PEAR DB with a mysql database and i want to know if there
_FOR'] may be an array if the request was proxied
several times.
Regards,
Peter Albertsson
-Original Message-
From: ascll [mailto:[EMAIL PROTECTED]
Sent: den 30 mars 2004 03:13
To: [EMAIL PROTECTED]
Subject: [PHP] Wrong IP address
Greetings,
I make use of these: -
to get the
performance, discussing whether or not
to use OOP in PHP would simply be stupid (don't mean to offend anyone),
there is so many other variables that will have a far bigger impact on
performance than that.
Regards,
Peter Albertsson
Software Engineer and System Architect
-Original Message-
cked severeal
manuals and this is how it should be.
- The Best Of Times
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
image/gif
[tmp_name] => /tmp/phpugQpuz
[error] => 0
[size] => 1054
)
)
- BEST OF TIMES
/Peter
"Burhan Khalid" <[EMAIL PROTECTED]> skrev i meddelandet
news:<[EMAIL PROTECTED]>...
> On Tue, 2004-11-16 at 14:58 +0100, Peter La
efficient if I have a big array to do this.
How do I loop thru the array without the overhead of each()?
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey :)
But what if the array have a unordered keystructure? What your loop do is
to call the value with key $i, or am I wrong? What if the keys are strings?
- Best Of Times
/Peter Lauri
"Dirk Kredler" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> hey :)
Probably, thank you :)
"Pluance" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> You mean this?
>
> foreach ($arr as $key => $value) {
> echo "\$arr[${key}] = $value";
> }
>
> On Wed, 17 Nov 2004 14:05:23 +0100, Peter Lauri <
Check the function error_reporting() or check the settings in the php.ini
- Best Of Times
/Peter
"Rayan Lahoud" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hy, i am opening php files from my browser. If there are some errors in
the php file i can not see
quot;total" and still keep the acc.
with the basekey. I know I can easily do this by writing an function myself.
But are there any built in functions for this? I have looked at usort,
uksort and more, but they do not seem to solve my problem.
- Best Of Times
/Peter
--
PHP General Mailing L
quot;total" and still keep the acc.
with the basekey. I know I can easily do this by writing an function myself.
But are there any built in functions for this? I have looked at usort,
uksort and more, but they do not seem to solve my problem.
- Best Of Times
/Peter
--
PHP General Mailing L
I have tried to figure it out how to use it with those, but I can not find a
solution.
- Best Of Times
/Peter
"Sebastian Mendel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Peter Lauri wrote:
> > Best groupmember,
> >
> > I have an mul
I have tried to figure it out how to use it with those, but I can not find a
solution.
- Best Of Times
/Peter
"Sebastian Mendel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Peter Lauri wrote:
> > Best groupmember,
> >
> > I have an mul
as my .php file. I have
tried the following:
require("../classes.php");
require("http://www.mydomain.com/classes.php";);
and more.
All gives me error messages, why?
Anyone that could help me?
- Best Of Times
/Peter
--
PHP General Mailing List (http://www.php.net/)
To unsu
s.php");
But that doesn't work.
Help :)
"Pluance" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> What error happen?
>
>
> On Thu, 18 Nov 2004 09:15:22 +0100, Peter Lauri <[EMAIL PROTECTED]> wrote:
> > Best groupmember,
> >
&
Best groupmember,
What editor do you use when working with websites (php) connected directly
to the FTP?
I like Eclipse 3.0 with the PHP plugin, but it do not have the future to
connect to the FTP.
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Can someone from outside set a $_SESSION variable with some "hacker"
techniqe?
I assume it is easy to listen to the USERNAME and PASSWORD in the POST-form.
Someone with some tips and tricks to get a secure system without using
HTTPS?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing L
But if I am working on a webserver it would try to find it in the root of my
webserver, or am I wrong?
For example I use that notation with an image:
I use this:
Is this not the case for the PHP-scripting?
/Peter
"Jason Wong" <[EMAIL PROTECTED]> skrev i meddelandet
news:
If you use the Autority HTTP that pops up a login window by default, is that
safe against "listeners"?
/Peter
"Sebastian Mendel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Peter Lauri wrote:
> > Best groupmember,
> >
> >
t, but it works just fine for this solution. You can find the
algorithm in the end of this message.
/Peter
Array
(
[40] => Array
(
[1] => 16
[2] => 20
[3] => 20
[4] => 10
[total] => 66
)
[35] =&
almost
always all *BSD) and leave it running/earning for three years without
even a reboot. That's why the figures are as they are.
Regards,
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whole essence of
Open Source is that it can't disappear. This is a question to be asked
about proprietary software, not open source.
The biggest problem might be tact: he's not being terribly bright.
Regards,
Peter.
--
the circle squared
network systems and software
http://www.circlesquar
to include every file
as a .php class in every php that I want to use the class?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
olped. Was
hoping that it would be some sort of library system that could be used for
classes. Package?
/Peter
"John Holmes" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Peter Lauri wrote:
>
> > For the moment I have all my classes s
Best groupmember,
How do I find the execution time for a php-script on a webserver? ms?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Best groupmember,
I have the date 2004-12-24 in a string, and 2004-11-05 in a other. Is there
any date function that can assist in calculating the number of days left
until 2004-12-24 when it is 2004-11-05. (the dates are just testdates)
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing
Best groupmember,
I have the date 2004-12-24 in a string, and 2004-11-05 in a other. Is there
any date function that can assist in calculating the number of days left
until 2004-12-24 when it is 2004-11-05. (the dates are just testdates)
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing
.
/Peter
"Lordo" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I have not yet worked with sessions and I don't know why I DO NOT WANT to
> understand it!! :)) I am a traditional ASPer and I am addicted to cookies.
> But I want to use sessions if
Use if you are implementing php. I think that you can predefine
what scriptlanguage to use, and therefore can be used.
/Peter
"Suneel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Hi to all
any one Could tell me any diffrence between and .
Do phpinfo() for that, you will find that information there.
/Peter
"Phpu" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
If i have a php and mysql website...how many connections support mysql at
one time ?
Thanks
--
PHP General Mailing List (http://
Solution to the problem:
instead of trying to write it to "/image/filename" I write it to
"../image/filename", that solves my problem :)
/Peter
"Peter Lauri" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Thank you. Now I am getting som
Do not use frames :) It creates problems for the searchengines.
/Peter
"Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi,
> Reading the different articles on phpbuilder/devshed/phpfreaks etc has
left
> me a bit confused..
> will start fr
Security?
Have you called session_start(); ???
/Peter
"Steve" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Steve wrote:
>
> > I'm having a problem with session variables.
>
> Never mind. Seems that the hosting company decided this wee
I had a similar problem before. I had my admin at admin.mydomain.com, and
the cookies did not transfer. I changed it to www.mydomain.com/admin
instead...
In my host my subdomain admin.mydomain.com is located in
www.mydomain.com/admin, I assume similar structure for you?
/Peter
"Nick W
I am learning Php and have a web site host where scripts have to be in the
cgi-bin. What is put in the original web page to call a script from the
cgi-bin? The info from the web host is below.
Thanks,
Peter
Does your webserver support PHP?
Yes, our webserver does support PHP version 4.
What
: news.opennewsserver.com
I know that this is not supposed to be posted in this group, not relevant to
the subject, sorry about that. But I have tried to find a solution for two
weeks now.
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I have looked there, did not find what I wanted :) Know of any open MySQL
newsgroup?
Java newsgroup?
/Peter
"David Robley" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> On Wed, 8 Dec 2004 16:31, Peter Lauri wrote:
>
> > Best groupmember,
> &g
by
making the Query correct.
/Peter
"Peter Lauri" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Best groupmember,
>
> I have an multidim array that looks something like this:
>
> [40] => [1]=32, [2]=>55, ["total"]=>87
> [22
Best groupmember,
Why should I choose PHP instead of JSP/Servlets when it comes to develop a
high-traffic site. Assume that the infrastructure for both are set up. It
only comes to efficiency (both coding and running)? What are your
experience?
--
- Best Of Times
/Peter Lauri
--
PHP General
It would be nice if you submit code that generates the error.
/Peter
"Mike Francis" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box.
I have created a new database 'ijdb' with a si
Shiflett:
http://marc.theaimsgroup.com/?l=php-general&m=103828683828825&w=2
Notice that it is my own site that is running under SSL. I am not
trying to connect to a SSL-enabled site using PHP; my users are
connecting to my site (with their browsers and certificates). I don't
think the opens
On Thu, 26 May 2005 21:32:27 +0200, in php.general [EMAIL PROTECTED] (Peter
Brodersen) wrote:
>I have searched the web, in php.general and comp.lang.php without
>success. The closest info was a reply from Christ Shiflett:
>http://marc.theaimsgroup.com/?l=php-general&m=10382868382882
ss might still be the one of a network interface
Try to create a page on the second web site (that you want to access
thorugh fopen() ) that outputs the client's IP address. You'll
probably see that your source IP address is not 127.0.0.1.
--
- Peter Brodersen
--
PHP General Mailing Li
On Thu, 26 May 2005 21:32:27 +0200, in php.general [EMAIL PROTECTED] (Peter
Brodersen) wrote:
>A phpinfo() only shows that $_SERVER['HTTPS'] has been set to "on".
>The mod_ssl-refrence shows though that a lot of other environment
>variables should be present:
&g
t step
should be (more) imprecision. Maybe read /proc/cpuinfo and perform n
steps of simple loop where n is calculated from the cpu type, mhz and
current load. Maybe a PEAR project?
--
- Peter Brodersen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he latter case a lot of assumptions could cause
damage. Poorly implemented high security could be worse than moderate,
application based security.
--
- Peter Brodersen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TF-8 is a charset, not a Content-type.
A quick test shows that the HTTP header output from Apache would
contain:
Content-Type: UTF-8
The correct way - if one wants utf-8 as charset - is:
header("Content-Type: index/html; charset=utf-8");
--
- Peter Brodersen
--
PHP General Mailing List (h
& thanks in advance
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has anyone been to good PHP and/or LAMP training?
I was looking around and saw on a blog where they
really liked the security aspects of this one:
http://www.sans.org/ns2005/description.php?tid=249
Has anyone been to classes by sans.org?
Thanks,
Peter
__
Free 3000MB
nd that would reduce the number of requests and
make Firefox use the cached page (or cache the page in the first place).
--
- Peter Brodersen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng.
> I don't really fault Firefox for abiding by the no-store directive, nor
> do I fault Internet Explorer for ignoring it.
Agreed. Furthermore, the change in cache_limiter makes very good sense
in this context and doesn't seem like "just a hack".
> Hope that help
a user. A client can still open multiple HTTP
connections to the same host even when using keepalive.
Furthermore we would like the session to survive the smallest hickups
(e.g. disconnects, TCP RSTs, ...).
--
- Peter Brodersen
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
rivate_no_expire') can get rid of the Expires
header as well, but it doesn't seem to be an issue here. It could
still be relevant for other reasons though.
--
- Peter Brodersen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
recompile it with -DEAPI)
Do you know how I can fix this or where I can download a copy of PHP already
compiled with -DEAPI (i am using PHP 4.3.11)?
Thank you,
Peter Palermo
I.T. Coordinator
Venetor Group - Hamilton
420 Grays Road
Hamilton, ON L8E 4H6
Toll Free: 888.664.5007
Office
1501 - 1600 of 1886 matches
Mail list logo