Hello all,
I need to remove a comma from inside of 2 quotes ie "1,234.56" I need to
change that to "1234.56"
Unfortunatly I can not do reg_replace(",","","1,234.56");
This is inside a csv file.
Brian C. Doyle
Coach Team Force
Earthlink Technical Support
[EMAIL PROTECTED]
Hello all,
About 2 months ago I upgrade my php to 4.0.4pl1 and since then my mktime
fucntion will not work
I am tring
and I expect to see
05:00
but i get
19:00
or
18:59
What happend?
Before the upgrade it worked fine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
pack('C',
unpack("%8C*", shift)
)
)
);
}
This works fine in perl but I would like to get this to work in PHP
What am I missing.
Thanks for you help
Brian C. Doyle
--
PHP General Mailing List (http://w
Hello all,
I have a file that has ip address in it.. I need to pull those ip addresses
out.
Currently I am trying:
$ips=preg_grep("/^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/",$file);
print_r(array_values ($ips));
And well i am getting nothing!
Anyone?
--
PHP General Mailing List (http://ww
Hello all,
I did foget to mention that I had $file as
$file=file("Status.htm");
and it reads the file as 1 line it seams.
At 11:31 PM 5/12/02 +1200, Jason Morehouse wrote:
>$file needs to be an array:
>
> $file = file("myfile.txt");
>
>On Sun, 12 May
Hello all,
How can I get linux php binary to access a remote postgresql server with
out building postgresql on the "local system"
I want to do it like it is done on windows.
Example just load a dll file well .so in the script?
dl('extensions/php_pgsql.dll');
but
dl('what_ever.so');
--
PH
Hello all,
Does PHP have the ability to control a serial port? I see we can use the
Printer but that was All I saw.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
hello all,
I have a script with
and getting Zero Sized Reply
i have increased my timeout in php.ini and no change.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
Okay so i got rid of the echo and still no go..
I am using version 4.0.6
At 08:11 PM 12/4/2001 +0200, Valentin V. Petruchek wrote:
>phpinfo() is a function itself. It needn't echo:
>phpinfo();
>?>
>
>Zliy Pes, http://www.zliypes.com.ua
>- Original Message --
Hello All,
how do I compare 2 times.
What i want to do is
$time=date("H:i:s",mktime(0,1,03,0,0,0));
IF ($time > 00:00:35) { echo "Too High"};
when I do this all i ever get is
Too High no matter what the value of time is
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hello all,
I am trying to use the IRC Gateway Functions and am concerned that I may
not have PHP configured correctly. The problem with that is that i can not
find anything to add to the configure line to add the functions. Currently
all I have in my code is
and i get
Fatal error: Call to u
Hello all,
I have some code that I have in 2 different directories on my server in the
one directory it runs and draws the Image. In another directory it will not?
I have both directorys chmod the same the 2 directories are with different
owners.
What am I doing wrong?
The error I am gettin
I use
$date = explode("-", $msql_date);
$date = date("d F",mktime(0,0,0,$date[1],$date[2],$date[0]));
At 08:08 AM 8/15/01 -0700, Mike Mike wrote:
>Hello,
>I'm pulling a date out of MySQL as 2001-10-18.
>How do I make it print October 18 in php?
>Thanks much
> --Mike
>
>
I have had the same problem with no resolution is this a BUG?
At 10:21 AM 8/20/01 -0400, Jeff Lewis wrote:
>With 4.04 I had PNG working fine and could create images in a cron job I
>was running. When we upgraded to 4.06 we seemed to have lost the
>ability. While calling my PHP file up in the
Hello all,
Is is possible to just append to the end of a file using
fwrite??? Currently I am reading the contents for the file into an array
then add to the array what I want and rewrite the file from the array...
And well that is just silly... How else would I do this??
--
PHP General Ma
; place the file pointer at the end
> of the file. If the file does not exist, attempt to create it.
>..."
>
>info from
>http://www.php.net/manual/en/function.fopen.php
>
>- Original Message -
>From: Brian C. Doyle <[EMAIL PROTECTED]>
>To: <[EMAIL PRO
Here is some code that I use to do what you wanted and attach is the files
for the folders.
This uses javascript that works well with Internet Explorer and creates
sublist that appear in the folder.
Untitled