[PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Ceyhun Güler

Thanks everyone!
IT'S WORKING NOW :P



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




Re: [PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Ceyhun Güler

hmmm
I ll try it on my local host





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




RE: [PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Lauri Vain

Hi Ceyhun

> http://www.akademihastanesi.com.tr/kocak/resimgoster.php
> look here
> I have tried to do it but notting happens?

Open that page in your browser and 'View source'. You don't seem to have
PHP enabled on your server. 

Yours,
Lauri
--
Tharapita Creations
[dynamic web applications]
[EMAIL PROTECTED]
Mobile: +372 53 410 610 



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




[PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Ceyhun Güler

http://www.akademihastanesi.com.tr/kocak/resimgoster.php
look here
I have tried to do it
but notting happens?
:(




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




[PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Ceyhun Güler

Thanksss
but my link will be
"resimgoster.php?res=main images picture.jpg"
right?





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




[PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Michael Kimsal

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, " ", "/")
> %>
> 
> 
> 
> 
> 
> 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?
> 


I'd probably do something like






I'm relying on the fact that $res would be autodefined
as a variable from the querystring.  This behaviour is
not standard in the latest version of PHP I believe, but
most versions before have it come by default.  The server admin
may have disabled it, but by default that happens.  If it's
not on, you could add a line to make it:








---
Michael Kimsal
http://www.phphelpdesk.com/
Taking the ? out of http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php