- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
Re: If in case the SMS Gateway allows sending SMSes by a accessing a simple url with authentication etc params ( example:, http://<some third party sms gateway domain.com>/index.php?username=john@smith.com&password=randompassword&to=9876543210&message=testmessage) then this all you need is 1. a simple html form 2. which can post the message 3. to a php script which … | |
Re: ksort() and then array_reverse() will do it * http://www.php.net/manual/en/function.ksort.php * http://www.php.net/manual/en/function.array-reverse.php ![]() | |
Re: Or are you probably looking for something like this ? [url]http://www.zend.com/en/products/guard/[/url] | |
Re: Quoting from [url]http://codeigniter.com/user_guide/helpers/url_helper.html[/url] : anchor() Creates a standard HTML anchor link based on your local site URL: <a href="http://example.com">Click Here</a> The tag has three optional parameters: anchor(uri segments, text, attributes) with respect to <input> elements, you can use form_input() as explained @ [url]http://codeigniter.com/user_guide/helpers/form_helper.html[/url] | |
Re: I think this is what you are looking for [CODE] $a = "/PEDB/SupportDoc/5/PRFF or0444.pdf"; $b = urlencode($a); echo "<a href='{$b}'>Click</a>"; [/CODE] | |
Re: What the api is returning is a JSON string output which can be parsed using json_decode() More details: [url]http://www.php.net/manual/en/function.json-decode.php[/url] [CODE] $json = '{"resultsPage":{"results":{"artist":[{"uri":"http:\/\/www.songkick.com\/artists\/200900-coheed-and-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed and Cambria","id":200900,"onTourUntil":"2011-09-23","identifier":[{"href":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767.json","eventsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/calendar.json","mbid":"ae1b47d5-5128-431c-9d30-e08fd90e0767","setlistsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/setlists.json"}]},{"uri":"http:\/\/www.songkick.com\/artists\/2060710-coheed-and-amp-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed & Cambria","id":2060710,"onTourUntil":null,"identifier":[]},{"uri":"http:\/\/www.songkick.com\/artists\/3236471-coheed-und-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed Und Cambria","id":3236471,"onTourUntil":null,"identifier":[]}]},"totalEntries":3,"perPage":50,"page":1,"status":"ok"}}'; //var_dump(json_decode($json)); $array = json_decode($json, true); // passing the 2nd parameter as TRUE returns an associative array print_r($array); // in your case … | |
Re: what you've done in the second last line is just a simple syntactical error in concatenating strings and php variables in one line Below pasted code is just one of several possible ways to handle this [CODE]$image_path = '/Glen/Images/'; $query = "SELECT teams.match, date.match, score.match, content.match, name.gallery FROM match INNER … | |
Re: What I'd do is 1. maintain all user sessions in a db table 2. maintain all redirect_to websites in a config array like [CODE]$config_redirect_to = array(0=> 'yahoo.com', 'google.com');[/CODE] or possibly in another db table 3. and then based on each subsequent user login, assign a redirect site to each login … | |
![]() | Re: Nice looking site i must say :) 1. If you can use php then a) [CODE]$_SERVER['HTTP_REFERER'][/CODE] should help. Just use this on the contacts page to check if the referer was feedback b) You can edit the feedback url into something like this [CODE]http://www.shan-dysigns.com/test/contact.htm?referrer=feedback[/CODE] and then use [CODE]if($_GET['referrer'] == 'feedback')[/CODE] … ![]() |
Re: or this $link .="<a href='test.php/verify_email/$vcode.' target='_blank'>Verify email address</a>"; | |
Re: Pasting from [url]http://www.geekinterview.com/question_details/22645[/url] "Difference between require() and require_once(): require() includes and evaluates a specific file, while require_once() does that only if it has not been included before (on the same page). So, require_once() is recommended to use when you want to include a file where you have a lot of … | |
Re: In addition to this, I believe if you are linking two tables, there needs to be some kind of relation defined between them. Something like: "Select..... where student.studentCode = studyType.studentCode..." Although in your case, i agree with ShawnCplus, you definitely ought to try out your query directly first |
The End.