Re: [PHP] Directory permissions question

2010-04-19 Thread Peter Lind
On 19 April 2010 17:18, Al wrote: > > > On 4/19/2010 11:11 AM, Adam Richardson wrote: >> >> On Mon, Apr 19, 2010 at 10:59 AM, Al  wrote: >> >>> I'm working on a hosted website that was hacked and found something I >>> don't >>> fully understand. Thought someone here may know the answer. >>> >>> Th

Re: [PHP] Directory permissions question

2010-04-19 Thread Al Rider
Apache 2.0.63 php 5.2.8 I know both are obsolete and need updating. I told my client to request same from their ISP. Al On 4/19/2010 12:01 PM, Jim Lucas wrote: Al wrote: I'm working on a hosted website that was hacked and found something I don't fully understand. Thought someone here ma

Re: [PHP] Directory permissions question

2010-04-19 Thread Jim Lucas
Al wrote: > I'm working on a hosted website that was hacked and found something I > don't fully understand. Thought someone here may know the answer. > > The site has 4 php malicious files in directories owned by "system" [php > created dirs on the site are named "nobody"] and permissions 755. >

Re: [PHP] Directory permissions question

2010-04-19 Thread Al
On 4/19/2010 11:11 AM, Adam Richardson wrote: On Mon, Apr 19, 2010 at 10:59 AM, Al wrote: I'm working on a hosted website that was hacked and found something I don't fully understand. Thought someone here may know the answer. The site has 4 php malicious files in directories owned by "syste

Re: [PHP] Directory permissions question

