RE: [PHP] work with mobile by PHP !!

2002-01-01 Thread Simon Ritchie

 
 How can I send msg to PHP ?=20
 what I need and what I must read ??

Try http://www.sms-wap.com

Simon

-- 
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, e-mail: [EMAIL PROTECTED]




php-general Digest 1 Jan 2002 10:28:57 -0000 Issue 1085

2002-01-01 Thread php-general-digest-help


php-general Digest 1 Jan 2002 10:28:57 - Issue 1085

Topics (messages 79147 through 79164):

work with  mobile by PHP !!
79147 by: Alawi
79164 by: Simon Ritchie

Re: Testing: DON'T Ignore This Message
79148 by: Michael Sims
79152 by: B. van Ouwerkerk
79160 by: Michael Sims

Getting elapsed time between two MySQL time fields
79149 by: Tom Beidler
79157 by: George Nicolae

What the hell?!?!
79150 by: LaserJetter
79162 by: Michael Sims

Comment About- [PHP] TEST---Please Ignore
79151 by: [.-!-%]

Re: Need some Linux/Apache help
79153 by: Todd Cary
79154 by: Brian Clark
79155 by: Brian Clark
79156 by: Brian Clark

XML Parsing Problem
79158 by: Ben Gollmer

Happy new year!
79159 by: George Nicolae
79161 by: Arcadius A.
79163 by: Miles Thompson

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

---BeginMessage---

How can I send msg to PHP ? 
what I need and what I must read ??

---End Message---
---BeginMessage---

 
 How can I send msg to PHP ?=20
 what I need and what I must read ??

Try http://www.sms-wap.com

Simon

---End Message---
---BeginMessage---

At 05:07 PM 12/31/2001 +0200, you wrote:
It seems to work. I'll use this thread to ask an admin question: why
doesn't the mailing list daemon add a reply-to address similar to the
one I manually added here? Wouldn't it be more comfortable for all
parties concerned?

I agree.  It's a pain to have to click Reply-to-all and then strip out 
the individuals email address (leaving only the address of the 
list)...other lists that I'm on have the reply-to always pointing back to 
the list so all you have to do is click Reply and you know it will go 
where it needs to...


---End Message---
---BeginMessage---


I agree.  It's a pain to have to click Reply-to-all and then strip out 
the individuals email address (leaving only the address of the 
list)...other lists that I'm on have the reply-to always pointing back to 
the list so all you have to do is click Reply and you know it will go 
where it needs to...

u.. I can give you one good reason.. Out Of the Office replies 
don't get to the list.. M$ Lookout is specilized in bombing lists with 
those stupid messages. Seems a complete list with reasons why you shouldn't 
set reply to to the list.. can be found on the web..

Bye,



B.


---End Message---
---BeginMessage---

At 11:45 PM 12/31/2001 +0100, B. van Ouwerkerk wrote:
u.. I can give you one good reason.. Out Of the Office replies 
don't get to the list.. M$ Lookout is specilized in bombing lists with 
those stupid messages. Seems a complete list with reasons why you 
shouldn't set reply to to the list.. can be found on the web..

Ahhh, good point.  But I believe that most mail programs (including 
Lookout) will only auto-respond to messages where the owners address is the 
only one in the TO: field.  (Someone correct me if they know better...I'm 
on Eudora here...)  Since messages from the mailing list are send TO: 
[EMAIL PROTECTED] then the autoresponders should ignore 
them.  This would be consistent with the fact that I've posted a few 
messages to this list over the past few weeks, messages that must have been 
delivered to at least hundreds of mailboxes with my address as the 
reply-to, yet I haven't received a single automatic out-of-office or 
vacation response to any of them...


---End Message---
---BeginMessage---

I have some records in a MySQL database that store a start and stop time. In
my display page that displays the record info I would like to use PHP to
find the elapsed time between the two fields. So if I had;

Start 13:44:20
Stop 13:49:25

Possibly use a function to calculate
Elapsed 5:05

Do I need to do this in MySQL?

Thanks,
Tom 

---End Message---
---BeginMessage---

?
$d1=mktime(13,44,20,1,1,2002);//first three variables are your time and last
are a random day
$d2=mktime(13,49,25,1,1,2002);
echo date(i:s,$d2-$d1);
?

--


Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com



