Re: Can Anyone translate my script to php?
| From: | Jason Wong | Date: | Sun, 10 Mar 2002 18:19:37 +0000 |
| Subject: | Re: Can Anyone translate my script to php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87919@lists.php.net to get a copy of this message | ||
On Monday 11 March 2002 01:48, Ceyhun Güler wrote:
> I have a small picture and when I click on this image
> image opens resimgoster.asp with "resimgoster.asp?res=main tumbled images
> picture.jpg"
> and this asp code includes
>
> <%@language="vbscript"%>
> <%location=request.querystring("res")
> location=replace(location, " ", "/")
> %>
>
> <body>
> <img src="<%=location%>">
> </body>
>
> this code gets "res" variable and replace " " fields with "/"
> by this way I use only one file to enlarge of these picture...
> but I need it in php now
>
> can any one translate my asp code to php code?
There's a program called asp2php which does just that, converting asp code
into php:
http://asp2php.naken.cc/
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
You are going to have a new love affair.
*/