php3-list | 199908
Date: 08/05/99
- Next message: Holdich, Kristian: "RE: [PHP3] OT?: Cookie problem solved/work around?"
- Previous message: Holdich, Kristian: "[PHP3] RE:"
- In reply to: henning.sprang <email protected>: "[PHP3] Antwort: Re: Antwort: [PHP3] Photo Album Example"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It has, that's the problem but it seems like the file is owned by another uid,
but how's this possible, the file is generated by php itself right?
Do you, or anybody else knows more about this?
Greetz,
Tristan Woudenberg
On Thu, 05 Aug 1999, henning.sprang <email protected> wrote:
> >%_check file permissions for the directory /tmp .
>
> The script must have at least read acces to this directory.
>
> hope that helps
>
>
>
>
>
>
>
> Tristan Woudenberg <twoudenb <email protected>> am 05.08.99 13:50:37
>
>
>
> An: Henning Sprang/FUP GmbH
>
> Kopie: php3 <email protected>
>
>
>
> Thema: Re: Antwort: [PHP3] Photo Album Example
>
>
>
>
>
>
>
> Ok kewl the database connection is happy now, but I still have 2 problems
> now:
> 1 A uid problem: when I try to upload a picture I get the following
> warning:
> Warning: SAFE MODE Restriction in effect. The script whose uid is 500 is
> not
> allowed to acces /tmp/php00382aaa owned bij uid 0 in
> usr/local/httpd/htdocs/php/Album/upload.php3 on line 43
> and the following warnings, logically: unable to open bla bla bla.gif in
> /usr/bla bla/upload.php3 and: no such index string in string in /usr/bla
> bla/upload.php3 on line 49
> you uploaded this photo:
> and then you don't see a photo but just an error loading pic icon
> I included the index and upload php3 if you want the rest includes as well,
> please mail me.....
> Tia,
> Tristan Woudenberg
> On Thu, 05 Aug 1999, you wrote:
> > as i can't see your code i can't tell You exactly what's wrong.
> >
> > But You are getting an mysql error that says that the database query you
> > made while authetication ( which is made via mysql in this example)
> > did not return any result - that means eitehr your database is empty or
> > Your sql wuery has a wrong syntax.
> >
> >
> >
> >
> >
> >
> > Tristan Woudenberg <twoudenb <email protected>> am 05.08.99 11:35:51
> >
> >
> >
> > An: "'php3 <email protected>'" <php3 <email protected>>
> >
> > Kopie: (Blindkopie: Henning Sprang/FUP GmbH)
> >
> >
> >
> > Thema: [PHP3] Photo Album Example
> >
> >
> >
> >
> >
> >
> >
> > L.S.
> > I have a question about the example photo album script as supplied with a
> > standard SuSE Linux 6.1 install with Apache 1.3.6 and PHP 3.0.7. I was
> > browsing
> > my /usr/doc/packages/apache/php3/examples/ and saw a example script which
> > should lead to an online photo album, I installed the whole thing in a
> > apache
> > subdir, loaded the database file, loaded some jpg files into a photo
> album
> > database, all as written by the author on
> > http://www.webtechniques.com/features/1998/02/lerdorf/lerdorf.shtml. But
> > when I
> > try to acces the page, the page loads, header and footer are ok (so
> > database
> > connectio is made) but the pages only reads: Warning: 0 is not a MySQL
> > result
> > index in /usr/local/httpd/htdocs/php/index.php3 on line 50 and when I try
> > to
> > login I get this error message: Warning: 0 is not an MySQL result index
> in
> > include/auth.inc on line 19......after I gave my username and password
> for
> > the
> > as added in the users part of the database. Does anyone have a clue about
> > these
> > errors (the full scripts are on the authors homepage as supplied
> earlier)?
> > Tia
> > Tristan Woudenberg
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> > To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> > To search the mailing list archive, go to:
> > http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> >
> >
> >
> >
> > Henning Sprang
> > Frank & Partner FuP GmbH
> > Behringstr. 28a
> > 22765 Hamburg
> > Tel.: (040) 398871-0
> > henning.sprang <email protected>
>
----------------------------------------
Content-Type: text/plain; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: application/octet-stream; name="upload.php3"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: text/plain; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: text/plain; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Holdich, Kristian: "RE: [PHP3] OT?: Cookie problem solved/work around?"
- Previous message: Holdich, Kristian: "[PHP3] RE:"
- In reply to: henning.sprang <email protected>: "[PHP3] Antwort: Re: Antwort: [PHP3] Photo Album Example"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

