OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
php-general Digest 19 Dec 2005 15:54:14 -0000 Issue 3859

php-general-digest-helplists.php.net
Date: Mon Dec 19 2005 - 09:54:14 CST


php-general Digest 19 Dec 2005 15:54:14 -0000 Issue 3859

Topics (messages 227641 through 227653):

Re: Load from db into <select>-list
        227641 by: Zareef Ahmed

Re: PHP programmers from hyderabad
        227642 by: Mattias Segerdahl

accessing RAW response
        227643 by: Surya Mishra

How to get a unixtime with micro/mille seconds
        227644 by: Mathijs
        227645 by: Richard Heyes
        227646 by: Dragan Stanojevic - Nevidljivi
        227647 by: Zareef Ahmed
        227651 by: Mathijs

AJAX Framework
        227648 by: Erfan Shirazi
        227650 by: Zareef Ahmed
        227652 by: Miles Thompson

Re: duplicate filenames but different .extention
        227649 by: Dragan Stanojevic - Nevidljivi

Write a FIFO file
        227653 by: Ruben Rubio Rey

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


Hi,

      Using AJAX or JSRS you can do this.
See
http://www.ashleyit.com/rs/main.htm

Zareef Ahmed

----- Original Message -----
From: "Gustav Wiberg" <gustavvarupiraten.se>
To: "PHP General" <php-generallists.php.net>
Sent: Sunday, December 18, 2005 2:28 PM
Subject: [PHP] Load from db into <select>-list

> Hi there!
>
> Is it possible to load a <select>-list with databasinfo without reloading
a
> page???
>
> /G
> http://www.varupiraten.se/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

====================================================
PHP Expert Consultancy in Development http://www.indiaphp.com
Yahoo! : consultant_php MSN : consultancyindiaphp.com

>

attached mail follows:


Hyderabd, India?

Would you stop flaming the list with these requests?

Looking at your website, not a single experienced programmer would even
consider applying to the job mentioned. Not only does the website look like
it's made by someone with the know-how of a thirteen year old kid but the
company mentioned isn't even registered in Sweden and the so called address
of the company resides in a residential area.

And I doubt that anyone in here has experience developing dairy.

Maybe we have a few farmers that converted into php?

-----Ursprungligt meddelande-----
Från: Vikram Kumar [mailto:vikram.k6gmail.com]
Skickat: den 19 december 2005 02:58
Till: php-generallists.php.net
Ämne: [PHP] PHP programmers from hyderabad

hi!

We are looking for PHP programmers from hyderabd.

If you are an experienced PHP programmer, and have experience of developing
calendar or dairy , message board application, please send your CV to
infowebbdesignpunkt.se

All PHP programmers are welcome to apply!.

Best regards,
Vikram.

attached mail follows:


Hi,

I am posting a request to a server from a PHP and getting a result. When I
trap the response, it comes with all the contents. Is there a method to
strip off the extra information and just capture the result?
For example I get

HTTP/1.1 200 OK
Date: Mon, 19 Dec 2005 07:25:38 GMT
Server: Apache/2.0.55 (Win32) PHP/5.1.1
X-Powered-By: PHP/5.1.1
Content-Length: 190
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="iso-8859-1"?>
<responseValue>blah blah</responseValue>

Is it possible to just grab the "<responseValue>blah blah</responseValue>"
directly or do I have to parse through this response to get it?

Thanks in advance.

attached mail follows:


Hello,

I Want to have a unique time stamp.
And for this i want to use the normal timestamp but it is possible that
the seconds are the same, so i want to add the micro/milli seconds to
the end of it.

So when i have something like this as unixtime "1134989511"
It wil be "113498951100" or even "11349895110000".
Where 00(00) will be the micro/milli time.

Is there a simple way to get this?

Thx in advanced.

attached mail follows:


Mathijs wrote:
> Hello,
>
> I Want to have a unique time stamp.
> And for this i want to use the normal timestamp but it is possible that
> the seconds are the same, so i want to add the micro/milli seconds to
> the end of it.
>
> So when i have something like this as unixtime "1134989511"
> It wil be "113498951100" or even "11349895110000".
> Where 00(00) will be the micro/milli time.
>
> Is there a simple way to get this?

http://php.net/microtime

--
Richard Heyes
http://www.phpguru.org

attached mail follows:


Mathijs wrote:
> I Want to have a unique time stamp.
> And for this i want to use the normal timestamp but it is possible that
> the seconds are the same, so i want to add the micro/milli seconds to
> the end of it.
>
> So when i have something like this as unixtime "1134989511"
> It wil be "113498951100" or even "11349895110000".
> Where 00(00) will be the micro/milli time.
>
> Is there a simple way to get this?

Heh, you were so close to it :]

http://www.php.net/microtime

bye,
N::

attached mail follows:


Hi,

          use microtime function.

Zareef Ahmed

----- Original Message -----
From: "Mathijs" <m.v.veluwsmscity.nl>
To: <php-generallists.php.net>
Sent: Monday, December 19, 2005 5:58 AM
Subject: [PHP] How to get a unixtime with micro/mille seconds