2010-04-19 Thread Adam Richardson
On Mon, Apr 19, 2010 at 10:59 AM, Al wrote: > I'm working on a hosted website that was hacked and found something I don't > fully understand. Thought someone here may know the answer. > > The site has 4 php malicious files in directories owned by "system" [php > created dirs on the site are named

Re: [PHP] Directory

2008-02-08 Thread Richard Lynch
On Thu, February 7, 2008 12:30 pm, Steve Marquez wrote: > Greetings, > > Could someone please point me in the right direction? I am trying to > have > PHP find out if a directory has files in it and then if it does, > display and > include, if it does not, then not display the include. > > I have

Re: [PHP] Directory

2008-02-07 Thread Jim Lucas
Steve Marquez wrote: Greetings, Could someone please point me in the right direction? Turn left at the next light... I am trying to have PHP find out if a directory has files in it and then if it does, display Display what? The directory name, or the list of files? and include, What

Re: [PHP] Directory

2008-02-07 Thread Paul Scott
On Thu, 2008-02-07 at 12:30 -0600, Steve Marquez wrote: > Could someone please point me in the right direction? I am trying to have > PHP find out if a directory has files in it and then if it does, display and > include, if it does not, then not display the include. oooh, goodie! You get to play

Re: [PHP] directory modification dates

2007-10-19 Thread Robert Cummings
On Sat, 2007-10-20 at 01:36 +0300, Marek wrote: > I have a simple directory listing script - you can move up and down > directories and it shows the files/dirs inside. Now I have to figure out > a way to display the latest modification time for each directory. > > The problem is that filemtime() w

Re: [PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-12 Thread Robert M
I made a few changes to the script using system calls and changed the datatype to be a string on the sprintf portion of the script I doubt it is the most intelligent method of resolving the issue, but it got the job done. I do not run this on an Internet site, just a local intranet website that I

Re: [PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-11 Thread Richard Lynch
On Wed, April 11, 2007 3:36 pm, Robert M wrote: > Does anyone else have any other ideas how to resolve this, I have > tried > multiple different methods all failed. > > Does the 2 GB limitation using filesize have an alternate method of > producing the output. ? > > Thank you Logan for trying. The

[PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-11 Thread Robert M
Well it looks like I am forced to use a different approach do to the limitations of PHP http://bugs.php.net/bug.php?id=27792 This Bug has been around now for HOW long now. Seems to me that it would have been addressed in the past few years, Gigabyte files have been around a long time. Maybe not

Re: [PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-11 Thread Seak, Teng-Fong
Robert M wrote: Does anyone else have any other ideas how to resolve this, I have tried multiple different methods all failed. Does the 2 GB limitation using filesize have an alternate method of producing the output. ? Thank you Logan for trying. I think you'd better file a bug report to PH

[PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-11 Thread Robert M
Does anyone else have any other ideas how to resolve this, I have tried multiple different methods all failed. Does the 2 GB limitation using filesize have an alternate method of producing the output. ? Thank you Logan for trying. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Directory name

2006-11-01 Thread Ed Lazor
I don't think web browsers are going to send you the name of the directory the file comes from. On Nov 1, 2006, at 10:50 AM, Sugrue, Sean wrote: I'm trying retrieve a directory name and a filename with a form. I want to use input type file so the user can browse for the file but keep the

Re: [PHP] Directory name

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 12:50 pm, Sugrue, Sean wrote: > I'm trying retrieve a directory name and a filename with a form. I > want > to use input type file so the user can browse for the file but keep > the > whole directory name. I don't think you *can* get a directory name out of standard HTML i

Re: [PHP] Directory Structure

2006-09-08 Thread Frank Arensmeier
I think that these kind of questions are very annoying - it is almost rude to post this to a list. Why don't you a) show that you have done some thinking b) have at least scanned the manual c) have asked Google. /frank 8 sep 2006 kl. 07.12 skrev Manoj Singh: Hello all, I am developing a s

Re: [PHP] Directory Structure

2006-09-07 Thread Robert Cummings
On Fri, 2006-09-08 at 10:42 +0530, Manoj Singh wrote: > Hello all, > > I am developing a site in which i have to show the directory structure of > any server i.e the admin will enter any site name and i have to show the dir > structure of that site name. Crawl baby, crawl! You need to load a page

Re: [PHP] Directory Structure

2006-09-07 Thread Larry Garfield
On Friday 08 September 2006 00:12, Manoj Singh wrote: > Hello all, > > I am developing a site in which i have to show the directory structure of > any server i.e the admin will enter any site name and i have to show the > dir structure of that site name. > > Please help me to fix this. The followi

Re: [PHP] directory listing from text file

2005-05-18 Thread Richard Lynch
What I know about Windows mapped drives could fit in a matchbook with room for every Playmate's phone number... But the answer I always hear when people are trying to do what you are trying to do is "Samba" HTH On Wed, May 18, 2005 7:37 am, dreiph said: > Thank you Chris, > > but this is not I n

Re: [PHP] directory listing from text file

2005-05-18 Thread dreiph
Thank you Chris, but this is not I needed. Let me explain my situation. I have a big server with a lot of audio files, working within LAN, with Windows 2000 Pro on it. Let's call it as "FileServer". Also I have another server with Apache2 and PHP installed, windows 2000 PRO too, let's say it is

Re: [PHP] directory listing from text file

2005-05-18 Thread Chris Ramsay
Dreiph, If you're familiar with PEAR, take a look at this: http://pear.php.net/package/HTML_TreeMenu regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Directory perms

2005-04-14 Thread Jason Wong
On Thursday 14 April 2005 22:25, Reynier Perez Mira wrote: > How I can obtain directory perms and how I know if they are RW on Win32 > plattforms? I find into PHP Manual but I only obtain function fileperms > wich have only for files and not for directories fileperms() works on files AND directori

Re: [PHP] Directory and file permissions on a virtual host

2005-03-14 Thread Richard Lynch
> Would some please provide me some simple rules for dealing with php > scripts to > fopen(), copy() and move_uploaded_file(). > > Environment is Linux, Apache on a virtual host > > I've spent a lot of time goggling, etc. and can find lot's of explanations > for > owner, group and world. They soun

Re: [PHP] Directory Entries

2004-11-09 Thread Jason Wong
On Tuesday 09 November 2004 17:09, Dave Lampron wrote: > Hello I'm having problems with the following code: > > if (! ($dp = opendir($imagesdir))) die ("cannot open $imagesdir."); > while($file = readdir($dp)) > { > if ($file != '.' && $file != '..') > { > > ///Second test doesn't seem

Re: [PHP] directory listing

2003-08-19 Thread Marek Kilimajer
Wrong place, look at directory functions ;) Matthias Wulkow wrote: Hi php-general, I'm reading through the filesystem function of php and I can't find any function which will list me all the files which are in a certain directory. Am I blind or do I have to "create" myself one? Thanks for help

Re: [PHP] Directory Size

2003-08-15 Thread Chris Blake
On Fri, 2003-08-15 at 12:36, Marek Kilimajer wrote: > Are you sure it hangs? It might take a long time to get occupied size. > This also depends on the filesystem used, I heard reserfs is best at this. > Well, I thought it was hanging cuz 15 mins went past without any return...then I figured it h

Re: [PHP] Directory Size

2003-08-15 Thread Marek Kilimajer
Are you sure it hangs? It might take a long time to get occupied size. This also depends on the filesystem used, I heard reserfs is best at this. Chris Blake wrote: Greetings learned PHP(eople); Is there a way to calculate the size of directory in PHP ? I searched php.net and only found ways of

Re: [PHP] directory size?

2003-04-03 Thread Ernest E Vogelsinger
At 00:40 04.04.2003, Mantas Kriauciunas said: [snip] >Hey >I looked up in the manual but found only >Disk_total_space >Disk_free_space > >Is there anything like total_space for directory? >Or I will have to think of something else? >Like counting every file

Re: [PHP] Directory Permissions?

2003-02-26 Thread Chris Shiflett
--- Jay Paulson <[EMAIL PROTECTED]> wrote: > I was running fileperms() function to find out what a directory is > chmod'ed to. Just so you know, chmod is "change mode". I understand what you mean, though; you are wanting to know the permissions of a directory. > However, this doesn't return anyth

Re: [PHP] Directory size

2003-02-11 Thread Jeff Pauls
Jeff - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Antti" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 4:37 AM Subject: Re: [PHP] Directory size > there is no php function for this, you can us

Re: [PHP] Directory size

2003-02-03 Thread Marek Kilimajer
there is no php function for this, you can use unix command du or do it in a loop Antti wrote: How do I get the directory size? Suppose there is a function for this. antti -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] directory listing

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 16:29, Aleš Lončar wrote: > Hi! > > I have one question. > How can I get sorted listing of a direcorty with readdir function? Is this > possible No, not with readdir() on its own. > or I have to write custom function using array function sort? Yes, that is what you w

Re: [PHP] Directory Listing with php on unix boxes

2003-01-08 Thread Krzysztof Dziekiewicz
> Here is where I'm running into some problems. I need the file listing to be > sorted as if I were performing an 'ls -lt' listing on the server itself. I do not think opendir() or readdir() quarantees any sort. You where lucky rather you got dirs in the time order. You should use filemtime() or

Re: [PHP] directory list function?

2002-12-27 Thread Maciek Ruckgaber Bielecki
o of course !! mine won't work in !UNIX ;-) On Fri, 27 Dec 2002, Johannes Schlueter wrote: > On Friday 27 December 2002 21:46, Maciek Ruckgaber Bielecki wrote: > > depending on what you need, sometimes this does the trick for me :-) > > > >exec("ls path/",$files); > > > >

Re: [PHP] directory list function?

2002-12-27 Thread Maciek Ruckgaber Bielecki
depending on what you need, sometimes this does the trick for me :-) exec("ls path/",$files); foreach($files as $value) { $elem .= $value."\n"; } echo $elem; --

Re: [PHP] directory list function?

2002-12-27 Thread Kevin Stone
There is no builtin function to do this in one step but it's not in anyway difficult.. http://www.php.net/manual/en/function.opendir.php -Kevin - Original Message - From: "Dade Register" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 1:34 PM Subject: [PHP] dir

Re: [PHP] directory help

2002-08-21 Thread Jason Wong
On Thursday 22 August 2002 10:12, Randy Johnson wrote: > I need some help, > > I need to go through a number of directories and rename each of the files > like this > > img001 > img002 > img003 > > do dir 1 would have > > img001 > img002 > img003 > > directory 2 might have > img004 > img005 > > an

Re: [PHP] Directory System Splitter

2002-04-27 Thread Paul Roberts
search zend.com for breadcrumbs - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 27, 2002 2:01 PM Subject: Re: [PHP] Directory System Splitter > On Saturday 27 April 2002 20:34, Randum Ian wrote: >

Re: [PHP] Directory System Splitter

2002-04-27 Thread Jason Wong
On Saturday 27 April 2002 20:34, Randum Ian wrote: [snip] > For example: > > http://www.danceportal.co.uk/diary/2002/may/ > > has this in the panel: > > Home / Diary / 2002 / May / <-- These are links back down the system of > directories. > > http://www.danceportal.co.uk/charts/randumian/mon-

RE: [PHP] Directory

2002-04-18 Thread Demitrious S. Kelly
Use the dir class -Original Message- From: Jeroen Timmers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 4:57 AM To: [General] Subject: [PHP] Directory Hello, can i read a directory for files and other directory's with a php function for exameple d:\localhost\ had the foll

Re: [PHP] Directory check

2002-04-08 Thread Jason Wong
On Monday 08 April 2002 22:15, Hiroshi Ayukawa wrote: > Does anyone know how to check a directory exiasts? > > Thanks in advance, > Hiroshi Ayukawa > http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top Manual > Filesystem functions -- Jason Wong -> Gremlins Associates -> www.gremlins

Re: [PHP] Directory check

2002-04-08 Thread Rénald CASAGRAUDE
Le lundi 8 avril 2002, à 04:15 PM, Hiroshi Ayukawa a écrit : > Does anyone know how to check a directory exiasts? RTFM !! try this : if (file_exists($dir) && is_dir($dir)) { echo $dir.' is a directory !'; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Miguel Cruz
On Fri, 5 Apr 2002, Jas wrote: > So adding a hidden field would definately pass the contents of the select > box to the other script so I am not doing anything wrong with this portion, > but what if I wanted to append the path of the file name? Any tips? This isn't an answer to your question, but

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
When ad_done.php3 is called, it will receive a variable named $files. Change: $file_name"; to: "; $files will contain the value of the file selected -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:36 AM To: [EMAIL PROTECTED] Subject

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
Sorry, here is what I have thus far... everything is working except I am just not sure how to pass the result of the users selection to another script, I have added the hidden input type to try and solve it but I think I am doing something wrong, maybe I need to put the hidden input type on the se

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
, April 05, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Directory to array to select box... So adding a hidden field would definately pass the contents of the select box to the other script so I am not doing anything wrong with this portion, but what if I wanted to append the path of the

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
So adding a hidden field would definately pass the contents of the select box to the other script so I am not doing anything wrong with this portion, but what if I wanted to append the path of the file name? Any tips? Thanks, jas -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
I must be missing something. Just add a HIDDEN type in your form. It will be sent with all your form data. -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Directory to array to select box... Hey

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
Hey Rick, thanks a ton... you have helped me out alot on this list. I got the code working probably about the same time you and another gentleman posted the same fixes I made, however I now have another question about adding a hidden field to take the results of the users selection and passing it

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
Since I ran this on Win2000 machine, I changed name of directory: You were right on the money with your code; just a minor mod or two was required: $filex\n"; } $form = "\n". "$file_count\n". "\n". ""; // close directory closedir($dir); print $form; ?> outputs the following: . .. activities.txt

RE: [PHP] Directory

2002-03-05 Thread joakim . andersson
mkdir() http://www.php.net/manual/en/function.mkdir.php > -Original Message- > From: Roman Duriancik [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 9:45 AM > To: PHP-General > Subject: [PHP] Directory > > > Help me, I want create directory on local disc in php script, > d

Re: [PHP] directory structure list

2002-01-24 Thread Mike Frazer
Anyone who wants to see the directory and filesystem fiunctions in action together can go to http://www.invertedmind.com/baby/ (pardon the images, they're of my nephew, I originally wrote the script because directory listings are turned off on the server). If you want a copy of the script you can

Re: [PHP] directory structure list

2002-01-24 Thread Erik Price
Hmm... I'm not familiar with the directory functions yet. But perhaps you can use `ls -F` somehow -- this prints the name of each file in the directory with a special character to denote its type. For directories, this is a forwardslash. I.e: localhost:~/Documents/Media Lab$ ls -F (admin)ind

RE: [PHP] directory structure list

2002-01-24 Thread sean
Sorry for the posting, I hadn't looked hard enough. If any of you need something along the same lines go: http://www.php.net/manual/en/class.dir.php Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [PHP] Directory Contents Listing

2001-11-28 Thread Andrey Hristov
ialchars($v)."\n"; } } } ?> Enjoy Andrey Hristov - Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 1:38 PM Subject: RE: [PHP] Directory Contents Listing > Here's an exa

RE: [PHP] Directory Contents Listing

2001-11-28 Thread Rea_David
entryName != ".." && $entryName != "index.php"){ print("$entryName \n"); } } ?> Hope it helps! -Original Message- From: Steve Werby [mailto:[EMAIL PROTECTED]] Sent: 28 November 2001 05:39 To:

