How can i create a vanity url in codeigniter. Im having real trouble doing this in the framework. And there doesnt seem to be any good answers out there.
I know this should be really simple, but im having trouble getting this to work right, basically i want to have an image upload box that uploads an image and then puts the new url into a mysql database. Anyone have any advice on how to do this, as i may be having developer block but im over complicating it in my head :P Thanks
rewriteCond %{REQUEST_URI} ^(ajax|css|functions|image_viewer|images|img|include|fancybox|jquery|jscript|json)$ - [L]
RewriteRule ^(.[^/])/(.[^/])/(.+[^/]) ?program=$1&usertype=$2&username=$3 [NC]
could you please help me find what is wrong in this.. ? I need to exclude some folders from url rewriting.
i tried with the solution given here.. but still i am getting some errors..
http://www.idxsync.com/sbaor/Search/Agent/zz
please help me
Hi ,
I try to add new mhtml link to List but i've got :
"Illegal url address " etc.
How to change the setting to allow mhtml links ?
Thanks in advance ,
Ish
I have a big problem. I want get information with an webservice in one URL.
But I'mm getting this error:
XMLHttpRequest cannot load ht*p://external_url_that_i_trid_to_get.
Origin ht*p://localhost:8888 is not allowed by Access-Control-Allow-Origin.
Im using this:
$.get(url_parsed,date_get,function(data) {
if (data.result == 'sucess') {
alert(data.data["title"]);
}
},"json");
How I can resolve this? Regards
I'm retrieving an unformatted String from a twitter feed. I want to be able to turn a text URL (http://blah.com/qwerty/) into a link but don't know how...is there a handy regular expression for this?
Hai
I have one more doubt in apache mod_rewrite.
I want to rewrite the url
mydomain/index.php?category=1&id=1
To
mydomain/index/category/1/id/1
How I write rule in .htaccess
And what is the link that i have to give inside the a tag
Please give me a solution..
I'm trying to make an app that links to Google streetview using latitude/longitude coordinates, and shows a streetview of the nearest road. This is coming from a fairly small and well covered area, so there isn't going to be any coordinates in the middle of the ocean.
Is there a published API showing the get parameters you need to link directly to streetview?
I'm looking for an image url helper for sinatra that allows me to do something similar to staticmatic's, where I can shortcut to a relative path like so...
=img "me.jpg"
Can anybody point me in the direction to where this might be online, or where I could learn how to write one, or provide an example of one they have already written
Many thanks
I've set a rule in Apple Mail to run a "Download & Open link" applescript. I would like this script to download the url in the mail message and after downloading it should open the file.
No idea how to start on this...
I have basic idea to the html and studying the basic things of java script and applied on it. And also i want to create the download link in my sample website. But i dont have idea of how to create it? Please tell me the procedure..
Thanks in Advance.
Tag :Android Development
Hey
i want to display a list of image form url which i will get from xml file. how can i do that plz assist me.
Any knid of help is appriciated
So, I have this url in a string:
http://www.domain.com/something/interesting_part/?somevars&othervars
in PHP, how I can get rid of all but "interesting_part"?
Hello, im developing a program who change his background image in function of the trending topics of twitter. So i have a function who return me a word (first TT on twitter), then i need another function that give me a url of an image relative to that word, like google images when you search or flickr. Do you know how to do this? or even better, do you have a php script made?
I want to change the URL that appears when you go to:
MYSUBDOMAIN.MYCOMPANY.COM/carbonated-milk/
to:
carbonated-milk.com/
I'm trying to figure out what to put in my .htaccess folder to do this and I've been reading through all kinds of doc files and through other peoples' questions on stackoverflow but can't come up with an answer for this. Do any of you have any idea?
Hello, could some one recommend a way to get page name from a url using JavaScript?
For instance if I have http://www.cnn.com/news/1234/news.html?a=1&b=2&c=3
I just need to get "news.html" string
Thanks!
Hi,
I have a page on the example.com domain which contains an IFrame, this IFrame loads an ASP.NET page (c#) from the example2.com domain.
From the code behind on the example2.com domain how can I get the URL of the master page?
Would it help if the 2 pages were on the same domain, so example.com contains an iframe with sub.example.com?
Thanks
I'm coding a 'Connect to Meeting' page where i would like the link that allows attendees to join our GoToMeeting event to 'become active' 15 minutes prior to the start time.
So the page users visit to see the connection info (meetingID, password) includes the start time of the meeting. I need a button ('Connect To Meeting') to change from inactive to Active when
[Now() < (StartTime()-15minutes)].
I got this odd error and I can't figure out where it came from:
Warning: mysql_query(): 3 is not a valid MySQL-Link resource in (...)
What's up with the 3? I don't get it. Has anyone experienced this error themselves?
Hi There,
I am struggling alot with some PHP I am needing to implement a next and previous link, basically I have a search function on my site, that returns multiple results and click on a result navigates to that results page, I want to then be able to click next on that page, and be taken to the next result in the sequence that was returned by the users original search? Is this possible, and how? I have no clue.