I must have done something, but am going crazy trying to find my mistake.
After my last upload now all my url's are pointing to localhost:3000 instead of the site.
It was working before. :(
Ok so i'm executing the following line of code in javascript
RegExp('(http:\/\/t.co\/)[a-zA-Z0-9\-\.]{8}').exec(tcont);
where tcont is equal to some string like 'Test tweet to http://t.co/GXmaUyNL' (the content of a tweet obtained by jquery).
However it is returning, in the case above for example, 'http://t.co/GXmaUyNL,http://t.co/'.
This is frustracting because I want the url without the bit on the end - after and including the comma.
Any ideas why this is appearing? Thanks
I have a website on GoDaddy. All permissions are set correctly and the image DOES exist. However when the page loads the image for the item selected does not show. Here is my code
imagepath = "~/spaimages/" + currentSpaModel.Name.ToString() + ".png";
if (File.Exists(Server.MapPath(imagepath)))
{ this.spaimage.ImageUrl = Server.MapPath(imagepath); }
spaimage is an ASP control and thr URL that the image is set to is D:\hosting\xxxxxxx\calspas\spaimages\modelname.png
What am I doing wrong.
hi
i am using GZIP for the compression and its working fine but the problem came when the URL's are dynamic (e.g Default/template_css.php?w=310&h=237&sw=200&ct=fpss-container2). I am using Php .
Thanks
Ok, first off, I didn't program this page with frames! I'll be getting rid of them later. For now I need to solve this problem.
There's a link within a frame. Instead of that link just changing the contents of the frame, I need it to change the URL of the entire window. How can I do this?
Thanks for any help
Hello,
In my web site there is home page, and all other pages open using fancybox window - with iframe.
I want to be able to construct a URL like www.example.org/About.html which will send the user to my website and will open the iframed page {About.html} within the fancybox window.
Thanks for help.
What is the Url.Content() of asp.net mvc equivalent in php?
I have a file that use my style.css from both pathes:
'artciles/123/name'
'artciles/123'
How can I use links to static content, witout using absolute urls?
Do you know of any utility class/library, that can convert Map into URL-friendly query string?
Example:
I have a map:
- "param1"=12,
- "param2"="cat"
I want to get: param1=12¶m2=cat.
PS. I know I can easily write it myself, I am just surprised that I cannot find it anywhere (I checked Apache Commons so far).
I have done urlencode of the variable before passing to the url
http://abc.com/Restaurants?aliasF%26B
but when i try to print like
in the page
$alias = rawurldecode($_GET['alias']);
echo $alias;
it prints only F.how to solve this??
Recently i learned that i can display images in a web page without referencing an image URL as follows :
<img class="disclosure" img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oIGRQbOY8MjgMAAABVSURBVBjTfc6xDcAwCETRM0rt5nbA+49j70DDAqSLsGXyJQqkVxxwNOeMiEA+waW1VuT/inrvG7wikht8UETy2ygVMjO4O8YYTf6AqrZyUwYlygAAXo+QLmeF4c4uAAAAAElFTkSuQmCC">
I had another small bmp image that i wanted to display, so i opened it in vim and the img source looke like:
When i paste this code where it needs to be pasted i only get "BM?"
How to i convert/paste this code properly to be used as an image source?
how do you append an additional url parameter to a link in your google search results? is it possible to do this within the style sheet?
for example i have domain.com/result.htm - i want to change the link to domain.com/result.htm?param=1
thank you
i am sending a request to ajaxhandler
i want if the user is not logged in then it sends back a redirect url to login page
and the page automaticaly redirects to login page after the ajaxrequest response
I am currently investigating replacing the tabs provided by a Struts 1 tag library with the tabs provided by jQuery UI. I have successfully managed to get the tabs integrated with the existing application but I am struggling on how to set the selected tab using a parameter on the incoming URL i.e. myurl.com/action.do?selectedTab=SecondTab
As a new comer to javascript and jQuery, I was wondering could give me some pointers on where to start?
Thanks In Advance
David
I have used Configuration|Site Information|Default Front Page to designate node/55 as my front page.
How can I create a menu linking to the original front page, i.e. the one with the list of articles?
If I link to <front> it goes to node/55.
P.S.: I have been able to simulate this by enabling the frontpage view, but, if possible, it would be more efficient to just link to the original front page URL.
A bit of a basic question but how may I check if a anchor is in the url when I load the page?
For example www.mysite.com/mypage#show
And then in the JavaScript I can go if #show exists do this
Thanks.
Hello,
Our current web application url reveals the class package structure to the end user. This is because in web.xml the servlet mapping tag is as follows
Servlet_ name
/servlet/com.xxx.yyy.ClassName
Is there any way by which i can hide the package structure. i.e com.xxx.yyy.ClassName to just ClassName?
Thanks
Sameer
So I want to create an Android app so it would be registered somewhere in android OS (or just would start on system start) and when phone user clicks on special button on a web page inside a web browser a la:
<a href="myapp://mysettings">Foo</a>
my app would pop up and run using the params sent in that URL.
So how do I do such thing?
I need a tutorial with code!
Hello,
I want to check if an URL exists using PHP. for eg. If someone enters www.adflkjweoifj123912873.com, I want to check if this domain has a website, or its live on the web.
Thanks
Jean
so I have a Track system with some kind of protection. So to get some data from any URL you have to pass protection like this http://188.134.14.27/projects/cloudobserver/login and then (in browser) you can see some pages http://188.134.14.27/projects/cloudobserver/wiki/CloudObserverCMSSetup (if you havent passed login youll get no content)
so how to login and get data from page using flash/actionscript (btw I am triing to create an rss reader)?
Hello
I have installed Kohana in kohana directory in my xampp public folder.
When I try
url::base();
I've got only /kohana/, but I want to http://localhost/kohana/
Any chance for get this by Kohana, or I must standard PHP?
Regards
I need to be able to catch when the URL contains a image of multiple file types or follow this syntax.
http://localhost:8080/fdlic-web/webpic/101
Here is what i have so far.
(.*)(jpg|gif|png|bmp|jpeg|webpic/(\d+))$
So I want to create an Android App so it would be registred somewere in android os (or just would start on system start) and when Phone user clicks on special button on Web Page inside Web Browser a la
<a href="myapp://mysettings">Foo</a>
my app would PopUp and run using params sent in that URL.
So how to do such thing?
I need a tutorial with code!)
Hi, Im having a problem, I have a treeview and I want to load the selected node url in the iframe but have no idea how to do this. I know I cant use response.redirect and I cant use navigateurl because that cancels selectednodechange. Any ideas anyone???