<%@language="vbscript"%>
<%location=request.querystring("res")
location=replace(location, " ", "/")
%>

<body>
<img src="<%=location%>">
</body>

==================
<html>
<head>
<title></title>
</head>
<body>
<?
$location = $HTTP_GET_VARS["res"];   ## get the value from the GET var; If
it was a post, use $HTTP_POST_VARS["res"] instead.
$location = str_replace( "/"," ", $location);   ## this assumes you want to
replace all / with a space.
?>
<img src="<?=$location?>">
</body>
</html>
==========================

This may do it.

Nicole
www.aeontrek.com

"Ceyhun GüLer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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?
>
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to