php-general Digest 22 Feb 2005 10:12:08 - Issue 3300
Topics (messages 209152 through 209163):
Re: Can't load extension (was Re: PHP to C interface?)
209152 by: Richard Lynch
209157 by: N Deepak
Re: php request entity body help
209153 by: Richard Lynch
Re: Is there
Hi
I'm creating a webmail interface for a pop3-server (I know weird to do
webmail with pop3, but it's for a running server which I can't control.
So pop3 it is and caching the mails in a mysql database). I've
implemented the pop3-support myself since the one in www.php.net/imap
lacks a lot of
Emil a écrit :
I'm creating a webmail interface for a pop3-server
Why not use one of the many webmail apps?
Ex written in PHP/Perl, with no particular order:
Neomail
http://neocodesolutions.com/software/neomail/
Openwebmail
http://openwebmail.org/
IMP (horde)
http://horde.org/imp/
IlohaMail
Hello.
I'm using 2 cookies to control some user environmente.
every time the user logs in, the cookie is set, but when i try to change
the value of that cookie,
deleting it firts and then setting a new one with another value, when i
print the value of that cookie
the value is never the new one,
OK, I have no desire to re-invent the wheel , if a script exist that is
available I'll jump at it, otherwise I'll write the code myself. Failing
to find one, I've started on the latter approach. I've written code that
places initial data fields into a MySQL database. The next step is to
N Deepak wrote:
On Mon, Feb 21, 2005 at 02:08:28PM -0800, Richard Lynch wrote:
You have to make install your new .so file to get copied over into your
PHP extensions directory, which from the messages seems to be
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ on your system...
I'm
Hi all,
In the PHP file, I have written:
helloworld(hello, world)
where helloworld is in an extension. Now, I use
zend_parse_parameters() to parse input as follows:
char* hstr = NULL, *wstr = NULL;
argc = ZEND_NUM_ARGS();
if (zend_parse_parameters(argc TSRMLS_CC, ss, hstr, wstr)
Brett Patterson wrote:
Well, if you look in your phpinfo() file, you will see a SESSION_TIMEOUT or
SESSION_LENGTH value that is something like 18... different for each
server.
If you hold all your session values in the array, then you can use
session_destory(); as long as session_start() is
hi all,
i m new to this group ...now i want to learn php.
i want all u r guidence to utilise this group...
thanks in advance
dhanas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi to all. I have a problem. I need to glue 2 or more DomDocument? objects to
one. After hours of hard coding I've came to the conclusion that there is no
possibility to use PHP 5.3.0 to realize it. Is there anybody who could break
this conclusion and give me an appropriate solution?
P.S. I
Hi Sergio maybe you should have a look at importNode
http://ca3.php.net/manual/en/function.dom-domdocument-importnode.php
I beleive this is what you need along with Normalize.
Good luck.
Yann
On Tuesday 22 February 2005 06:54, Sergio Gorelyshev wrote:
Hi to all. I have a problem. I need to
Sorry. There is a mistake.
Hi to all. I have a problem. I need to glue 2 or more DomDocument? objects to
one. After hours of hard coding I've came to the conclusion that there is no
possibility to use PHP 5.0.3 to realize it. Is there anybody who could
break this conclusion and give me an
On Tue, 22 Feb 2005 06:58:12 -0500
Yann Larrivee [EMAIL PROTECTED] wrote:
Hi Sergio maybe you should have a look at importNode
http://ca3.php.net/manual/en/function.dom-domdocument-importnode.php
I've been tried to use this function. There are no results. This function (as
well as
I am having problems making proper insert queries against a MS SQL box
when using a Linux server. A little background info, I have had this
working correctly for many months. I am running Fedora Core 1, have
compiled php 5.0.3 using the FreeTDS v.0.7 driver to access the MS SQL
2000 DBMS, and
On Tue, 22 Feb 2005 15:02:38 +0200
Sergio Gorelyshev [EMAIL PROTECTED] wrote:
It's work!!! :-) Thanks.
Here is a valid code:
?php
$dom = new DomDocument();
On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote:
hi all,
i m new to this group ...now i want to learn php.
i want all u r guidence to utilise this group...
thanks in advance
dhanas
I would start by looking at and dare I say reading the manual at
php.net. Then surf around for a beginners
On Tue, 2005-02-22 at 07:32, Bryan Dina wrote:
I am having problems making proper insert queries against a MS SQL box
when using a Linux server. A little background info, I have had this
working correctly for many months. I am running Fedora Core 1, have
compiled php 5.0.3 using the FreeTDS
Bruno Santos wrote:
Hello.
I'm using 2 cookies to control some user environmente.
every time the user logs in, the cookie is set, but when i try to change
the value of that cookie,
deleting it firts and then setting a new one with another value, when i
print the value of that cookie
the
Dears
I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!}
and {!ABC!} with XYZ. I tried the following but no help. Can anyone
help?
$this-template=str_replace({!*!},XYZ,$this-template);
Thank you
Regards,
OOzy
What is the purpose of life?
Regards,
OOzy
What is
Hi all. I'm been trying the following code for the past day or so and I
can't seem to get around it. I'm issuing a query to pgsql and
iterating through the results twice in order to facilitate the
separation of shipment history.
Below is the simplest example I can come up with. The
Howdy,
Because of some latency issues in the display of dynamically created PNG
images, I've been trying to separate the image-creation process from the
image-display process. Essentially, I'm trying to run a cron job that
writes a PNG image to file every 5 seconds. The php file pulls data
On Tue, 2005-02-22 at 09:59, OOzy Pal wrote:
Dears
I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!}
and {!ABC!} with XYZ. I tried the following but no help. Can anyone
help?
$this-template=str_replace({!*!},XYZ,$this-template);
Thank you
IIRC str_replace
On Tue, 2005-02-22 at 10:14, [EMAIL PROTECTED] wrote:
Howdy,
Because of some latency issues in the display of dynamically created PNG
images, I've been trying to separate the image-creation process from the
image-display process. Essentially, I'm trying to run a cron job that
writes a
Because of some latency issues in the display of dynamically created PNG
images, I've been trying to separate the image-creation process from the
image-display process. Essentially, I'm trying to run a cron job that
writes a PNG image to file every 5 seconds. The php file pulls data from a
2005. február 21. 21.24 dátummal dan ezt írta:
I'm not sure if PHP works this way, but did you completely shut down
Apache and then restart it after making these changes?
Yes I did.
--
Üdvözlettel: Ifj. Péntek Imre
E-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Dave O wrote:
Hi all. I'm been trying the following code for the past day or so and I
can't seem to get around it. I'm issuing a query to pgsql and
iterating through the results twice in order to facilitate the
separation of shipment history.
Below is the simplest example I can come up
Bruno Santos wrote:
I'm using 2 cookies to control some user environmente.
every time the user logs in, the cookie is set, but when i try to change
the value of that cookie,
deleting it firts and then setting a new one with another value, when i
print the value of that cookie
the value is
Richard Lynch wrote:
Dave O wrote:
Hi all. I'm been trying the following code for the past day or so and I
can't seem to get around it. I'm issuing a query to pgsql and
iterating through the results twice in order to facilitate the
separation of shipment history.
Below is the simplest example
2005. feb 22. 05.17 dátummal Marek Kilimajer wrote:
You need to set enviroment variables $TMPDIR and $TMP. I'm not sure
which one of these are used by those functions, but you can safely
change both.
Thanks for your kind help.
--
With regards: Ifj. Péntek Imre
E-mail: [EMAIL PROTECTED]
--
PHP
When a session object is created - where is it store?
Assuming you mean session data, it is stored on the server, in /tmp by
default.
To destroy the session object (widht all session vairables inside the
particluar session object) can I use session_destroy();
Richard Lynch wrote:
... Good stuff ...
All that said:
If you only have a handful of color coded flags, and you are using GD to
re-draw an image every time, that's kinda silly...
Perhaps I'm missing something here, but:
Just use your query to decide which flag to *USE* instead of drawing
I am trying to echo the ranking of votes (highest to lowest) that a product
received in a given week. See example of desired output.
In the query below, It's working great and outputs ID, votes, and week;
however, I can't figure out how to get the ranking for a given week. In the
example
Bret, Richard, Jason,
Thank you all for your comments and suggestions.
What I had been doing -- using GD to create the image with db data in one
file, then calling this file from IMG SRC=make_the
_picture_in_here.php in another page, seems to have been the culprit in
regards to the latency
Hello,
I need to select around 200 files at random out of a file pool of
10k-15k files from a directory and then transfer them to another
directory on my linux server which runs Apache 2.0.52, PHP 5.0.3 and
Mysql. I will also be requiring to add the paths of all those files
into a database. If
This is the issue: every insert I perform is generating 3 rows instead
of 1.
I'm using DataObjects with manually created classes, I can't use the
generator do to permission issues.
This is my class:
class DO_test extends DB_DataObject {
var $__table = 'test';
var
Hi :)
I am looking for a competent coder to help me with a shipping module
for an e-commerce project I am working on. Essentially I need a script
that can check a Canadian postal code and/or US zip code (from the
cart) against a flat-file or db table, find it's zone in a series of
ranges of
Bret Hughes wrote:
On Tue, 2005-02-22 at 09:59, OOzy Pal wrote:
Dears
I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!}
and {!ABC!} with XYZ. I tried the following but no help. Can anyone
help?
$this-template=str_replace({!*!},XYZ,$this-template);
Thank you
IIRC
Bret Hughes wrote:
On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote:
hi all,
i m new to this group ...now i want to learn php.
right now? not in five minutes.
i want all u r guidence to utilise this group...
thanks in advance
dhanas
Dhanas,
do you have php installed ?
can you access
How to use this list best:
Search the archives at lists.php.net for [NEWBIE GUIDE] It was written
by Jay Blanchard earlier this year I believe. Read it.
Then read this: http://www.catb.org/~esr/faqs/smart-questions.html
Then try learning PHP from the PHP manual. If you come across a
problem,
Hello,
I'm having a mysterious problem with phpMyAdmin 2.6.1. I've already
consulted the phpMyAdmin forum on sourceforge but so far I've not had
any answers come my way.
All of a sudden this morning I found that the program stops dead in its
track's during a call to ob_start('gz_handler');.
how about a WHERE clause.
Maybe something like:
$query = SELECT WEEK(date) as week, count(*) as hits, listingID as
lidcount FROM invotestotal WHERE WEEK(date) = 8 ORDER BY hits DESC;
Ryan Schefke wrote:
I am trying to echo the ranking of votes (highest to lowest) that a product
received in a
i have some php forms which uploads files/images and i would like to know if
its possible to upload them to a remote server instead, if so, how?
cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sebastian wrote:
i have some php forms which uploads files/images and i would like to know if
its possible to upload them to a remote server instead, if so, how?
cheers
Yes it is possible. This is a bit of reading, but it is exactly what
you need to read:
David,
I have an install of PHP 5 on Windows 2003 Server with Apache 2 and when I
reference mysqli in my php code, I get an error that the mysqli class is not
found.
I've wrestled with Windows 2000 Server with Apache 2 configuration,
and hopefully this will apply for 2003 as well.
I
How can I check that a string is no more than 6 characters long and
only contains alpha characters (no numbers, spaces, periods, hyphens, or
anything else, just letters.)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley M. Kirchner wrote:
How can I check that a string is no more than 6 characters long and
only contains alpha characters (no numbers, spaces, periods, hyphens, or
anything else, just letters.)
if(preg_match('/^[a-zA-Z]{0,6}$/',$string))
{ echo 'good'; }
else
{ echo 'bad'; }
Change to
Can I format an e-mail message with html tags inside the mail() function?
If not, how can I go about it? I would like to format the layout of the
e-mail message using tables, colors and perhaps images.
Regards - Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi All,
Does unset() create a copy of the array and then overwrite the
original
somehow
destroying the reference?
In the example below, no item has it's value set to 'foo', however if
the
$stuff array is
accessed directly (see commented line) rather than by reference it
works
fine. In
or if you aren't into regex (which I find confusing and still am trying
to learn):
if ((strlen(trim($string)) =6) ctype_alpha(trim($string)))
{ echo 'good'; }
else
{ echo 'bad'; }
John Holmes wrote:
Ashley M. Kirchner wrote:
How can I check that a string is no more than 6 characters long
Jacques wrote:
Can I format an e-mail message with html tags inside the mail() function?
If not, how can I go about it? I would like to format the layout of the
e-mail message using tables, colors and perhaps images.
Please, FFS RTFM http://www.php.net/manual/en/function.mail.php
--
PHP General
Chris W. Parker wrote:
[ snipped ]
I'm running Apache/2.0.40, MySQL 3.23.54, and PHP 4.2.2.
You need to upgrade to the latest PHP version, which is 4.3.10 and while
you are at it, consider upgrading MySQL to 4.0.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
I have an file that contains PHP code..variables, db, etc. Is it
possible to include the evaluted contents of that file into a variable
in another, the calling PHP script?
Essentailly I am looking to do something like
include(myCode.php) - HTML Output - $myVariable.
I know could do this
52 matches
Mail list logo