Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #17.3K
Ranked #2K
~8K People Reached
Favorite Forums
Favorite Tags

12 Posted Topics

Member Avatar for karthik_ppts

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 …

Member Avatar for swatisharma08
0
1K
Member Avatar for Buppy

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

Member Avatar for diafol
0
139
Member Avatar for cliffcc

Or are you probably looking for something like this ? [url]http://www.zend.com/en/products/guard/[/url]

Member Avatar for edwinhermann
0
217
Member Avatar for samsons17

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]

Member Avatar for jigarvyas
0
5K
Member Avatar for ayesha789

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]

Member Avatar for ayesha789
0
180
Member Avatar for phaedrusGhost

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 &amp; 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 …

Member Avatar for phaedrusGhost
0
155
Member Avatar for leeZA1

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 …

Member Avatar for jigarvyas
0
114
Member Avatar for gazzy1

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 …

Member Avatar for amie900218
0
160
Member Avatar for ShandyElliott

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] …

Member Avatar for ShandyElliott
0
199
Member Avatar for saadi06

or this $link .="<a href='test.php/verify_email/$vcode.' target='_blank'>Verify email address</a>";

Member Avatar for jigarvyas
0
80
Member Avatar for newbie14

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 …

Member Avatar for jigarvyas
0
93
Member Avatar for whiteyoh

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

Member Avatar for whiteyoh
0
100

The End.