you can if you use a javascript redirect or an html meta refresh ~ish.
not really that silly tbh if you think about an HTTP message is like this:
Headers
...
MessageBody
.
the redirect is a header, so it get's sent through *before* the body,
and the headers tell the client how to process t
A rewrite of the entire site would be needed in order to fix. So, I guess
you are saying as best options for workaround are
- use the ob_ functions to work around.
- stick output buffer on or high
so best case scenario using ob_ functions as a cleaner method aside from
rewriting the code?
seems
On Fri, 2010-08-20 at 00:44 +0200, Lorenzo Marussi wrote:
> hello list,
>
> I'm trying to manage a image resouce inside a method, but
> unsuccessfully...
>
> In detail, that's some code snippets:
>
> the class and the method:
>
> class.php
>
> class canvas{
>
> function makeImage($imageW
hello list,
I'm trying to manage a image resouce inside a method, but
unsuccessfully...
In detail, that's some code snippets:
the class and the method:
class.php
class canvas{
function makeImage($imageWidth = 850){
$im = imagecreate(110, 20) or die("Cannot Initialize new GD
image
Tristan wrote:
So, I'm have this site where all this code was developed and the logic sits
in different plugins throughout a template. So, html is output and then hits
one of these plugins. Plugins do some processing and then hit a
header(location...) redirect.
So, problem is they developed code
On Thu, 2010-08-19 at 18:09 -0400, David McGlone wrote:
> On Thu, 2010-08-19 at 22:24 +0100, Ashley Sheridan wrote:
> > On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote:
> > > On 19/08/2010, HallMarc Websites wrote:
> > > > I agree with the earlier take on this situation; you need to start at
On Thu, Aug 19, 2010 at 6:01 PM, Tristan wrote:
> So, I'm have this site where all this code was developed and the logic sits
> in different plugins throughout a template. So, html is output and then
> hits
> one of these plugins. Plugins do some processing and then hit a
> header(location...) re
On Thu, 2010-08-19 at 22:24 +0100, Ashley Sheridan wrote:
> On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote:
> > On 19/08/2010, HallMarc Websites wrote:
> > > I agree with the earlier take on this situation; you need to start at the
> > > beginning and learn the basics regarding the technologie
So, I'm have this site where all this code was developed and the logic sits
in different plugins throughout a template. So, html is output and then hits
one of these plugins. Plugins do some processing and then hit a
header(location...) redirect.
So, problem is they developed code with these heade
If you're on 5.2 or 5.3, it may have to do with bug #51263.
http://bugs.php.net/51263
Upgrade your php to the latest as fixes the problem.
-bborie
On 08/12/2010 10:08 AM, tedd wrote:
Well, whatever the problem is it is definitely related only to my
system. I tried your code and had the same
On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote:
> On 19/08/2010, HallMarc Websites wrote:
> > I agree with the earlier take on this situation; you need to start at the
> > beginning and learn the basics regarding the technologies BEFORE you try and
> > manage them. You're trying to drive a car
http://www.php.net/manual/en/language.types.float.php
*Warning* Floating point precision
It is typical that simple decimal fractions like *0.1* or *0.7* cannot be
converted into their internal binary counterparts without a small loss of
precision. This can lead to confusing results: for example,
Martín Marqués wrote:
I have values with 2 decimals that I multiple by 100 to make them
integers, but to be sure I do a cast using (int).
The thing is that (int) is changing the value of the integer. Here is
a var_dump of the original value, the value * 100, and the value after
casting to int.
On Thu, Aug 19, 2010 at 03:46:37PM -0300, Martín Marqués wrote:
> I have values with 2 decimals that I multiple by 100 to make them
> integers, but to be sure I do a cast using (int).
>
> The thing is that (int) is changing the value of the integer. Here is
> a var_dump of the original value, the
I have values with 2 decimals that I multiple by 100 to make them
integers, but to be sure I do a cast using (int).
The thing is that (int) is changing the value of the integer. Here is
a var_dump of the original value, the value * 100, and the value after
casting to int.
string(5) "34.80"
float(
On 19/08/2010, HallMarc Websites wrote:
> I agree with the earlier take on this situation; you need to start at the
> beginning and learn the basics regarding the technologies BEFORE you try and
> manage them. You're trying to drive a car when you don't even know what or
> car is and how to operat
tedd wrote:
Hi gang:
I'm trying to keep my questions simple.
Does the function "openssl_pkey_new" use 40, 56, 128, 256, or what bit
encryption?
Higher, and configurable, typically 512,1024,2048,4096
example:
$privkey = openssl_pkey_new( array('private_key_bits' => 2048 ) );
Best,
Nathan
tedd wrote:
tedd wrote:
Hi gang:
The subject line says it all.
How secure is a .htaccess file to store passwords and other sensitive
stuff?
Can a .htaccess file be viewed remotely?
Semi-safe,
.htaccess is prevented from being served by configuration options
(which come as default), howe
configuration issue you might try the forums and mailing lists found there
as well.
I hope you find this helpful.
Marc Hall
HallMarc Websites
"Well, if all else fails; read the directions." - Dear old Dad, RIP
__ Information from ESET Smart Security, version of virus signat
Hi gang:
I'm trying to keep my questions simple.
Does the function "openssl_pkey_new" use 40, 56, 128, 256, or what
bit encryption?
Cheers,
tedd
--
---
http://sperling.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Everyone,
Thanks. Ash, i'll try your function and see how that works. The
original content came from word documents, but they were pasted in to
a text editor in this case notetab light. In the meta of the site the
character set is utf-8 I was told it was better to use that than
iso8859-1 if t
On Thu, 2010-08-19 at 16:30 +0100, e-letter wrote:
> On 19/08/2010, Ashley Sheridan wrote:
> > As Colin suggested on another email, check to see if apache-mod_php was
> > installed too. It seems likely that it wasn't for some reason.
>
> How to verify please? Also, the instruction to use task-la
On Thu, 2010-08-19 at 11:24 -0400, Marc Guay wrote:
> I would chalk this up to that fancy, extra-curly, apostrophe that you
> get when copying and pasting text from Microsoft Word or similar.
> Marc
>
The characters Microsoft software introduces don't play nice with
non-Microsoft software, and
On 19/08/2010, Ashley Sheridan wrote:
> As Colin suggested on another email, check to see if apache-mod_php was
> installed too. It seems likely that it wasn't for some reason.
How to verify please? Also, the instruction to use task-lamp; it seems
this is for mysql but the database to be used is
I would chalk this up to that fancy, extra-curly, apostrophe that you
get when copying and pasting text from Microsoft Word or similar.
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: David Mehler
> I've got a php5 document and some items are showing up as question
> marks. For example, the word President's in the code it is President's
> however when displaying in the browser it's President?s the "'" is not
> being displayed properly, this is occurring in several places
Hello,
I've got a php5 document and some items are showing up as question
marks. For example, the word President's in the code it is President's
however when displaying in the browser it's President?s the "'" is not
being displayed properly, this is occurring in several places and on
several pages.
On Thu, 2010-08-19 at 15:35 +0100, e-letter wrote:
> On 19/08/2010, Ashley Sheridan wrote:
> > I think it's fairly clear that for whatever reason, PHP isn't properly
> > configured with Apache. You've mentioned you're using Mandriva, which,
> > coincidentally, is what i've just recently installed
On 19/08/2010, Ashley Sheridan wrote:
> I think it's fairly clear that for whatever reason, PHP isn't properly
> configured with Apache. You've mentioned you're using Mandriva, which,
> coincidentally, is what i've just recently installed on my home machine.
> It has a very good graphical package
On Thu, 2010-08-19 at 09:41 +0100, e-letter wrote:
> On 19/08/2010, David McGlone wrote:
> > On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote:
> >> On 18/08/2010, David McGlone wrote:
> >> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote:
> >> >> On 18/08/2010, David McGlone wrote:
> >> >>
'Twas brillig, and e-letter at 19/08/10 13:35 did gyre and gimble:
> On 19/08/2010, David McGlone wrote:
>
>> Yes it is. But your computer needs the correct software to view that php
>> file in a web browser as if it was a web page. If you do not have this
>> software installed, then the web brow
On 19/08/2010, David McGlone wrote:
> On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote:
>> On 18/08/2010, David McGlone wrote:
>> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote:
>> >> On 18/08/2010, David McGlone wrote:
>> >> >
>> >> > Do you have php5 installed?
>> >> >
>> >> Yes, but don
From: e-letter
> On 19/08/2010, David McGlone wrote:
>
>> Yes it is. But your computer needs the correct software to view that
php
>> file in a web browser as if it was a web page. If you do not have
this
>> software installed, then the web browser will ask you if you want to
>> download the fil
On 19/08/2010, David McGlone wrote:
> Yes it is. But your computer needs the correct software to view that php
> file in a web browser as if it was a web page. If you do not have this
> software installed, then the web browser will ask you if you want to
> download the file instead.
>
The web bro
Hello Nathan,
Sorry, could you provide any links to read for a security noob?)
Actually, I know that the md5 is decryptable (there are bases with
words encrypted in md5), but I thought the SHA1 was secure...
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m
tedd wrote:
Hi gang:
The subject line says it all.
How secure is a .htaccess file to store passwords and other sensitive
stuff?
Can a .htaccess file be viewed remotely?
Semi-safe,
.htaccess is prevented from being served by configuration options (which
come as default), however these can
36 matches
Mail list logo