Tom Beidler [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I have some records in a MySQL database that store a start and stop time.
In
 my display page that displays the record info I would like to use PHP to
 find the elapsed time between the two fields. So if I had;

 Start 13:44:20
 Stop 13:49:25

 Possibly use a function to calculate
 Elapsed 5:05

 Do I need to do this in MySQL?

 Thanks,
 Tom



---End Message---
---BeginMessage---

I've just been preparing a site for upload from my local test server to the
net and have come accross a php.error.log file which was 13.4Mb!

[PHP] Name of the Frame

2002-01-01 Thread Duikplas Info

Hi all,

Happy new Year to you all.

CAn anybody tell me the way to know, while compiling your page, what the
name is of frame/window where your page is gonna be presented in?

Thanx for the suggestions.

Met vriendelijk groeten
(Kind regards)

Robert Elsenaar
Duikplas AquaView
Website: www.duikplas.nl
e-mail: [EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Name of the Frame

2002-01-01 Thread R. Elsenaar

Hi all,

Happy New Year to you all.

When compiling a page I want to know the name of the frame/window where my
page is gonna be presented. Somebody a suggestion which variable or function
I can use?

Thanx

Robert



-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary

When I run the make after a successful configure, I get the
following errors:

stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1

Any suggestions on how I may resolve this?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary

David -


Try Cross posting to: linux-admin list


How do I join the list?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] cron test

2002-01-01 Thread caspar kennerdale



-Original Message-



Sorry this is offtopic

I have set up a cron job and this is the message I havereceived

Your terminal lacks the ability to clear the screen or position the cursor.

any ideas?


-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread David Jackson

Todd --

Send email to [EMAIL PROTECTED]

In body of email: subscribe linux-admin

You might also check for distrbution specific forum/list
Slackware has one, I'm sure Redhat has some.

By the why, were you compile Apache/Mysql and PHP from *tgz sources ? 


 David -
 
 
 Try Cross posting to: linux-admin list

 
 How do I join the list?
 
 Todd
 
 --
 Todd Cary
 Ariste Software
 [EMAIL PROTECTED]
 
 
 
 -- 
 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, e-mail:
 [EMAIL PROTECTED]


-- 



-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] cron test

2002-01-01 Thread David Jackson

How about posting to the OS specific related forum?
For Linux try subscribing to linux-admin at [EMAIL PROTECTED]

for Solaris, HP-UX and other check news group list

DJJ


 
 
 -Original Message-
 
 
 
 Sorry this is offtopic
 
 I have set up a cron job and this is the message I havereceived
 
 Your terminal lacks the ability to clear the screen or position the
 cursor.
 
 any ideas?
 
 
 -- 
 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, e-mail:
 [EMAIL PROTECTED]


-- 



-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Brian Clark

* Todd Cary ([EMAIL PROTECTED]) [Jan 01. 2002 10:39]:

 When I run the make after a successful configure, I get the
 following errors:

 stub.lo: file not recognized: File truncated
 collect2: ld returned 1 exit status
 make[1]: *** [libphp4.la] Error 1
 make: *** [all-recursive] Error 1

 Any suggestions on how I may resolve this?

That seems to be a known problem with some older PHP versions when
you're building --with-apxs but not static.

Remove the PHP source you have..

Then try grabbing either 4.1.1 from php.net (the tar.gz) or a new 
snapshot from snaps.php.net.

tar -xzf [file]

to unpack it, then try your same configure line, then make and see if
you get the same problem.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I'm not panicking. I'm examining all options at high speed.


-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Generating Static Pages

2002-01-01 Thread David Jackson

This may seem a little odd?
But what I want to do is use PHP/MySQL to generate static pages.
The applet I tinkering with is a sales worksheet and to start with will
consist of catalog/product maintience page, and a worksheet allow sales reps 
work up pricing for customers. Eventfully this would tie into an
contact manager. The code to generate the catalog is below:
I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
the most effective why to write the HTML out to file?

-- Thanks for your time -- David

- Make Catalog PHP -







mkcatalog.php
Description: application/unknown-content-type-php_auto_file

-- 
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, e-mail: [EMAIL PROTECTED]


Re: [PHP] Generating Static Pages

2002-01-01 Thread David Jackson

Sorry here's the code unattached:

?php
include(/home/sites/www.pickledbeans.com/web/html_header.php);
// include(/home/sites/www.pickledbeans.com/web/connect.php);
include(/connect.php);
echo body \n;
echo form method = \post\ action =\invoice.php\\n;
echo pSales Date:/p\n;
echo pinput type=\Text\ name=\frm_date\ size=\15\/p\n;
echo pSales Rep:/p\n;
echo pinput type=\text\ name=\frm_sid\ size=\4\/p;
// Define table
echo brtable bgcolor=\gray\ border=\1\ ;
// Generate book listing
$result = mysql_query(SELECT pid,date,title,subtitle,author,amount FROM 
catalog ) or die(Dis ain't right !!); 
while ( 
list($pid,$date,$title,$subtitle,$author,$amount)=mysql_fetch_row($result)){
echo tr\n;
echo tdinput type=\checkbox\ name=\frm_pid[]\ value = \$pid\ 
/td;
echo td$title/td;
echo tdPrice: $amount/td;
echo /tr\n;
}
echo /table;
echo pinput type=\Submit\ name=\submit\ value=\Submit\;
echo input type=\Reset\ name=\reset\ value=\Reset\/p;
echo /form;
echo /body;
echo /html;
mysql_free_result ($result);
mysql_close($link);
exit;
?


-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Generating Static Pages

2002-01-01 Thread Prottoss

In my experience the speediest way was to create a temporary buffer to which 
you append the html you wish to output and then write the buffer to file in 
one go.

Prottoss
[EMAIL PROTECTED]
http://www.mediaminer.org/

On January 1, 2002 01:41 pm, David Jackson wrote:
 This may seem a little odd?
 But what I want to do is use PHP/MySQL to generate static pages.
 The applet I tinkering with is a sales worksheet and to start with will
 consist of catalog/product maintience page, and a worksheet allow sales
 reps work up pricing for customers. Eventfully this would tie into an
 contact manager. The code to generate the catalog is below:
 I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
 the most effective why to write the HTML out to file?

 -- Thanks for your time -- David

 - Make Catalog PHP -

-- 

-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] imap extensions..

