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.5,fr-ca;q=0.3
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 appreciate any help.
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 present it as
Hello there,
Is there a way to extract a function call with its arguments?
Like i have something like this:
=CODE==
?php
//Some Comments
print_r(ClassName::FunctionName('foo', 'bar', Array(), false));
$fooBar = ClassName::FunctionName('foo', 'bar');
?
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 help
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
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
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
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
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
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.
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
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
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]
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 =
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 be
HI,
can anyone recommend a really good book on security with PHP?
Thanks in advance
--
Angelo Zanetti
Systems developer
*Telephone:* +27 (021) 469
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 have
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/username/public_html/leaders/tod/index.php on line
27
result with:
dir created
page blank
or
page copied
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:
?php
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
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
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
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
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 Chris
On Wed, October 18, 2006 3:05 am, Ivo F.A.C. Fokkema wrote:
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.
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
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 work but is there
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 way to
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
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
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 or, as
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 and push it to
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 please
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 it
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/06, João
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.
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,
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?
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
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
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
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
54 matches
Mail list logo