On Tue, 17 Oct 2006 08:18:47 +0100, Stut wrote:
> John Taylor-Johnston wrote:
>>
>> This is what http_accept_language gives me depending on which browser.
>> Depending on the visitor in my region, it will either be French or
>> English.
>>
>> _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.8,fr;q=0
On Tue, 17 Oct 2006 17:26:42 +0100, Robin Vickery wrote:
> On 17/10/06, Al <[EMAIL PROTECTED]> wrote:
>> AYSERVE.NET wrote:
>> > Please, I need help on how to to recognise url in a block of text being
>> > retrieved from a database and present it as a link within that text.
>> >
>> > I will apprec
On 18/10/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote:
On Tue, 17 Oct 2006 17:26:42 +0100, Robin Vickery wrote:
> On 17/10/06, Al <[EMAIL PROTECTED]> wrote:
>> AYSERVE.NET wrote:
>> > Please, I need help on how to to recognise url in a block of text being
>> > retrieved from a database and p
Hello there,
Is there a way to extract a function call with its arguments?
Like i have something like this:
=CODE==
=CODE==
Now i want to extract the ClassName::FunctionName() part, inculding its
arguments.
The first two argument
Hello Robin,
I love you man. The solution you gave below just worked perfectly fine.
Thanks to all who assisted me on this. I appreciate you all.
Regards,
Bunmi
www.ayserve.net
www.budelak.com
Robin Vickery wrote:
On 17/10/06, Al <[EMAIL PROTECTED]> wrote:
AYSERVE.NET wrote:
> Please, I need he
HI all,
We have written an app in PHP4 that receives images from mobile phones
that are taken with the camera, we have found a problem that some of the
images are corrupt and we have determined that it is because of Nokia
VGA cameras that have sent the image, basically the jpegs are fine but
Hi Angelo,
I used to have a same problem when I were programming MMS message parser.
You can find different solutions at the PHP Manual web site;
http://www.php.net/manual/en/function.imagecreatefromjpeg.php (check user
comments).
I've used one of these solutions but I don't remember exactly
Oh and also at:
http://www.php.net/manual/en/function.imagecreatefromstring.php check
Paul Visco's solution.
On Wed, 18 Oct 2006, Hidayet Dogan wrote:
Hi Angelo,
I used to have a same problem when I were programming MMS message parser. You
can find different solutions at the PHP Manual web
Looked on google and not found a satisfactory answer. Doies anyone have a
funtion to do this?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Angelo Zanetti wrote:
HI all,
We have written an app in PHP4 that receives images from mobile phones
that are taken with the camera, we have found a problem that some of the
images are corrupt and we have determined that it is because of Nokia
VGA cameras that have sent the image, basically t
On 18 Oct 2006, at 05:44 , Angelo Zanetti wrote:
We also found another possible solution being that we use
ImageMagick to convert the jpeg to a jpeg, then it will load
properly. But now we would have to convert each image that comes in
and maybe only 10% of the images come from a Nokia VGA
Ross wrote:
Looked on google and not found a satisfactory answer. Doies anyone have a
funtion to do this?
R.
please explain, in details, what it is you're looking for. "postback for
php - a function to do this" doesn't mean squat to most people. Please
EXPLAIN.
- tul
--
PHP General Maili
Hi
How can i disable the automatically rounding of numbers, as i work with
large numbers and when i make them small again, it seems that the last
digits are gone.
example:
12345678901234567890
becomes:
1.2345678901234E+19 = 1234567890123400
Is there a way to disable this??
Thanks in advance
At 11:48 AM 10/18/2006, M.Sokolewicz wrote:
Ross wrote:
Looked on google and not found a satisfactory answer. Doies anyone have a
funtion to do this?
R.
please explain, in details, what it is you're looking for. "postback for
php - a function to do this" doesn't mean squat to most people. Pl
I think you can use the BCMath or GMP libraries for this.
--
http://www.web-buddha.co.uk
Maybe he's talking about the ability to post data to a website, like
using PHP to simulate a user submitting a webpage form. If so, check
out curl.
On Oct 18, 2006, at 8:00 AM, Miles Thompson wrote:
At 11:48 AM 10/18/2006, M.Sokolewicz wrote:
Ross wrote:
Looked on google and not found a
I'm relatively new to object-oriented PHP. I'm loving things like
Symfony and Smarty etc but really need a little more guidance!
Does anyone know of a good object-oriented PHP course
available in the UK?
Perhaps something my company could send me on or I could
do in the evenings.
Many thanks,
With my brief foray into ASP.NET for a previous job, I remember "postback"
being a conglomeration of junk code that it used to POST data back to the
server and may have been kinda AJAXy in nature.
The forms in ASP.NET tended to do stuff like convert from a static text string
to a INPUT field wh
I believe he is talking about the concept of postback in ASP.Net. PHP does not
have anything built in for this.
_
From: Ed Lazor [mailto:[EMAIL PROTECTED]
To: Miles Thompson [mailto:[EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Wed, 18 Oct 2006 10:27:33 -0500
Subject: Re: [PHP] Re
On Wed, October 18, 2006 9:58 am, Tijnema ! wrote:
> How can i disable the automatically rounding of numbers, as i work
> with
> large numbers and when i make them small again, it seems that the last
> digits are gone.
> example:
> 12345678901234567890
> becomes:
> 1.2345678901234E+19 = 12345678901
On Wed, October 18, 2006 6:56 am, Ross wrote:
> Looked on google and not found a satisfactory answer. Doies anyone
> have a
> funtion to do this?
You mean like a weblog talkback cross-link thingie?
Just go look at the source for any of the dozens of popular PHP blog
software.
It's not going to b
HI,
can anyone recommend a really good book on security with PHP?
Thanks in advance
--
Angelo Zanetti
Systems developer
*Telephone:* +27 (021) 469 1
On Wed, October 18, 2006 6:44 am, Angelo Zanetti wrote:
> We have written an app in PHP4 that receives images from mobile phones
> that are taken with the camera, we have found a problem that some of
> the
> images are corrupt and we have determined that it is because of Nokia
> VGA cameras that ha
On Tue, October 17, 2006 11:30 pm, [EMAIL PROTECTED] wrote:
> results with:
> dir created
> error:
> Warning: copy(music/index.php): failed to open stream: Permission
> denied in /home//public_html/leaders/tod/index.php on line
> 27
> result with:
> dir created
>
> page blank
> or
> page copied su
essential PHP Security, by Chris Shiflett. Pro PHP Security by Chris
Snyder.
On Oct 18, 2006, at 9:04 AM, Angelo Zanetti wrote:
HI,
can anyone recommend a really good book on security with PHP?
Thanks in advance
--
--
-
On Tue, October 17, 2006 8:10 pm, Louie Miranda wrote:
> header("Content-type: text/html; charset=utf-8");
> ?>
IE doesn't belive in standard headers, so you'll want a META tag as
well, which it DOES trust. I guess Microsoft thinks web Designers
know more about character sets than web Programmer
On Oct 18, 2006, at 8:43 AM, Justin Cook wrote:
I believe he is talking about the concept of postback in ASP.Net.
PHP does not have anything built in for this.
_
Is that where the same script displays a form and processes the data
when the form is submitted?
--
PHP General Mailing
On Tue, October 17, 2006 8:57 pm, Michael Hogsett wrote:
> Do you think there's any chance that it would be related to
> some other setting within the php.ini file?
The badly-named and oft-misunderstood "safe_mode" is my GoTo for Blame
Analysis on stuff like this... :-)
This is not Science, but V
Miles Thompson wrote:
At 11:48 AM 10/18/2006, M.Sokolewicz wrote:
Ross wrote:
Looked on google and not found a satisfactory answer. Doies anyone
have a funtion to do this?
R.
please explain, in details, what it is you're looking for. "postback
for php - a function to do this" doesn't mean s
Essencial PHP Security, Published by O'Reilly, and written by Chris Shiflett
I've never read it, but "Book", "PHP Security", and "Chris Shiflett" in the
same sentence means you're in for a treat.
Any serious discussion on this list security related generally involves a
request for input from Chr
On Wed, October 18, 2006 3:05 am, Ivo F.A.C. Fokkema wrote:
'<(?:(?:https?)://(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\\-_.!~*\'():@&=+$
On Wed, October 18, 2006 11:04 am, Angelo Zanetti wrote:
> can anyone recommend a really good book on security with PHP?
http://phpsec.org is also a must-read.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/fro
Richard Lynch wrote:
The badly-named and oft-misunderstood "safe_mode" is my GoTo for Blame
Analysis on stuff like this... :-)
I checked. It's off.
This is not Science, but Voodoo Debugging...
No doubt.
Thanks for the info.
- Mike
smime.p7s
Description: S/MIME Cryptographic Signature
php -v
PHP 5.1.6 with Suhosin-Patch 0.9.5 (cli) (built: Oct 18 2006 08:36:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
This configuration cause no end of problems, and I finally compiled
php without the Suhosin-Patch. Everything is bac
You have an array of names and you want to choose a random name. is it?
try thinking some thing about arrays, keys numbers, key count, and such
Ross wrote:
>
>
> Hi,
>
> I want to randomise a string
>
> $myrandom = rand("ross", "andrea");
>
> echo $myrandom;
>
>
> I know this doesn't wo
Tijnema ! wrote:
> Hi
>
> How can i disable the automatically rounding of numbers, as i work with
> large numbers and when i make them small again, it seems that the last
> digits are gone.
> example:
> 12345678901234567890
> becomes:
> 1.2345678901234E+19 = 1234567890123400
>
> Is there a wa
Good Morning:
I am looking to create a thumbnail from an uploaded image, and then save it to
a directory.
I don't have any problem with the image functions, and can successfully create
the thumbnail and push it to the browser or, as is currently set up, store the
data in a database.
What I wa
On 10/18/06, Matthews, Chris <[EMAIL PROTECTED]> wrote:
Good Morning:
I am looking to create a thumbnail from an uploaded image, and then save it to
a directory.
I don't have any problem with the image functions, and can successfully create
the thumbnail and push it to the browser or, as is c
On Wednesday 18 October 2006 19:40, Matthews, Chris wrote:
> Good Morning:
>
> I am looking to create a thumbnail from an uploaded image, and then save it
> to a directory.
>
> I don't have any problem with the image functions, and can successfully
> create the thumbnail and push it to the browser
Matthews, Chris wrote:
Good Morning:
I am looking to create a thumbnail from an uploaded image, and then save it to
a directory.
I don't have any problem with the image functions, and can successfully create
the thumbnail and push it to the browser or, as is currently set up, store the
data
On Wednesday 18 October 2006 20:55, Al wrote:
> Matthews, Chris wrote:
> > Good Morning:
> >
> > I am looking to create a thumbnail from an uploaded image, and then save
> > it to a directory.
> >
> > I don't have any problem with the image functions, and can successfully
> > create the thumbnail a
Where are you from, and (more importantly) where do you want to go?
On 10/15/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote:
I want to go to a foreign country to work for about one year to increase
my
experience.
I have a script the use to work:
$date = date("mdy");
mkdir("Y:/Daily_DisplayAds/todays_ads-$date");
But now I get this error:
Warning: mkdir() [function.mkdir]: No such file or directory in
C:\wamp\www\scripts\ad_finder\display_class.php on line 10
If I change "Y" to "C" it works, can anyone
Rob Kritzer wrote:
I have a script the use to work:
$date = date("mdy");
mkdir("Y:/Daily_DisplayAds/todays_ads-$date");
But now I get this error:
Warning: mkdir() [function.mkdir]: No such file or directory in
C:\wamp\www\scripts\ad_finder\display_class.php on line 10
If I change "Y" to "C"
I´m from Brasil.
I´m not sure where i want to go, but i think USA will be the right place to
work with php.
Where do you advise me?
""Rory Browne"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
Where are you from, and (more importantly) where do you want to go?
On 10/15/0
Hello Guys,
I thought I was home and dry when the program worked fine on my windows
but when I ran from my Linus server, I keep getting a url like:
http://www.website.com/pdf/ED1.pdf%A0 instead of
http://www.website.com/pdf/ED1.pdf.
As a result, the link is not working. Please help.
Regards,
On 18 Oct 2006, at 09:56 , Richard Lynch wrote:
Kind of a hack, but think of it as an "import filter" and maybe even
program it generically enough that you *CAN* do more "import filters"
and then you open up a world of possbilities for other image formats
to be supported some day in the future.
Hi all. I am building a web app which uses sessions to retain user data
between pages and finally enter that data into mysql - I have noticed that
out of 100 entries in the database, 10% are blank. I tested this by setting
a cookie on the home page and when the user navigated to the form pages,
te
I need to run a httpd server that can serve up PHP, SQL Lite, and SSL on a
little Soekris box (ie. a 486 with 32MB RAM and 32MB CF storage).
Can anyone recommend something?
How small can Apache get?
AppWeb?
http://www.mbedthis.com
http://www.appwebserver.org/
What about lighthttpd?
http://ww
I've been through the research on that one a couple years ago, and I
found that lighttpd/php-fcgi is the best combination...
I've run lighttpd/php (FastCGI) on many soekris boxes. PHP runs
beautifully. I've even done it in less than 8 megs of CF with
uClibc/busybox. I've used the Soekris net48
Google Kreme wrote:
php -v
PHP 5.1.6 with Suhosin-Patch 0.9.5 (cli) (built: Oct 18 2006 08:36:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
This configuration cause no end of problems, and I finally compiled php
without the Suhosin-Patch
Hello,
on 10/18/2006 01:56 PM Ross said the following:
> Looked on google and not found a satisfactory answer. Doies anyone have a
> funtion to do this?
Take a look at this forms generation class. It comes with a plug-in for
submitting forms via AJAX, thus without page reloading. On the server
s
Hello,
I'm looking for a web site contractor to redo my site from scratch.
Although i know Html, Css, and enough Php to get me by without looking at
the manual to many times, i do not have the time right now to redo the site
although the need is great. I am looking for a standards-compliant
Dave Goodchild wrote:
Hi all. I am building a web app which uses sessions to retain user data
between pages and finally enter that data into mysql - I have noticed that
out of 100 entries in the database, 10% are blank. I tested this by setting
a cookie on the home page and when the user navigate
# [EMAIL PROTECTED] / 2006-10-18 10:57:52 -0600:
> php -v
> PHP 5.1.6 with Suhosin-Patch 0.9.5 (cli) (built: Oct 18 2006 08:36:59)
> Copyright (c) 1997-2006 The PHP Group
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>
> This configuration cause no end of problems, and I finally
# [EMAIL PROTECTED] / 2006-10-18 16:28:04 +0100:
> I'm relatively new to object-oriented PHP. I'm loving things like
> Symfony and Smarty etc but really need a little more guidance!
>
> Does anyone know of a good object-oriented PHP course
> available in the UK?
>
> Perhaps something my company
56 matches
Mail list logo