ld
> be 'chopped' or discarded but without rounding the first digit after the
> decimal point.
>
> Is there any way of doing this?
>
> I'm stumped.
>
> Tia,
> Andre
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
If,
1. You are using linux
2. You can make system calls
It will help:
http://www.andrews-corner.org/burning.html
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
in its own method in a seperate file, and its called within HTML
> code so obviously if I included session_start() in the seperate include
> file
> where the methods/classes are, etc., I'd get a "headers already sent"
> error.
> So is there a solution to this?
>
> Thanks.
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
s` and `mire`, respectively.
>
> --
>
> http://www.parasane.net/
> [EMAIL PROTECTED] || [EMAIL PROTECTED]
> Ask me about our current hosting/dedicated server deals!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
t/count
>
> --
>
> http://www.parasane.net/
> [EMAIL PROTECTED] || [EMAIL PROTECTED]
> Ask me about our current hosting/dedicated server deals!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
HP file that available from
> webserver root is the index.php.
>
>
> --
> Sincerely Yours, ANR Daemon <[EMAIL PROTECTED]>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hi all,
I don't know who know phpbb, but i like it's approach to this problem...
simple set a constant in the scripts you should access and use defined
function for check it on includes... like:
index.php
define( 'IN_MY_APP', 1 );
include1.php
if ( !defined( 'IN_MY_APP' )) {
**header( 'HTTP/1.1 404 Not Found' );
header( 'Location: /' );
}
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
thank people that r invading other contries anyway.
>
>
> --
>
>
> Jason Pruim
> Raoset Inc.
> Technology Manager
> MQC Specialist
> 11287 James St
> Holland, MI 49424
> www.raoset.com
> [EMAIL PROTECTED]
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
#x27;s companies? That their
economy don't get worser?
>
>
>>
>> --
>>
>> Jason Pruim
>> Raoset Inc.
>> Technology Manager
>> MQC Specialist
>> 11287 James St
>> Holland, MI 49424
>> www.raoset.com
>> [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
array(19) {
>
>["order_date"] => string(8) "09-01-08"
>
>["order_product_price_1"] => string(5) "25.00"
>
>["order_product_price_2"] => string(5) "15.00"
>
>["order_total_price"] => string(0) "40.00"
>
> }
>
>
>
> Tom Shaw
>
>
>
> [EMAIL PROTECTED]
>
>
>
> foreach( $arr_top as $arr_top_elem ) {
$total = 0;
foreach( $arr_top_elem as $key => $elem ) {
if ( strpos( 'order_product_price_' ) === 0 ) {
$total += $elem;
}
}
$arr_top_elem['order_total_price'] = $total;
}
This should do da trick...
--
Thanks,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
Hi,
> > you could define your own error handler:
> > http://www.php.net/manual/en/function.set-error-handler.php
> >
> >
> >
> > The manual made me chuckle then: "Also note that it is your
> responsibility
> to die() <http://www.php.net/manual/en/funct
--
> Viele Grüße
>
> Dominik Strauß - www.n3or.de
> Webentwicklung, PHP und Linux
>
> Mobil: 0178 4940605
> Internet: www.n3or.de
> E-Mail: [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Hi,
Well... u can make an eval of the script, and if it gives an Parse Error it
returns false...
See www.php.net/eval
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
eral Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Hi,
$file ) {
$filesnew[] = $file;
}
var_dump( $filesnew );
?>
It should work for you with small changes ;)
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
" <[EMAIL PROTECTED]>
> > > > Cc: php-general@lists.php.net
> > > > Date: Tue, 2 Sep 2008 21:04:30 +0100
> > > > Subject: Re: [PHP] Google Chrome
> > > >
> > > > > Beta or not, it's still amazingly fast.
> > > > > Despite the fact you can't scroll up with the mouse wheel...
> > >
> > > --
> > > 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
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
-general@lists.php.net
> > Date: Tue, 2 Sep 2008 21:04:30 +0100
> > Subject: Re: [PHP] Google Chrome
> >
> > > Beta or not, it's still amazingly fast.
> > > Despite the fact you can't scroll up with the mouse wheel...
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
; > other
> >> > things, I'd suggest rethinking the design/checking you're doing.
> >> >
> >> > --
> >> > -Dan Joseph
> >> >
> >> > www.canishosting.com - Plans start @ $1.99/month.
> >> >
> >> > "Build a man a fire, and he will be warm for the rest of the day.
> >> > Light a man on fire, and will be warm for the rest of his life."
> >>
> > --
> > http://www.interjinn.com
> > Application and Templating Framework for PHP
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> If code is getting injected into our apps we're screwed.
How you get code injected on your aplication anyway?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
Graph
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> www.google.com/chrome
Now is the time ;)
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
b.
>
> --
> http://www.interjinn.com
> Application and Templating Framework for PHP
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> And all other possible places :)
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
rs,
> > Rob.
>
>
> It is VERY strange! phpinfo() shows that it is using C:\Windows\php.ini
>
> phpinfo() also shows display_errors = Off but when I go to the
> C:\Windows\php.ini file it says display_errors = On...
>
You can be rewriting it on your vistualhost or in a scri
;>
>> "order_shipping_extra" => "0.06",
>>
>> ),
>>
>> array(
>> ...
>>
>
> A single row of *what*? The order_ids? The order_names? Perhaps you should
> post an example of the outcome you're looking for.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Yep, i got lost too ;)
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
;>> STW? plenty of people offering code that attempts to detect mobile
>>> devices, e.g.:
>>>
>>> http://www.andymoore.info/php-to-detect-mobile-phones/
>>>
>>> also I'd offer a link in the top of your site pointing to the mobile site
>>> (and vice-versa) in order to:
>>>
>>> 1. allow bots to visit both.
>>> 2. in case your code guessed incorrectly for some user(s)
>>>
>>> I'd also check the UA string specifically for bots first and just let
>>> them
>>> through ... they are neither desktop nor mobile browsers.
>>>
>>> additionally you might consider how you want to accomodate text browsers
>>> (which is kind of what a bot is)
>>>
>>>
>>>> Thanks.
>>>>
>>>>
>>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Anyway, this code is working...
I changed my useragent in Firefox and it worked pretty well to me...
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
A K M Mokaddim
> http://talk.cmyweb.net
> http://twitter.com/shiplu
> Stop Top Posting !!
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
browsers, but that discussion is (maybe) better on a
javascript/designer/whatever mailling...
And it's only rumors... why not wait by the real thing is out?
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
re something about my code right in front of my face
> that I'm not seeing?
>
> Any suggestions would be greatly appreciated.
>
> Thanks.
>
> --
> Dave M G
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Unless you are not getting that useragents on your php, it as to work...
At least my test worked perfectly
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
gt; Seems so simple, but I can't get it... What am I doing wrong?
> -Govinda
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
r_sales_price" => "11671.90",
>
> "order_shipping_price" => "500.00",
>
> "order_shipping_extra" => "450.00",
>
> ),
>
> array(
>
> "order_id" => "37",
>
> "order_number" => "78973467Y3Y36",
>
> "order_name" => "Steinway Grand Piano #11",
>
> "order_ordered_size" => "Grand",
>
> "order_sales_price" => "78671.90",
>
> "order_shipping_price" => "7.85",
>
> "order_shipping_extra" => "0.06",
>
> ),
>
> array(
>
> "order_id" => "38",
>
> "order_number" => "78973467Y3Y36",
>
> "order_name" => "Baldwin L Grand Piano #39",
>
> "order_ordered_size" => "Grand",
>
> "order_sales_price" => "11671.90",
>
> "order_shipping_price" => "1.00",
>
> "order_shipping_extra" => "450.00",
>
> )
>
> );
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
On Mon, Sep 1, 2008 at 3:09 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> redirecting to generals mailing list ...
>
> Diogo Neves schreef:
>
>> php -r 'class B { private static function a() {} public function
>> __callStatic($method, $parms) { echo $met
Govinda a écrit :
>
>> Or is there a better reason?
>>
>
> What is exactly in $i ? A scalar integer, a string containing an integer ?
> A boolean ? What version of PHP ?
>
> --
> Mickaël Wolff aka Lupus Michaelis
> http://lupusmic.org
>
>
> --
> PHP Gen
fer too see te new text on top...
Maybe as you say he can clarify, but possible they like more like this?
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
Newbie :(
On Sun, Aug 31, 2008 at 8:37 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Diogo Neves schreef:
>>
>> Hi again,
>>
>> There's what you need ( I think )
>
> not so much that I need it, but the easier you make it
> for some one to look at
Hi again,
There's what you need ( I think )
Simplified version for web:
http://pastebin.com/d2bfcf495
Simplified version for CLI:
http://pastebin.com/d6ab96ed0
On Sun, Aug 31, 2008 at 7:09 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Diogo Neves schreef:
>>
>> Sorry,
;, (string)$this->e, '',
// What? Why?
' f --> ', $this->f, '',
// OK, static creates a reference, so?
' (int)f --> ', (int)$this->f, '',
' (string)f --> ', (string
Hi all,
Why a static var don't cast as a dynamic one?
See file for more info...
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
opensource developement... ;)
On Sun, Aug 31, 2008 at 11:26 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Sun, 2008-08-31 at 10:58 +0100, Diogo Neves wrote:
>> Well, I don't know how, but google folks @ gmail are doing a great job
>> with anti-spam tecnology... i
rjinn.com
> Application and Templating Framework for PHP
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks for your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whenever possible, so your PHP script is freed to send
> messages to other recipients.
>
>
> http://www.phpclasses.org/mimemessage
>
>
> --
>
> Regards,
> Manuel Lemos
>
> Find and post PHP jobs
> http://www.phpclasses.org/jobs/
>
> PHP Classes
t; Merlin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Thanks by your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ients
--
Thanks by your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the original thread too ;)
--
Thanks by your attention,
Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> please keep replies on list unless your intending to pay me
> an hourly fee ...
Yeap, i'm new in the list and i missed te cc of list... i'll try to
remember, sorry
>
> Diogo Neves schreef:
any sense to anyone else?
On Sat, Aug 30, 2008 at 2:38 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Diogo Neves schreef:
>>
>> hi all,
>>
>> I'm sending this email only to ask if someone know if the works of
>> __call in private methods is bug or feat
then go to __call()
i really don't know if it make any sense to someone else, but it still
make sense to me
any thoughts?
Thanks by your attention,
Diogo Neves
Developer @ Sapo.pt by PrimeIT.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
42 matches
Mail list logo