Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PSP / mod_python ... how to get POST vars on .psp ?

Thread Tools

PSP / mod_python ... how to get POST vars on .psp ?

Rod Castellanos
Posts: n/a
Ive been looking everywhere, I need to get a var in my .psp file from
another one,
I managed to send it with a form and I can read it with "" but
it reads all of the variables together separated by a "&" like all
POST/GET vars.

How do I store each one in a python var, Im looking for something like
$_POST and $_GET from php.

Reply With Quote
Posts: n/a
The documentation states:

Additionally, the PSP code will be given global variables req, psp,
session and form.

In other words, in your PSP page you can access the "form" variable and
it will
give you access to the FieldStorage object that PSP creates for you.
The members
of the FieldStorage class are documented on the mod_python web site.

Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
PSP News. Working PSP Firmware 2.0 to 1.50 Downgrader!!! XP NZ Computing 0 09-28-2005 09:01 AM
PSP / mod_python ... how to get POST vars on .psp ? Rod Castellanos Python 2 06-07-2005 02:34 AM
Hey, Free Sony PSP. Best thing since sliced bread! It's So easy,and 100% legal! GET A FREE SONY PSP! !!NO CATCH!! Sarah Stewart Computer Support 0 05-08-2005 08:47 AM
app vars and cache vars Jon ASP .Net 3 12-14-2004 08:52 PM