What's the easiest way to find the sender of a get request from apache? I keep seeing error logs that imply some page/application is sending a get request for a favicon file, which is nonexistent. I grep'd my entire webhost directory but not a single file in there is referencing this nonexistent favicon file.
Is there a way to find out...
This is as weird as it gets. Name given in XmlArray attrib's ElementName appears in WISDL but not in actual response. Running under 3.5 (2.0.50727 for IIS AppPool).
After more detailed digging -- autogenned WSDL has different declarations for POST/GET vs SOAP responses and the diff is that they just reference the autogenned elem/type fo...
I've seen several examples but i can't seem to get it working.
Config.php:
$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;
Library:
class MY_Input extends CI_Input
{
function _sanitize_globals()
{
$this->allow_get_array = TRUE;
parent::_sanitize_globals();
...
so in my registry i have the entry under "LocalMachine\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" called "COMODO Internet Security" which is my firewall. Now what id like to know is how cani get the registry to check if that entry exists? if it does do this if not then do that. i know how to check if the subkey "Run" exists but not ...
Hello guys I'm stucked in a point and I need your help. I want to change SQL QUERY for each $_GET parameters. I'm using this:
<?
if (isset($_GET['page']) ) {
$pageno = $_GET['page'];
} else {
$pageno = 1;
} // if
$query = mysql_query("SELECT count(id) FROM m3_music_mp3");
$query_data = mysql_fetch_row($query);
$numrows = $query_da...
How can I get a string that is between two other declared strings, for example:
String 1 = "[STRING1]"
String 2 = "[STRING2]"
Source: "832h0ufhu0sdf4[STRING1]I need this text here[STRING2]afyh0fhdfosdfndsf"
How can I get the "I need this text here" using C++.
...
What I want:
So I have a textarea.
I write Hello World into the the textarea.
I want to get the Hello World's Height in Javascript.
What I have tried yet:
element = document.getElementById('textarea');
var textHeight = element.innerHTML.offsetHeight;
or this:
var textHeight = element.value.offsetHeight;
But t...
Hi all,
i have some scripts that need GET and POST values to start, and i wanna test them over shell.
Is there some way to pass the values to that arrays to avoid using getenv() function?
Thanks in advance!
...
When I run the following XmlHttpRequest
$.get('../entries/find_most_recent',
{name:$("#name").val()},
function(data) {
console.log("data");
});
The result can be seen in this Firebug screenshot:
But when I remove the quotes from console.log("data"), like so:
$.get('../entries/find_most_recent',
{name:$("#n...
Hi,
I am trying to use the jquery get statement:
$.get(urlAddress+".asmx", { question: quest },
function(data){
alert("Data Loaded: " + data);
});
I don't know how to specify the method and how to get data
The HTTP headers are giving a 200 message (Ok) but I'm not getting any data back.
Any help please?
...
I'm trying to pass variables using "get" in php, but ran into a snag.
Here's my PHP file:
<?php
include '../includes/header.php';
?>
<div id="page">
<div id="content">
<h3><?php $_GET['head']; ?></h3>
<div id="screenshots"> <img src="../images/sites/<?php $_GET['img1']; ?>" /> <img src="../images/sites/<?php $_GET['img2']; ?>...
Hi. I tried this in my php site <a href=?command=value>hell yeah</a>
And this to get the value :
if(isset($_POST['command'])){
$command=strip_tags($_GET['command']);
Does not seem to work.. Ps. The url have one this value also: ?lang=en_US
...
Hello,
I am not sure if this issue exists in other browsers; however, if I am simply trying to run a jquery $.get() in IE6, without running through a server, then it[$.get] will fail. As in it wont actually get the file. I am simply trying to grab an xml file in the same directory. I am trying to bundle this stuff up on a disk and distri...
I've written a licensing script for some modifications I release freely, and part of my terms and conditions states that upon installation the modification will send the following information for storing in my database:-
Domain Name where the mod is installed
Email address of the site owner
Modification name
Modification version number ...
Alright Im trying to retrive the number of rows where members are individual and active.
Ive narrowed the problem to my model. Everything was working fine until I added a second clause to my get_where
Here is my model function
function count_individual_active_members()
{
$query = $this->db->get_where('Membership', arr...
I'm developing a website using PHP.
My .htaccess has this rewrite rule:
RewriteEngine On
RewriteRule ^book/([^/]*)\.html$ book.php?title=$1 [L]
So the URL that looked like: www.example.com/book.php?title=title-of-the-book
turns into www.example.com/book/title-of-the-book.html
In a specific case, from another page in the site, I want...
How can I get the value of a textarea using c# ?
my issue is when I using MultiLine TextBox I can't get the full value !! I mean what I wrote including the breake lines.
ex:
Google
Micrisoft
Yahoo
after saving above data it come's in one line
1.Google 2.Microsoft 3.Yahoo
...
First I would like to say that I have only worked with java for 1 month now. This is probly a pretty simple question. I searched and the classic fruit example did not make any sense to me. I spent hours looking at it and trying to figure out how to apply this to make it work. It does not make any sense to me because everyone explain...
In PHP, when you have something in the URL like "var=true" in the URL, does the 'true' and 'false' in the URL get translated to boolean variables, or do they equal the text 'true' or 'false'? For instance, would, with the url having "var=false" in it:
if ($_GET['var'] == false) { ... }
work? Or would the variable always be true since ...
How can I make as "perfect" a subclass of dict as possible? The end goal is to have a simple dict in which the keys are lowercase.
It would seem that should be some tiny set of primitives I can override to make this work, but all my research and attempts have made it seem like this isn't the case:
If I override __getitem__/__setitem__...