Questions tagged [restriction]

A restriction is anything that constrains or limits the code in some fashion.

Restriction is a very broad tag that denotes a requirement to restrict the code in some fashion.

706 questions
0
votes
2 answers

Restrictions on SQL order

Still new to asking questions here, so this is my second attempt at a problem I face. I have a table that is already ordered by Score. Every record can be one of 3 types. I would like to reorder the table by Score but impose an additional…
rami
  • 39
  • 4
0
votes
1 answer

Video streaming API

Current situation: Users are downloading the whole video clip (>70mb or >140mb). This is not as effective as we would like. [I am a non programmer looking for a solution]... I want to be able to stream video for a professional development package…
josh
0
votes
1 answer

"div" Restriction with "table" in jQuery

I have a question about "div restriction for Table in jQuery". I have a table:
aldimeola1122
  • 806
  • 5
  • 13
  • 23
0
votes
2 answers

crawler gets stuck on the mandatory agecheck page in Drupal

we have a big community website build in drupal, where the site has a mandatory agecheck before you can access the content of the website it checks for a cookie to be present, if not, you get redirected to the agecheck page. now we believe crawlers…
Sander
  • 13,301
  • 15
  • 72
  • 97
0
votes
3 answers

XSD restrictions

Is it possible using XSD to restrinct node names to enumeration, and then based on this enumeration add another restrictions? In example, I have this xml: I want "b"…
ppiotrowicz
  • 4,464
  • 3
  • 32
  • 46
0
votes
2 answers

PHP page load error

I'm trying to hide a content of a page using PHP but always get an error this is the code I'm using. Data from $pass comes from a form submited from the other page:
Link
  • 303
  • 1
  • 5
  • 13
0
votes
2 answers

Stop visitor from clicking on a link again until 24 hours expires

I'm having a problem. I have a page with about 1,200 buttons, the website will not be a membership website, I just want to be able to keep track of each visitor to ensure that a button that they clicked on cannot be clicked by them again until 24…
Roger Williams
  • 159
  • 2
  • 7
  • 15
0
votes
2 answers

How to allow only one method in an application made with CodeIgniter?

I made a contest where members could register to win prizes. Now, it's time to display results and winners of the contest. I want to allow only one controller and one method, to disable the possibility to still register to the contest. I think…
Dacobah
  • 779
  • 3
  • 15
  • 35
0
votes
1 answer

Google Places Autocomplete API restrict country stopped working

I am running an google place auto complete item. I placed a restriction to output only address on a particular country. using the componentRestrictions: {country: 'fr'} code. This worked very fine, until 25 July 2012. The country restriction…
0
votes
1 answer

Restricting access to certain URLs in a webapp running on Tomcat (6.0.x)

Hi my new problem is as follows: I have a web application running on Tomcat 6.0.x, it's behind an Apache HTTPD reverse proxy, there are other machines behind it one of the supposed to communicate with a certain web service…
Scis
  • 2,934
  • 3
  • 23
  • 37
0
votes
1 answer

Restrict New Relic for some namespaces

I want to disable New Relic on the /admin namespace, so I'll have reports only from the user part of the app? I'm using it on Rails with gem and heroku config
Uko
  • 13,134
  • 6
  • 58
  • 106
0
votes
3 answers

Google Crawler Time Restriction

does anyone know that it is possible to setup any property in order to inform googlebot to just come and crawl the site during specific day or time period (eg. during the weekend only)? thanks,
pang
  • 3,964
  • 8
  • 36
  • 42
0
votes
1 answer

How to allow access only to specific routes

I have defined a set of routes using backbone For instance: Backbone.Routes.prefix = Onethingaday.Routers Backbone.Routes.map "!*splat": "HomeRouter" : "reroute" "": "NavbarRouter" : "index" "SidebarRouter" : "index" "HomeRouter" :…
Zhen
  • 12,361
  • 38
  • 122
  • 199
0
votes
3 answers

Restrict variable in Matlab

Is there a way in matlab to restrict variables in a function For example i have a function function S0 = S0Func(obj, c, delta, xT, sigma) beta = obj.betaFunc(sigma); xb = obj.xbFunc(c, delta, sigma); S0 =…
Bastaix
  • 835
  • 3
  • 12
  • 23
0
votes
1 answer

How to prevent a user from leaving comment to another user

Suppose I have a site where users can leave each other comments. we have user A, user B and user C. also, support user B has blocked user C. user A leaves user B a comment, code is as follows: $query = "insert into comments (author_id, profile_id,…
sqram
  • 7,069
  • 8
  • 48
  • 66
John Jane