2002-01-01 Thread Philip Jeffs

Hi,

I'm having trouble getting the imap extensions to load. I'm running Windows2000 with 
IIS5.

I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions directory in 
php.ini is set to 'c:\php\'

I still get told that php was 'unable to load dynamic library 'c:\php\php_imap.dll'

Any help would be gratefully recieved.

Thanks,

Phil
-
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
-



Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary

Brian et al -

What a way to start the new year!!  I now have PHP 4.1.1 *with*
Interbase running on Linux 7.2 *with* Samba.  And I am greatly indebted
to the generous help of many people on this List.  This means I can move
my family picture album (uses Interbase) off of the IIS system and onto
Linux.

Before I do that, I have some questions about directory use in
Unix/Linux which really do not belong on this list.  So, maybe my basic
questions can be answered by direct email - whatever is best for the
List.

My question is about where I should put my databases?  I notice that the
/var is often used, but is /usr.  So, for a guy coming from the NT
world, what would you suggest?

1) /var/databases/app1; /var/databases/app2  - or -
/var/databases/interbases/app1

2) The same as above, but with /usr

Also, Brian, I have several questions about compiling in the C world
which, if you do not mind, I'll send directly.  Probably not that much
different from Object Pascal (Delphi 5/6).

Again, Happy New Year to you all, *and* many thanks for the
help..

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Re: What the hell?!?!

2002-01-01 Thread LaserJetter

I need a program which will let me open it!
Using notepat just runs wordpad which wont let me scroll down to see what it
says because it's still processing the file.
Internet explorer didnt work and MS-DOS editor just said Out of memory and
closed on me
Never mind!



Laserjetter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I've just been preparing a site for upload from my local test server to
the
 net and have come accross a php.error.log file which was 13.4Mb!
 I'm using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
to
 4.1 PHP
 has been creating these error log files all over the place. Does anyone
know
 what to change in php.ini to stop it doing this?
 Also, apart from my coding being rubbish and causing lots of errors, does
 anyone know of any reason why an error log file would grow to such a huge
 size? The page has onle been accessed a few times and I can't think of any
 way a single page could create 1Mb of error text on each hit.

 LJ







-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: What the hell?!?!

2002-01-01 Thread David Jackson

copy php.log php.txt, now you have a static log to look at.
then do more php.txt this will display a screen at a time,hitting space
goes to the next screen.

To do more advanced work with text files goto:
http://simtel.net gnuish directory and download gawk and grep, mainly
grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
the command string would look this: grep -i seach_string filename |more
or grep -i fatal* filename |more, you get the idea.


 I need a program which will let me open it!
 Using notepat just runs wordpad which wont let me scroll down to see
 what it says because it's still processing the file.
 Internet explorer didnt work and MS-DOS editor just said Out of
 memory and closed on me
 Never mind!
 
 
 
 Laserjetter [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I've just been preparing a site for upload from my local test server
 to
 the
 net and have come accross a php.error.log file which was 13.4Mb! I'm
 using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
 to
 4.1 PHP
 has been creating these error log files all over the place. Does
 anyone
 know
 what to change in php.ini to stop it doing this?
 Also, apart from my coding being rubbish and causing lots of errors,
 does anyone know of any reason why an error log file would grow to
 such a huge size? The page has onle been accessed a few times and I
 can't think of any way a single page could create 1Mb of error text on
 each hit.

 LJ




 
 
 
 -- 
 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, e-mail:
 [EMAIL PROTECTED]


-- 



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Re: imap extensions..

2002-01-01 Thread LaserJetter

This sounds similar to the problem I had but with other extensions.
Does the IMAP extenstion need any dlls from the c:\php\dlls folder to work?
(You can find out this somewhere on www.php.net). If it does then you need
to copy these to your system folder. (system32 folder probably). Better
still, why not just copy the lot into that folder to save future hassle!!
;o)

LJ


Philip Jeffs [EMAIL PROTECTED] wrote in message
000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
Hi,

I'm having trouble getting the imap extensions to load. I'm running
Windows2000 with IIS5.

I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions
directory in php.ini is set to 'c:\php\'

I still get told that php was 'unable to load dynamic library
'c:\php\php_imap.dll'

Any help would be gratefully recieved.

Thanks,

Phil
-
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
-




-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: What the hell?!?!

2002-01-01 Thread LaserJetter

Nice one, thanks! I forgot about using the more command!!



David Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 copy php.log php.txt, now you have a static log to look at.
 then do more php.txt this will display a screen at a time,hitting
space
 goes to the next screen.

 To do more advanced work with text files goto:
 http://simtel.net gnuish directory and download gawk and grep,
