|
|
| Author |
Message |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 16:36 - 08 Oct 2003 Post subject: |
 |
|
There's probably some PHP script out there...sorry I can't be more specific.  ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Dusty |
This post is not being displayed .
|
 Dusty King of the Rim

Joined: 25 Mar 2003 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| WildGoose |
This post is not being displayed .
|
 WildGoose White Van Man

Joined: 21 Mar 2002 Karma :  
|
 Posted: 16:42 - 08 Oct 2003 Post subject: |
 |
|
that cheered me up quite a bit briefly, i thank you ____________________ So in other words, he stopped you for being flagrantly in posession of a motorcycle in direct contravention of the Hippies, Darkies and People Whose Face I Don't Like The Look of (Police Powers) Act. 1976 |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| MarJay |
This post is not being displayed .
|
 MarJay But it's British!

Joined: 15 Sep 2003 Karma :     
|
 Posted: 16:44 - 08 Oct 2003 Post subject: |
 |
|
LOL @ Dusty  ____________________ British beauty: Triumph Street Triple R; Loony stroker: KR1S; Track fun: GSXR750 L1; Commuter Missile: GSX-S1000F; Cheap project: CBR900RR FireBlade
Remember kids, bikes aren't like lego. You can't easily take a part from one bike and then fit it to another. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| zaknafien |
This post is not being displayed .
|
 zaknafien

Joined: 25 Mar 2002 Karma :    
|
 Posted: 16:54 - 08 Oct 2003 Post subject: |
 |
|
/me frowns at dusty once again.  ____________________ 02 Firestorm. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 16:56 - 08 Oct 2003 Post subject: |
 |
|
Here's something I've just knocked together:
| Code: |
<?php
$dir = "./images/";
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
print "<a href=$dir$file>$file</a><br>";
}
closedir($dh);
}
}
?>
|
You just need to change the base directory. ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Dusty |
This post is not being displayed .
|
 Dusty King of the Rim

Joined: 25 Mar 2003 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| MarJay |
This post is not being displayed .
|
 MarJay But it's British!

Joined: 15 Sep 2003 Karma :     
|
 Posted: 16:59 - 08 Oct 2003 Post subject: |
 |
|
is that Linux or do the /'s act like quotation marks in other scripts/languages?  ____________________ British beauty: Triumph Street Triple R; Loony stroker: KR1S; Track fun: GSXR750 L1; Commuter Missile: GSX-S1000F; Cheap project: CBR900RR FireBlade
Remember kids, bikes aren't like lego. You can't easily take a part from one bike and then fit it to another. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| zaknafien |
This post is not being displayed .
|
 zaknafien

Joined: 25 Mar 2002 Karma :    
|
 Posted: 17:00 - 08 Oct 2003 Post subject: |
 |
|
Get better hosting and we wouldnt have this problem.  ____________________ 02 Firestorm. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Dusty |
This post is not being displayed .
|
 Dusty King of the Rim

Joined: 25 Mar 2003 Karma :  
|
 Posted: 17:03 - 08 Oct 2003 Post subject: |
 |
|
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 17:04 - 08 Oct 2003 Post subject: |
 |
|
No, you need to save it as .php, and upload it as binary (if applicable). ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| zaknafien |
This post is not being displayed .
|
 zaknafien

Joined: 25 Mar 2002 Karma :    
|
 Posted: 17:04 - 08 Oct 2003 Post subject: |
 |
|
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 17:18 - 08 Oct 2003 Post subject: |
 |
|
Ah, you're doing it like that, in which case, you'll need to change the directory to just "./"
ie.:
| Code: |
<?php
$dir = "./";
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
print "<a href=$dir$file>$file</a><br>";
}
closedir($dh);
}
}
?> |
____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
 Posted: 17:21 - 08 Oct 2003 Post subject: |
 |
|
Still booger all.  ____________________ BCF: Be yourself, just don't be an arse. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 17:25 - 08 Oct 2003 Post subject: |
 |
|
Erm, I've just taken a peek at your index.php, and it's still reading "./pics" as the directory, you need to change it to "./". ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 17:29 - 08 Oct 2003 Post subject: |
 |
|
Are you sure that PHP is enabled on your server then? Or that it doesn't need some other naming convention? i.e. .PHP4 or something. ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| TiN |
This post is not being displayed .
|
 TiN Pocket Tin

Joined: 14 Feb 2002 Karma :   
|
 Posted: 17:34 - 08 Oct 2003 Post subject: |
 |
|
Save the following code as info.php
| Code: | <html>
<head>
<title> PHP Test Script </title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>
|
Then see if *that* does anything. ____________________ TiN
dotgems.net |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| McJamweasel |
This post is not being displayed .
|
 McJamweasel BCF Junkie

Joined: 22 Mar 2002 Karma :     
|
 Posted: 17:39 - 08 Oct 2003 Post subject: |
 |
|
Bugger all.
Pipex doesn't mention having PHp support at all, so I'm guessing thats a big fat NO!  ____________________ BCF: Be yourself, just don't be an arse. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 22 years, 352 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|