- Edwin - wrote:
Hi,
On 2003/11/29, at 8:10, John Nichel wrote:
Hi,
I'm designing my site to use drop down menus, and am having php
generate the content of the main manus, as well as the sub-menus.
What I'm wondering is what the performance hit will be with putting
all the menu variables
Hi all,
In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD
functionlaity.
But in my script i am turning it On using ini_set("file_uploads","1") but still it
doesn't upload the file.
I don have access to modify the php.ini file hence trying to play with script onl
On Sat, 2003-11-29 at 02:36, Binay wrote:
> Hi all,
>
> In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD
> functionlaity.
>
> But in my script i am turning it On using ini_set("file_uploads","1") but still it
> doesn't upload the file.
>
> I don have access to
Are u working in safe mode? What does the ini_set function return? did u try
ini_get then to see what is current value?
Brona
> Hi all,
>
> In my php.ini file, file_uploads value is set to OFF. Hence
> stopping HTTP_UPLOAD functionlaity.
>
> But in my script i am turning it On using
> ini_set("f
- Original Message -
From: "Bronislav Klucka" <[EMAIL PROTECTED]>
To: "PHP Konference" <[EMAIL PROTECTED]>; "Binay"
<[EMAIL PROTECTED]>
Sent: Saturday, November 29, 2003 1:08 PM
Subject: RE: [PHP] File upload issue
> Are u working in safe mode?
safe_mode is OFF
-
On Saturday 29 November 2003 12:54 am, Bronislav Klucka wrote:
> because we know that this bug
> has easy solution...
[jumps in]
Yes ->
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.
[jumps out]
--
PHP General Mailing List (h
what does it mean?
> -Original Message-
> From: Gerard Samuel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 29, 2003 8:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] DAMN
>
>
> On Saturday 29 November 2003 12:54 am, Bronislav Klucka wrote:
> > because we know that this bug
> >
Send test :)
why do you test here at the honored PHP General mailing list?
"César aracena" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Send test :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all PHP gurus
I have a small problem about loading fonts with imageloadfont()
I have copyed fonts with the extension .fon or .ttf to the same directory as
my script, and i give them the font as an argument:
$font = imageloadfont('arial.ttf');
But i just keep getting the message:
Warning:
On Saturday 29 November 2003 03:20 am, Bronislav Klucka wrote:
> what does it mean?
>
I don't want to get into this debate too much, but from what little I read
when it was going on earlier this past week, people who seemed to complain
the most are the ones using Outlook. Seems like Outlook isn
According to the manual it appears to support UTF-8, but it complains loudly
about not supporting MBCS when invoked?
"Warning: cannot yet handle MBCS in html_entity_decode()! "
Will html_entity_decode produce output in UTF-8 when e.g. invoked like this:
$a="Zürich, \"klonk\" æ 'å' ";
$b=h
I'm creating an application for an Intranet that, among other things, is
supposed to check to see if particular hosts are online, and if so, what
their IP address is. Anyone know how I can accomplish this? I tried
using exec("host $host"); (where $host is the hostname) and while this
gets the IP
Jason Giangrande wrote:
I'm creating an application for an Intranet that, among other things, is
supposed to check to see if particular hosts are online, and if so, what
their IP address is. Anyone know how I can accomplish this? I tried
using exec("host $host"); (where $host is the hostname) and
On Sat, 2003-11-29 at 12:20, Adam Maas wrote:
> why not try:
>
> passthru("ping $host");
>
> Adam
That still takes a little while to execute on multiple hosts, Plus I
need to modify the output of the command to print just the IP address
and discard the rest of the output.
--
Jason Giangrande
Adam Maas wrote:
Jason Giangrande wrote:
I'm creating an application for an Intranet that, among other things, is
supposed to check to see if particular hosts are online, and if so, what
their IP address is. Anyone know how I can accomplish this? I tried
using exec("host $host"); (where $host i
I'm working on some database search ranking code. It currently
represents 95-98% of the time spent when doing fuzzy seaches. I have
tried my best to optimize my code - algorithmic shortcuts, eliminating
session variables, unsetting irrelevant results, etc and benchmarking
to find the best techn
Jason --
...and then Jason Giangrande said...
%
% I'm creating an application for an Intranet that, among other things, is
% supposed to check to see if particular hosts are online, and if so, what
% their IP address is. Anyone know how I can accomplish this? I tried
...
% a while to execute fo
--- Bronislav Klucka <[EMAIL PROTECTED]> wrote:
> I've just realized I'm replaying to JeRRy only Could anybody
> fixt this problem by setting the Reply To header correctly? to
> be able to reply PHP conf. directly using Reply button?!!!
Hi Brona,
Not only has this been discussed in great deta
Hi , I need to know the conecction speed of a person who is visiting my
site.
How can I know his speed?
Thaks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 29 Nov 2003 18:27:30 - Issue 2444
Topics (messages 171340 through 171363):
Re: DAMN
171340 by: RT
171343 by: John Nichel
171349 by: Gerard Samuel
171350 by: Bronislav Klucka
171354 by: Gerard Samuel
Re: php as cgi script
171
On Saturday 29 November 2003 23:15, Eric wrote:
> I have a small problem about loading fonts with imageloadfont()
>
> I have copyed fonts with the extension .fon or .ttf to the same directory
> as my script, and i give them the font as an argument:
>
> $font = imageloadfont('arial.ttf');
>
> But i
Jason Giangrande said:
> command (ping -c 1 $host), and while I could get that to work, since it
> returns non-zero status if the host can not be contacted, it takes quite
> a while to execute for even a few hosts at once.
fping may help.
Running a background job that just monitors ping status a
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Saturday 29 November 2003 23:15, Eric wrote:
>
> > I have a small problem about loading fonts with imageloadfont()
> >
> > I have copyed fonts with the extension .fon or .ttf to the same
directory
> > as my script, and i
On Sunday 30 November 2003 03:59, Eric wrote:
> I have already tried that:
>
> imageloadfont("C:/WINDOWS/Fonts/arial.ttf");
>
> i also tried:
>
> imageloadfont("C:\\WINDOWS\\Fonts\\arial.ttf");
>
> I ALSO tried this:
>
> imageloadfont($_SERVER['DOCUMENT_ROOT'].'/gd_test.php');
>
> and that didn't w
Hi,
Can anyone recomend a good blog software that does the following:
1. Have differient articles on the first page and show the first x ( or 10)
words then a link to the rest
eg
Php make leaps and bounds in the field of ... click here to read article
2. Users have to register to post replies/com
Have a look at http://www.weberblog.com.
If the site does what you need, you can follow the powered by link on
the bottom of every page.
Sincerely
berber
Visit http://www.weberdev.com/ & http://www.weberblog.com/ Today!!!
To see where PHP might take you tomorrow.
Share your code : http://addex
On Sat, 2003-11-29 at 12:32, David T-G wrote:
> 3) At the very least, cut your ping timeout down to the smallest
> acceptable; in general, a full second is plenty of time to get nearly
> anywhere on your continent (ain't it great? :-) and so your intranet
> should be more than happy with that allow
Why doesn't this match?
var_dump(ereg('C:W', 'C:WINNTTEMP\\tst5B.tmp'));
should print int(1), prints bool(false)
Thanks,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You should try
var_dump(ereg('C:W', 'C:\\WINNT\\TEMP\tst5B.tmp'));
The reason is that in simple quotes, antislashes don't have to be
escaped. Still, they need to be escaped in a regular epr ie in the first
argument of ereg() (the first and the secon argument are both string,
but in the reakit
I have this code, I would like, if this could be done
The output is : Array[dim1][dim2][dim3][3]
I need that the output was: value
Thanks in advanced for any help.
This may be OT but have you looked at Netsaint (http://www.netsaint.org/ and
http://www.netsaint.org/indexold.php), now called Nagios
(http://www.nagios.org/) by the looks of it. Note: It's not written in PHP from what I
remember. You may be able to get some ideas from it or even use
it. I've use
I have this code, I would like, if this could be done
The output is : Array[dim1][dim2][dim3][3]
I need that the output was: value
Thanks in advanced for any help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm soory but your code doesn't make me understand what you want to do...
Be more precise, it will help you to get some help
> I have this code, I would like, if this could be done
>
> $array['dim1']['dim2']['dim3'][3] = "value";
>
> $dim1 = 'dim1';
> $dim2 = 'dim2';
> $dim3 = 'dim3';
> $dim4 = 3
now i understand your pb but have no idea to solve it
good luck...
> I'm soory but your code doesn't make me understand what you want to
> do... Be more precise, it will help you to get some help
>
> I have this code, I would like, if this could be done
>
>> > > > $array['dim1']['dim2']['dim3'][3]
On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote:
> I'm soory but your code doesn't make me understand what you want to do...
> Be more precise, it will help you to get some help
>
> > I have this code, I would like, if this could be done
> >
> > > $array['dim1']['dim2']['dim3'][3] = "value";
$dim1 = 'dim1';
$dim2 = 'dim2';
$dim3 = 'dim3';
$dim4 = 3;
$result = "{$array[$dim1][$dim2][$dim3][$dim4]}";
echo $result;
?>
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
[EMAIL PROTECTED] wrote:
I have this code, I would like, if this could be done
$dim1 = 'dim1';
$dim2 = 'dim2';
$dim3
On Sat, 2003-11-29 at 19:47, Robert Cummings wrote:
> On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote:
> > I'm soory but your code doesn't make me understand what you want to do...
> > Be more precise, it will help you to get some help
> >
> > > I have this code, I would like, if this could b
$result = eval( 'return $array'.$test.';' );
Um...
echo $array[$dim1][$dim2][$dim3][$dim4];
eval == evil. I can't think of a single legimiate reason why you'd want/need
to make a string "[$dim1]" first, and if you have to I'd suspect that
something is very wrong with the way you are writi
Hi, all --
I have set my umask to 117 (and I change it when making a directory) and
I use move_uploaded_file to handle submitted files.
The temporary file is mode 600 when it lands in /var/tmp but somehow gets
changed to 666 during the move. It seems that move_uploaded_file changes
the file perm
Hi,
Nope, installed the 26 megs but still its not all that good...at least I
couldnt get it to work...
one last requirment i forgot to mention was...I need to ask the user if the
article was good and to rate it from 1-10 like hotscripts etc
Any ideas?
All we will have on 123php.com is articles.
On Sat, 2003-11-29 at 21:25, john wrote:
> > $result = eval( 'return $array'.$test.';' );
>
> Um...
>
> echo $array[$dim1][$dim2][$dim3][$dim4];
>
> eval == evil. I can't think of a single legimiate reason why you'd want/need
Eval is not evil, but it is often insecurely used. It has it's pur
I have a form with a text area.
When the user submits the data it is saved to a mysql database in a field of type text.
When I extract the data from the database and display it in php it loses the line
return and the data is all crammed together. Here is an example
This is line 1
This is line
Randy Johnson wrote:
I have a form with a text area.
When the user submits the data it is saved to a mysql database in a field of type text.
When I extract the data from the database and display it in php it loses the line return and the data is all crammed together. Here is an example
This i
--- Randy Johnson <[EMAIL PROTECTED]> wrote:
> I have a form with a text area.
>
> When the user submits the data it is saved to a mysql database in a
> field of type text.
>
> When I extract the data from the database and display it in php it
> loses the line return and the data is all crammed
Yep that was it.
Thank you very much.
Randy
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Randy Johnson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, November 30, 2003 1:17 AM
Subject: Re: [PHP] entering in text data and losing the \n
> --- Randy Joh
php-general Digest 30 Nov 2003 06:29:41 - Issue 2445
Topics (messages 171364 through 171388):
Re: Problem loading fonts in gd()
171364 by: Jason Wong
171366 by: Eric
171367 by: Jason Wong
Re: Checking if a host is online
171365 by: Duncan
171370 by: J
By default the CLI version turns off the html in the error messages. And
no, really, there is no bug here. You are testing the return code of
something that doesn't have one. It doesn't make sense.
-Rasmus
On Fri, 28 Nov 2003, Daevid Vincent wrote:
> Hmm... Well Rasmus, I do see your point,
48 matches
Mail list logo