Does anyone have suggestions for detecting url's in a set of elements and converting them to links?
$$('#pad dl dd').each(function(s){
//detect urls and convert to a elements.
});
I am doing billing project.i am passing invoice number to another .aspx page.
/default.aspx?editid=5 its my url. if i changed my editid no=4 then the records also
changes.how to solve this issue??
page1:
LinkButton InvoiceEdit = sender as LinkButton;
string EditId = InvoiceEdit.CommandArgument.ToString();
Response.Redirect("edit invoice.aspx?EditId=" + EditId);
page2:
String invoiceId = Request.QueryString["InvoiceId"].ToString();
Hello,
how to code HTTP URL blacklisting driver for both XP and Vista/7?
I need it for special software for schools
any ideas about HTTPS or VPN? I was thinking about firefox, IE,... extension. Not bulletproof, but better than nothing. It's just school.
Thanks
my developer is saying that it is not possible to rewrite url form
example.com/name/name/?lang=english to
example.com/en/name/name/
is it possible to do or not?
if yes, how should it be done?
if not, what could be the reasons?
we have windows based hosting from maddogdomains (godaddy)
Hi, i've bought a shared hosting on a windows hoster with IIS 6.
I would like to know how to rewrite url.
I can't modify anything on the server, the only thing i can do is to use ... my asp.net code !
some advice ?
Thanks!
Is it possible to achieve this? For example I will have "website.com/index.php?skin=name" can I protect only this url? (with no php changing only htaccess)
P.S. "website.com/index.php" or "website.com/index.php?skin=other_name" should not be restricted..
Thanks!
Hi anyone know how to url cloaking in web pages ? ive seen it on webpages and free redriction services before...but i dont know how to do it server side - do u use htaccess???? im totally clueless....
Hi,
I have tried to work this regex to set up a goal in GA for 2 days, but I cannot get my head around it...
The url format is like this:
/purchase.php?cDd=1&transaction_id=xxxxxxx&verify=xxxxxxxxxxxxxxxx=&method=creditcard&type=purchase
transaction_id= is populated with a sept of numbers
verify= is populated by a string of numbers, letters in both caps and lower case
Basically I would like to only match URLs which finish by "&method=creditcard&type=purchase"
I have tried to just put &method=creditcard&type=purchase but it does retrieve other URLs too
Would anyone has any ideas
Hello,
I need to create an NSImage from a url and then set it to an image view in my application. I tried some code I found online but it didn't work. If anyone knows how to do this any help would be great.
Thanks
I'd like to "grab" a few hundred urls from a few hundred html pages.
Pattern:
<h2><a href="http://www.the.url.might.be.long/urls.asp?urlid=1" target="_blank">The Website</a></h2>
I'm trying to set the Default URL of my MVC application to a view within an area of my application. The area is called "Common", the controller "Home" and the view "Index".
I've tried setting the defaultUrl in the forms section of web.config to "~/Common/Home/Index" with no success.
I've also tried mapping a new route in global.asax, thus:
routes.MapRoute(
"Area",
"{area}/{controller}/{action}/{id}",
new { area = "Common", controller = "Home", action = "Index", id = "" }
);
Again, to no avail.
I want to take my .htaccess file and add a second rule for another vanity URL as I already have one declaring the page. So how would I write it so I can go to my page, and the next vanity being a variable for a profile?
Ex:// mywebsite.com/page/profile
Here is my current .htaccess file.
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9-]+)$ index.php?p=$1 [L]
RewriteRule ^([a-zA-Z0-9-]+)/$ index.php?p=$1 [L]
Please, I have another simple question for experienced programmers.
Is it possible to get source code of any webpage with javascript at client side?
With AJAX maybe?
But I need that the server I am downloading the url from does see the IP of the client.. with AJAX it will show my script server IP, right?
Thank you in advance.
Hi All,
I am using asp.net with C# [3.5]. I want to display Image before my URL in browser, like IE and mozilla used to have. I want to display my custom image.
Please help.
Thanks in advance
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
requests ----- should be written to new url
/institute/dps ----- /institute.php?slug=dps
/institute/abc ----- /institute.php?slug=abc
/institute/123 ----- /institute.php?slug=123
I am using following rule in .htaccess
RewriteRule ^institute/(.*)$ /institute.php?slug=$1
However, it's not working. the page insitute.php get's execution, but the query string always comes empty.
Any suggestions?
I have one problem.
I have one button and one textarea in a frame.I want to show the source code in that textarea when I click on button. show source code of URL that I want to show.
help pleas!
HI, I need to remove a querystring when a user clicks a particular LinkButton.
So for example if the querystring is http://UserProfileManager.com?UserID=1234 .... when the user clicks on the Linkbutton, I want the url to be http://UserProfileManager.com. The issue is that everything is on one page, and I am using
Any ideas would be appreciated.
How can I rewrite a simple number based URL to a sub folder?
I want http://mysite.com/123 to redirect to http://mysite.com/en/123.
The number could be anything from 1 - 9999. My attempt in htaccess was:
RewriteRule ^([0-9]+)$ /en/$1/ [R]
But that doesn't work.
What is the elegant way to convert JSONObject to URL parameters.
For example, JSONObject:
{stat: {123456: {x: 1, y: 2}, 123457: {z: 5, y: 2}}}}
this should be like:
stat[123456][x]=1&stat[123456][y]=2&stat[123457][z]=5&stat[123457][y]=2
of course with escaped symbols, and of course JSON object could be more complicated..
Maybe there already exist some mechanisms for that?
Thanks,
H!,
I have a solution in which there is several other sub projects (windows application).
in every project I have some web services added.
Now the problem :
how can i set the URL of each web service individually from the app.Config file??
is there a setting I missed to set ?
can it be automatically done or I have to code for it ?
Thank you friends.
I have log in functionality that will check for a session, if it not there the user will be redirected via Request::instance()-redirect('managers/error/1');
In the error action in the managers controller I can't get the value 1 which represents a specific error msg.
How can I capture the value "1" from the url, I'm only using standard routes.
I have a client who is wanting to create a link which contains product codes so that his customers hit a page with just those products displayed in an attempt to increase conversion rates from affilliate sites.
My question is whats the best way to send these multiple products in a single URL
For example:
http://www.mydomain.co.uk/bespoke-list.php?catNo=234-324-232-343
Obviously then the site would grab the codes from the string and display them...
We're going to be using PHP!
Thanks in advance.