FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » 6 line php 2 asp
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
6 line php 2 asp [message #176948] Wed, 08 February 2012 21:40 Go to previous message
Pettt[CZ] is currently offline  Pettt[CZ]
Messages: 1
Registered: February 2012
Karma:
Junior Member
Guys, this is your humble ASP colleague asking for help.
I have no experience with PHP and I need this 6 line page translated
to ASP

$location = 'albums';
$album_name = $_GET['album_name'];
$files = glob($location . '/' . $album_name . '/*.{jpg,gif,png}',
GLOB_BRACE);
$encoded = json_encode($files);
echo $encoded;
unset($encoded);

it comes from here:
http://tympanus.net/codrops/2010/06/27/beautiful-photo-stack-gallery-with-j query-and-css3/
but I honestly would not know where to start

No cross-subject violation meant, just shopping where the knowledge
is...
Sorry, and thanx again

Petr
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Headers in fpassthru() output
Next Topic: Query or Array functions
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:14:56 GMT 2024

Total time taken to generate the page: 0.04536 seconds