On 6/25/2013 5:46 PM, Fernando A wrote:
Hello,
I am working with php and codeigniter, but I have not yet experienced.
I need create a variable that is available throughout system.
This variable contains the number of company and can change.
as I can handle this?
Thank you, very much!
Ferd
On 02 Oct 2012 at 12:07, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote:
On 02-10-2012 11:59, Bálint Horváth wrote:
The problem was already solved. I forgot to send a copy to the list...
Rodrigo, break!? Ohh man, it's a crazy idea... A developer DOES NOT use
break at all (in a loop)...
] Re: problem with my login script
On 02 Oct 2012 at 12:07, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote:
On 02-10-2012 11:59, Bálint Horváth wrote:
The problem was already solved. I forgot to send a copy to the list...
Rodrigo, break!? Ohh man, it's a crazy idea... A developer DOES
...@clothears.org.uk]
Enviada em: terça-feira, 2 de outubro de 2012 08:37
Para: PHP General List
Assunto: [PHP] Re: problem with my login script
On 02 Oct 2012 at 12:07, Maciek Sokolewicz maciek.sokolew...@gmail.com
wrote:
On 02-10-2012 11:59, Bálint Horváth wrote:
The problem was already solved. I forgot
My problem was solved no need to argue. I don't see why use a while
loop with a count variable when it produces the same result as a
foreach loop. As for using a break in the loop, I could add it but the
loop is gonna stop anyway as soon as it hits the end of the array. I
also didn't see the point
To break or not to break? that's the question...
All that fight makes me (and, I think that Thomas too) learn a bit more
about all of this. And for finish with all of it. I think that if
something is not deprecated, is because it's is a good idea to use it
somewhere. If the Language
It's cause by eaccelerator module, when I remove this module, the php-cgi
works well.
Is there some compatible issue between eaccelerator and php?
Regards
Sean
2011/10/19 Sean Chen s...@coovan.com
Hi,
** **
I’ve got a problem when running PHP with nginx, there are several php-cgi
On 10/20/2011 5:20 AM, sean chen wrote:
The red one is busy
My email client is color blind.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List
lol.
The last one:
500 23880 0.0 0.0 209136 10832 ?S21:23 0:01
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
/usr/local/websrv/php/etc/php-fpm.conf
500 27195 15.0 0.1 210196 12644 ?S23:02 0:02
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
I'm having a problem with a brand new installation of pmwiki. I've not
encountered this before so I'm unsure why this is happening. The
following two warnings are presented at the top of each page:
Warning: session_write_close() [function.session-write-close]: open(/
changed all function-definitions to include a before their name,
no change in behavior though..
On Fri, May 14, 2010 at 10:09 AM, Rene Veerman rene7...@gmail.com wrote:
Hi.
I'm doing the 5.3-strict thing, and am removing all my
passing-by-reference muck from a script of mine.
But i've run
On Fri, May 14, 2010 at 10:09 AM, Rene Veerman rene7...@gmail.com wrote:
Hi.
I'm doing the 5.3-strict thing, and am removing all my
passing-by-reference muck from a script of mine.
But i've run into a problem;
I use the following construct to push new values fairly deeply inside
an array
On Sun, 02 Aug 2009 13:14:42 +0300, Parham Doustdar parha...@gmail.com
wrote:
Now this one always sets the file to one for some reason. I'll reiterate
just in case there's been a misunderstanding on my part:
[code]
$fp = fopen($f, r+);
while (!flock($fp, LOCK_EX))
sleep(1);
$count =
Hi
The thing with this method is that it's just like the previous one; it opens
then adds something. I'm assuming if again two visitors visit at the same
time, this'd reset to zero.
No, the a mode (IIRC) handles file locking for you. Even if it
doesn't, the file won't be truncated, so you
Hi,
...
You can write a single byte to the file to increment the counter,
then to read the count just use filesize(). I believe the a fopen()
mode will handle locking for you. It will result in a slowly growing
file, but space isn't exactly at a premium nowadays, and when the file
gets to a
On Sun, 02 Aug 2009 07:11:27 +0300, Parham Doustdar parha...@gmail.com
wrote:
Dear Ollisso,
I tried it with FLock() but it still didn't work. This is what I did:
[code]
$fp = fopen($f, r);
$count =fgets($fp, 1024);
fclose($fp);
$fw = fopen($f, w);
while (!flock($fw, LOCK_EX))
sleep(1);
$cnew
Now this one always sets the file to one for some reason. I'll reiterate
just in case there's been a misunderstanding on my part:
[code]
$fp = fopen($f, r+);
while (!flock($fp, LOCK_EX))
sleep(1);
$count = fgets($fp,filesize($fp));
ftruncate($fp, 0);
fwrite($fp, ($count+1));
flock($fp, LOCK_UN);
Dear Richard,
I don't quite know how I can write a bite into a file. I also looked into a
manual and couldn't find a mention of FLock-ing in the explaination for
FOpen parameters.
Thanks a lot for your help.
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email:
I don't quite know how I can write a bite into a file. I also looked into a
manual and couldn't find a mention of FLock-ing in the explaination for
FOpen parameters.
Ok, from memory:
?php
fwrite(fopen('/tmp/counter', 'a'), '1');
?
The 1 could be any single byte character I guess.
--
On Sat, 01 Aug 2009 08:20:23 +0300, Parham Doustdar parha...@gmail.com
wrote:
Hi there,
I've written a counter for my blog, which keeps the count of visitors in
a file. However, when the visitors get too many, it resets to zero. Why?
Here's the piece of code:
[code]
$f = $dir .
Dear Ollisso,
I tried it with FLock() but it still didn't work. This is what I did:
[code]
$fp = fopen($f, r);
$count =fgets($fp, 1024);
fclose($fp);
$fw = fopen($f, w);
while (!flock($fw, LOCK_EX))
sleep(1);
$cnew = $count + 1;
$countnew = fputs($fw, $count + 1);
flock($fw, LOCK_UN);
fclose($fw);
Am 2008-12-28 16:11:15, schrieb Nathan Nobbe:
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably for
php5, PDO,
http://us.php.net/manual/en/pdo.drivers.php
which btw, is written in C ;)
I have
On Monday 29 December 2008 2:26:46 am Michelle Konzack wrote:
Am 2008-12-28 16:11:15, schrieb Nathan Nobbe:
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably
for php5, PDO,
Am 2008-12-29 22:09:16, schrieb chris smith:
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query, MYSQL_NUM)
Why?
http://www.php.net/mysql_fetch_array
Use MYSQL_ASSOC as the 2nd
On Mon, Dec 29, 2008 at 7:57 AM, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Am 2008-12-29 22:09:16, schrieb chris smith:
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query,
Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import
contracts in it. The problem is that when the user uploads the file I
don't know what is the encoding it has. So I decided that a good idea
is to make the user tell me the encoding from a drop down before
Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell me the encoding from a drop down before I
Problem with memory management
I sure know that feeling... :-/
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Heyes wrote:
Problem with memory management
I sure know that feeling... :-/
So, there is no other choice that waiting a new PHP release ?
--
Alan Boudreault
Mapgears
http://www.mapgears.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Sat, Oct 11, 2008 at 1:58 PM, Alan Boudreault
[EMAIL PROTECTED] wrote:
Richard Heyes wrote:
Problem with memory management
I sure know that feeling... :-/
So, there is no other choice that waiting a new PHP release ?
--
Alan Boudreault
Mapgears
http://www.mapgears.com/
--
PHP
Eric Butera wrote:
On Sat, Oct 11, 2008 at 1:58 PM, Alan Boudreault
[EMAIL PROTECTED] wrote:
Richard Heyes wrote:
Problem with memory management
I sure know that feeling... :-/
So, there is no other choice that waiting a new PHP release ?
--
Alan Boudreault
Alan Boudreault wrote:
Hi all,
I'm wondering why PHP doesn't free my memory with this test code. The
memory usage is always the same even if i unset my object. The Garbage
collector seems to only free the memory at the end of the script.
Here's the php Scripts that i use for testing:
?php
On Fri, Oct 10, 2008 at 3:32 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
Alan Boudreault wrote:
Hi all,
I'm wondering why PHP doesn't free my memory with this test code. The
memory usage is always the same even if i unset my object. The Garbage
collector seems to only free the memory at the
Eric Butera wrote:
On Fri, Oct 10, 2008 at 3:32 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
Alan Boudreault wrote:
Hi all,
I'm wondering why PHP doesn't free my memory with this test code. The
memory usage is always the same even if i unset my object. The Garbage
collector seems to only free
Tanner Postert wrote:
ignore previous. sorry.
I'm trying to display values from a database, the values come from the
database like this:
[0] = Array
(
[id] = 5
[order_id] = 10
[key] = ship_to_name
[value] = John Anderson
)
[1] = Array
(
[id] = 6
[order_id] = 10
[key] =
very, strange.
if I change it to c / o Company XYZ ( with spaces between each character) it
becomes: c 1 o Company XYZ.
if I change it to c#o Company XYZ it becomes c1o Company XYZ
On Wed, Oct 1, 2008 at 12:16 PM, Al [EMAIL PROTECTED] wrote:
Tanner Postert wrote:
ignore previous. sorry.
just did some further testing, and even if I remove the special characters,
the 3rd character in that string becomes a 1.
I change it to Company XYZ,
and it looks right when its assigned to the array the first time, and on the
next iteration of the loop. but after that, it looks lke Co1pany XYZ.
figured it out.
later on in the code theres some formatting for a specific values that the
address_2 field was accidentally falling into.
On Wed, Oct 1, 2008 at 12:24 PM, Tanner Postert [EMAIL PROTECTED]wrote:
just did some further testing, and even if I remove the special characters,
the 3rd
On Sep 21, 2008, at 2:24 PM, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:26 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34 -0400, Eric
On Mon, Sep 22, 2008 at 10:42 AM, Philip Thompson
[EMAIL PROTECTED] wrote:
LOL!
~Phil
PS... This was read and replied to on a Monday. =P
*golf clap*
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michelle Konzack wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
On Sun, Sep 21, 2008 at 1:19 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
Michelle Konzack wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn
On Sun, 2008-09-21 at 14:34 -0400, Eric Butera wrote:
Michelle Konzack wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here
*
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34 -0400, Eric Butera wrote:
Michelle Konzack wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here
On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34 -0400, Eric Butera wrote:
Michelle Konzack wrote:
*
On Sun, Sep 21, 2008 at 3:26 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34 -0400, Eric Butera wrote:
Michelle Konzack wrote:
On Sun, 2008-09-21 at 15:24 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:26 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34
Jason Pruim wrote:
So, I am fighting with a problem function... I have used this function
on a previous project and it worked just fine, so I'm not sure what
changed...
The only difference is that on this site, I'm using mod_rewrite to write
all non-existent folder requests into a php file
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
?PHP
function notify_email($Record, $salesRepID) {
echo in notify_email . PHP_EOL;
require(defaults.php);
echo already loaded and required defaults loaded
On Sep 12, 2008, at 9:21 AM, Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
?PHP
function notify_email($Record, $salesRepID) {
echo in notify_email . PHP_EOL;
require(defaults.php);
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
?PHP
function notify_email($Record, $salesRepID) {
echo in notify_email . PHP_EOL;
require(defaults.php);
echo already loaded and required
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at the top would help; + display_errors on in
php.ini and problem is
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at the top would help; +
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at
On Sep 12, 2008, at 9:46 AM, Jochem Maas wrote:
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
Jochem Maas wrote:
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
Robert Huff wrote:
I'm working on a project that involves converting HTML to
XHTML. Not strictly sure this is a PHP issue, but testing (so far)
has eliminated other possibilities.
Can someone offer suggestions why, on the same server (Apache
2.2.8), this works:
!DOCTYPE HTML
Richard Kurth wrote:
Way does my for loop not complete the task if there are 4 emails it only
process 3 emails through the foreach loop if there is 3 it only process 2
# Connect up
$host =domain.com;
$port =110;
$mailtype = pop3;
$mailbox =INBOX;
$username =[EMAIL
I think Peter is probably right. In the case he is not however, can
you post a print_r of $multiArray.
- Craige
On Fri, May 2, 2008 at 7:24 AM, Peter Ford [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
Way does my for loop not complete the task if there are 4 emails it only
N . Boatswain wrote:
Hello guys; i'm having a problem with session behavior; i'm going straight to
it, but first some considerations:
PHP Version 5.2.5IIF 5.1Running on localhost (XP machine)I start sessions at the top of every page.
A the start of a test page, just as example, i do the
From: [EMAIL PROTECTED]
Subject: [PHP] Re: problem with sessions config.
N . Boatswain wrote:
Hello guys; i'm having a problem with session behavior; i'm going straight
to it, but first some considerations:
PHP Version 5.2.5IIF 5.1Running on localhost (XP machine)I start sessions
On 3/16/08, Ryan A [EMAIL PROTECTED] wrote:
Now that thats over... can anybody recommend a good starting point to learn
regex in baby steps?
Cheers!
R
Mastering Regular Expressions, by Jeffrey Friedl
ISBN 0-596-00289-0
--
-David.
When the power of love
overcomes the love of power,
the
2008/3/17 Jonathan Crawford [EMAIL PROTECTED]:
http://www.regular-expressions.info/php.html
I second http://www.regular-expressions.info/.
--
/Daniel P. Brown
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post, but running
it is giving me an error, being a total noob with regex i have no idea what the
heck is wrong heres the whole script as its tiny:
?php
$html = hello .'img
M. Sokolewicz wrote:
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post, but
running it is giving me an error, being a total noob with regex i have
no idea what the heck is wrong heres the whole script as its tiny:
?php
$html = hello .'img
Jim Lucas wrote:
M. Sokolewicz wrote:
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post,
but running it is giving me an error, being a total noob with regex i
have no idea what the heck is wrong heres the whole script as its
tiny:
?php
$html =
Thanks guys!
This (From Tul/Sokolewicz):
$html = preg_replace('#([/]?img.*)#U', '', $html);
worked perfectly! I'm just learning this stuff so its extremly hard for me... i
have been messing around with PHP for years but rarely even dipped my toes into
the REGEX part as I think it would be
I changes it now so it is...
header('Content-Type: application/octet-stream');
header(Content-Disposition: attachment; filename=$file_name);
echo $content;
exit;
Which works on ie7 but safari still downloads the .php
R.
Hulf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The
God. Don't let sin keep ruling your
lives.You are ruled by God's Kindness and not by the law.
Romans 6:12-14
-Original Message-
From: Ryan Lao [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 10:36 PM
To: php-general@lists.php.net
Subject: [PHP] Re: problem with install php 5.2.3
Jeff Lanzarotta wrote:
Hello,
I am not sure if this is the right mailing list or not, but here goes...
I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile
is fine, it is the 'make test' that is failing...
When I run 'make test' I am getting:
Oh, OK, thanks.
- Original Message
From: M. Sokolewicz [EMAIL PROTECTED]
To: Jeff Lanzarotta [EMAIL PROTECTED]
Cc: PHP General List php-general@lists.php.net
Sent: Monday, July 23, 2007 11:32:17 AM
Subject: [PHP] Re: Problem compile 5.2.3 souce under SUSE 10.1
Jeff Lanzarotta wrote
Arvin,
You inserted the codes ?php phpinfo(); ? to your index.html file?
arvin lee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
system: windows xp sp 2
apache: apache_2.2.4-win32-x86-no_ssl
PHP: php-5.2.3-win32-installer.msi
i try to install php on my computer so that i
Ross wrote:
I have this postcode selector working on my localhost but remotely it gives
a parse error. It should only call the function when the postcode is
submitted. Any ideas?
The error is:
Parse error: parse error, unexpected T_NEW in
Do a print_r($result); and you'll see the problem.
Ross wrote:
I am using postcode anywhere for a 'where's my nearest' function.
All the geographical info is contained in an array, which when dumped looks
like this
var_dump ($result);
array(1) { [0]= array(13) { [origin_postcode]=
Actually, the post by hans at lintoo dot dk (22-Mar-2005 11:33) @
http://theserverpages.com/php/manual/en/ref.mysqli.php show why.
Weird.
On 6/29/07, Lee PHP [EMAIL PROTECTED] wrote:
Hi,
I have a class that extends msyqli that AFAIK can connect to the
database, but gives me an error when I
?php$var = '5.812E-08';var_dump($var);$var =
(float)$var;var_dump($var);var_dump($var + 2);?Outputs:string(9)
5.812E-08
float(5.812E-8)
float(2.0005812)
All you need is to cast it (float) to float, (int) to int.
Regards,
Emil Ivanov
Pablo Luque [EMAIL PROTECTED] wrote in message
Frank Arensmeier a écrit :
Hello.
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if you
like. The downloaded content is temporarily stored on the server (Mac OS
X Server 10.4.9 with PHP 5) and, when the
// sorry for posting my answer off list... //
4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai:
Frank Arensmeier a écrit :
Hello.
I am currently working on a script that parses a given http adress
by looking for anchor tags, background images and so on - a
crawler if you like. The
Marten Lehmann wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such file or directory in
Marten Lehmann wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such file or directory in
Marten Lehmann wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such file or directory in
posted mailed
Tijnema ! wrote:
I've been trying to use PHP/XSLT on my desktop,
running Fedora-6 Linux (with all current updates).
The function importStyleSheet() seems to cause
a Segmentation Violation,
Thanks for your response.
I have no problem with testing, i'm running home-made linux
No one else having problems?
On 3/7/07, steve [EMAIL PROTECTED] wrote:
Hi,
I upgraded to PHP 4.4.6 and APC 3.0.13 at the same time. Every day at
some point, it starts having a problem and the load on that machine
styrockets.
It does not happen with the opcode cache in Zend Platform for PHP
===ORIGINAL===
Hi,
I'm a beginner and i'm still learning PHP and I got a problem:
$file =
http://localhost/test_folder/test1.txt;;http://localhost/test_folder/test1.txt//I
have also
tried test_folder/test1.txt and text1.txt
$fh = fopen($file, r) or die(Could not open file!);
$data =
You need to have established a database connection before using that
function, see manual.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi to all!
I moved my website from one php4/mysql4 based server to new hosting
company and php5/mysq5 based server.
Everything worked fine
Ave!
Forget it. It turned out that the culprit was Debian-specific patch of
libgd2.
Sorry for bothering you.
Regards,
Piotr Sulecki.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Found this on Google:
http://marc2.theaimsgroup.com/?l=php-installm=108030891925096w=2
Then Goto:
http://mcrypt.hellug.gr/mcrypt/index.html
where it says:
The 2.6.x versions of mcrypt do not include Libmcrypt
The 2.6.x versions of mcrypt need Libmhash 0.8.15 or newer
It has a download
# [EMAIL PROTECTED] / 2006-10-26 08:46:27 +1300:
I'm LOVING php now - its a very simple language limited only by your
imagination as to how you use it! My knowledge seems to be lacking
more in HTML and Browser server relationships - I'm basing things on
my background in Basic programming as a
On Wed, 25 Oct 2006 20:35:29 +1300, Matt Beechey wrote:
I am writing a php website for users to edit a global whitelist for Spam
Assassin - all is going fairly well considering I hadn't ever used php until
a couple of days ago. My problem is I need to restart AMAVISD-NEW after the
user saves
Matt Beechey wrote:
I am writing a php website for users to edit a global whitelist for Spam
Assassin - all is going fairly well considering I hadn't ever used php until
a couple of days ago. My problem is I need to restart AMAVISD-NEW after the
user saves the changes. I've acheived this using
Ok - This is a reply to ALL - Thanks for the great help - I now understand
why it wasn't displaying - it was all due to caching of data at the client
end before displaying in blocks. With some help in the comments of the php
manual for flush() I found a nice script that uses echo
Actually I think it is a carriage return!
Ross
Ross [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is there a function that sorts out all the dodgy characters in an email...
e.g.
? An update on Scottish Social Networks Forum ? A summary of the
conference Social Networks -
Hello,
on 09/28/2006 02:27 PM Ross said the following:
Is there a function that sorts out all the dodgy characters in an email...
e.g.
? An update on Scottish Social Networks Forum ? A summary of the conference
Social Networks - Evidence and Potential ? Information on two
Angelo Zanetti wrote:
Hi all,
I've developed this site in PHP and its basically finished, now I have a
problem with the printing and print preview.
I have a dynamic table that can span various pages depending on the
number of records pulled from the database.
The print preview (and printed
Don wrote:
Hi,
I have a CSV file, comma delimited with the data enclosed by double quotes.
I am using the fgetcsv() function to read and into an array and update a
database. It works great except for the odd record. After
investigating, I have ascertained that it is due to a backslash
On 4/30/06, Ross [EMAIL PROTECTED] wrote:
soted it ! Thanks.
please enlighten us in case someone else has the same sort of issue...
Ross [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am using this to compare todays date with dates retieved from a database.
The problem is it
Rosen wrote:
I have one very big problem: I create website with english and greek
language. I use iso-8859-1 encoding for my website.
I show the greek language text with encoded chars like
tau;eta;lambda;epsilon;#972;rho;alpha;si;
Representing such characters as HTML entities is fine.
On
Thanks for all your replies. I have changed the include_path settings in
php.ini which is in c:\wamp\php
but still it takes the include path as c:\php5\PEAR
Please help
regards
Bikram
Bikram Suri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I do phpinfo(); and I see the
Jesse Guardiani jesse at wingnet.net writes:
Hello,
I have an old version of php (4.3.2) that is acting rather strangely. I'm
searching two large arrays (approx 22,000 records in each) using
array_diff_key() from the PEAR PHP_Compat library:
$result = $args[0];
foreach
Their should be no problem with what your trying to do, try the
following function, should act pretty much like array_diff();
if(!function_exists('array_diff')) {
function array_diff($array1, $array2)
{
$difference = array();
foreach($array1 as $key = $value)
1 - 100 of 382 matches
Mail list logo