On 07-Apr-2004 Andy B wrote:
hi...
is it totally usefull/reasonable to write a class in php that prints
different different form elements in html...
i.e. inputs, buttons, drop downs, multi selects and son? that way (at
least
i think) then it would be easier to change the element
I think just about everybody re-invents that wheel ...
well i dont have much of a choice but to reinvent that wheel because as far
as im aware of the gpl/lgpl doesnt allow me to write code, say sell that
webservice/php program for $100 and also have gpl/lgpl code in it (as well
as copyright
i have to write code for the following standard:
1. 13 links at the top and bottom of the page
2. those links reload the same page with a query string that will be part of
a mysql query
3. all query strings that come from anywhere except from say
www.test.com/ViewEvents.php get stripped out and
Hi there,
I am searching for a way to strip the white spaces from each
php generated html site. Goal is to speed up the pages.
During my research for apache modules I found one for perl:
http://search.cpan.org/~geoff/Apache-Clean-0.05/Clean.pm
Is there something for php as well?
Thanx for any
bloody excellent, it has its own wrapper object, the prepared statements
feature looks cool
http://www.zend.com/php5/articles/php5-mysqli.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Htmltidy
I found it on the net, but it lacks on documentation. Is this a tool to include
into apache as a library which cleans up each php generated html page?
thanx
merlin
Electroteque wrote:
Htmltidy ?
-Original Message-
From: Merlin [mailto:[EMAIL PROTECTED]
Sent: Saturday, April
Pear does not seem to be actually in the sources for some reason
[PEAR] XML_RPC: The following errors where found (use force option to
install an
yway):
missing package name
missing summary
missing description
missing license
missing version
missing release state
missing release date
missing
On 08-Apr-2004 John Nichel wrote:
Joe Szilagyi wrote:
Just a follow up on this one--I've seen where consistently that
$HTTP_REFERER will only show local referers, but not stuff from
other
sites/hostnames. This is on mod_php... any workaround for that?
Regards,
Joe
The referrer is sent
is it possible to have php installed with apache as cgi and module both at
the same time...??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 10 Apr 2004 12:40:52 - Issue 2697
Topics (messages 183036 through 183065):
Re: List Admins
183036 by: -{ Rene Brehmer }-
183041 by: Elfyn McBratney
regular expressions
183037 by: René Fournier
183039 by: Richard Harb
Re: Looking for a
My php page takes data from the database such as ID, Date, Value and prints
on the screen. About 20 entries are printed on the screen. The each entry
has option 'yes' or 'no'.
So I need to gather the information about each entry and update database. I
cannot access the variable from $_POST
MadHD wrote:
Hi,
i'm searching some script that can read e-mails with attachments from an
account pop3 and that store them in a db.
Michelle has an informative post on how to do this. I am proposing an
alternative. If you are setting up a new system you might want to
consider using IMAP
On Saturday 10 April 2004 14:36, Mike Mapsnac wrote:
So I need to gather the information about each entry and update database. I
cannot access the variable from $_POST because parameter is not static and
$_POST is not working like this $_POST['$id'];
$_POST[$id]
does variable substitution,
Mike Mapsnac wrote:
My php page takes data from the database such as ID, Date, Value and
prints on the screen. About 20 entries are printed on the screen. The
each entry has option 'yes' or 'no'.
So I need to gather the information about each entry and update
database. I cannot access the
Was that from a pear install xml_rpc ?
Electroteque [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Pear does not seem to be actually in the sources for some reason
[PEAR] XML_RPC: The following errors where found (use force option to
install an
yway):
missing package name
Check this out: I'm returning a list of the last 30 days, looping
through i, subtracting it from $end_date where $end_date is 2004-04-10
00:00:00. I'm just trying to derive a timestamp $check_date for each
iteration, like 1081321200. Here's the code within the loop:
$check_date = mktime(0, 0,
Anyone have a script that reads a file backwards? Im looking for
a way to trace a log file, say the last 30 lines each time I run the script.
I havnt found any DOS tools so I guess doing it in PHP will be just as
fine, and Im on a Win32 platform.
I could however read the entire file, and count
Got a tip by email,
Might look here and modify it if needed ...
http://tailforwin32.sourceforge.net/
Thanks, this is atleast much better than switching windows and refershing
the files in Textpad
which I do at the moment. tail was ofcourse the word I was looking for, not
the trace word.
Thanks
Hello.
I have built a site where people can register their weddings. I use
MySQL/PHP to handle the database. I wish to add a step where people must
pay to enter their information into the database.
How do I do this? What services do ya'll recommend? I won't need a
complicated shopping cart,
On 10 Apr 2004 Brian Dunning wrote:
Check this out: I'm returning a list of the last 30 days, looping
through i, subtracting it from $end_date where $end_date is 2004-04-10
00:00:00. I'm just trying to derive a timestamp $check_date for each
iteration, like 1081321200. Here's the code
Justin Patrin wrote:
Jochem Maas wrote:
...
Smarty does force that at all; you have to make the distinction and
apply liberal self-restraint.
I meant 'does NOT force' - thinko!
...
PLEASE WORLD: GET BEHIND CSS, AND FREE CONTENT FROM STYLE ON THE CLIENT.
why because it allows the structrully
If you use Smarty you can use the {trim} m
Otherwise you can also use output buffering to grab the output buffer and
remove the sapces that you want.
Note that you can't actually remove all whitespace as this sometimes has the
side effect of breaking cetain scripts, etc.
I'd rather implement
I am curious to see if the experienced PHP developers have a recommendation
as far as which MVC or Model 2 based framework is the most robust to use in
web applications that will be developed in PHP5. For Java developers the
Struts Framework has become an Industry Accepted choice, whereas in PHP
On Sat, 2004-04-10 at 15:19, Lukasz Karapuda wrote:
I am curious to see if the experienced PHP developers have a recommendation
as far as which MVC or Model 2 based framework is the most robust to use in
web applications that will be developed in PHP5. For Java developers the
Struts Framework
I'd really like to generate video thumbnails within PHP, are there any
libraries available or anything? I can't find very much on the subject
on php.net and not a lot more on google.
I'd appreciate any pointers you could give me.
Regards,
Stuart Gilbert.
--
PHP General Mailing
if i install php5 will it affect any of the php4.3.3 code that i have
running at all...?? i want to install 5 and see what they have new going on
and stuff but i dont want to crash my 4.3.3 running code any
and where would i be able to read a list of stuff that is new in 5??
--
PHP General
anybody know how to put that in english?? i have no clude what it says...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 5:13 PM
Subject: Re: [PHP] php 5 install
Hallo und guten Tag,
herzlichen Dank für Ihre Mail.
Zeit zu leben
Thanks a lot
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: Mike Mapsnac [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 10:34 AM
Subject: Re: [PHP] How to do this?
Mike Mapsnac wrote:
My php page takes data from the database such as ID, Date,
That's just one of those annoying out of office messages...
I could translate it .. but if the sender didn't care I guess it's not
important enough for him to provide an english translation himself.
Saturday, April 10, 2004, 11:17:44 PM, you wrote:
anybody know how to put that in english?? i
Hi,
I am having a issue with configure in that it doesn't like to find the openssl
libraries when running configure. Looking through the log it states that there is a
issue with configure itself..
config.log ---
configure:16174: checking for OpenSSL version
was wondering if this would work or do i need different code:
?php
include(libs/conf.db);
if(($_GET['month']==0)||($_GET['month']12)){
$query=SELECT
Type,
StartDate,
EndDate,
Name,
County,
Notes
FROM $EventsTable
ORDER BY StartDate DESC;
} else {
$query=SELECT
Type,
StartDate,
EndDate,
Hello,
Does anyone have php's imap functions working with CourierIMAP as their
imap server?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andy B schrieb:
was wondering if this would work or do i need different code:
?php
include(libs/conf.db);
if(($_GET['month']==0)||($_GET['month']12)){
$query=SELECT
Type,
StartDate,
EndDate,
Name,
County,
Notes
FROM $EventsTable
ORDER BY StartDate DESC;
} else {
$query=SELECT
Type,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
On Saturday 10 Apr 2004 22:59, Pembo13 wrote:
Hello,
Does anyone have php's imap functions working with CourierIMAP as their
imap server?
Yes, as does IMP (see horde.org). What errors do you get? What code are you
using (strip it down
going to try some different things out... the if statement didnt work cuz
when i didnt put a query string at the end of the page name when going to it
it complained about month being an undefined index...
- Original Message -
From: Rainer Müller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Andy B schrieb:
anybody know how to put that in english?? i have no clude what it says...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 5:13 PM
Subject: Re: [PHP] php 5 install
Hallo und guten Tag,
herzlichen Dank für Ihre Mail.
Andy B wrote:
going to try some different things out... the if statement didnt work cuz
when i didnt put a query string at the end of the page name when going to it
it complained about month being an undefined index...
if(!isset($_GET['month']) || $_GET['month'] = 0 || $_GET['month'] 12)
--
Well I've setup a reltively simple code block:
function mailboxmsginfo($mailbox='INBOX', $username, $password) {
$username = $username.@dalive.com;
$imap_stream = {localhost:143/notls}.$mailbox;
$mbox = imap_open($imap_stream, $username, $password)
or die(can't connect ($username with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 10 Apr 2004 23:42, Pembo13 wrote:
Well I've setup a reltively simple code block:
function mailboxmsginfo($mailbox='INBOX', $username, $password) {
$username = $username.@dalive.com;
$imap_stream =
Hello,
I have just installed PHP 5.0b4, and had a look into /usr/local/php5/bin. I
have found these files:
php
pear
php-config
phpextdist
phpize
php is the only file I know, it is the one that interprets (interpretates ?)
the PHP code.
But what do the other programs do ? None of them
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 11 Apr 2004 00:22, [EMAIL PROTECTED] wrote:
Hello,
I have just installed PHP 5.0b4, and had a look into /usr/local/php5/bin. I
have found these files:
php
You know :)
pear
Can be used to install/remove/update/etc pear/pecl packages
php-general Digest 11 Apr 2004 01:11:05 - Issue 2698
Topics (messages 183066 through 183096):
How to do this?
183066 by: Mike Mapsnac
183068 by: Duncan Hill
183069 by: John W. Holmes
183083 by: Mike Mapsnac
Re: Store e-mail in DB
183067 by: Raditha
I need to output a date and time that shows more clearly than just
outputting the timestamp
what is the correct way to go about it ?
I have looked at getdate(), but I haven't fathomed it out yet !
--
www.phpexpert.org/truefaith.htm
True Faith is not just when you believe in God and yourself, it
On 4/11/2004 3:25:09 AM, Damian Brown ([EMAIL PROTECTED]) wrote:
I need to output a date and time that shows more clearly than just
outputting the timestamp
what is the correct way to go about it ?
I have looked at getdate(), but I haven't fathomed it out yet !
If you are using
The second parameter of PHP's date() function takes a timestamp as an
argument, this may be what you're looking for?
Andy
Damian Brown wrote:
I need to output a date and time that shows more clearly than just
outputting the timestamp
what is the correct way to go about it ?
I have looked at
* Thus wrote Elfyn McBratney ([EMAIL PROTECTED]):
phpextdist
Can't remember.. Google is your friend :)
Makes a standalone/out-of-tree tar ball. Also uses php-conf.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To
* Thus wrote Andy B ([EMAIL PROTECTED]):
is it possible to have php installed with apache as cgi and module both at
the same time...??
Yes. See php.net/install
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To
* Thus wrote Brian Dunning ([EMAIL PROTECTED]):
$check_date = mktime(0, 0, 0, substr($end_date, 5, 2),
substr($end_date, 8, 2) - $i, substr($end_date, 0, 4), -1);
Note that this works PERFECTLY for every date, and always has. Except
for one particular day. When $end_date - $i is supposed
* Thus wrote Stuart Gilbert ([EMAIL PROTECTED]):
I'd really like to generate video thumbnails within PHP, are there any
libraries available or anything? I can't find very much on the subject
on php.net and not a lot more on google.
I'd appreciate any pointers you could give me.
I have tried that, but it gives a date in the future
and all records have the same time
the code is
td?php echo date (l dS of F Y h:i:s A, $row[5]) ; ?/td
and it gives an output of
Monday 18th of January 2038 10:14:07 PM
I need it to proces the timestamp in the database table so that it shows
From: Matt Hedges [mailto:[EMAIL PROTECTED]
Subject: [PHP] PHP e-commerce questions
Hello.
Hi!
I have built a site where people can register their weddings. I use
MySQL/PHP to handle the database. I wish to add a step where people must
pay to enter their information into the database.
And these are UNIX timestamps? Odd. I can't see date giving the wrong
output, could you post the timestamp you're using?
Thanks
Andy
Damian Brown wrote:
I have tried that, but it gives a date in the future
and all records have the same time
the code is
td?php echo date (l dS of F Y h:i:s A,
Thank Yoy Ryan
I had thought the same, but I didn't know how to go about it
I did not know of the substr function
it is now outputting as follows
10 04 2004 - 21:23:50
Thanks once again, I am sure I will be asking for more help soon
I tend to dive in at the deep end and never learn the basics
I have cracked it Andy, by using substr to take apart
the 14 digit timestamp
10 04 2004 - 21:23:50
is now showing, and each record is different
Thanks anyway, stick around for more questions
here is one
td?php $link = 'a href=' ;
$link = $link . $row[2] . '' ;
$link =
td?php $link = 'a href=' ;
$link = $link . $row[2] . '' ;
$link = $link . '/a' ;
echo $link ; ?/td
is not working, I want to output $row[2] as a hyperlink
as it is the refering URL, but the above is just showing blank in the
output, with no link and no
standard make install, did it for both rc1 and snaps
-Original Message-
From: Aidan Lister [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 1:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP5 and pear
Was that from a pear install xml_rpc ?
Electroteque [EMAIL
Damian Brown wrote:
td?php $link = 'a href=' ;
$link = $link . $row[2] . '' ;
$link = $link . '/a' ;
echo $link ; ?/td
is not working, I want to output $row[2] as a hyperlink
as it is the refering URL, but the above is just showing blank in the
output,
Damian Brown wrote:
td?php $link = 'a href=' ;
$link = $link . $row[2] . '' ;
$link = $link . '/a' ;
echo $link ; ?/td
is not working, I want to output $row[2] as a hyperlink
as it is the refering URL, but the above is just showing blank in the
output,
58 matches
Mail list logo