I have tried numerous codes from various forums. php to access file, but don't redirectĬurrently I have 4 pages for testing. RewriteRule (.*)/index$ $1/ remove slash if not directory I’ve decided to go a bit in details for those who need it. I’m sorry I gave that bad advise in the earlier post – to remove. Thank you very much! (I really like your web ^^). I would really appreciate if you can shed me some light on that matter. Use that text file in a python script that sections out the parts of the video with audio, and save the new version with the silence removed. Pipe that output through a few programs to get the output in the format that I want. This is all under the assumption that you also use a dynamical file that loads your posts and each one is not an independent html file. Use ffmpegs silencedetect filter to generate output of sections of the videos audio with silence. You could type /id_another-stupid title-of-the-post, and you will get to the same post.īut I’ve seen that, like in your website, your URLs are in the form /category/title-of-the-post ….you don’t use an ID anywhere so the only thing I can think right now is that your DB query looks for the post where title field=title of the post.Īm I right or i’m talking BS? I can make that query too but I thought that looking for just an ID is way much faster for the database. In that case, the only real thing that matters in the URL is the “id” part. I use a dynamical php file to load my posts as usual and I use the rewrite in the form: /id_title-of-the-post, so as you can guess, the real URL is something like /file.php?id=XX, and I look in my database for the post with id=XX.
0 Comments
Leave a Reply. |