Jump to content

Luca Crippa

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Luca Crippa

  • Rank
    Newbie
  1. Hi there, so, I have a url like this: /new_evento.php?eve=02#####=Concerto-di-Natale-2013 and I would like to rewrite it in /evento/02/Concerto-di-Natale-2013 I used the following lines in web.config file: <rule name="rewev"> <match url="^evento/([0-9]+)/([_0-9a-z-]+)" /> <action type="Rewrite" url="new_evento.php?eve={R:1}&######={R:2}" /> </rule> The result is that the php page doesn't seem to catch the css file!!
  2. It doesn't work...I have a link named:http://www.coroconcorezzo.it/evento?eve=02&=Concerto-di-Natale-2013I would like to have:http://www.coroconcorezzo.it/evento/02/Concerto-di-Natale-2013But it doesn't work! :-/
  3. Hi All,I would like to transform an url like/reportage?rep=stuff&titl=something_beautifulin something like (note the "-")/reportage/stuff/something-beautifulwith my web.config file (I'm on a win server). It's possible? How can I do it?Thank you!Regards
  4. <?php // Definizione dei path $path_gall = '../public/gallery'; $dirs = scandir($path_gall);foreach ($dirs as $cartella) { if($cartella == '.' || $cartella == '..') { continue; } $name = $cartella; $name = str_replace("_", " ", $name); // risostituisco gli underscore con gli spazi $name = str_replace("!a!", ", ", $name); // metto la virgola e lo spazio tra anno e mese $name = str_replace("!b!", " - ", $name); // metto il - tra anno e titolo $path_cart = "$path_gall/$cartella"; $inner = scandir($path_cart); foreach ($inner as $photo) { if($photo == '.' || $photo == '..') { co
  5. <?php // Paths $path_gall = '../public/gallery'; $dirs = scandir($path_gall);foreach ($dirs as $cartella) { if($cartella == '.' || $cartella == '..') { continue; } $name = $cartella; // Creating the layout of the name of the gallery $name = str_replace("_", " ", $name); $name = str_replace("!a!", ", ", $name); $name = str_replace("!b!", " - ", $name); $path_cart = "$path_gall/$cartella"; $inner = scandir($path_cart); $gallery = "<a name = "$cartella"></br></br> <h5>$name</h5></br> <div style="width: 640px;"> <ul id="screensh
  6. This will help me to select empty folders in order to not display them?
  7. Now, just to finish my script: <?php // Definizione dei path $path_gall = '../public/gallery'; $dirs = scandir($path_gall);foreach ($dirs as $cartella) { if($cartella == '.' || $cartella == '..') { continue; } $name = $cartella; $name = str_replace("_", " ", $name); // risostituisco gli underscore con gli spazi $name = str_replace("!a!", ", ", $name); // metto la virgola e lo spazio tra anno e mese $name = str_replace("!b!", " - ", $name); // metto il - tra anno e titolo $path_cart = "$path_gall/$cartella"; $inner = scandir($path_cart); echo "<a name = "$cartella"></br><
  8. Hi! I have this script, which takes a folder of photo in order to create a photogallery. <script type="text/javascript"> $(function(){ $('#screenshotGallery').galleryView({ panel_width: 637, panel_height: 358, frame_width: 100, frame_height: 54, show_filmstrip_nav: true, show_infobar: true }); });</script> The problem is that a vertical image doesn't seem to be accepted, because this script deforms it to an horizontal image. Is there a script that automatically takes a vertical image and adds to it two black lateral bands, literally trasforming it in a "false" hor
×
×
  • Create New...