Hi,
I try to use GAE for a cron job. But I get a server error 500.
Is it because I try to cron on a external url? I cannot find any documentation on this. When I use an internal URL it works fine. But I would like to cron job a php script on my website.
Is there another way to do this? I am quite noob...
Thanks for any help
Christian
...
Is there a method/function to get the canonical / transformed URL, respecting any base.href setting of the page?
I can get the base URL via (in jQuery) using $("base").attr("href") and I could use string methods to parse the URL meant to being made relative to this, but
$("base").attr("href") has no host, path etc attributes (like win...
Hey,
I am using "url" tag in my template and everything works fine, except I cant capture anything thats behind it. Since I have multiple filters on that page, that are kept via GET request in the url, I need to be able to apend them to it. What happens is, that when I select one filter url will change to some/url/?f=1, then when I sele...
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 whe...
Hey,
I am trying to implement Twitter's OAuth into my Code Igniter web application at which the callback URL is /auth/ so once you have authenticated with Twitter you are taken to /auth/?oauth_token=SOME-TOKEN.
I want to keep the nice clean URL's the framework provides using the /controller/method/ style of URL but I want to enable quer...
I was getting 404 errors for some long URLs on a website I'm developing. After a bit of digging I discovered that this occurs when the length of certain aspects of the URL exceed configurable limits in IIS7. In this case the maxQueryString attribute of the requestLimits property needed to be increased in the web.config
<system.webServer...
My URL's can be absolute or relative:
$rel = "date/album/001.jpg";
$abs = "http://www.site.com/date/album/image.jpg";
function getFilename($url) {
$imgName = explode("/", $url);
$imgName = $imgName[count($imgName) - 1];
echo $imgName;
}
There must be a faster way to do this right?
Maybe a reg expression? But that's Chines...
Over the last couple of years I've seen sites that drop the "wwww" from their URL's. I was wonder what advantages(technical or otherwise) this had over the "conventional" URL address?
...
I know it is possible in Joomla! to set the template temporarily to another template with an URL parameter. Does anyone remember the parameter? And how should the template be indicated?
I expect something like
index.php?template=mytemplate
...
i have this url, http://www.poer.com/oneup.htm?zip={zip}.
I need the {zip}, because in my code, when this page opens, I replace the {zip} with a zipcode say 10001.
But in aspx, when i put validation for that txtbox, it wont let the {} pass through.
This is the validation - ValidationExpression="http://([\w-]+.)+[\w-]+(/[\w- ./?%&=]*)?"
...
I'm using the following code to append a hashtag to the end of a url. That way someone can copy that url and take them back to that page, with certain divs visable.
$("a.live").click(function() {
window.location.hash = 'live';
$("#live).slideDown();
});
In this example I have a div called 'live', that would slideDown when a l...
Hi friends,
I'm new at Drupal. a question;
I create a hotels directory site. I created Taxonomy>Vocabulary for locations like London, Liverpool, etc... For example the url below lists the London
localhost/drupal/taxonomy/term/1
how can change that url to something like
localhost/drupal/hotels/london
is it possible? appreciate adv...
how to get URL address while every time page is refreshed in java..?
i'm doing projects which requires URL(domain name ) while every ti e page is refreshed..!!
...
I would like to launch Apple's Stocks app to show information for a particular stock, on a non-jailbroken phone. I'm not interesting in how to get a quote or graph a stock myself, just opening Stocks.app.
I was hoping that the Stocks app would have a custom URL format, so opening a URL like stocks://AAPL would do the trick. But I haven'...
What is the preferred way to open a connection to a website and then subsequently read the information on that page? There seem to be many specific questions about different parts, but no clear and simple examples.
...
Hi there,
For my site I have a number of Orders each of which contains a number of Quotes. A quote is always tied to an individual order, so in the quotes controller I add a quote with reference to it's order:
function add($orderId) {
// funtion here
}
And the calling URL looks a bit like
http://www.example.com/quotes/add/1
It...
How feasible is it to implement a program that prompts the user with a message if they go to a specific website?
For example, if the user types in www.thisismysite.com in their browser, I want my app to bring up a notification. How could I implement this?
...
Hi. I'm currently developing a little browser-based Twitter widget.
Currently, I'm stuck with getting the URLs to work. I'm kinda newbie, when it comes to regex (I know, how to get parts of a string, but this one – tough one).
So, I need a regex that would search/replace
www.domain.tld -> <a href="http://www.domain.tld">http://www....
Hello All:
I have one MVC view page in which I show different links and I am using ThickBox to show a different page when ever one of these links is clicked. In these pages, I am using jQuery functions to do some changes, but I am not able to resolve the jquery file path on the view pages. I need to give absolute path something like "ht...
Hi,
I'm using joomla and acesef as a plugin and I need to get the full querystring as is. The problem is when I use $_SERVEr['QUERY_STRING'] it contains the joomla QS isntead of my custom parameters.
A javascript or PHP solution would do. thanks
Edit:
Sample URL www.test.com/sc/my-account.html?action=payment-method
I want to get
ac...