mainly
 grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
 the command string would look this: grep -i seach_string filename |more
 or grep -i fatal* filename |more, you get the idea.


  I need a program which will let me open it!
  Using notepat just runs wordpad which wont let me scroll down to see
  what it says because it's still processing the file.
  Internet explorer didnt work and MS-DOS editor just said Out of
  memory and closed on me
  Never mind!
 
 
 
  Laserjetter [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I've just been preparing a site for upload from my local test server
  to
  the
  net and have come accross a php.error.log file which was 13.4Mb! I'm
  using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
  to
  4.1 PHP
  has been creating these error log files all over the place. Does
  anyone
  know
  what to change in php.ini to stop it doing this?
  Also, apart from my coding being rubbish and causing lots of errors,
  does anyone know of any reason why an error log file would grow to
  such a huge size? The page has onle been accessed a few times and I
  can't think of any way a single page could create 1Mb of error text on
  each hit.
 
  LJ
 
 
 
 
 
 
 
  --
  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, e-mail:
  [EMAIL PROTECTED]


 --





-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Manuel Lemo's Soap Server?

2002-01-01 Thread Chris Boothe

Has anyone tried this sample project?
Soap Server Class
http://phpclasses.upperdesign.com/browse.html/package/251

I can't seem to get it to go, it is returning:
500 internal server error

The APACHE Log reads:
Premature end of script headers: C:/php/php.exe

Any ideas?

Chris Boothe
[EMAIL PROTECTED]



Re: [PHP] Re: imap extensions..

2002-01-01 Thread Philip Jeffs

I've looked around php.net and i can't find anything about extra dll's.

Does anyone know where i can get an up to date version of php_imap.dll from?

Maybe my version is old.

Thanks

Phil

- Original Message -
From: LaserJetter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 01, 2002 8:32 PM
Subject: [PHP] Re: imap extensions..


 This sounds similar to the problem I had but with other extensions.
 Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
work?
 (You can find out this somewhere on www.php.net). If it does then you need
 to copy these to your system folder. (system32 folder probably). Better
 still, why not just copy the lot into that folder to save future hassle!!
 ;o)

 LJ


 Philip Jeffs [EMAIL PROTECTED] wrote in message
 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
 Hi,

 I'm having trouble getting the imap extensions to load. I'm running
 Windows2000 with IIS5.

 I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions
 directory in php.ini is set to 'c:\php\'

 I still get told that php was 'unable to load dynamic library
 'c:\php\php_imap.dll'

 Any help would be gratefully recieved.

 Thanks,

 Phil
 -
 Philip Jeffs

 The Tickle Group
 The Gate House
 Summerseat
 Bury
 Lancashire
 BL9 5PE
 United Kingdom
 W: http://www.tickle.co.uk
 T: 01706 823456
 F: 01706 829500
 E: [EMAIL PROTECTED] (daytime)
 [EMAIL PROTECTED] (evening)
 -




 --
 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, e-mail: [EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: imap extensions..

2002-01-01 Thread LaserJetter

http://www.php.net/manual/en/install.windows.php#install.windows.extensions

I'm not sure if this says you need an extra dll for just PHP3 though.



Philip Jeffs [EMAIL PROTECTED] wrote in message
002501c19307$6824a250$01010101@PHIL">news:002501c19307$6824a250$01010101@PHIL...
 I've looked around php.net and i can't find anything about extra dll's.

 Does anyone know where i can get an up to date version of php_imap.dll
from?

 Maybe my version is old.

 Thanks

 Phil

 - Original Message -
 From: LaserJetter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, January 01, 2002 8:32 PM
 Subject: [PHP] Re: imap extensions..


  This sounds similar to the problem I had but with other extensions.
  Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
 work?
  (You can find out this somewhere on www.php.net). If it does then you
need
  to copy these to your system folder. (system32 folder probably). Better
  still, why not just copy the lot into that folder to save future
hassle!!
  ;o)
 
  LJ
 
 
  Philip Jeffs [EMAIL PROTECTED] wrote in message
  000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
  Hi,
 
  I'm having trouble getting the imap extensions to load. I'm running
  Windows2000 with IIS5.
 
  I've put 'php_imap.dll' in 'c:\php\' and i've checked that the
extensions
  directory in php.ini is set to 'c:\php\'
 
  I still get told that php was 'unable to load dynamic library
  'c:\php\php_imap.dll'
 
  Any help would be gratefully recieved.
 
  Thanks,
 
  Phil
  -
  Philip Jeffs
 
  The Tickle Group
  The Gate House
  Summerseat
  Bury
  Lancashire
  BL9 5PE
  United Kingdom
  W: http://www.tickle.co.uk
  T: 01706 823456
  F: 01706 829500
  E: [EMAIL PROTECTED] (daytime)
  [EMAIL PROTECTED] (evening)
  -
 
 
 
 
  --
  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, e-mail: [EMAIL PROTECTED]
 




-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Re: Manuel Lemo's Soap Server?

2002-01-01 Thread Manuel Lemos

Hello,

Chris Boothe wrote:
 
 Has anyone tried this sample project?
 Soap Server Class
 http://phpclasses.upperdesign.com/browse.html/package/251
 
 I can't seem to get it to go, it is returning:
 500 internal server error
 
 The APACHE Log reads:
 Premature end of script headers: C:/php/php.exe
 
 Any ideas?

This means there was a fatal error handling the SOAP request. The
protocol spec, requires that when something fails the service request
returns error 500.

