PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

6 php lines 2 asp

 
 
Pettt[CZ]
Guest
Posts: n/a
 
      8th Feb 2012
Guys,
anybody can help with this 6 line PHP code to be 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);

comes form here:
http://tympanus.net/codrops/2010/06/...uery-and-css3/

I have no experience...
Thanx

Petr
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      11th Feb 2012
On 2/8/2012 5:18 PM, Pettt[CZ] wrote:
> anybody can help with this 6 line PHP code to be 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);
>
> comes form here:
> http://tympanus.net/codrops/2010/06/...uery-and-css3/
>
> I have no experience...


ASP or ASP.NET ?

Arne

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 PM.