PDA

View Full Version : Need help translating ASP code into PHP (vb 3.5.3)


skogen
01-12-2006, 08:32 AM
Hi!

My scenario looks like this. I have two servers. Server X and Server Y.
On server X I have my vbulletin forum and on server Y are files that are allowed to download for members of the forum.

Users click on a link on server Y and then the script check if user logged in on the forum on server X

I know how to check if a user is member and logged in on my vb but I don't know how to translate this code. I got it translated to vb 3.0.5 but that code is't working at all now in vb 3.5.3



<%

strFile2Show = Request.QueryString("asset")

Response.Redirect "www.my_server_y.com/downloads/" & strFile2Show

%>


I fiding it very hard to understand that moving from vb 3.0.5 to vb 3.5.3 would make such a script like I want impossible to do now...

My old thread and the solution how to make the code to vb 3.0.5 can be found here https://vborg.vbsupport.ru/showthread.php?t=77707

/Fredrik