Unfortunately, PHP does not return the response body when a HTTP returns
error 500. This makes impossible for SOAP responses be returned
correctly using Apache. I already mentioned this to Rasmus once. It
seems that PHP needs to work differently with Apache to prevent this
behaviour and let SOAP XML response body be returned correctly.

The work around for this is to set a property of the SOAP server class
named failure status to something else than 500 Internal server error.
You may set it to 200 OK like in the date.soap example SOAP service
script:

$soap_server_object-failurestatus=200 OK;

If this does not solve your problem, is because the problem is something
else. Just let me know if you still have problems.

Regards,
Manuel Lemos

-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: imap extensions..

2002-01-01 Thread Philip Jeffs

I just re-installed php from scratch.
It seems to have done the trick.

Thanks for the help!

- Original Message -
From: LaserJetter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 01, 2002 8:59 PM
Subject: Re: [PHP] Re: imap extensions..



http://www.php.net/manual/en/install.windows.php#install.windows.extensions

 I'm not sure if this says you need an extra dll for just PHP3 though.



 Philip Jeffs [EMAIL PROTECTED] wrote in message
 002501c19307$6824a250$01010101@PHIL">news:002501c19307$6824a250$01010101@PHIL...
  I've looked around php.net and i can't find anything about extra dll's.
 
  Does anyone know where i can get an up to date version of php_imap.dll
 from?
 
  Maybe my version is old.
 
  Thanks
 
  Phil
 
  - Original Message -
  From: LaserJetter [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, January 01, 2002 8:32 PM
  Subject: [PHP] Re: imap extensions..
 
 
   This sounds similar to the problem I had but with other extensions.
   Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
  work?
   (You can find out this somewhere on www.php.net). If it does then you
 need
   to copy these to your system folder. (system32 folder probably).
Better
   still, why not just copy the lot into that folder to save future
 hassle!!
   ;o)
  
   LJ
  
  
   Philip Jeffs [EMAIL PROTECTED] wrote in message
   000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
   Hi,
  
   I'm having trouble getting the imap extensions to load. I'm running
   Windows2000 with IIS5.
  
   I've put 'php_imap.dll' in 'c:\php\' and i've checked that the
 extensions
   directory in php.ini is set to 'c:\php\'
  
   I still get told that php was 'unable to load dynamic library
   'c:\php\php_imap.dll'
  
   Any help would be gratefully recieved.
  
   Thanks,
  
   Phil
   -
   Philip Jeffs
  
   The Tickle Group
   The Gate House
   Summerseat
   Bury
   Lancashire
   BL9 5PE
   United Kingdom
   W: http://www.tickle.co.uk
   T: 01706 823456
   F: 01706 829500
   E: [EMAIL PROTECTED] (daytime)
   [EMAIL PROTECTED] (evening)
   -
  
  
  
  
   --
   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, e-mail:
[EMAIL PROTECTED]
  
 



 --
 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, e-mail: [EMAIL PROTECTED]



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Oracle

2002-01-01 Thread Phillip B. Bruce

Hi,

  Has any one on this list worked with Oracle, Apache and PHP. My apache
is configured
   for apache and working with mysql. Just wondered if there is any docs
on connecting to
  Oracle in the same manner mysql is being done?

--

*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com   ***
*** [EMAIL PROTECTED]   ***
***  ***
*** Have you ever noticed? Anybody going slower than***
*** you is an idiot, and anyone going faster than you***
*** is a maniac. - George Carlin***





-- 
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, e-mail: [EMAIL PROTECTED]




php-general Digest 1 Jan 2002 23:54:06 -0000 Issue 1086

2002-01-01 Thread php-general-digest-help


php-general Digest 1 Jan 2002 23:54:06 - Issue 1086

Topics (messages 79165 through 79188):

Name of the Frame
79165 by: Duikplas Info
79166 by: Duikplas Info

Re: Need some Linux/Apache help
79167 by: Todd Cary
79168 by: David Jackson
79169 by: Todd Cary
79171 by: David Jackson
79173 by: Brian Clark
79178 by: Todd Cary

cron test
79170 by: caspar kennerdale
79172 by: David Jackson

Generating Static Pages
79174 by: David Jackson
79175 by: David Jackson
79176 by: Prottoss

imap extensions..
79177 by: Philip Jeffs
79181 by: LaserJetter
79184 by: Philip Jeffs
79185 by: LaserJetter
79187 by: Philip Jeffs

Re: What the hell?!?!
79179 by: LaserJetter
79180 by: David Jackson
79182 by: LaserJetter

Manuel Lemo's Soap Server?
79183 by: Chris Boothe
79186 by: Manuel Lemos

Oracle
79188 by: Phillip B. Bruce

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

---BeginMessage---

Hi all,

Happy new Year to you all.

CAn anybody tell me the way to know, while compiling your page, what the
name is of frame/window where your page is gonna be presented in?

Thanx for the suggestions.

Met vriendelijk groeten
(Kind regards)

Robert Elsenaar
Duikplas AquaView
Website: www.duikplas.nl
e-mail: [EMAIL PROTECTED]



---End Message---
---BeginMessage---

Hi all,

Happy New Year to you all.

When compiling a page I want to know the name of the frame/window where my
page is gonna be presented. Somebody a suggestion which variable or function
I can use?

Thanx

