Re: [PHP] parse error? how can I print spesific message for all error mesage
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
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=mainres=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
? $dir = $HTTP_GET_VARS[dir]; $dir = str_replace( ,/,$dir); $res = $HTTP_GET_VARS[res]; ? title?=$res;?/title img src=?=$dir;?/?=$res;?.jpg /body My code is running now until if a link comes trough here like resimgoster.php?dir=main products imagesres=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
Re: [PHP] parse error? how can I print spesific message for all error mesage
Can AnyOne Help? -- 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?
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 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...
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 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?
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
Re: [PHP] Can Anyone translate my script to php?
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, , /) % 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. */ -- 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?
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] Re: Can Anyone translate my script to php?
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?
Thanks everyone! IT'S WORKING NOW :P -- 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
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--- ? $d = $HTTP_GET_VARS[dir]; $r = $HTTP_GET_VARS[res] $d = str_replace(%,/,$d); ? title?=$r;?/title body img src=?=$d;?/?=$r;? /body ThankS! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php