Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Closed Thread
  Search this Thread
Old 05-21-2007, 03:16 AM   #1
Registered: Mar 2004
Location: India
Distribution: RedHat Linux 8
Posts: 60

Rep: Reputation: 15
ampersand problem in cgi script...

Hi ,

I am executing a script that call in a a diff server...

When i am passing the parameters its not working properly..

Suppose i send ...


in the server log the query string is ...


Of i sent it as


then the query string is ...
"pageid=first" the second part is getting truncated..

if append 2 &'s the the reuslt would be...


but what i want is ....


Any idea where i might have gone wrong...

Old 05-22-2007, 08:42 AM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Please follow discussion here:

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and cgi script problem snapperhead Linux - Networking 0 02-13-2007 01:10 PM
CGI-Script Problem shipon_97 Linux - Newbie 1 05-09-2006 03:30 AM
CGI-script problem on Apache2 jkt2000 Linux - Networking 3 01-28-2005 05:38 AM
alternative way to write an ampersand (or another fix to my superkaramba problem)? fibbi Linux - Software 1 04-23-2004 03:51 PM
Apache cgi-script problem palanisaravanan Linux - General 6 02-07-2004 10:41 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration