Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-13 Thread Ceyhun Güler

Thanks Jan!!! It Works



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




Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-12 Thread Ceyhun Güler

if I write directly "localhost/myphp/resmigoster.php" on his browser
it response
Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 1

Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 3

if I write directly "localhost/myphp/resmigoster.php?dir=main&res=mine"
than the script works like mine
but I wonder to disable "Warning: Undefined index: dir in
c:\inetpub\wwwroot\kocak\resimgoster.php on line 1"
response if someone directly enter "localhost/myphp/resmigoster.php" I want
to say him that "Access Denied" Or something like that





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




Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-11 Thread Ceyhun Güler

Can AnyOne Help?



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




Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-11 Thread Ceyhun Güler






My code is running now until if a link comes trough here like
"resimgoster.php?dir=main products images&res=pic01"
but  if you write resimgoster.php to your adress bar without dir and res
this script write_>
Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 1

Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 3

I want to give a message like "Not Avaiable"  if dir and res is not entered!



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




[PHP] parse error? how can I print spesific message for all error mesage

2002-03-10 Thread Ceyhun Güler

Parse error: parse error in c:\inetpub\wwwroot\kocak\resimgoster.php on line
3

How can I print my own message like "sorry not avaiable!"
for all error happening in my php file
but I want to make it only for this file
I don' t want to configure My IIS

My script was which Michael Kimsal was helped me to translate with " can
anyone translate my script to php? post"--->








ThankS!




-- 
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

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




[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




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

2002-03-10 Thread Ceyhun Güler

Thankss Jason!
I m downloading it

"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> 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, " ", "/")
> > %>
> >
> > 
> > 
> > 
> >
> > 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.
> */



-- 
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] who can translate my ASP codes to PHP code? its very simple asp code...

2002-03-10 Thread Ceyhun Güler

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?




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




[PHP] Can Anyone translate my script to php?

2002-03-10 Thread Ceyhun Güler

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?







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