I needto use php to open *.swf,
and then send some xml code to it.
anyone knows if this is possible,
and if so, how to send code (via POST) to the *.swf after opening it?
thnx
Michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
anybody help me please...
how can I open a file from php (something like require, but without closing
the php-file)
and then send some string to that file with POST
is thispossible?/?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
sorry..I'm quite new in this php-stuff
i've got a little problem
if I write
a$ = test;
b$ = test2;
data$ .= a$ . . b$ ;
echo data$;
it outputs:
test test2
instead of:
test test2
I really need that spaces..
any help?
thnx
--
PHP General Mailing List (http://www.php.net/)
hi there,
i'm having a small problem, wondering if anybody can help
// a line in my script defining $url
$url = $directory . '/main.php?id=' . $id;
// a line later on in the frameset calling this $url
echo 'frame name=main scrolling=no src='$url'';
this gives me a paring error on the last
you could use stripslashes or stripcslashes to remove the '\'-s, otherwise i
wouldn't know..
Pag [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
When a user wants to add a comment on my site and uses either or ', and
when it gets printed out, comes out
i'm creating sort of a very simple css-alike-thing for outputting html to
flash actionscript.
the php gets a string ($text) from the database, which look something like:
h1header 1 /h1 etc...
then, from a 'css' file it reads the strings $replace and $replacement
it looks something like:
never mind it
i've solved it trimming the $replace and $replacement before using them in
ereg_replace()
thanks anyway
Michiel Van Heusden [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i'm creating sort of a very simple css-alike-thing for outputt
i have quite an easy question:
is there a way in PHP to trace the selection in a certain form-field?
i need this for building a simple html-edit application,
which allows a user to select his/her text within a field, and then click
'bold' for instance..the PHP should insert b before the
i want to pass variables to a shockwave-flash-file
currently that's working fine with
print PARAM NAME=movie
VALUE=\$movie?idlinks=$idlinksidcontent=$idcontentidknoppen=$idknoppen\
etc...
but passing the variables through GET makes iexplore think it's loading a
new *.swf-file
how to fix this?
thanks for your reply
What I do in these cases is either having PARAM name=movie.swf?var1=text
the first thing you mention is exactly the problem I'm having since the
file.swf?var=xxx
makes iexplore reload it
Or use a file (something.php) which spits text like var1=var2=.
Flash can
$db = mysql_connect$db_host, $db_user, $db_pass)
or die (Cannot connect to database);
mysql_select_db($db_name, $db)
or die (Cannot select database);
$result = mysql_query($query ,$db)
or die (Query not executed);
and all the outputting code...
grace
michiel
Cf High [EMAIL
my experience is
that interaction between flash and php runs best through GET
so, you could try using GET instead of POST
and in your actionscript
insert the ';' on the end of the lines for:
test = this[list_label+i]
myItem.label = test
grace
michiel
Pei_world [EMAIL PROTECTED] wrote in
I'm using this script to test passing arrays to a Session-variable.
?
session_start();
// method 1
$_SESSION['array1'] = array(item1, item2);
// method 2
session_register(array2);
$array2 = array(itemA, itemB);
header (Content-type: text/html);
echo $array1[0]. br /;
echo $array2[0];
?
i'm working on a chat-app which has to be extremely plain and simple
mysql is available
i tried stripping some of the big scripts, but ended up in a mess
so i've ended up building a little app myself
i'm just wondering whether i'm using the right principe to get the data
refreshed in the chat..
any crash, sql server will take care of this
Michiel van Heusden wrote:
i'm working on a chat-app which has to be extremely plain and simple
mysql is available
i tried stripping some of the big scripts, but ended up in a mess
so i've ended up building a little app myself
i'm just wondering
my problem is this
I have some variables defined which i'm sending through get
form name=form1 method=get action=result.php
// input's etc
/form
now I have $var1 defined in my PHP and I want to send it through that GET as
well
is there a way to do this?
so it's not a user-defined but
is there any possibility using PHP 4 to store entire files as a database
field in a MySQL database?
and if so, does anybody know a way, or a tutorial describing this?
thanks
michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this is an HTML-problem, not php..but anyway
i have no clue why the extra space would appear,
but I'd try to add absolute positiong to the HR and IMAGE as well, that
should solve the problem
like:
style type=text/css
!--
hr {
position: absolute;
top: 0px;
}
img {
position: absolute;
top:
I've been told (in this newsgroup as well :) that PHP automatically closes
the MySQL connections on closing the file or session..
probably when you ended your last '?' PHP closed the MySQL connection
a way to solve it is to insert the closing-command right after you finished
using the connection
19 matches
Mail list logo