POST parameter example
i'm having troube trying to use a session variable as the value for a POST
i'm calling ss from a php script designed to login to a web page, grab a bit of data, then move onto the next user to do the same thing
i've put ~@USER@~ and ~@PW@~ as the value in my scripting session
i've created a script much like Weather - begin scraping session example, but it seems the values are not being passed.
the log file shows
Login: POST data: f_username=%7E%40USER%40%7E&f_userpass=%7E%40PW%40%7E&
where i would have expected to see
Login: POST data: f_username=username&f_userpass=password7E&
what am i doing wrong?
POST parameter example
Just to clarify. If you are using a scraped value in a URL or as a POST parameter, always surround the variable name with ~# and #~, not just in POST paramters.
Brent
screen-scraper.com
POST parameter example
well, that was easy.
~#var#~ for post values
if i use the url, i use ~@var@~
thx
POST parameter example
Not at home to verify, but I think the POST parameters use the '~#' and '#~' delimiters.
-Les