> Hello,
>
> I Want to have a unique time stamp.
> And for this i want to use the normal timestamp but it is possible that
> the seconds are the same, so i want to add the micro/milli seconds to
> the end of it.
>
> So when i have something like this as unixtime "1134989511"
> It wil be "113498951100" or even "11349895110000".
> Where 00(00) will be the micro/milli time.
>
> Is there a simple way to get this?
>
> Thx in advanced.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

====================================================
PHP Expert Consultancy in Development http://www.indiaphp.com
Yahoo! : consultant_php MSN : consultancyindiaphp.com

attached mail follows:


Zareef Ahmed wrote:
> Hi,
>
> use microtime function.
>
> Zareef Ahmed
>
> ----- Original Message -----
> From: "Mathijs" <m.v.veluwsmscity.nl>
> To: <php-generallists.php.net>
> Sent: Monday, December 19, 2005 5:58 AM
> Subject: [PHP] How to get a unixtime with micro/mille seconds
>
>
>> Hello,
>>
>> I Want to have a unique time stamp.
>> And for this i want to use the normal timestamp but it is possible that
>> the seconds are the same, so i want to add the micro/milli seconds to
>> the end of it.
>>
>> So when i have something like this as unixtime "1134989511"
>> It wil be "113498951100" or even "11349895110000".
>> Where 00(00) will be the micro/milli time.
>>
>> Is there a simple way to get this?
>>
>> Thx in advanced.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
>
>
> ====================================================
> PHP Expert Consultancy in Development http://www.indiaphp.com
> Yahoo! : consultant_php MSN : consultancyindiaphp.com

Well i knew about microtime().
But i hoped i didn't had to use substr() to extract the unique numbers :).

But this will work also.

Anyway thx for the help.

Kind Regards,
Mathijs.

attached mail follows:


Hi all

Just wanted to get some feedback on which AJAX Framework people uses?
I use SAJAX, is there anybody which maybe has used SAJAX but are now
using something else instead, maybe somebody knows some better frameworks?

Best Regards,
/Erfan

attached mail follows:


Hi,

       You can try pear package HTML_AJAX

http://pear.php.net/package/HTML_AJAX

Zareef Ahmed

----- Original Message -----
From: "Erfan Shirazi" <eshirazishipco.com>
To: <php-generallists.php.net>; "Niklas Palmqvist" <npalmqvistshipco.com>
Sent: Monday, December 19, 2005 6:04 AM
Subject: [PHP] AJAX Framework

> Hi all
>
>
> Just wanted to get some feedback on which AJAX Framework people uses?
> I use SAJAX, is there anybody which maybe has used SAJAX but are now
> using something else instead, maybe somebody knows some better frameworks?
>
> Best Regards,
> /Erfan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

====================================================
PHP Expert Consultancy in Development http://www.indiaphp.com
Yahoo! : consultant_php MSN : consultancyindiaphp.com

>

attached mail follows:


Search the archives for

         [PHP] Rasmus' 30 second AJAX Tutorial - [was Re: [PHP] AJAX & PHP]

posted on July 21, 2005.

Miles

At 07:17 AM 12/19/2005, Zareef Ahmed wrote:

>Hi,
>
> You can try pear package HTML_AJAX
>
>http://pear.php.net/package/HTML_AJAX
>
>Zareef Ahmed
>
>----- Original Message -----
>From: "Erfan Shirazi" <eshirazishipco.com>
>To: <php-generallists.php.net>; "Niklas Palmqvist" <npalmqvistshipco.com>
>Sent: Monday, December 19, 2005 6:04 AM
>Subject: [PHP] AJAX Framework
>
>
> > Hi all
> >
> >
> > Just wanted to get some feedback on which AJAX Framework people uses?
> > I use SAJAX, is there anybody which maybe has used SAJAX but are now
> > using something else instead, maybe somebody knows some better frameworks?
> >
> > Best Regards,
> > /Erfan
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
>====================================================
>PHP Expert Consultancy in Development http://www.indiaphp.com
>Yahoo! : consultant_php MSN : consultancyindiaphp.com
>
>
> >
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


matt VanDeWalle wrote:
> hello again
> I am trying to figure out how i can read the list of files in a
> directory using the opendir() and readdir() functions. Normally this
> goes fine but within the loop, what i am wanting to do is echo the
> filename if it is a jpg file, but if its a .gif, just continue.
> I have several files i wish to seperate based on the basename of the file.
> i read the basename help file and know how to use it even to exclude the
> .3letterextention. I am however wanting to skip if it happens to be a
> .gif, is there some sort of way to i guess, do the basename function in
> reverse, e.g if it comes across "xxxxxx.gif" it would skip it but not
> skip over the xxx.jpg files?
> that is my latest problem, it skips everything when i have a line like
> this in my loop
>
> if($file = basename('.gif',$file))
> continue;
> else go on with code
>
> this not only skips over .gif files, but everything is ignored
> any ideas?

U have only one = in if! It always returns true upon execution...

try this:
// $file is filename like pic.gif
$ext = pathinfo( $file );
$ext = $ext[ 'extension' ];

if( $ext === 'gif' )
        continue;

bye,
N::

attached mail follows:


Hi,

I have a problem. I have created a fifo file (under linux) and I m not
able to append some line from a php script. There is not output error,
php just is executing for ever ...

How can I write a fifo file?

Thanks in advance