Robert



---End Message---
---BeginMessage---

When I run the make after a successful configure, I get the
following errors:

stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1

Any suggestions on how I may resolve this?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



---End Message---
---BeginMessage---

Try Cross posting to: linux-admin list
[EMAIL PROTECTED]


 When I run the make after a successful configure, I get the
 following errors:
 
 stub.lo: file not recognized: File truncated
 collect2: ld returned 1 exit status
 make[1]: *** [libphp4.la] Error 1
 make: *** [all-recursive] Error 1
 
 Any suggestions on how I may resolve this?
 
 Todd
 
 --
 Todd Cary
 Ariste Software
 [EMAIL PROTECTED]
 
 
 
 -- 
 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, e-mail:
 [EMAIL PROTECTED]


-- 



---End Message---
---BeginMessage---

David -


Try Cross posting to: linux-admin list


How do I join the list?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



---End Message---
---BeginMessage---

Todd --

Send email to [EMAIL PROTECTED]

In body of email: subscribe linux-admin

You might also check for distrbution specific forum/list
Slackware has one, I'm sure Redhat has some.

By the why, were you compile Apache/Mysql and PHP from *tgz sources ? 


 David -
 
 
 Try Cross posting to: linux-admin list

 
 How do I join the list?
 
 Todd
 
 --
 Todd Cary
 Ariste Software
 [EMAIL PROTECTED]
 
 
 
 -- 
 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, e-mail:
 [EMAIL PROTECTED]


-- 



---End Message---
---BeginMessage---

* Todd Cary ([EMAIL PROTECTED]) [Jan 01. 2002 10:39]:

 When I run the make after a successful configure, I get the
 following errors:

 stub.lo: file not recognized: File truncated
 collect2: ld returned 1 exit status
 make[1]: *** [libphp4.la] Error 1
 make: *** [all-recursive] Error 1

 Any suggestions on how I may resolve this?

That seems to be a known problem with some older PHP versions when
you're building --with-apxs but not static.

Remove the PHP source you have..

Then try grabbing either 4.1.1 from php.net (the tar.gz) or a new 
snapshot from snaps.php.net.

tar -xzf [file]

to unpack it, then try your same configure line, then make and see if
you get the same problem.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I'm not panicking. I'm examining all options at high speed.


---End Message---
---BeginMessage---

Brian et al -

What a way to start the new year!!  I now have PHP 4.1.1 *with*
Interbase running on Linux 7.2 *with* Samba.  And I am greatly indebted
to the generous help of many people on this List.  This means I can move
my family picture album (uses Interbase) off of the IIS system 

RE: [PHP] Oracle

2002-01-01 Thread Martin Towell

there's the OCI* or ORA_* functions depending on the version of oracle
you're using.

