[PHP] calling a php file from javascript

2002-06-18 Thread Burak Delice

hi,
how can I call a php file from javascript?. Actually I want to call a php
file from flash without appear a web browser window(I used getURL function
but it use new or self window). so I will use fscommand and call php from
java.

thankyou.




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




[PHP] is there a function like javascript's window.open in PHP

2002-06-22 Thread Burak Delice

hi,

I wonder that is there a PHP function like window.open() into Javascript?

thankyouverymuch.



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




Re: [PHP] is there a function like javascript's window.open in PHP

2002-06-23 Thread Burak Delice

Mark, thankyou very very much your detailed explanations about my
complexity. And thank you for gave your time to write it.

I think, I have to start first step about scripts :)


"Mark Charette" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a common question, related to the lack of understanding of
> client/server architectures I believe.
>
> PHP is all server side - a browser is all client side.
>
> Servers can send data only to the browser, nothing else. The server can
> inquire and gather data from text files and databases, but it will format
> the data into a particular protocol (HTTP most often) and send it to the
> browser. The data may even include lines of text from a language that the
> browser understands, like JavaScript. Or it might be XML data and the
> corresponding XSLT instructions. But ... it can't affect the browser
> directly. Only the embedded instructions that the browser understands can
> actually affect anything on the browser.
>
> The browser looks at the stream of data provided by the server and decides
> on-the-fly what to do with it. If it sees JavaScript instructions, it may
> decide to interpret them and do some particular action. Or it may decide
> that it doesn't want to play with JavaScript today and just ignore them.
It
> may see the XML/XSLT and decide to do something - but it doesn't have to.
> This, of couse, is the bane of Web programmers everywhere. What does the
> browser understand, and what does it do with the data.
>
> PHP allows us to write programs eaisy on the server to make some decisions
> on what to send a browser, but it cannot act directly on the browser. We
> must depend (somehow) on the browser interpreting what we tell it and then
> acting in a particular way.
>
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 23, 2002 12:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] is there a function like javascript's window.open in
> PHP
>
>
> On Sunday 23 June 2002 07:21, Burak Delice wrote:
> > hi,
> >
> > I wonder that is there a PHP function like window.open() into
Javascript?
>
> No.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> One thought driven home is better than three left on base.
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



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




[PHP] >>bb

2002-06-24 Thread Burak Delice

I gave up php, cgi, java,delphi,max,web,flash!!!what is
matter...http://www.micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof
10/index.html




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




[PHP] giving variable value in URL problem

2003-11-15 Thread Burak Delice
hi,

when I enter url like that http://localhost/menu.php?status=0 php return an
error below :
"Warning: Undefined variable: status in
D:\calismalar\cengiz_ozdelice\web\menu.php on line 41"
my code on 41.line is :
if ($status==0) echo '"trying";

what is problem?

thank you.

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



Re: [PHP] giving variable value in URL problem

2003-11-15 Thread Burak Delice
thanx Chris,
this code is running on Web, is not on Local. and I did your way, it did not
work
regards



"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Burak Delice <[EMAIL PROTECTED]> wrote:
> > http://localhost/menu.php?status=0 php return
>
> [snip]
>
> > if ($status==0) echo '"trying";
>
> if (!$_GET['status'])
> {
>  echo '"trying";
> }
>
> Hope that helps.
>
> Chris
>
> =
> Chris Shiflett - http://shiflett.org/
>
> PHP Security Handbook
>  Coming mid-2004
> HTTP Developer's Handbook
>  http://httphandbook.org/
> RAMP Training Courses
>  http://www.nyphp.org/ramp

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



[PHP] php's variables & javascript

2002-05-27 Thread burak delice

hi everyone,

I want to make a php that include javascript that use a php variable. Code
is below:


  wdth=";$size;echo";";
  echo "";
?>

(I am calling that php file as below)
http://localhost/Aksu/web/getimage.php?resim=K00.jpg

But explore gives me an javascript error that syntax error. Why? and how can
do my purpose?

thanks
burak delice





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




[PHP] javascript and php

2002-05-27 Thread burak delice

hi everyone,

I want to make a php that include javascript that use a php variable. Code
is below:


  wdth=";$size;echo";";
  echo "";
?>

(I am calling that php file as below)
http://localhost/Aksu/web/getimage.php?resim=K00.jpg

But explore gives me an javascript error that syntax error. Why? and how can
do my purpose?

thanks
burak delice



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




[PHP] Re: php's variables & javascript

2002-05-27 Thread burak delice

Thanyou very much guys,
I is working boyan, but your suggestion seems like a long way? he?




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




[PHP] at least right code is here :)

2002-05-27 Thread burak delice

thanks again

echo "
  width="; echo $size[0]; echo ";";

I mean, problem's solution is "echo"  :)



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




[PHP] javascript

2002-05-29 Thread burak delice

why is that code t working?

http://localhost/Aksu/web/getimage.php?resim=K00.jpg
$size = GetImageSize ("images/$resim");
echo "";
  echo "WinName=\"";echo $resim; echo "\"
  ";

  echo "GoURL=";echo"\"images/resimgoster.php?res="; echo $resim; echo "\";
  ";
  echo "var hdth="; echo $size[0]; echo ";
  ";
  echo "var wdth="; echo $size[1]; echo ";
  ";

  echo "pParams=\"width=\"+wdth+\",height=\"+ hdth
+\",top=\"+((screen.availHeight/2)-(hdth/2))+\",left=\"+((screen.availWidth/
2)-(wdth/2));
 ";
 echo "newWindow = window.open(GoURL,WinName,pParams);";
 echo "";
?>





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




[PHP] javascript(sorry for my english)

2002-05-29 Thread burak delice

hi,

why this code does no work?
(explorer is giving ajavascript error)
thanks.
burak ozdelice

http://localhost/Aksu/web/getimage.php?resim=K00.jpg
$size = GetImageSize ("images/$resim");
echo "";
  echo "WinName=\"";echo $resim; echo "\"
  ";

  echo "GoURL=";echo"\"images/resimgoster.php?res="; echo $resim; echo "\";
  ";
  echo "var hdth="; echo $size[0]; echo ";
  ";
  echo "var wdth="; echo $size[1]; echo ";
  ";

  echo "pParams=\"width=\"+wdth+\",height=\"+ hdth
+\",top=\"+((screen.availHeight/2)-(hdth/2))+\",left=\"+((screen.availWidth/
2)-(wdth/2));
 ";
 echo "newWindow = window.open(GoURL,WinName,pParams);";
 echo "";
?>







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