Tag : url
|URL Routing Class||henrybris||PHP||url||
URL Routing Class in PHP
|pass if on url param||thesmu||jQuery||url||
pass if on url param
|view in browser url||stephen522||Other||-url-||July 18|
|Update Wordpress URL||WMSchneider||PHP||url||
Open your function.php of your active Theme. Copy your code insert and call the new Site URL. After delete the code snippet.
|Curl for PHP||ryantxr||PHP||curl||
minimal curl code for php
append this to switch to different Stores in Magento
|Function to Auto Convert URL into Clickable Hyperlink (Anchor Tag)||fackz||PHP||url||
In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable().
If you need to do that outside of wordpress, you can use the same function. Example: $string = 'I have some texts here and also links such as http://www.youtube.com , www.haha.com and firstname.lastname@example.org. They are ready to be replaced.';
|Adding an active class to nav links based on URL with jQuery Address||vaughanj||jQuery||url||
What this does is it adds the attribute “data-path” to each of the nav links, and gives this attribute a value of whatever comes after the “base” URL. Because we are using jQuery Address, we have the (event.value) variable to play with. This value is automatically set to be whatever is after the “base” value too, which means we can now check to see if these values equal each other. If they do, the active class is added to the link. Remember, this function resides inside the jQuery.address.change function, so it will be run every time a new link is clicked.
validate given URL through C5
|A baby for download movie from http://maktabkhooneh.org||shapour||Bash||curl||
get links from linkList file, that contain links like: http://maktabkhooneh.org/course?course=sharif-riazi2, then get all of course link on that page and save link of related video on that :D
Result is 'list' file that can interpreted with my another script :D
|Get short urls for Twitter with PHP||apphp-snippets||PHP||url||
If you work with Twitter, you probably use a url shortener such as tinyurl.com or bit.ly to share/post your favorite blog posts or important messages with links on the network. This snippet take your url as a parameter and returns a short url.
|Get the Favicon from a website||phpdev||PHP||url||
Example of use:
<a href="http://www.php.net/manual/en/index.php"><img src="<?php echo get_favicon('http://www.php.net/manual/en/index.php') ?>" alt="Favicon" title="See PHP documentation" width="16" height="16" /></a>
This snippets show how to extract the video id of a youtube video from its URL
|[PHP] Get URL Title||goo||PHP||url||
Return URL Title. Return URL if any problem.
|January 5, 2013|
|Check AmazonEC2 WebSite status and if server is down send notification and restart instance||cduquev||PHP||curl||
Script File launched every 3 minutes to check WebSite status. It uses AWSSDKforPHP library http://docs.amazonwebservices.com/AWSSdkDocsPHP/latest/DeveloperGuide/php-dg-setup.html
|January 3, 2013|