On Sat, 2007-10-20 at 18:45 -0700, Instruct ICC wrote:
> > > >
> > > >One idea that has always been REALLY popular around here... stuff your
> > > >image in a database. *MUHAWHAWHAWHAWHAW* *Ducks from the flying rocks*.
> > > >
> > > >Cheers,
> > > >Rob.
> > > >--
> > >
> > > Rob:
> > >
> > > Tha
> > >> > I want to prohibit an image from being shown to anyone who is not
> > >> > permitted (i.e., logged in).
> > >> >
> > >> > The way I want to do this is to:
> > >> >
> > >> > 1. Set [file] permissions...
> > >>
> > >>
> > >>
> > >> What if 2 or more users access the application at th
> >> I think I found a solution.
> >>
> >> Here's the url:
> >>
> >> http://www.webbytedd.com/bbb/image-test1/
> >>
> >> The point is that the image is only accessible via this script, is
> >> this correct?
> >
> >I can access it without a script:
> >http://www.webbytedd.com/bbb/image-test1/i
At 11:58 AM -0400 10/20/07, Robert Cummings wrote:
Most likely
though, you have access to .htaccess and so you could create a locked
images directory that exists within the web tree but which can't be
accessed by a browser. This would give you what you need to be within
the confines of safe mode
Hi gang:
Does this work any better at keeping the image safe?
http://www.webbytedd.com/bbb/image-test2/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On Sat, 2007-10-20 at 09:59 -0400, tedd wrote:
> At 4:59 PM -0400 10/19/07, Robert Cummings wrote:
> >On Fri, 2007-10-19 at 13:31 -0700, Instruct ICC wrote:
> >> > I want to prohibit an image from being shown to anyone who is not
> >> > permitted (i.e., logged in).
> >> >
> >> > The way I want
At 1:45 PM -0700 10/19/07, Instruct ICC wrote:
> Hi gang:
I think I found a solution.
Here's the url:
http://www.webbytedd.com/bbb/image-test1/
The point is that the image is only accessible via this script, is
this correct?
I can access it without a script:
http://www.webbytedd.com/
At 1:57 PM -0700 10/19/07, Instruct ICC wrote:
> but in the img tag, try src="display_image.php?id=anId"
and in display_image.php, test if the user is authorized before
displaying the image.
Then a direct call to display_image.php?id=anId would still have a
chance to authenticate the user.
At 4:59 PM -0400 10/19/07, Robert Cummings wrote:
On Fri, 2007-10-19 at 13:31 -0700, Instruct ICC wrote:
> I want to prohibit an image from being shown to anyone who is not
> permitted (i.e., logged in).
>
> The way I want to do this is to:
>
> 1. Set [file] permissions...
What if 2 or
At 1:31 PM -0700 10/19/07, Instruct ICC wrote:
> I want to prohibit an image from being shown to anyone who is not
permitted (i.e., logged in).
The way I want to do this is to:
> 1. Set [file] permissions...
What if 2 or more users access the application at the same time?
Set the perm
At 1:09 PM -0400 10/19/07, Wolf wrote:
actually, you could run it by
1. making the page
2. flushing the output buffer (which puts it in the screen)
3. run the 2nd script
Nope, tried it.
Whatever is done in a script is done before any output to the browser.
Cheers,
tedd
--
---
http://sp
At 6:23 PM +0200 10/19/07, Zoltán Németh wrote:
2007. 10. 19, péntek keltezéssel 12.07-kor tedd ezt írta:
At 8:19 PM -0400 10/18/07, TG wrote:
>Describe the process a little more.
Ok, here's what I want to do.
I want to prohibit an image from being shown to anyone who is not
permitted (i.
On Fri, 2007-10-19 at 13:31 -0700, Instruct ICC wrote:
> > I want to prohibit an image from being shown to anyone who is not
> > permitted (i.e., logged in).
> >
> > The way I want to do this is to:
> >
> > 1. Set [file] permissions...
>
>
>
> What if 2 or more users access the application at
> but in the img tag, try src="display_image.php?id=anId"
> and in display_image.php, test if the user is authorized before displaying
> the image.
> Then a direct call to display_image.php?id=anId would still have a chance to
> authenticate the user.
Forgot to reiterate:
Keep the images where
> Hi gang:
>
> I think I found a solution.
>
> Here's the url:
>
> http://www.webbytedd.com/bbb/image-test1/
>
> The point is that the image is only accessible via this script, is
> this correct?
I can access it without a script:
http://www.webbytedd.com/bbb/image-test1/images/a.jpg
It may
> I want to prohibit an image from being shown to anyone who is not
> permitted (i.e., logged in).
>
> The way I want to do this is to:
>
> 1. Set [file] permissions...
What if 2 or more users access the application at the same time?
Set the permissions so only the PHP application can acces
On 10/19/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> On 10/19/07, tedd <[EMAIL PROTECTED]> wrote:
> >
> > Hi gang:
> >
> > I think I found a solution.
> >
> > Here's the url:
> >
> > http://www.webbytedd.com/bbb/image-test1/
> >
> > The point is that the image is only accessible via this scr
Hi gang:
I think I found a solution.
Here's the url:
http://www.webbytedd.com/bbb/image-test1/
The point is that the image is only accessible via this script, is
this correct?
The technique I used simply runs the first php script, which creates
the page that has uses ajax to trigger anothe
actually, you could run it by
1. making the page
2. flushing the output buffer (which puts it in the screen)
3. run the 2nd script
tedd <[EMAIL PROTECTED]> wrote:
> At 12:06 AM -0400 10/19/07, Nathan Hawks wrote:
> >If by "creates a web page" you just mean it echos output to the browser,
2007. 10. 19, péntek keltezéssel 12.16-kor tedd ezt írta:
> At 12:06 AM -0400 10/19/07, Nathan Hawks wrote:
> >If by "creates a web page" you just mean it echos output to the browser,
> >and you want to do something else after that, then:
> >
> >After you have sent your and have no more output for
2007. 10. 19, péntek keltezéssel 12.07-kor tedd ezt írta:
> At 8:19 PM -0400 10/18/07, TG wrote:
> >Describe the process a little more.
>
> Ok, here's what I want to do.
>
> I want to prohibit an image from being shown to anyone who is not
> permitted (i.e., logged in).
>
> The way I want to do
At 12:06 AM -0400 10/19/07, Nathan Hawks wrote:
If by "creates a web page" you just mean it echos output to the browser,
and you want to do something else after that, then:
After you have sent your and have no more output for the
browser, just use the include() function to run your extra proces
At 3:13 PM -0400 10/18/07, Robert Cummings wrote:
On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
exec()
Cheers,
Rob.
Rob:
At 3:13 PM -0400 10/18/07, Robert Cummings wrote:
On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
exec()
Cheers,
Rob.
Rob:
At 8:19 PM -0400 10/18/07, TG wrote:
Describe the process a little more.
Ok, here's what I want to do.
I want to prohibit an image from being shown to anyone who is not
permitted (i.e., logged in).
The way I want to do this is to:
1. Set the image permissions to 0640. That way no one can g
edirect. This is subject to user interference of course.
> >
> > Do you need it to spawn the other PHP script and exit or is it ok if it's a
> > child process of the original php script (or whoever that works.. sorry,
> > not 100% familiar with the internal s
if it's a
> child process of the original php script (or whoever that works.. sorry,
> not 100% familiar with the internal stuff).
>
> -TG
>
> - Original Message -
> From: tedd <[EMAIL PROTECTED]>
> To:
> Date: Thu, 18 Oct 2007 15:04:36 -0400
> Su
On 10/18/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
> > Hi gang:
> >
> > I would like to run a php script that creates a web page and AFTER it
> > is finished creating the page, then it runs another php script -- how
> > you do that?
>
> exec()
>
On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
> Hi gang:
>
> I would like to run a php script that creates a web page and AFTER it
> is finished creating the page, then it runs another php script -- how
> you do that?
exec()
Cheers,
Rob.
--
...
tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it is
finished creating the page, then it runs another php script -- how you
do that?
CLI or apache2 module?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http:
31 matches
Mail list logo