Re: [PHP-WIN] Re: ASP to PHP

2005-09-12 Thread Mark Rees
Hello This doesn't make much sense, no. One minute it's a hidden form input on a page which isn't a form, then it's a session variable, then it's a cookie! Your problem is that you have a variable which you need to pass from the ASP to PHP page, isn't it? Ignoring what you are doing at the momen

Re: [PHP-WIN] Re: ASP to PHP

2005-09-09 Thread cybermalandro cybermalandro
> > -Original Message- > From: cybermalandro cybermalandro <[EMAIL PROTECTED]> > To: Mark Rees <[EMAIL PROTECTED]> > Cc: php-windows@lists.php.net > Sent: Fri, 9 Sep 2005 11:58:30 -0500 > Subject: Re: [PHP-WIN] Re: ASP to PHP > > Sorry for the confusion. I a

Re: [PHP-WIN] Re: ASP to PHP

2005-09-09 Thread cybermalandro cybermalandro
Sorry for the confusion. I am going from and asp page to a php form via a link in the asp page. In order for the user to see the PHP page the variable _VIEWSTATE has to be set as input hidden type. This variable is actually a session variable. The thing is that this value should always be the sa

Re: [PHP-WIN] Re: ASP to PHP

2005-09-09 Thread Mark Rees
Please reply to the list. I still don't understand the problem. Anyway, you have this in your ASP file: When you submit that form to the PHP file, you can retrieve the value with $_GET('_VIEWSTATE') or $_POST('_VIEWSTATE') When you "go back" to the ASP page, what do you mean? Clicking "back

[PHP-WIN] Re: ASP to PHP

2005-09-09 Thread Mark Rees
So I have I this problem. I have asp page that has a link to a PHP page, when I click on the link I get the PHP with no problems but if I click back to the asp page and click on the PHP page I get a HTTP 500 Internal server error. If I hit the refresh button I get the php page again. The PHP page i

[PHP-WIN] RE: ASP to PHP converter?

2004-06-18 Thread memoimyself
Thanks a lot for your responses, Trevor, Svensson and Sudeep. I'd already tried asp2php, but it spat out broken code. Your friend would probably do a much better job, Svensson, but I'm doing a favour for a friend of my own and am not willing to spend money. I guess I'll end up doing the conver