Re: [PHP] Directory Contents Listing

2001-11-27 Thread Steve Werby
"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote: > How do I display the directory contents using PHP? See readdir() in the online manual. I'm pretty sure it even has example code you could paste in. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP Ge

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread Dallas K.
This is what I use file://DIR to start looking in $basedir = "C:/Inetpub/wwwroot/_ActiveClientFiles/GLS/portfolio/"; file://working DIR or the dir to change to. $wdir = "web/"; // list of DIRs var $dirlist; $filelist; $add_dir ; /

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread speedboy
> Just something I havent been able to sort out in the archives, but what im > wanting to do it this. Do a listing of all files in a directory, and load > up an array with each returned filename. $files_dir = "/tmp"; chdir($files_dir); $dir_handle = @opendir($files_dir) or die("Unable to open $

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread David Robley
On Tue, 21 Aug 2001 12:35, Chris Aitken wrote: > Hey all, > > Just something I havent been able to sort out in the archives, but what > im wanting to do it this. Do a listing of all files in a directory, and > load up an array with each returned filename. > > Am I pissing into a windy pipe dream o

Re: [PHP] Directory - exist or not ? :)

2001-05-15 Thread Scream
> Hi There, > > > $dir_to_check = "/this/dir"; > > if (!is_dir($dir_to_check)) { > echo "No directory here"; > } else { > echo "Bingo."; > } > > ?> Thanks !!! -- regards, - scream ->> scream(at)w.pl ICQ#46072336 ||| GG#480681 <<< Artificial Reins Productions >>> -- PH

