Re: [PHP] Developing a game using Ming

2008-08-21 Thread Yasir Malik
> > If you're trying to be cheap and/or Open Sourcy > about it, have a look at > > OpenLazlo. It's an XML/JS framework, all open > source, that compiles to SWF > > and plays in a normal Flash 9 browser plugin. > > > > I've only recently started looking into it, but it > looks impressive. > > And

RE: [PHP] Developing a game using Ming

2008-08-20 Thread Yasir Malik
> What about FlashDevelop? I'm on the Papervision list, > and a lot of > people are raving abut that at the moment, and best of all > it's open > source. Could be a much better option than creating SWF > files from PHP. > Thanks, Ashley, I'll check that out. I was fuzzy on how I could use PHP to

RE: [PHP] Developing a game using Ming

2008-08-20 Thread Yasir Malik
> Why not build a Flash game in... uh... Flash? Using an > interpreted > language (PHP) to construct a Flash object seems sort of > overkill to me. > I don't really see where Java comes into play, either. > Am I missing > something? > > Do you just not want to buy one of the commercial Flash > dev

Re: [PHP] Developing a game using Ming

2008-08-20 Thread Yasir Malik
> http://php.net/manual/en/class.swfsound.php > I saw that example, and the examples at http://www.gazbming.com/, but I'm not sure if it possible to output sound when two sprites, for example, crash into each other. I say this because the main page of the Ming extension says that "sound events

Re: [PHP] Developing a game using Ming

2008-08-20 Thread Yasir Malik
> You should probably try asking a Flash or Actionscript list. > This is a > PHP list... > I'm not asking how to do something in Flash or ActionScript; I'm asking whether it is possible to do somethings using Ming, a PHP extension. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Developing a game using Ming

2008-08-20 Thread Yasir Malik
Hello, I want to develop a Flash game using Ming. I have never used Flash or ActionScript before, and I would like to know what limitations users have come across Ming. For example, the main page for the Ming extension says that sound events are not supported. Does this mean that it would no

Re: [PHP] asterix for arrray_search?

2005-06-18 Thread Yasir Malik
As for now I have: if (array_search('5a', $emsg) OR array_search('5b', $emsg)){ ... that statement will get very long till z :-) Any ideas how to make something like this: array_search('5*', $emsg) How about something like: search($emsg) { for($i = 0; $i < count($emsg); $i++) if(preg_mat

Re: [PHP] Extensions: parameters as references

2005-06-17 Thread Yasir Malik
Is there any list (or forum) that can help me with this? Thanks, Yasir On Fri, 17 Jun 2005, Yasir Malik wrote: Date: Fri, 17 Jun 2005 11:51:24 -0400 (EDT) From: Yasir Malik <[EMAIL PROTECTED]> To: php-general@lists.php.net Subject: [PHP] Extensions: parameters as references I am crea

[PHP] Extensions: parameters as references

2005-06-17 Thread Yasir Malik
I am creating a PHP extension. In my function, I want the parameter to be a reference. The extension function works fine only if the variable passed is initialized. For example, here is the extension function: ZEND_FUNCTION(first_module) { zval *parameter; if (zend_parse_parameters(ZEN

[PHP] Help with reading files

2003-08-24 Thread Yasir Malik
I am doing my development for our project on a Linux server, but our client uses Windows. One of the features that we have is the ability to send emails. The email feature will have a feature where the client can upload a file from their computers with a list of emails. My script would then parse o

[PHP] Forms and PHP

2003-07-20 Thread Yasir Malik
I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir -- PHP General Mailing List (http:/

Re: [PHP] MySQL datetime extraction

2003-07-19 Thread Yasir Malik
Thanks. Here's how I did it: $str = "2003-12-13 12:23:34" $b = localtime(strtotime($str), 1); printf("seconds: ".$a["tm_sec"]."\n"); On Sat, 19 Jul 2003, John W. Holmes wrote: > Date: Sat, 19 Jul 2003 14:28:00 -0400 > From: John W. Holmes <

Re: [PHP] MySQL datetime extraction

2003-07-19 Thread Yasir Malik
What list do I go to? I just want store the elements into some variables in PHP. Yasir On Sat, 19 Jul 2003, David Nicholson wrote: > Date: Sat, 19 Jul 2003 19:22:25 +0100 > From: David Nicholson <[EMAIL PROTECTED]> > To: Yasir Malik <[EMAIL PROTECTED]> > Cc: [EMAIL PROTEC

[PHP] MySQL datetime extraction

2003-07-19 Thread Yasir Malik
Given a date in MySQL datetime format, how do I extract the elements? That is get the month, day, year, hour, ... Thanks, Yasir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php