how to convert url with query string to url without query string
I would appreciate any help in converting an url with query string
CASE_KEY=00000000630520110213&STYPE=DISPLAY) to one that does not
contain any parameters (http://mywebsite/cgi-bin/web_case_mgt.exe). My
application is a cgi application with the server side generating
dynamic html pages (using C++). On the server side I am replacing the
current web page (web_new_case.exe) with a new one by generating the
I'm using the CGI::upload_hook functionality and would like to get a
parameter value passed in via POST *before* calling the upload hook to
process files. i.e. Something like this:
my $query = new CGI();<br/>
Now according to the CGI docs this doesn't look possible:
"If using the function-oriented interface, call the CGI::upload_hook()
method before calling param() or any other CGI functions:
....and indeed my exprience bears this out - If I try an...Query re: apache and URL query strings
Our website uses the standard query string arrangement:
We're in the process of moving over to an alternate arrangment utilizing
apache's lookback function.
My question is: If the second example is more search engine friendly why
don't all sites running apache use this method? Is there a performance hit
that I missed in my reading or some security issue related to the second
I don't think there's any performance issues except with the fact that you
have to parse your "query" into your own vari...sql query problem: joining on a string within a string
I have a problem that I need help with. I have 2 tables, table A & B.
Table A has a field called familyid and table B, a field called
clientid. Another person here at my office, created this field
'familyid' by truncating the clientid field (so we hope, she's on
maternity leave right now and can't be reached). The familyid is
contained within the clientid as shown below, and can range anywhere
from 3-5 characters (clientid is fixed at 8 characters). Both are
I just need a list of clientids that contain ...String query
I'm trying to compare two fields in a table. If the whole of the first field
is found somewhere within the second field, I need to output the second
field into a third field..
Field1 = abcd
Field2 = xyzabcdefg
Since Field1 is found within Field2, Field3 =xyzabcdefg
I 'm able to do this if the wholecontents of Field1 exactly matches the
whole contents of Field2, viz - Field3: IIF([Field1] = [Field2],[Field2],"")
However, I can't get this expression to recognise when Field1 matches only
part of Field2.
[Field3] =IIf(Instr([Field2],[Field1...string query
Hi, I've been experimenting further to understand about ordering
I had changed the code which tested ordered a list of char ( which
worked ) to string
but it's not giving the results I was expected. I was expecting to
have the strings in an increasing order.
Now, I'm getting confused and would appreciate if someone can explain
why I'm getting these results is greatly appreciated. Am I going about
this the correct way ?
struct testRec *nextrec;
typedef struct testRec records;
typedef records *recordptr;
void addName(recordptr ...Query String
How do you put the value of a form field into the query string. I have a
select field named title on a submission form. I'd like the selected value
to be put on the Form line
echo "<form name='form1' method='post'
action='admin/edit.php?selectfield=what goes here? '>";
thanks for looking.
$options = "select id from table order by id";
$optres = mysql_query($options);
$opt_results = mysql_num_rows($optres);
echo &quo...Re: sql query problem: joining on a string within a string
The "cartesian not optimized" is not an error,
it is just a NOTE when you join tables with
the comma. It is not signifying that anything
Your code actually is fine syntactically.
However, using the CONTAINS could potentially
generate incorrect matches. I would suggest
either pre-prep'ing a temporary column if
speed is essential or just changing to use
the SUBSTR to get exact matches. e.g.
proc sql ;
create table aaa as
select a.familyid, b.clientid
from pro as a, client as b
where substr(b.clientid,3,5) eq a.familyid;
One more note, is that the ca...Query in AS 400
I am trying to accomplish something in a query on the AS400. I have
LNAME which is the last name
FNAME which is the first name
how do i create these two as one
is LNAME is SMITH and FNAME is BOB
I would like to create it as SMITH, BOB
I used the || in define views and entered the following:
LNAME || '," || FNAME
but I get SMITH ,BOB
It is taking into consideration all of the spaces for the field
size... how do I over come this.
Any help would be greatly appreciated.
On Mar 31, 8:17 am, lcollin...@hotmail.com wrote:
> I am t...