-Original Message-
From: Phillip B. Bruce [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 10:54 AM
To: PHP
Subject: [PHP] Oracle


Hi,

  Has any one on this list worked with Oracle, Apache and PHP. My apache
is configured
   for apache and working with mysql. Just wondered if there is any docs
on connecting to
  Oracle in the same manner mysql is being done?

--

*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com   ***
*** [EMAIL PROTECTED]   ***
***  ***
*** Have you ever noticed? Anybody going slower than***
*** you is an idiot, and anyone going faster than you***
*** is a maniac. - George Carlin***





-- 
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, e-mail: [EMAIL PROTECTED]



[PHP] Hosting provider...

2002-01-01 Thread Matt Moreton

Im looking to change my hosting provider.

...something that isnt going to break the bank, is feature full, supports mysql, php 
etc etc and doesnt limit your bandwidth usage!  I need about 100+ mb's of space, and 
possibly the ability to run a background process.  

Can anyone here suggest a good provider that meets the above criteria?

Thanks

Matt.



Re: [PHP] Hosting provider...

2002-01-01 Thread Kurt Lieber

On Tuesday 01 January 2002 04:19 pm, Matt Moreton wrote:
 Can anyone here suggest a good provider that meets the above criteria?

Asked and answered about 4 billion times in the archives.  Might check there.

--kurt

-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Mysql Curdate problem

2002-01-01 Thread Andras Kende

Hello,

I have a php page which list a table from a mysql database.

Dates can be selected like last 7 days, last 14 days .etc

It worked perfect till midnight :(

The query is something like:
$aresult=mysql_query(select * from orders WHERE (a3 = CURDATE()-$datec)
,$db);


I looking for some advice hos to modify my query or the php code..

Thanks

Andras Kende





-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Hosting provider...

2002-01-01 Thread steph

I use hostrocket. They seem to meet most of your criteria, but as with many
hosts they do not offer unlimited bandwidth. Personally, I stay away from
hosts that say they offer unlimited bandwidth (there's usually a catch). Has
one of the best Control Panels IMO. Includes PHP, MySQL, Perl, subdomain
support, unlimited emails, more than enough hard drive space (350 MB+), and
more. Support includes trouble ticketing and a support forum. I use the
forum to discuss things with fellow customers than problems with my site as
support through the trouble ticket system is pretty efficient. I get very
fast responses from technical support (One time they responded within less
than 5 minutes of me sending a ticket in with a solution). You may want to
check out their forum and see what other clients have to say also.


- Original Message -
From: Matt Moreton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 01, 2002 4:19 PM
Subject: [PHP] Hosting provider...


Im looking to change my hosting provider.

..something that isnt going to break the bank, is feature full, supports
Myql, php etc etc and doesnt limit your bandwidth usage!  I need about 100+
mb's of space, and possibly the ability to run a background process.

Can anyone here suggest a good provider that meets the above criteria?

Thanks

Matt.



-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] connect MS Access

2002-01-01 Thread gendeng








  halo... i want to know about connect to database. can php (for 
  windows) connect to MS Access.
  
  Mpu Strees







 
IncrediMail - Email has finally evolved - Click 
Here

RE: [PHP] connect MS Access

2002-01-01 Thread Matt Friedman

Please do not send html emails to this list. 

Send only plain text emails.

Matt Friedman


-Original Message-
From: gendeng [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday January 1, 2002 8:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] connect MS Access

halo... i want to know about connect to database. can php (for windows)
connect to MS Access.
 
Mpu Strees





  IncrediMail - Email has finally evolved - Click Here



--
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Session troubles

2002-01-01 Thread Sean LeBlanc

On 12-31 09:23, Jaime Bozza wrote:
 Sean,
   From your php error_log, it's saying the following:
   Failed to write session data (user)
 
   which sounds like it's having problems writing to the user-defined
 session handler.  Are you using a user-defined session handler?  If not,
 make sure your php.ini file has:
 
   session.save_handler = files
 
 And *NOT*:
   session.save_handler = user
 
 That will make a big difference.

Good eye. That was it. I *did* have it as user because I was trying to do
my own user-defined session handler, and then stepped back and was just
trying to get the simpler case to work, w/o changing it back. 

Thanks, it works now!

Now, I just need to see if I can get my session_handler working...

It's too bad the error message isn't more descriptive for this, BTW...


 -Original Message-
 From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] 
 Sent: Saturday, December 29, 2001 1:21 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] Session troubles
 
 
 On 12-29 12:56, David Jackson wrote:
  Sean --
  Don't know if this help but here's what I just worked for me. What 
  ver. of PHP are you using? It seem to me that 3.x.x needs
  PHPLIB: http://sourceforge.net/projects/phplib
  to handle sessions?  -- David Jackson
  
  --- sean.php ---
  ?php include(seaninc.php); ?
  
  --- seaninc.php --
  ?php
  session_start();
  session_register(i);
  $i++;
  echo $i;
  ?
 
 I'm using 4.0.6. I believe session handling was added as part of
 standard 4.x, right (if configured to compile it)? 
 
 Some more info: I tried with Konqueror, as I know a cookie needs to be
 sent during the session_start() phase - I did get a dialog pop-up asking
 if I wanted to accept the cookie, but I still got the error:
 
 Fatal error: Failed to initialize session module in
 /usr/local/apache/htdocs/sesstest.php on line 2
 
 It says line 2 because I deleted some white space and commented out code
 thas was before session_start().
 
 I set logging errors on, and sent it to syslog. Here's what it says: Dec
 29 12:12:57 free httpd: PHP Fatal error:  Failed to initialize session
 module in /usr/local/apache/htdocs/sesstest.php on line 2 Dec 29
 12:12:57 free httpd: PHP Warning:  Failed to write session data (user).
 Please verify that the current setting of session.save_path is correct
 (/tmp) in Unknown on line 0
 
 But /tmp exists, and is world writeable:
 
 free# ls -ld /tmp
 drwxrwxrwt  16 root  wheel  1024 Dec 29 12:14 /tmp
 
   On 12-29 09:59, Miles Thompson wrote:
   Sean,
   
   What's going on in incl.php. Are you issuing a session_start()?
   
   No, I was not.
   
   What if it's rearranged like so, as I understand you have to 
   register the session variable  before using it.
   
   include(incl.php);
   session_start();
   session_register(mine);
   $mine++;
   echo $mine;
   
   No dice, either. Actually, I had tried several permutations of the 
   order  before posting. :)
   
   
   There's the divide and conquer approach too.  What do you see if 
   you comment out the include, then issue a phpinfo() and a die()?
   
   Okay, I tried commenting out include, resulting in this code:
   
   session_start();
   session_register(i);
   $i++;
   echo $i;
   
   When I run the above, I get this:
   Fatal error: Failed to initialize session module in 
   /usr/local/apache/htdocs/sesstest.php on line 6
   
   Which is getting somewhere, in a way. Line 6 is session_start();
   
   What part from phpinfo() output were you interested in? Or did you 
   want to see all of it?
   
   Thanks for the help.
   
   
   HTH and Merry Christmas / Happy New Year - Miles Thompson
   
   On Friday 28 December 2001 11:26 pm, Sean LeBlanc wrote:
I asked this on php-install list, but got no response so here 
goes...
   
I simply cannot get session to work correctly. Here's the test
script:
   
include(incl.php);
session_start();
$mine++;
session_register(mine);
echo $mine;
   
incl.php includes code to save/retrieve session information 
to/from DB.  It calles session_set_save_handler at the end.
   
What happens is I get an error because it is trying to read the 
variable out and I get a DB error, but my session writing routine
 
