Tag : Path

ItSolutionStuff.com have tutorials for Path tag, here you can study articles of Path tag, Path tag posts collection, most popular and useful tutorials of Path tag, here you can find list of all relevant posts and example about Path tag, we have lists of tutorials and examples about Path tag. very simple and quick example collection of Latest Path tag.

How to get current url with query string in codeigniter?

If you require to get current URL with parameters in your codeigniter project then you can get easily using "url" helper. Codeigniter provide url helper library that way we can get existing page url or base url etc. you can also get only parameters without URL using "input" as like bellow. <pre> $parameters = $this->input->get(); </pre> But, we are getting full path using "url" helper and $_SERVER variable. So, you can see how to get full path using both as bellow: <strong>Example:</strong> <pre class="prettyprint lang-php"> $this->load->helper('url'); <br/> $currentURL = current_url(); $pa.....

By Hardik Savani | August 29, 2016 | | 41986 Viewer | Category : Codeigniter

How to get current url path example in Jquery?

Sometimes we need to get current URL in jquery file, we can get current URL or path of our current page in javascript using "window.location". In this post i give you three way to get current url in your js file as there are bellow listed: <strong>1.window.location.href</strong> <strong>2.$(location).attr("href")</strong> <strong>3.window.location</strong> Ok, so you can check bellow example code and run in your system. <strong>Example:</strong> <pre class="prettyprint lang-html"> <html lang="en"> <br/> <head> <title>JQuery - get current URL Example</title> &l.....

By Hardik Savani | July 27, 2016 | | 32800 Viewer | Category : Javascript jQuery

How to get folder path from file path in PHP?

Sometimes, we require to get directory path from Image path or file url in our PHP website or any PHP framework website at that time we can get folder name using php pre-define function dirname. If you ever use this function then you can see as bellow example how it's works. I have one image url like, i want to just get folder path then you can get folder path like this way : <strong>Example:</strong> <pre class="prettyprint lang-php"> dirname('http://localhost:8000/upload/images/test.jpg'); </pre>

By Hardik Savani | July 4, 2016 | | 15508 Viewer | Category : PHP

How can i get the path from laravel application root?

Laravel provide several helper to get path of public directory, app directory, storage directory and base directory. It will help to store files, read file from path and also for other from controller, view files, model etc. You can see as bellow how to get path of that directory using helper one by one. <br/> <strong>How to get public folder path in laravel ?</strong> <pre class="prettyprint lang-php"> public_path(); // Path of public/ </pre> <br/> <strong>How to get base path(Project Root) in laravel ?</strong> <pre class="prettyprint lang-php"> base_path(); // Path of application root </p.....

By Hardik Savani | June 27, 2016 | | 49354 Viewer | Category : Laravel

How to set ANDROID_HOME environment variable in ubuntu?

In this post i want to share with you how to set android home environment variable in ubuntu os. when i fatch this issue i tired to solve this issue because when i run my app i always found following error : <pre> The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android. </pre> I found above error if i already install android in my ubuntu 14.04 system. But at last i found solution from my senior. First i download my android and and put that on any where that downloaded folder of android .....

By Hardik Savani | April 14, 2016 | | 69786 Viewer | Category : Installation Ubuntu