[PHP] Missing images

2002-11-25 Thread Baumann Reto
Hi all

I have kind of a very strange problem... But I hope someone can help.
Imageing a little web-based application for browsing images. Every page is
exactly the same (from a php point of view). A user can browse through all
the images which are displayed as thumbnails. Normally, everything works
fine...

But on some browsers (and or operating systems), suddenly, at a certain
point, all images are turning white. No more new images are shown. Old
images (which have already been shown earlier) are fine, but no new ones.
They are just white. Reloading the page or reentering the URL doesn't work.
The only thing which does work is shutting down the browser and restarting
the whole thing.

So, why do some images turn white? These normally happens after about the
6th page of images (12 iamges a page). Any idea?

Thanks a lot
reto



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Header Location not working

2002-11-19 Thread Baumann Reto
Hi all

Does somebody know if there is a potential problem with
Header("Location: ");
not working properly?

I have a redirection, but it seems that on some browser, this doesn't work.
Instead of the redirection, the same page is requested again!

I'm also using sessions and html-post request to get to this page (probably
they are messing things up).
On most browser, the setup is working very well...

Thanks for the help
reto



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
It's mainly MSIE 5.0 for MacOS or MSIE 5.5 for Win9x

"Bigdog" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What browsers are having the problems?
>
> On Tue, 2002-11-19 at 15:36, Baumann Reto wrote:
> > Hi all
> >
> > Does somebody know if there is a potential problem with
> > Header("Location: ");
> > not working properly?
> >
> > I have a redirection, but it seems that on some browser, this doesn't
work.
> > Instead of the redirection, the same page is requested again!
> >
> > I'm also using sessions and html-post request to get to this page
(probably
> > they are messing things up).
> > On most browser, the setup is working very well...
> >
> > Thanks for the help
> > reto
>
>
> --
> .: B i g D o g :.
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
This does work... No problem at all...

The BIG problem is that it has to have something to do with the environment,
as the error is not always there. Only if a certain combination of POST/GET
request and or browsers as well as session operations occur.

Bur figuring out a certain logic is nearly impossible.
reto


"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Baumann Reto <[EMAIL PROTECTED]> wrote:
> > Does somebody know if there is a potential problem with
> > Header("Location: ");
> > not working properly?
>
> Try this code:
>
>  header("Location: http://www.google.com/";);
> ?>
>
> If this does not work, let us know.
>
> Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
Yes, I have an exit() immediately following header...

Could these statements in any way affect the session? Or session update?

"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 20 November 2002 06:36, Baumann Reto wrote:
> > Hi all
> >
> > Does somebody know if there is a potential problem with
> > Header("Location: ");
> > not working properly?
> >
> > I have a redirection, but it seems that on some browser, this doesn't
work.
> > Instead of the redirection, the same page is requested again!
>
> Do you have exit() after using header()? You should.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
>  U   X
> e dUdX, e dX, cosine, secant, tangent, sine, 3.14159...
> */
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Getting an RGB value of a pixel (JPEG)

2002-02-19 Thread Baumann Reto

Hi there


I have to get an RGB value of a specified pixel in an JPEG image. This image
uses 24bit per pixel (so is true-color). How could this be done?

Thanks a lot
Reto



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Load Balancing and PHP Sessions

2002-04-25 Thread Baumann Reto

Is it possible to have sessions (via cookie) on a load balanced environment?
Therefore having
www1.test.com
and www2.test.com

and share the same sessions? The systems can access the same file-system,
but it seems that the session is not passed. Could this have something to do
with session.cookie_domain?

Thanks for any help

Reto





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Lossless JPEG image rotation

2002-02-24 Thread Baumann Reto

Is there a good way to rotate a JPEG image (90°, 180° or 270°)?

I tried jpegtran and convert (ImageMagick)... But they both don't really
work as expected. Why?

jpegtran only workes if used with -trim. But this trims the image (cuts some
pixels away), which is not a very good way.

ImageMagick's convert isn't lossless :(

Any other ideas?


Thanks a lot
Reto



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php