hi,
Here's a situation, i have a list of support tickets that when you click the title of the ticket takes you to a page that displays the ticket in more detail. If uses URL GET variables to query the database. I've taken SQL injection into account but what if someone modifies the url to an id that doesn't exist? whats the best way to d...
hi everyone
4 a few days now im trying 2 get an asmx webservice to work via jquery
Heres my code
<script type="text/javascript">
$(document).ready(function () {
$("#btnTest").click(function () {
$.ajax({
type: "POST",
url: "/WebService.asmx/HelloWorld",
cache: fal...
In a now migrated question about human-readable URLs I allowed myself to elaborate a little hobby-horse of mine:
When I encounter URLs like http://www.example.com/product/123/subpage/456.html I always think that this is an attempt on creating meaningful hierarchical URLs which, however, is not entirely hierarchical. What I mean is, y...
I have developed a rest web service by using the following link
http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/simplerestservice11172009221218PM/simplerestservice.aspx
Now, I am passing parameters to this rest web service by using URL. I am passing parameters as follows
http://localhost:50362/PMTSRest/Service.svc/GetProjects?...
Dear,
I'm facing a problem with HttpContext.Current.Session when I'm adding CustomUrlAuthorizationModule tag to web.config.
Every time i'm adding the above tag to my web.config, HttpContext.Current.Session is null every time the page is rendered.
PS: i'm using HttpContext.Current.Session from SQLSiteMapProvider class from BuiltSiteMap...
Hi everybody,
Im trying to create my own url scheme so my android app can get called via an URL but for now I dont have a success.
Im trying to have this url to work : cedemo://com.cedemo.scan?X=toto
Here is part of my manifest file :
<activity android:name=".Gallery1" android:label="@string/app_name" android:launchMode="singleTask" a...
I need to check whether a particular url is up or not.
The format of the url is like
http://IP:port
When I use java.net.URL class then I get java.net.SocketException or java.net.ConnectException.
When i ping these IPs, I find them up then why java is not able to recognise them?
The code I'm writing is
URL url = new URL( urlString...
Right now, any url just brings up a project default page ("welcome to django").
No matter what I put (example.com, example.com/hello, example.com/asdfjkasdf(&$(#$$#)
I'm new to django and am following a simple tutorial.
My nginx.conf has this:
location / {
# host and port to fastcgi server
...
Is it 100% impossible to get the browser URL from the iframe html of an iframe that is loaded onto a separate domain? I tried javascript and it did not work. What language could I do this in? Thanks!
UPDATE
Thanks for the help! PHP does work.
<?php
if(isset($_SERVER['HTTP_REFERER']))
{
echo $_SERVER['HTTP_REFERER'];
}?>
...
So for example I have:
http://www.example.com/index.php#/parameter1=one/parameter2=two/
Now how should I update only the parameter1's value?
...
I have used Yii::app()->user->returnUrl but it always redirect me to localhost/index.php. Is there any particular configuration or some pieces of code that other programs that I must write? If you have another solutions let me know it.
...
Hello guys.
I've got problem:
When I use
Request.Url.AbsoluteUri
to detect page url at runtime, I always get url with IP, although my site is deployed at adress: http://site.domain.com.
How can I get url with http://site.domain.com instead of server ip.
Thanks.
...
Hey guys,
I'm looking for is a "Best Practices" approach for setting up Apache httpd (2.2) with Tomcat 6 so that we can:
Allow JSP files to be served for directory listings (e.g. http:/www.example.com displays index.jsp via DirectoryIndex index.jsp).
Hide the extensions of all URLs (both *.html and *.php files served by Apache and *.j...
Hello everybody.
I have a list of buildings that I load from my model. Those buildings are showed in a loop within my view as so :
Controller
public function index() {
$data['buildings'] = $this->Base_Model->getUserBuildings();
$this->load->view('game', $data); }
View
<?php foreach($buildings as $b): ?>
<div class="building">...
Hi
domain.com A IP
www.domain.com CNAME domain.com
In this scenario would www.domain.com/foo/bar point to domain.com/foo/bar?
Would the url still be www.domain.com/foo/bar
Thanks
...
My iPhone app consumes a Java web service in order to get data. At my company we have 3 environments - development, testing, production. Each environment's URL, that points to the web service, is different. Thus, each time we promote the project to the next environment I must change the hard-coded URL in the iPhone code to match that of ...
We are developing on an application that uses Portlets and deployed within JBoss portal. All of the portlets on a page are share the same contextual information, meaning every portlet is a different way of viewing the subject of that portal. The current implementation stores data in session so the portal knows which subject to load for a...
I'm trying to use the page URL as a variable inside a form submission so that I can write it into my database and figure out what pages are getting more list sign-ups. Is there any easy way to do this?
...
Hello,
I have to write a WCF service that consumes a third party 'Web Service'. They provided WSDL and the URL so that I can post the transaction. Can some body please help me how to achieve this, with some code example.
Thanks in advance
BB
...
Hi, I have set up some database connection parameters on an OpenDS ldap server, using my own schema. It looks as the attached screenshot.
when I try to query the LDAP using following URL, it fails.
ldap://localhost/db-configname=local1,ou=eways,dc=repository,dc=com?db-serverName?sub
I have LDAPAdmin that automatically opens LDAP URLs...