LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-05-2006, 02:06 PM   #1
punisher_by
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
if Post_data parameter's value differ?


MY QUESTION IS ABOUT LYNX (TEXT BASED WEB BROWSER)

Hi again i have achieved something at last;

Code:
lynx -accept_all_cookies -post_data ww w.mysite.com < parameters.txt
parameters.txt file has this below;

user=Burak&password=123456&semester=20051
--- //this 3 line shows end of parameters

the commans above works well(i am calling this command from remote terminal by .jsp file ssh api)


thats ok but here another problem starts...my user's parameter's value will change...So is there anyway to change the full command similar to this one below???(not using any text file)
Code:
lynx -accept_all_cookies -post_data ww w.mysite.com < user=Burak&password=123456&semester=20051 ---

please help me about this situation and show me a way can it be or not or how??


thanks a lot

Burak YILMAZ
 
Old 02-06-2006, 03:48 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
You need to get the parameters from somewhere. So, if you plan a shell script, you can have a variable, like $PARAMETERS or so.
 
  


Reply


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
Lynx post_data parameter (going crazy) punisher_by Programming 1 02-06-2006 12:09 AM
lynx -post_data username password anirbanz Linux - Software 0 04-26-2005 11:44 AM
lynx -post_data username password anirbanz Linux - Networking 0 04-23-2005 02:06 AM
Lynx and the -post_data parameter..how do i use it? frank69m Programming 0 05-06-2004 05:00 PM
using lynx to post_data to an ASP doc jolly_good2000 Linux - Software 0 11-19-2002 11:37 AM


All times are GMT -5. The time now is 06:06 AM.

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