Re: [PHP] Directory - exist or not ? :)

2001-05-15 Thread James, Yz
Hi There, James. ""Scream"" <[EMAIL PROTECTED]> wrote in message 9drq8v$ngb$[EMAIL PROTECTED]">news:9drq8v$ngb$[EMAIL PROTECTED]... > Hi, > > I've got a one simple question. How I can check directory exist or not ? > Plz, help me :) TIA ! > > > -- > regards, - scream ->> scream(at)w.pl >

Re: [PHP] Directory(parent) Structure

2001-04-05 Thread Plutarck
s Anderson" <[EMAIL PROTECTED]> > Cc: "PHP" <[EMAIL PROTECTED]> > Sent: Thursday, April 05, 2001 7:06 PM > Subject: Re: [PHP] Directory(parent) Structure > > > > Sure > > > > .. = parent > > ../.. = parent of that > > etc...

Re: [PHP] Directory(parent) Structure

2001-04-05 Thread Chris Anderson
funny thing is, I thought to try it, but thought it looked too strange to work ^_^ - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Chris Anderson" <[EMAIL PROTECTED]> Cc: "PHP" <[EMAIL PROTECTED]> Sent: Thursday, Apr

Re: [PHP] Directory(parent) Structure

2001-04-05 Thread Jack Dempsey
Sure .. = parent ../.. = parent of that etc... / = root you can get to any directory on your server by using a combination of .. and directory names, or, and this is often a good idea, you can just specify the location from root, for example /path/to/my/file that way if you move the file with

Re: [PHP] Directory(parent) Structure

2001-04-05 Thread Joe Stump
../../../../../../../ -> ../n or chdir(); --Joe On Mon, Apr 02, 2001 at 06:44:30PM -0400, Chris Anderson wrote: > I know using ../ in a path moves to the parent directory. But is there a way to move >back farther then that? /*

Re: [PHP] Directory rights: Create and delete is possible but notccggrp, why?

2001-03-22 Thread Dominique Paquin
Thanks a lot for the answer, it's the first constructive response i have for my problem. I was banging my head on the walls with this one. I might just use C/Cron to correct this. If you implemented this could you guide me a little bit in the steps to follow to complete this? Thanks again. Domi

Re: [PHP] Directory rights: Create and delete is possible but notccggrp, why?

2001-03-22 Thread Keith Vance
I have run into a problem similar to this. Basically what I have found is that there is no way to do this sort of thing using php through apache. I fixed my problem by writting a perl script that creates the directories and sets the permissions/groups correctly. I have php write out a text file an

Re: [PHP] directory listing and how to determine file size

2001-02-19 Thread Richard Lynch
> I am going to develop virtual file management. Thus I want to know > some things. > 1. how to determine file size _before_ file uploading or on loading > time and how to avoid error message if file size will be too large. You can't determine file size before uploading... *MAYBE* with so

RE: [PHP] Directory Listing with PHP

2001-01-31 Thread Andrew Braund
You might like to try WebExplorer, may do what you want. http://suneworld.com/programs/ hth Regards Andrew Braund > -Original Message- > From: Chris Aitken [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 1 February 2001 15:35 > To: PHP User Group > Subject: [PHP] Directory Listing with PHP