RE: [PHP] Help with inserting Flash into MySQL database

2002-09-04 Thread Mike Krisher

Right, but you need to insert your code block in a way that it is
executed and then returns the name of a swf to load. Right now you are
loading the client side object/embed tags that then calls another PHP
file that returns the name or value of your SWF. You need to combine
the two files and return the value of the SWF on the first parse so
the filepath is there once the object/embed tags are rendered on the
client side.

I hope that makes sense,
-- Mike


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




RE: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mike Krisher

Your embed source and object movie value needs to be a file path to a
swf. Your values are currently set to something.php, needs to be
something.swf.

hope that helps,
-- Mike


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




RE: [PHP] PHP and Pay Flow Pro

2002-03-12 Thread Mike Krisher

The php.net site
(http://www.php.net/manual/en/ref.pfpro.php) has all the
information you'll need to implement Payflow Pro. Check out
the User Contributed Notes.

______
 Mike Krisher
 Technical Director

 hyperQUAKE
 312 West 4th Street
 Cincinnati, OH  45202
 Tel: 513.563.6555
 Cel: 513.254.7821

 AOLIM: twopeoplecom
 ICQ: 83891383
 MSN: [EMAIL PROTECTED]
 Yahoo: mike_krisher


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




[PHP] 4.0.6 patch, not working

2002-02-27 Thread Mike Krisher

anyone else having issues with the 4.0.6 patch not downloading correctly. I
can't seem to extract it?

______
 Mike Krisher


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




RE: [PHP] PHP on Pocket PC

2002-02-27 Thread Mike Krisher

I've been looking for a WIN CE port of PHP for some time now and haven't
been able to find one, let me know if you find something. There is a version
of ASP for the PocketPC though in case you need an alternative.

______
 Mike Krisher



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




[PHP] unique strings from string column type in mySQL

2002-02-27 Thread Mike Krisher

I have a column in a database with a column type of string that holds
catalog numbers. They can be in two formats.

1: 410998
2: 555336-18

The 18 in the dash number represents a length. So there could be multiple
entries with the same base, just a different int after the dash.

I am experiencing two issues: First, when using the catalognumbers in a
SELECT statement, only those without dashes return anything. Is there
something I need to do with my datatype in order to use:

$item = "555336-18";
$sql = "SELECT * FROM products WHERE catalognumber = $item";

Second question, when I strip off the dash and following int(s), my select
statement will work, even though the subtring I am then searching for
doesn't really exist in the database. And if I have two numbers with that
same subtring base they are both returned. For Example:

$item1 = "555336-18";
$item2 = "555336-7";
$item = substr($item,0,6);
$sql = "SELECT * FROM products WHERE catalognumber = $item";

Both items will be be returned, even without using %LIKE%. I'm guessing this
all stems from my column type. Should I change it to something else, and if
so what? Can anyone help out?

Thanks,
>> Mike Krisher


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




RE: [PHP] PHP/Flash interaction

2002-02-01 Thread Mike Krisher

what do you mean by optimization? do you mean loading info(name/value pairs)
from PHP to Flash and vice versa. I don't know if there is a way to optimize
it at all, GET and POST are the same things with Flash as they are with HTML
and the like. Let me know if you're looking for something specific.

______
 Mike Krisher
 Director of Technology

 hyperQUAKE
 312 West 4th Street
 Cincinnati, OH  45202
 Tel: 513.563.6555
 Cel: 513.254.7821

 AOLIM: twopeoplecom
 ICQ: 83891383
 MSN: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] WIN CE builds

2002-01-31 Thread Mike Krisher

Anyone know of an Apache and PHP build for Win CE? I would rather build a
Web app for my device than completely have to learn eMbedded VB, or use the
IIS port with something like PocketASP from modezero.

Thanks in advance,
__
 Mike Krisher
 Director of Technology

 hyperQUAKE
 312 West 4th Street
 Cincinnati, OH  45202
 Tel: 513.563.6555
 Cel: 513.254.7821

 AOLIM: twopeoplecom
 ICQ: 83891383
 MSN: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] variable variables

2002-01-17 Thread Mike Krisher

I can not wrap my head around variable variables today, not awake yet or
something.

For instance I trying something like this:

while ($i<$loopcounter) {
$temp = "size";
$valueofsize = $$temp$i;
$i++;
}

this doesn't work obviously, $valueofsize ends up with a literal value of
"$size1". But I need it to equal the value of a variable named $size1. Do I
need to use a eval() or something?

Thanks in advance,
» Michael Krisher
  [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mySQL select statement with mulitple where definitions

2002-01-16 Thread Mike Krisher

someone here has to know the syntax for using multiple items in a where
definition, something like:

$values = 120106,120095;
$sql = "SELECT * FROM products WHERE catalognumber = $values ORDER BY
price";

Does this make sense,
» Michael Krisher
  [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: mySQL INSERT question

2001-12-17 Thread Mike Krisher

I figured out my question was a little illogical, I figured out how to get
what I needed with an insert and update statement. Thanks for those that
responded.

» Michael Krisher
  [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mySQL INSERT question

2001-12-17 Thread Mike Krisher

I suppose this is more of a SQL question, but how do I insert a row into a
table right before the very last row in the table. I am sure there is a way
to insert a row other than just at the beginning or end of a table but I
can't find the syntax on the mySQL site. Anyone know?

» Michael Krisher
  [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] delete array item and resort

2001-12-05 Thread Mike Krisher

what is the easiest way to delete an array element and then resort the array
so the elements receive the correct numbering.

I was thinking something like this:

$itemArray = array("red","blue","yellow");
delete("$itemArray[1]");

so key 0 is still "red" but key 2 is still yellow but is remembered to
become key 1.

Hopefully that makes sense, get rid of one item in the middle and the rest
of the array moves up one position.
Thanks,
» Michael Krisher
  [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]