is never called...I know, because I have a print in there. And of
 
course, the var doesn't increment upon refreshes - it remains 1.
   
I've seen this before, and it was fixed, but I forget how it was 
done, as I didn't actually implement the solution (I hear and I 
forget, I do and I remember, I guess). About my system:
   
FreeBSD 4.4
Apache 1.3.20
PHP 4.0.6
   
Any and all help appreciated.
   
   --
   Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
   ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
   One learns to itch where one can scratch. 
   -Ernest Bramah 
   Management QOTD:Get hopping on the domain expertise!!
   
   
   --
   PHP General Mailing List 

[PHP] Get PHP Configuration

2002-01-01 Thread Larentium

How would you get the current PHP configuration information,
more specifically, the exact command line used at compilation?

I want to add --with-imap, but have no idea how to determine what the current settings 
are.


Larentium



Re: [PHP] Get PHP Configuration

2002-01-01 Thread Adam Baratz

 How would you get the current PHP configuration information,
 more specifically, the exact command line used at compilation?

Check the output of phpinfo().

-Adam


-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Re: Get PHP Configuration

2002-01-01 Thread Daniel Grace

Larentium [EMAIL PROTECTED] wrote in message
001f01c19334$270c8940$[EMAIL PROTECTED]">news:001f01c19334$270c8940$[EMAIL PROTECTED]...
 How would you get the current PHP configuration information,
 more specifically, the exact command line used at compilation?

 I want to add --with-imap, but have no idea how to determine what the
current settings are.


 Larentium

phpinfo() shows you the configure command.

If you have the PHP CGI and are running on *nix or something like such, you
can also.

/path/to/php -i | grep ./configure


-- Daniel Grace
http://hosting.venura.net/ (STILL under construction)




-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] Re: How to convert integers representations of a date to a date format variable

2002-01-01 Thread Daniel Grace


Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in
message 002c01c19197$7beb6c40$0a505ad1@Nando4">news:002c01c19197$7beb6c40$0a505ad1@Nando4...
 Hello All,

 I would like to convert integers like the day, month and year to a date
representation to store it in a session variable.

 There's a form where the user posts day, month and year. So then I run
checkdate($month,$day,$year) and make sure the date is valid.

 So, let's say I have 12 for month, 30 for day and 2001 as year. Do I have
to create a timestamp? How to create a
 TimeStamp?

 I need to store it as 30/12/2001 (but not a string) not only on a session
variable but also to make it easier to work with a MySQL table.

 After that I want to play with it as a string so I will use the date()
function, that's why it is important to save it as a validade date format
value.

 Any sugestions?

 Thank you in advance,

 Carlos Fernando.
 Linux User #207984

see http://php.net/mktime or http://php.net/gmmktime , which will give you a
unix timestamp that date() will accept (as will FROM_UNIXTIME() in MYSQL if
you want to use that for storing it in the database)

mktime(0, 0, 0, $month, $day, $year) should do the trick

-- Daniel Grace




-- 
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, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Brian Clark

* Todd Cary ([EMAIL PROTECTED]) [Jan 01. 2002 15:04]:

[...]

 My question is about where I should put my databases?  I notice that the
 /var is often used, but is /usr.  So, for a guy coming from the NT
 world, what would you suggest?

 1) /var/databases/app1; /var/databases/app2  - or -
 /var/databases/interbases/app1

 2) The same as above, but with /usr

I would go with /var because that's usually where you want to put stuff
that changes often. There are all kinds of arguments for different
locations, however. You may want to google for linux directory
structure or something similar.

FYI, I keep my databases in /var/{type} where {type} is the type of
database server. For example, postgres in /var/pgsql; mysql in
/var/mysql; etc..

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
The beatings will continue until morale improves.


-- 
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, e-mail: [EMAIL PROTECTED]




[PHP] URGENT-PDF

2002-01-01 Thread Chamarty Prasanna Kumar



Hi All,

   Happy New Year.

   Known that we can use in Linux to convert a file

from ps to pdf by using ps2pdf.

   Is there any such built-in modules in PHP or SHELL

commands to convert the following to PDF.

.eps, 

.ppt,

.xls, 

.doc, 

.html

Please do suggest any other way of doing this using 

Linux OS.


Thanks in advance.

Cheers,

Kumar.



 
 


--
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, e-mail: [EMAIL PROTECTED]




RE: [PHP] Hosting provider...

2002-01-01 Thread Boaz Yahav

Check out : 

http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm

This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).

Sincerely

  berber

Visit http://www.weberdev.com Today!!! 
To see where PHP might take you tomorrow.


-Original Message-
From: Matt Moreton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Hosting provider...


Im looking to change my hosting provider.

...something that isnt going to break the bank, is feature full,
supports mysql, php etc etc and doesnt limit your bandwidth usage!  I
need about 100+ mb's of space, and possibly the ability to run a
background process.  

Can anyone here suggest a good provider that meets the above criteria?

Thanks

Matt.

--
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, e-mail: [EMAIL PROTECTED]




[PHP] connect

2002-01-01 Thread gendeng








  halo... i want to know about connect to database. can php (for 
  windows) connect to MS Access ?.Mpu 
  Strees







 
IncrediMail - Email has finally evolved - Click 
Here