[PHP] W3C and Open Source battles

2001-10-02 Thread Wolfgang Ebneter

Hallo all,

might be a bit OT but nevertheless quite important.

See http://lwn.net/daily/#t33
-- 
Wolfgang Ebneter M.Sc. Data Engineering
Medienzentrum Osnabrück
[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] Upload problem

2001-10-02 Thread Gede Gilijk

Dear PHPmania,

I am new to PHP and I start to write some script.

$folder = USER_ENV(ID_user);
// echo $folder;
$destination = /home/gilijk/data/.$folder;
// echo $destination;

if ($filename1!=none) {
copy($filename1,$destination./.$filename1_name);
echo $filename1_name telah berhasil dikirim.;
}


The problem, when I run this script with ID_User ABC, the file uploaded to
/home/gilijk/data/namafile.xtc
not to
/home/gilijk/data/ABC/namafile.xtc 
as I expected.

The script works if I use hardcode :
$destination = /home/gilijk/data/ABC;

When I try to echo $folder and $destination, both works ok.
echo $folder; (output ABC)
echo $destination ; (ouput /home/gilijk/data/ABC )

Thanks for any help !

Gilijk





-- 
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: Array Elements While Loops

2001-10-02 Thread TURPIN Jean Max


Hi.
Don't forget to increment j :


 //loop to check for bad email addresses:
 $j = 0;
 $flag = 0;
 while ($j  count($User)){
 if
 (($User[$j]!=)!eregi(^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*$,
 $User[$j])) 
 { 
   $flag = 1;
   $errorNo = $j + 1;
 }

 $j++;
 }




-- 
TURPIN Jean Max
STUDENT
College of Reunion's Island


-- 
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] named anchors and query strings

2001-10-02 Thread Scott Mebberson

Hi Guys,

How do you reference both a named anchor and a query string in a link? i.e.
a href=page.php?location=01#bottomlink text/a I am not sure if this is
even possible?

thanks

Scott



-- 
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] Dated/Timed actions

2001-10-02 Thread Stephane Besnard

Hi,

Does anybody know how to generate 'dated/timed actions' with PHP?

By this I mean, for instance, automatically sending an email to a group of 
people when a specific date and time is reached: sending a happy birthday 
message to a users.

Thanks,
Stephane.

_
Téléchargez MSN Explorer gratuitement à l'adresse 
http://explorer.msn.fr/intl.asp


-- 
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] Dated/Timed actions

2001-10-02 Thread Lawrence . Sheed

cron job.

Probably something along the lines of small php code interfacing with a db
with dates etc in, and another php script which checks the dates and emails
details on that day.

A Cron job which runs the script daily would probably do the job.

do a search in google for cron job
-Original Message-
From: Stephane Besnard [mailto:[EMAIL PROTECTED]]
Sent: October 2, 2001 4:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Dated/Timed actions


Hi,

Does anybody know how to generate 'dated/timed actions' with PHP?

By this I mean, for instance, automatically sending an email to a group of 
people when a specific date and time is reached: sending a happy birthday 
message to a users.

Thanks,
Stephane.

_
Téléchargez MSN Explorer gratuitement à l'adresse 
http://explorer.msn.fr/intl.asp


-- 
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] looking for pluggable bb/forum

2001-10-02 Thread Ben Peter

Hi all,

does anyone know of good php forum software that does not take the approach
that customizable headers/footers are used (like with phorum), but one that
is plugged in the middle of a page, say by calling a function that displays
the forum in it's current status, or by including a file?

I cannot use something like phorum, as the setup of my site is too complex
(relies heavily on auto preprend and append) and a lot of navigation and
boxes and ... are to be placed around the actual forum functionality.

Any help is appreciated.
Thanks,

Ben


-- 
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: Dated/Timed actions

2001-10-02 Thread Lukas

Stephane,

One possibilety is to have a script which does the sending - checking
against a db to see what to send out, having it called periodically from a
cron job.

I have built a (very) simple little daemon for doing jobs like this, it
works similarly to cron except it is easier to programmaticly add and remove
jobs. It also works on a linear time idea, rather than periodic like cron,
so you can ask it to schedule a job a specific time offset from now, or at
an absolute time (like cron). This is part of a package i've been working on
for a while for defining  managing processes like you describe below.

Lukas

Stephane Besnard [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi,

 Does anybody know how to generate 'dated/timed actions' with PHP?

 By this I mean, for instance, automatically sending an email to a group of
 people when a specific date and time is reached: sending a happy birthday
 message to a users.

 Thanks,
 Stephane.

 _
 Téléchargez MSN Explorer gratuitement à l'adresse
 http://explorer.msn.fr/intl.asp




-- 
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: Dated/Timed actions

2001-10-02 Thread Henrik Hansen

[EMAIL PROTECTED] (Stephane Besnard) wrote:

  Hi,
  
  Does anybody know how to generate 'dated/timed actions' with PHP?
  
  By this I mean, for instance, automatically sending an email to a
  group of people when a specific date and time is reached: sending a
  happy birthday message to a users.

use a cronjob

http://alt-php-faq.org/#id81

-- 
Henrik Hansen

-- 
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: Dated/Timed actions

2001-10-02 Thread paharito

But what if your server can't give you cron perms?

It would be useful if I could send an e·mail every monday... but can I do
this without the cron?

Thanks... and Hi!! to the group. I'm the New from Spain... ;)

- Original Message -
From: Henrik Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 12:27 PM
Subject: [PHP] Re: Dated/Timed actions


 [EMAIL PROTECTED] (Stephane Besnard) wrote:

   Hi,
  
   Does anybody know how to generate 'dated/timed actions' with PHP?
  
   By this I mean, for instance, automatically sending an email to a
   group of people when a specific date and time is reached: sending a
   happy birthday message to a users.

 use a cronjob

 http://alt-php-faq.org/#id81

 --
 Henrik Hansen

 --
 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: Dated/Timed actions

2001-10-02 Thread Duncan Hill

On Tue, 2 Oct 2001, paharito wrote:

 But what if your server can't give you cron perms?

 It would be useful if I could send an e·mail every monday... but can
 I do this without the cron?

Try  at   instead.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.


-- 
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] WebMail Client

2001-10-02 Thread Rosen

Hi,
Can someone recommend me some free php script for WebMail client
(like Squerriemail) ?

Thanks,
Rosen



-- 
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: Dated/Timed actions

2001-10-02 Thread Henrik Hansen

[EMAIL PROTECTED] (Duncan Hill) wrote:

  On Tue, 2 Oct 2001, paharito wrote:
  
 But what if your server can't give you cron perms?

 It would be useful if I could send an e·mail every monday... but can
 I do this without the cron?
  
  Try  at   instead.

if you dont have cron access I dont think you have at perms either.

maybe set a job up on your local computer?

-- 
Henrik Hansen

-- 
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: Dated/Timed actions

2001-10-02 Thread paharito

Well, it maybe posibble... but how can be it done by a php script?

I mean:

- The job is to send a mail to the mail-list of my web every monday, but I
cannot use the crontab

I think I can do this script:

- At every visit at my index page, I check the system date, and if it is
equal to 0:00am of monday, send the mail, and maybe, set a variable = 1 (1
means Send, for example), so the next visit won't active the script that
sends the email...

But if there are 2 simultaneos visits at 0:00am or mayor, the php will
execute 2 times the script...

so... is there a good script as efective as a cron job?

Thanks :)

PD: yes, my english sux XD

- Original Message -
From: Henrik Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 2:27 PM
Subject: Re: [PHP] Re: Dated/Timed actions


 [EMAIL PROTECTED] (Duncan Hill) wrote:

   On Tue, 2 Oct 2001, paharito wrote:
  
  But what if your server can't give you cron perms?
 
  It would be useful if I could send an e·mail every monday... but can
  I do this without the cron?
  
   Try  at   instead.

 if you dont have cron access I dont think you have at perms either.

 maybe set a job up on your local computer?

 --
 Henrik Hansen

 --
 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] image upload

2001-10-02 Thread AJDIN BRANDIC

Hi

I have a problem uploading images on my server. I  have foung#d similar 
question in the archive u no answer to it.

If a file is uploaded to the server through a form it stores it in the 
right place with the right name but the file size is incorrect and it is 
not visible (though a browser).  When copying, GetImageSize doesn't display 
anything. If I 
submit without attaching a file to the form it doesn't display 'none' 
(field value) but nothing ''.

Any idea what is the problem here.  Apache/Linux setup or PHP setup?
I guess it is not uploading as binary???

Regards

Ajdin

-- 
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] do you like asian pussy?

2001-10-02 Thread

Below is the result of your feedback form.  It was submitted by
 ([EMAIL PROTECTED]) on Tuesday, October 2, 2001 at 09:00:06
---

: bplease visit these following sites if you want access to THOUSANDS OF RARE PHOTOS 
:and LIVE FEEDS most of these PHOTOS/MOVIES ARE BANNED IN ASIA! GET EM WHILE THEY'RE 
:HOT!
brbr
(best viewed with IE. thanks)br
a href=http://www.japanbitch.com/join/?c=chicken;WWW.JAPANBITCH.COM/a
BRBR
a href=http://www.asianhearts.com/join/?c=chicken;WWW.ASIANHEARTS.COM/A
BRBR
a href=http://www.japanwhore.com/join/?c=chicken;WWW.JAPANWHORE.COM/A
BRBR
a href=http://www.wildcities.com/members/asian/xian/main.html;FREE ASIAN 
GALLERY/abrbr/b

---


-- 
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: named anchors and query strings

2001-10-02 Thread bill

a href=page.php#bottom?location=01link text/a

Scott Mebberson wrote:

 Hi Guys,

 How do you reference both a named anchor and a query string in a link? i.e.
 a href=page.php?location=01#bottomlink text/a I am not sure if this is
 even possible?

 thanks

 Scott


-- 
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] Detecting user logout.

2001-10-02 Thread Alexander Deruwe

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey all,

I keep track of my users using PHP4 sessions, with verification against a 
PostgreSQL database.

How can I detect when a user logs out / is logged out? I provide a hyperlink 
'Logout' which users are supposed to click, so I can obviously check there. 
My main concern however is that people won't really use that link, but just 
close their browser.. Which means my table with logged in users will never 
get properly updated. Any ideas are appreciated.

Alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7ueiKySJLuRUx8aQRAmLtAJ44EBWco333d62y513SEL9pNZr2qACbBNsY
4oKO7dlN2E957UeT3tuWG+A=
=Aaku
-END PGP SIGNATURE-

-- 
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: Dated/Timed actions

2001-10-02 Thread Henrik Hansen

[EMAIL PROTECTED] (Paharito) wrote:

  Well, it maybe posibble... but how can be it done by a php script?
  
  I mean:
  
  - The job is to send a mail to the mail-list of my web every monday, but I
  cannot use the crontab
  
  I think I can do this script:
  
  - At every visit at my index page, I check the system date, and if it is
  equal to 0:00am of monday, send the mail, and maybe, set a variable = 1 (1
  means Send, for example), so the next visit won't active the script that
  sends the email...
  
  But if there are 2 simultaneos visits at 0:00am or mayor, the php will
  execute 2 times the script...
  
  so... is there a good script as efective as a cron job?
  

cron is the superior when you need to do things like that. It's not
effective to have a script running all the time checking for jobs.

-- 
Henrik Hansen

-- 
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: Detecting user logout.

2001-10-02 Thread Henrik Hansen

[EMAIL PROTECTED] (Alexander Deruwe) wrote:

  Hey all,
  
  I keep track of my users using PHP4 sessions, with verification against a 
  PostgreSQL database.
  
  How can I detect when a user logs out / is logged out? I provide a hyperlink 
  'Logout' which users are supposed to click, so I can obviously check there. 
  My main concern however is that people won't really use that link, but just 
  close their browser.. Which means my table with logged in users will never 
  get properly updated. Any ideas are appreciated.

when the user surfs your pages you update their logged in timestamp
then it's always updated with the last time they were asctive on your
page, then you setup a cronjob or something else to check weather or
not the users has been active in a given interval like 1 hour. This
method will still have somekind of uncertainty. I still think there
are many other ways (better?) to do it.

-- 
Henrik Hansen

-- 
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] eregi

2001-10-02 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Mike Cullerton) wrote:

 eregi(^[a-z0-9_\-]+$,$string)
 
 notice that i had to escape the dash with a backslash

Are you sure?  'Cuz AFAIK, escaping shouldn't be necessary on a hyphen 
which is the last char (or, IIRC, the first) of a character class.

-- 
CC

-- 
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] PHP - Nuke 5.2

2001-10-02 Thread Kurt Lieber

Actaully, I recommend you take a look at PostNuke.  It's a fork of
PHP-Nuke 5.0 that's designed to be more open, better architected, less
buggy and just an all-around more mature, stable product.

http://www.postnuke.com

and the vision:

http://www.postnuke.com/modules.php?op=modloadname=Sectionsfile=index;
req=viewarticleartid=2

It has a fairly clear roadmap, a strong core team of developers (rather
than just one developer) and it doesn't seem to have all the political
baggage that PHP-Nuke did/does.

Anyway, I've used both and have been much happier with PostNuke, for a
variety of reasons.

--kurt

 -Original Message-
 From: Doug Daulton [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 02, 2001 6:25 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] PHP - Nuke 5.2
 
 
 Hello,
 
 Any Nuke folks out there?  If so, could you point me to some 
 good dev resources for Nuke?
 
 Thanks,
 
 Doug Daulton
 
 
 
 -- 
 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] how to decrease serverload easily?

2001-10-02 Thread Martin Lindhe

We're developing a web platform based on PHP, running under Apache. We have
realized that we need a way of split up the serverload to multiple
machines if it gets too high. We've come up with PHP solutions to the
problem but are looking for better ones, especially in Apache configuration.
Is there any easy way of doing this? Anyone have previous experience?

Software versions and OS'es is of no concern, we'll use what's required.

/Martin

-- 
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] WebMail Client

2001-10-02 Thread Michael A. Peters

Basilix.
I'm using it right now- configured to use Apple's imap server (iTools)

Anyway, Basilix is incredibly good, allows for https if user wishes, easy to configure.

Requires imap functionallity in your php, and only works with imap servers.

The imap server it connects to need not be on the web machine, nor does the sendmail 
server.
It does use MySQL, but he's working on a Postgresql option too. (MySQL server need not 
be on your machine- but it does need to be one you can creat a database and grant 
access privs on ;)

http://www.basilix.org

On 02 Oct 2001 05:38 PDT you wrote:

 Hi,
 Can someone recommend me some free php script for WebMail client
 (like Squerriemail) ?
 
 Thanks,
 Rosen
 

-- 
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] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

 We're developing a web platform based on PHP, running under Apache. We have
 realized that we need a way of split up the serverload to multiple
 machines if it gets too high. We've come up with PHP solutions to the
 problem but are looking for better ones, especially in Apache configuration.
 Is there any easy way of doing this? Anyone have previous experience?

 Software versions and OS'es is of no concern, we'll use what's required.

Have a look at http://conf.php.net/sdphp and have a look at slides 46
through 48.

Basically, I would suggest a Squid reverse proxy as a front-end to your
system.  Have it use a redirector like SquidGuard to distribute requests
across multiple backend web servers, and if you need to distribute your
database load as well, set up a single master mysql server which
replicates to read-only servers on each of the load balanced Apache
servers.  And if you are getting really crazy traffic, you could round
robin across multiple frontend squid servers.  But I would be very
surprised if you are doing anything that is getting that much traffic.

How many hits per second are you expecting?

-Rasmus


-- 
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] how to decrease serverload easily?

2001-10-02 Thread paharito

Can you think a site with 250.000 visitis (uniques ip) each day?

We have very troubles with the mysql server... The, because there is only 1
mysql server... I'm interesting in the solution you pourpose... Where can I
get more information about that?

thanks

- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Martin Lindhe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 5:32 PM
Subject: Re: [PHP] how to decrease serverload easily?


  We're developing a web platform based on PHP, running under Apache. We
have
  realized that we need a way of split up the serverload to multiple
  machines if it gets too high. We've come up with PHP solutions to the
  problem but are looking for better ones, especially in Apache
configuration.
  Is there any easy way of doing this? Anyone have previous experience?
 
  Software versions and OS'es is of no concern, we'll use what's required.

 Have a look at http://conf.php.net/sdphp and have a look at slides 46
 through 48.

 Basically, I would suggest a Squid reverse proxy as a front-end to your
 system.  Have it use a redirector like SquidGuard to distribute requests
 across multiple backend web servers, and if you need to distribute your
 database load as well, set up a single master mysql server which
 replicates to read-only servers on each of the load balanced Apache
 servers.  And if you are getting really crazy traffic, you could round
 robin across multiple frontend squid servers.  But I would be very
 surprised if you are doing anything that is getting that much traffic.

 How many hits per second are you expecting?

 -Rasmus


 --
 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] newbie - some simple questions

2001-10-02 Thread John A. Grant

I'm just getting started with php 4.03. Yes I've read the FAQ
and lots of documentation.

I have setup my pages so they all look more or less like this:

?php require(mylib.php); ?
html
head
 ?php myheader(this is the title); ?
 meta name=keywords content=apples, oranges
...
/head
?php mybody(this is the title); ?
phere is the body of the page/p
?php myfooter(); ?
/html

Just for the record, there is a lot of php code in mybody() to emit
HTML code for top  side nav bars etc.

My questions are:
1. every page on the site has:
require(mylib.php);
at the top of the page to provide access to the functions contained
therein. Is require() correct or should I use include()?

2. should mylib.php be called mylib.inc instead? It works fine
as mylib.php. If I use include() instead  of require() would the
filename extension be different, i.e. mylib.inc?

3. I pass the same title to myheader() and to mybody() as shown
above. In the first case, it is emitted as title.../title and in the
2nd case is it emitted as h1.../h1. Is there a way to set this
up so I only need to have one instance of the title passed to
a function?

4. I have some of the HTML xxx tags in the code (i.e.
title, body and some in the actual xxx.php page, i.e.
html, head (as above). I suppose myheader() could
have emitted htmlhead and myfooter() could have
emitted /html. I'm trying to develop some sense of style
for this, but I'm working in a vacuum. Are there any opinions
or guidelines on how to write php code in terms of which tags
are visible in the page and which tags are emitted by functions
in other modules?

5. I see there is a php.template newsgroup, but I couldn't really
follow the conversations. Is that group for discussing ways to
implement a design template in php so that all pages have the
same appearance? I guess that's what I'm doing with my
mylib.php module - the functions dump out the same nav bars
to every page.

Thanks.

--
John A. Grant  * I speak only for myself *  (remove 'z' to reply)
Radiation Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it 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]




[PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Devon Weller


Has anyone successfully gotten socket functions to work with FreeBSD? 
More specifically, Mac OS X?

I always get the following error: Can't bind to port 12345, exiting.

The script works fine on Linux machines.  Is there a patch in the works
for FreeBSD?  If so, I would be very happy.

--
Devon Weller
[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] newbie - some simple questions

2001-10-02 Thread Rasmus Lerdorf

 ?php require(mylib.php); ?
 html
 head
  ?php myheader(this is the title); ?
  meta name=keywords content=apples, oranges
 ...
 /head
 ?php mybody(this is the title); ?
 phere is the body of the page/p
 ?php myfooter(); ?
 /html

 My questions are:
 1. every page on the site has:
 require(mylib.php);
 at the top of the page to provide access to the functions contained
 therein. Is require() correct or should I use include()?

require is correct.  include should be used if the file is being included
conditionally.  Since this is not a conditional include, require is the
right approach.

 2. should mylib.php be called mylib.inc instead? It works fine
 as mylib.php. If I use include() instead  of require() would the
 filename extension be different, i.e. mylib.inc?

The extension name is arbitrary.  I prefer to use .inc and then have an
Apache httpd.conf rule to block direct access to .inc files just to
prevent people from accessing my include files directly.  In your case
someone could load up blah.com/mylib.php directly and your code may not be
wirtten to be executed out of context like that.

 3. I pass the same title to myheader() and to mybody() as shown
 above. In the first case, it is emitted as title.../title and in the
 2nd case is it emitted as h1.../h1. Is there a way to set this
 up so I only need to have one instance of the title passed to
 a function?

In your myheader() function you could have:

  function myheader($str) {
global $title = $str;
...
  }

then in mybody():

  function mybody() {
global $title;

echo h1$title/h1\n;
...
  }

 4. I have some of the HTML xxx tags in the code (i.e.
 title, body and some in the actual xxx.php page, i.e.
 html, head (as above). I suppose myheader() could
 have emitted htmlhead and myfooter() could have
 emitted /html. I'm trying to develop some sense of style
 for this, but I'm working in a vacuum. Are there any opinions
 or guidelines on how to write php code in terms of which tags
 are visible in the page and which tags are emitted by functions
 in other modules?

I tend to put anything that controls the overall style of my pages in a
separate include file so when I need to change the style I just have to
change it in one place.  And yes, for me that includes the html and
/html tags.

 5. I see there is a php.template newsgroup, but I couldn't really
 follow the conversations. Is that group for discussing ways to
 implement a design template in php so that all pages have the
 same appearance? I guess that's what I'm doing with my
 mylib.php module - the functions dump out the same nav bars
 to every page.

Sounds like you are on the right track.  And no, the php.template group is
not about that.

-Rasmus


-- 
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] what directory should put the php.ini?

2001-10-02 Thread Caleb Carvalho

Hi all,

I have just rename the php.ini-dist to php.ini from the
installation directoy but am not sure where to place it in order for php to 
rea,, any help??
thanks



Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
-
Mercury Interactive
410 Frimley Business Park
Frimley, Surrey.  GU16 7ST
United Kingdom
Telephone :  +44 (0)1276 808300


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] what directory should put the php.ini?

2001-10-02 Thread Martin Lindhe

 Hi all,
 
 I have just rename the php.ini-dist to php.ini from the
 installation directoy but am not sure where to place it in 
 order for php to 
 rea,, any help??
 thanks

What OS are you running PHP on?

/Martin

-- 
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] what directory should put the php.ini?

2001-10-02 Thread Rasmus Lerdorf

phpinfo() tells you

On Tue, 2 Oct 2001, Caleb Carvalho wrote:

 Hi all,

 I have just rename the php.ini-dist to php.ini from the
 installation directoy but am not sure where to place it in order for php to
 rea,, any help??
 thanks



 Caleb Carvalho
 Application Engineer
 LoadRunner/APM
 
-
 Enterprise Testing and Performance Management Solutions
 
-
 Mercury Interactive
 410 Frimley Business Park
 Frimley, Surrey.  GU16 7ST
 United Kingdom
 Telephone :  +44 (0)1276 808300


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





-- 
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] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado

Hello, this is the fourth time i wrote expecting some answer from
somebody with more experience than me.

I have a protected page , i ask for user and pass and save these
variables as session variables, with session_register.

When the user submit this page.. this variables are registered, in the
next page, i do some queries using a substr of REQUEST_URI and
displaying 2 selects results and 1 update.

When i remove the access-control page all works fine, but when i set the
session vars, the first time i see the results, i need to refresh/reload
the web page to show the correct results of the queries, otherwise the
page source shows data missing... post operation... refresh...

Please, how can i avoid the manual refresh ?

Karina Gomez


-- 
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] how to decrease serverload easily?

2001-10-02 Thread ReDucTor

http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=php

That doesn't work, Its in the imlib2 section :D and i wanted to see a pic
with php logo on it :D
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Martin Lindhe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 1:32 AM
Subject: Re: [PHP] how to decrease serverload easily?


  We're developing a web platform based on PHP, running under Apache. We
have
  realized that we need a way of split up the serverload to multiple
  machines if it gets too high. We've come up with PHP solutions to the
  problem but are looking for better ones, especially in Apache
configuration.
  Is there any easy way of doing this? Anyone have previous experience?
 
  Software versions and OS'es is of no concern, we'll use what's required.

 Have a look at http://conf.php.net/sdphp and have a look at slides 46
 through 48.

 Basically, I would suggest a Squid reverse proxy as a front-end to your
 system.  Have it use a redirector like SquidGuard to distribute requests
 across multiple backend web servers, and if you need to distribute your
 database load as well, set up a single master mysql server which
 replicates to read-only servers on each of the load balanced Apache
 servers.  And if you are getting really crazy traffic, you could round
 robin across multiple frontend squid servers.  But I would be very
 surprised if you are doing anything that is getting that much traffic.

 How many hits per second are you expecting?

 -Rasmus


 --
 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] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf

And I have read your question 4 times.  I still don't understand it.  I
don't see how you can get a post data missing on a form post.

-Rasmus

On Tue, 2 Oct 2001, Karina [iso-8859-1] Gómez Salgado wrote:

 Hello, this is the fourth time i wrote expecting some answer from
 somebody with more experience than me.

 I have a protected page , i ask for user and pass and save these
 variables as session variables, with session_register.

 When the user submit this page.. this variables are registered, in the
 next page, i do some queries using a substr of REQUEST_URI and
 displaying 2 selects results and 1 update.

 When i remove the access-control page all works fine, but when i set the
 session vars, the first time i see the results, i need to refresh/reload
 the web page to show the correct results of the queries, otherwise the
 page source shows data missing... post operation... refresh...

 Please, how can i avoid the manual refresh ?

 Karina Gomez





-- 
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] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

Yes, some of the slides don't work on conf.php.net.  One of these days I
will get around to fixing that.  Everything works fine on my laptop, so
come to one of my talks.  ;)

-Rasmus

On Wed, 3 Oct 2001, ReDucTor wrote:

 http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=php

 That doesn't work, Its in the imlib2 section :D and i wanted to see a pic
 with php logo on it :D
 - Original Message -
 From: Rasmus Lerdorf [EMAIL PROTECTED]
 To: Martin Lindhe [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, October 03, 2001 1:32 AM
 Subject: Re: [PHP] how to decrease serverload easily?


   We're developing a web platform based on PHP, running under Apache. We
 have
   realized that we need a way of split up the serverload to multiple
   machines if it gets too high. We've come up with PHP solutions to the
   problem but are looking for better ones, especially in Apache
 configuration.
   Is there any easy way of doing this? Anyone have previous experience?
  
   Software versions and OS'es is of no concern, we'll use what's required.
 
  Have a look at http://conf.php.net/sdphp and have a look at slides 46
  through 48.
 
  Basically, I would suggest a Squid reverse proxy as a front-end to your
  system.  Have it use a redirector like SquidGuard to distribute requests
  across multiple backend web servers, and if you need to distribute your
  database load as well, set up a single master mysql server which
  replicates to read-only servers on each of the load balanced Apache
  servers.  And if you are getting really crazy traffic, you could round
  robin across multiple frontend squid servers.  But I would be very
  surprised if you are doing anything that is getting that much traffic.
 
  How many hits per second are you expecting?
 
  -Rasmus
 
 
  --
  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] newbie - some simple questions

2001-10-02 Thread NoWayMan

SNIP

 I tend to put anything that controls the overall style of my pages in a
 separate include file so when I need to change the style I just have to
 change it in one place.  And yes, for me that includes the html and
 /html tags.

  5. I see there is a php.template newsgroup, but I couldn't really
  follow the conversations. Is that group for discussing ways to
  implement a design template in php so that all pages have the
  same appearance? I guess that's what I'm doing with my
  mylib.php module - the functions dump out the same nav bars
  to every page.

On another note, is there something in PHP similar to the FuseBox
paradigm of ColdFusion?





-- 
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] how to decrease serverload easily?

2001-10-02 Thread ReDucTor

Would be nice and fun to goto one of them, but I live in Australia and I
doubt, thats where you go  :D hehe

- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 2:09 AM
Subject: Re: [PHP] how to decrease serverload easily?


 Yes, some of the slides don't work on conf.php.net.  One of these days I
 will get around to fixing that.  Everything works fine on my laptop, so
 come to one of my talks.  ;)

 -Rasmus

 On Wed, 3 Oct 2001, ReDucTor wrote:

  http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=php
 
  That doesn't work, Its in the imlib2 section :D and i wanted to see a
pic
  with php logo on it :D
  - Original Message -
  From: Rasmus Lerdorf [EMAIL PROTECTED]
  To: Martin Lindhe [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Wednesday, October 03, 2001 1:32 AM
  Subject: Re: [PHP] how to decrease serverload easily?
 
 
We're developing a web platform based on PHP, running under Apache.
We
  have
realized that we need a way of split up the serverload to multiple
machines if it gets too high. We've come up with PHP solutions to
the
problem but are looking for better ones, especially in Apache
  configuration.
Is there any easy way of doing this? Anyone have previous
experience?
   
Software versions and OS'es is of no concern, we'll use what's
required.
  
   Have a look at http://conf.php.net/sdphp and have a look at slides 46
   through 48.
  
   Basically, I would suggest a Squid reverse proxy as a front-end to
your
   system.  Have it use a redirector like SquidGuard to distribute
requests
   across multiple backend web servers, and if you need to distribute
your
   database load as well, set up a single master mysql server which
   replicates to read-only servers on each of the load balanced Apache
   servers.  And if you are getting really crazy traffic, you could round
   robin across multiple frontend squid servers.  But I would be very
   surprised if you are doing anything that is getting that much traffic.
  
   How many hits per second are you expecting?
  
   -Rasmus
  
  
   --
   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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

 Would be nice and fun to goto one of them, but I live in Australia and I
 doubt, thats where you go  :D hehe

I have given talks in Australia.  Both in Sydney and Canberra.  And I will
be at linux.conf.au in Brisbane in February.

-Rasmus


-- 
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] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)


What about in Europe and Japan. I live between Italy and Tokyo. I only
met Zeev Suraski and Doron (the CEO of Zend) representing my company on
a meeting in Tokyo this June. What about you? Are there any speeches you
do in my locations?


Maxim Maletsky
www.PHPBeginner.com




-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
Sent: martedi 2 ottobre 2001 18.21
To: ReDucTor
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] how to decrease serverload easily?


 Would be nice and fun to goto one of them, but I live in Australia and

 I doubt, thats where you go  :D hehe

I have given talks in Australia.  Both in Sydney and Canberra.  And I
will be at linux.conf.au in Brisbane in February.

-Rasmus


-- 
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] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

Nothing planned for Italy or Japan right now.  Frankfurt, Paris,
Birmingham, Bucaramanga (Columbia) and Brisbane are on the schedule for
the next 6 months.

-Rasmus

On Tue, 2 Oct 2001, Maxim Maletsky (PHPBeginner.com) wrote:


 What about in Europe and Japan. I live between Italy and Tokyo. I only
 met Zeev Suraski and Doron (the CEO of Zend) representing my company on
 a meeting in Tokyo this June. What about you? Are there any speeches you
 do in my locations?


 Maxim Maletsky
 www.PHPBeginner.com




 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?


  Would be nice and fun to goto one of them, but I live in Australia and

  I doubt, thats where you go  :D hehe

 I have given talks in Australia.  Both in Sydney and Canberra.  And I
 will be at linux.conf.au in Brisbane in February.

 -Rasmus





-- 
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] how to decrease serverload easily?

2001-10-02 Thread paharito

hehehe... are you going to travel to Spain?

You can title like: the Rasmus World Tour ;)

- Original Message - 
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: RE: [PHP] how to decrease serverload easily?


 
 What about in Europe and Japan. I live between Italy and Tokyo. I only
 met Zeev Suraski and Doron (the CEO of Zend) representing my company on
 a meeting in Tokyo this June. What about you? Are there any speeches you
 do in my locations?
 
 
 Maxim Maletsky
 www.PHPBeginner.com
 
 
 
 
 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?
 
 
  Would be nice and fun to goto one of them, but I live in Australia and
 
  I doubt, thats where you go  :D hehe
 
 I have given talks in Australia.  Both in Sydney and Canberra.  And I
 will be at linux.conf.au in Brisbane in February.
 
 -Rasmus
 
 
 -- 
 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]




Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina

Well, I don't understand it too, i don't know why with normal variables
there are not problem and with session variables i need to refresh the
page to see the results after the submit form. 

The mechanism is this:

query 1 with parameter   ACCESS FORM ---   results
only
   session_register(uid) shown with refresh
   session_register(pwd)  (get parameter from
REQUEST_URI)
 


if i do this:


query 1     (NOT ACCESS)   ---   results with no problem


I hope than somebody can give me some ideas... because this is driving
me crazy..


THks,
Karina

-- 
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] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf

You are going to have to explain your problem in more detail.  Write a
simple little 5-line example program that illustrates the problem and
post it here.  As it is right now, I don't think anybody understands what
the heck you are talking about.

-Rasmus

On Tue, 2 Oct 2001, Karina wrote:

 Well, I don't understand it too, i don't know why with normal variables
 there are not problem and with session variables i need to refresh the
 page to see the results after the submit form.

 The mechanism is this:

 query 1 with parameter   ACCESS FORM ---   results
 only
session_register(uid) shown with refresh
session_register(pwd)  (get parameter from
 REQUEST_URI)



 if i do this:


 query 1     (NOT ACCESS)   ---   results with no problem


 I hope than somebody can give me some ideas... because this is driving
 me crazy..


 THks,
 Karina



-- 
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] newbie - some simple questions

2001-10-02 Thread Brian Clark

Hi NoWayMan,

@ 12:19:01 PM on 10/2/2001, NoWayMan wrote:

 On another note, is there something in PHP similar to the FuseBox
 paradigm of ColdFusion?

phpadvertisements.com, *cough*, I mean, phpbuilder.com had an article
about this quiet a while ago. Check it out here:

http://www.phpbuilder.org/columns/bill19990831.php3

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.


-- 
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] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)

Yey! Let's do a little party on Ibiza!

:-)

Though, Spain is OK too :-)



Maxim Maletsky
www.PHPBeginner.com



-Original Message-
From: paharito [mailto:[EMAIL PROTECTED]] 
Sent: martedì 2 ottobre 2001 18.39
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how to decrease serverload easily?


hehehe... are you going to travel to Spain?

You can title like: the Rasmus World Tour ;)

- Original Message - 
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: RE: [PHP] how to decrease serverload easily?


 
 What about in Europe and Japan. I live between Italy and Tokyo. I only

 met Zeev Suraski and Doron (the CEO of Zend) representing my company 
 on a meeting in Tokyo this June. What about you? Are there any 
 speeches you do in my locations?
 
 
 Maxim Maletsky
 www.PHPBeginner.com
 
 
 
 
 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?
 
 
  Would be nice and fun to goto one of them, but I live in Australia 
  and
 
  I doubt, thats where you go  :D hehe
 
 I have given talks in Australia.  Both in Sydney and Canberra.  And I 
 will be at linux.conf.au in Brisbane in February.
 
 -Rasmus
 
 
 --
 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 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] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)


What's in Paris?
I know that PHP international Conference will take place in Frankfurt, I
saw your name there as well. But what is it going to be in Paris? Where
could I get some info about it?


Maxim Maletsky
www.PHPBeginner.com



-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
Sent: martedi 2 ottobre 2001 18.32
To: Maxim Maletsky (PHPBeginner.com)
Cc: 'ReDucTor'; [EMAIL PROTECTED]
Subject: RE: [PHP] how to decrease serverload easily?


Nothing planned for Italy or Japan right now.  Frankfurt, Paris,
Birmingham, Bucaramanga (Columbia) and Brisbane are on the schedule for
the next 6 months.

-Rasmus

On Tue, 2 Oct 2001, Maxim Maletsky (PHPBeginner.com) wrote:


 What about in Europe and Japan. I live between Italy and Tokyo. I only

 met Zeev Suraski and Doron (the CEO of Zend) representing my company 
 on a meeting in Tokyo this June. What about you? Are there any 
 speeches you do in my locations?


 Maxim Maletsky
 www.PHPBeginner.com




 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?


  Would be nice and fun to goto one of them, but I live in Australia 
  and

  I doubt, thats where you go  :D hehe

 I have given talks in Australia.  Both in Sydney and Canberra.  And I 
 will be at linux.conf.au in Brisbane in February.

 -Rasmus





-- 
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] Sessions Variables and refresh pages

2001-10-02 Thread Karina

Ok.

First i have a result-select-page displaying 
the id's of my items and other values.

id1(link)
--
item 1
bla bla bla


id2(link)
--
item 2
bla bla bla


when the user selects an id link appears the accesscontrol page:


?php

session_start();

if (!isset($uid2)) {

?

...

form method=get action=?=$REQUEST_URI?

tdinput type=text name=uid2 maxlength=10/td
input type=password name=pwd2 maxlength=10/td
input type=submit name=submit value=Log In/td
..


session_register(uid2);
session_register(pwd2);


this script checks the user/password against a database
if data is right... it shows the detail for the item the user selected

in detail.php

session_start();
$user = $HTTP_SESSION_VARS['uid2'];
$cod = strstr($REQUEST_URI,=);
$cod = substr($cod,1);

and i do a select from another table...


i need to reload this page in order to show the results, otherwise, the 
page is in blank. If i check the page source in my browser options, the
source
says: data missing... you need to reload.. bla bla bla


I hope this explanation helps.

Karina

-- 
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] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf

I have no idea what is wrong.  Like I suggested before, if you reduce this
problem down to a simple reproducable simple script someone can probably
pick out what you did wrong.

-Rasmus

On Tue, 2 Oct 2001, Karina wrote:

 Ok.

 First i have a result-select-page displaying
 the id's of my items and other values.

 id1(link)
 --
 item 1
 bla bla bla


 id2(link)
 --
 item 2
 bla bla bla


 when the user selects an id link appears the accesscontrol page:


 ?php

 session_start();

 if (!isset($uid2)) {

 ?

 ...

 form method=get action=?=$REQUEST_URI?

 tdinput type=text name=uid2 maxlength=10/td
 input type=password name=pwd2 maxlength=10/td
 input type=submit name=submit value=Log In/td
 ..


 session_register(uid2);
 session_register(pwd2);


 this script checks the user/password against a database
 if data is right... it shows the detail for the item the user selected

 in detail.php

 session_start();
 $user = $HTTP_SESSION_VARS['uid2'];
 $cod = strstr($REQUEST_URI,=);
 $cod = substr($cod,1);

 and i do a select from another table...


 i need to reload this page in order to show the results, otherwise, the
 page is in blank. If i check the page source in my browser options, the
 source
 says: data missing... you need to reload.. bla bla bla


 I hope this explanation helps.

 Karina



-- 
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: MySQL Ability

2001-10-02 Thread John Lim

Depends on what you want to do.

For pumping out large amounts of data, it's a great tool. For forums and
simple content management, it works fine for most web sites. For handling
complex database transactions, not really.

Devin Pittman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I would like to begin coding a online website creation tool for clients of
 my small web design firm, and I'd like to use MySQL for the backend. I
only
 have one question - is MySQL fast enough and robust enough to handle large
 amounts of data?  For example entire pages of text, etc.

 Thanks for any help,
 Devin





-- 
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] Rebuild PHP

2001-10-02 Thread Eric G.

If I rebuild PHP, do I need to rebuild my apache???

_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp


-- 
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] Rebuild PHP

2001-10-02 Thread Joseph Bannon

Yes. I've had to do this a few times to upgrade to 4.0.6. It is a pain, but
the only way I know of.

Joseph

iWebsiteSoftware.com


-Original Message-

If I rebuild PHP, do I need to rebuild my apache???







-- 
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] Rebuild PHP

2001-10-02 Thread Duncan Hill

On Tue, 2 Oct 2001, Eric G. wrote:

 If I rebuild PHP, do I need to rebuild my apache???

I_think_ that this is dependent on whether you use the DSO feature of
Apache.  IIRC, I've been able to do an upgrade on PHP and just reloaded
apache to take advantage of the new library module.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.


-- 
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] Rebuild PHP

2001-10-02 Thread Matt Williams

Once upon a time, Duncan Hill wrote:


I_think_ that this is dependent on whether you use the DSO feature
of
Apache.  IIRC, I've been able to do an upgrade on PHP and just
reloaded
apache to take advantage of the new library module.

Correct the manual explains have to compile with DSO.
It makes life so much easier
--
Matt Williams
[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] How can I suppress my variables from showing up in the address bar?

2001-10-02 Thread Salty Marine


Greetings to All of You on the List:

How can I suppress my variables from showing up in the address bar?  I have
a form that's passing information to a script of mine, via the address bar.

http://foobar.com/EmailList.php3?Newsletter_ID=4732Subscription_Action=Remo
ve[EMAIL PROTECTED]

How can I suppress my variables from showing up in the address bar?

Regards,
Salty


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
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] How can I suppress my variables from showing up in the address bar?

2001-10-02 Thread Jack Dempsey

use METHOD=POST in your form

-Original Message-
From: Salty Marine [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How can I suppress my variables from showing up in the
address bar?



Greetings to All of You on the List:

How can I suppress my variables from showing up in the address bar?  I have
a form that's passing information to a script of mine, via the address bar.

http://foobar.com/EmailList.php3?Newsletter_ID=4732Subscription_Action=Remo
ve[EMAIL PROTECTED]

How can I suppress my variables from showing up in the address bar?

Regards,
Salty


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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] How can I suppress my variables from showing up in the address bar?

2001-10-02 Thread paharito

Like this:

FORM METHOD=post

Whit post, the variables are not shown.

You maybe use this:

INPUT TYPE=hidden NAME=the_name VALUE=? echo $var; ?

;)

- Original Message -
From: Salty Marine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 7:57 PM
Subject: [PHP] How can I suppress my variables from showing up in the
address bar?



 Greetings to All of You on the List:

 How can I suppress my variables from showing up in the address bar?  I
have
 a form that's passing information to a script of mine, via the address
bar.


http://foobar.com/EmailList.php3?Newsletter_ID=4732Subscription_Action=Remo
 ve[EMAIL PROTECTED]

 How can I suppress my variables from showing up in the address bar?

 Regards,
 Salty


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


 --
 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] HTTP Authentication / Logging Out

2001-10-02 Thread tonyz

how secure is either method?  the form method would be more secure if it
was done over https correct?

tonyz

Martín marqués wrote:
 
 On Lun 01 Oct 2001 19:36, you wrote:
  I used a pretty basic system to check HTTP authentication values against
  database values, but I can't seem to find a way to allow the user to log
  out.  I tried:
 
  unset($PHP_AUTH_USER)
 
  but Internet Explorer hangs on to that value until all browser windows are
  closed.  Is there any way around that?
 
 I (as lot of GPL projects) have droped HTTP authentification, and use there
 own authentification.
 Put a form with login and password, and save whatever you like in a session,
 and thats it.
 
 Saludos... ;-)
 
 P.D.: Netscape also hangs with the variable PHP_AUTH_USER.
 
 --
 Porqué usar una base de datos relacional cualquiera,
 si podés usar PostgreSQL?
 -
 Martín Marqués  |[EMAIL PROTECTED]
 Programador, Administrador, DBA |   Centro de Telematica
Universidad Nacional
 del Litoral
 -

-- 
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: Detecting user logout.

2001-10-02 Thread tonyz

why bother charting logouts.  use cookies that expires so you know that
they will eventually lose access and need to login again.

just a thought
tonyz

Henrik Hansen wrote:
 
 [EMAIL PROTECTED] (Alexander Deruwe) wrote:
 
   Hey all,
  
   I keep track of my users using PHP4 sessions, with verification against a
   PostgreSQL database.
  
   How can I detect when a user logs out / is logged out? I provide a hyperlink
   'Logout' which users are supposed to click, so I can obviously check there.
   My main concern however is that people won't really use that link, but just
   close their browser.. Which means my table with logged in users will never
   get properly updated. Any ideas are appreciated.
 
 when the user surfs your pages you update their logged in timestamp
 then it's always updated with the last time they were asctive on your
 page, then you setup a cronjob or something else to check weather or
 not the users has been active in a given interval like 1 hour. This
 method will still have somekind of uncertainty. I still think there
 are many other ways (better?) to do it.
 
 --
 Henrik Hansen

-- 
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] PHP MySQL

2001-10-02 Thread Brian Lee

OK,

I am working on my first shopping cart using PHP and MySQL and I am having a 
few problems.

The first problems is I need to bring out of a database a group of Jam 
flavors. I can do that but when certain items come up there needs to be the 
same flavors but repeated mutiple times and I am not sure how to get that to 
work. I also am having a problem adding mutiple flavors to my cookies for 
check out later

Here is the code to bring the flavor selection up once. What I need is to 
figure out a way to bring it up 3,4,5 times depending on which item is 
clicked.


?php
// Send the Query to the Server, to get the list of flavors
if (!($result = mysql_db_query($DB,SELECT * FROM extras WHERE name='$flav' 
ORDER BY 'choice')))
{
   DisplayErrMsg(sprintf(internal error %d:%s\n,
  mysql_errno(), mysql_error()));
   return 0 ;
}

// Display the Items

?
font face=verdana size=2 color=#00
form name=thisform action=?php $PHPSELF;? method=post
select
option?php echo $flav; ?
?php   while($row = mysql_fetch_array($result))
{
?
option value=?php echo $row[choice]; ??php echo $row[choice]; ?
?php
} // End of while loop
?
/select
/form

that will bring up the set of flavors once i need to be able to bring it up 
more than once but keep it in the same format and set it to a cookie.

Any help would be great. The project is already overdue so I am sort of a 
hurry.

-Brian

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] PHP MySQL

2001-10-02 Thread Alfredeen, Johan

I'm a little confused over why you would display the same flavor more than
once for a single item. But ok. Have you thought about populating an array
with the flavors and then retrieving flavors from the array however many
times you need to in an if statement. Maybe it would be easier to comment if
we could see a sample page.

Johan

-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 12:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP  MySQL


OK,

I am working on my first shopping cart using PHP and MySQL and I am having a

few problems.

The first problems is I need to bring out of a database a group of Jam 
flavors. I can do that but when certain items come up there needs to be the 
same flavors but repeated mutiple times and I am not sure how to get that to

work. I also am having a problem adding mutiple flavors to my cookies for 
check out later

Here is the code to bring the flavor selection up once. What I need is to 
figure out a way to bring it up 3,4,5 times depending on which item is 
clicked.


?php
// Send the Query to the Server, to get the list of flavors
if (!($result = mysql_db_query($DB,SELECT * FROM extras WHERE name='$flav' 
ORDER BY 'choice')))
{
   DisplayErrMsg(sprintf(internal error %d:%s\n,
  mysql_errno(), mysql_error()));
   return 0 ;
}

// Display the Items

?
font face=verdana size=2 color=#00
form name=thisform action=?php $PHPSELF;? method=post
select
option?php echo $flav; ?
?php   while($row = mysql_fetch_array($result))
{
?
option value=?php echo $row[choice]; ??php echo
$row[choice]; ?
?php
} // End of while loop
?
/select
/form

that will bring up the set of flavors once i need to be able to bring it up 
more than once but keep it in the same format and set it to a cookie.

Any help would be great. The project is already overdue so I am sort of a 
hurry.

-Brian

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] Creating mailaccounts

2001-10-02 Thread Bjornie

Hi everybody!

I have a problem :/
I just said yes to a project, which includes webmail. I know how to send
mail and how to receive mail with imap, but can I in any way create a
mailaccount on the server by using PHP? Or should I use any other language
like Java/JSP or ASP (with a component)?`

Hilfe! :)



-- 
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] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread affixcom

Hi,
I have a website hosted on a cobalt server with my own domain, but not my own IP.
I have a full access to my root web, but not higher (means can't change any *.conf 
files).
My domain is wildcarded
I want to be able to redirect based on the entry, IE
if a user types http://hello.mydomain.com he will go to http://mydomain.com/hello=20
if a user types http://another.mydomain.com he will go to 
http://mydomain.com/another=20

The redirect method of apache doesn't work because I leanred that that is based on an 
absolute path from the server
I tried php scripts that read the subdomain and use it in the header function but it 
won't work.
I came to the conclusion after a lot of tests that rewriterule from the htaccess is 
the the best.

htaccess script: (doesn't work)
RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$  redirect.php?url=$1   [L]
connected to the page redirect.php where
?header(location:http://www.zajfe.org/$url;);?
PHP script: (doesn't work)
?
$domain = yourdomain.com;
$default_page = main.shtml;
$underdomaene = $HTTP_HOST;
$underdomaene = eregi_replace(\..$domain, , $underdomaene);
$underdomaene = eregi_replace(www\., , $underdomaene);
$underdomaene = strtolower($underdomaene);
if (is_dir($DOCUMENT_ROOT/$underdomaene)) {
   header(Location: http://$domain/$underdomaene;);
 }
else {
 if (!$REQUEST_URI || $REQUEST_URI == /) {
  include($DOCUMENT_ROOT/$default_page);
 }
 else {
  header(Location: http://$domain$REQUEST_URI;);
 }
}
?

I am open to ANY suggestion, CGI / ASP / PHP / SSI (it is all on the server), I want 
it to work

Thanks

Gab




[PHP] PHP slash Apache question?

2001-10-02 Thread Michael Champagne

Ok, this is semi-related to PHP.  I think it may mainly be our Apache
configuration.  We have our listener listening on .

This URL works: http://hostname.capis.com:/
This URL does not: hostname.capis.com:/

Is there anyway to get the bottom one to work?

In IE I get 'Invalid syntax error' in the title bar of the browser and the
body says 'The page cannot be displayed'.

Thanks in advance for any replies.

Also, the index page that this is going to is issued location redirect through
PHP that moves it to another page.

-- 
Michael Champagne, Software Engineer
Capital Institutional Services, Inc.
wk: [EMAIL PROTECTED]
hm: [EMAIL PROTECTED]



**
This communication is for informational purposes only.  It is not
intended as an offer or solicitation for the purchase or sale of 
any financial instrument or as an official confirmation of any 
transaction, unless specifically agreed otherwise.  All market 
prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without
notice.  Any comments or statements made herein do not 
necessarily reflect the views or opinions of Capital Institutional
Services, Inc.  Capital Institutional Services, Inc. accepts no
liability for any errors or omissions arising as a result of
transmission.  Use of this communication by other than intended
recipients is prohibited.
**

-- 
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] eregi

2001-10-02 Thread mike cullerton

on 10/2/01 8:51 AM, CC Zona at [EMAIL PROTECTED] wrote:

 In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Mike Cullerton) wrote:
 
 eregi(^[a-z0-9_\-]+$,$string)
 
 notice that i had to escape the dash with a backslash
 
 Are you sure?  'Cuz AFAIK, escaping shouldn't be necessary on a hyphen
 which is the last char (or, IIRC, the first) of a character class.

cool. so, are you saying eregi(^[-a-z0-9_]+$,$string) should work?

thanks,
mike


 -- mike cullerton



-- 
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] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)


I think this was supposed to work:

.htaccess

RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$  redirect.php?url=$1   [L]


Are you sure it doesn't? If it doesn't then meas they

 1. don't have mod_rewrite (phphinfo shows you the modules loaded)
 2. don't allow .htaccess to override httpd.conf rules.

Also read about mod_rewrite, right in the manual there are a few
examples to do what you need. Always if you have it loaded.


Maxim Maletsky
www.PHPBeginner.com




-Original Message-
From: affixcom [mailto:[EMAIL PROTECTED]] 
Sent: martedì 2 ottobre 2001 20.54
To: [EMAIL PROTECTED]
Subject: [PHP] Htaccess / regex / php I dont know why it won't work


Hi,
I have a website hosted on a cobalt server with my own domain, but not
my own IP. I have a full access to my root web, but not higher (means
can't change any *.conf files). My domain is wildcarded I want to be
able to redirect based on the entry, IE if a user types
http://hello.mydomain.com he will go to http://mydomain.com/hello=20 if
a user types http://another.mydomain.com he will go to
http://mydomain.com/another=20

The redirect method of apache doesn't work because I leanred that that
is based on an absolute path from the server I tried php scripts that
read the subdomain and use it in the header function but it won't work.
I came to the conclusion after a lot of tests that rewriterule from the
htaccess is the the best.

htaccess script: (doesn't work)
RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$  redirect.php?url=$1   [L]
connected to the page redirect.php where
?header(location:http://www.zajfe.org/$url;);?
PHP script: (doesn't work)
?
$domain = yourdomain.com;
$default_page = main.shtml;
$underdomaene = $HTTP_HOST;
$underdomaene = eregi_replace(\..$domain, , $underdomaene);
$underdomaene = eregi_replace(www\., , $underdomaene); $underdomaene
= strtolower($underdomaene); if (is_dir($DOCUMENT_ROOT/$underdomaene))
{
   header(Location: http://$domain/$underdomaene;);
 }
else {
 if (!$REQUEST_URI || $REQUEST_URI == /) {
  include($DOCUMENT_ROOT/$default_page);
 }
 else {
  header(Location: http://$domain$REQUEST_URI;);
 }
}
?

I am open to ANY suggestion, CGI / ASP / PHP / SSI (it is all on the
server), I want it to work

Thanks

Gab



--
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] formular multiple select trouble

2001-10-02 Thread Jason G.

Give the select tag an ID.  You can then reference the element by its ID.

select name=aname[] id=aname

javascript
 alert(aname.value);
/javascript

-Jason Garber
IonZoft.com


At 01:25 PM 10/2/2001 +0200, Sebastian wrote:
Hi all

If i use multiple select fields in a from
i use name[] to access it in php afterwards
select name=aname[] multiple
optiontest1/option
optiontest2/option
/select

i can then access in php $name and it has its the elements that were
selected.
my problem now is that i can't access name[] with javascript...
if i try
javascript
 alert(document.fo.neme[].value);
/javascript
gives an error...

is there another way to neme the seletc field?
if i use name=aname
then i only get one selected value in php.

thanks

sebastian


-- 
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: PHP slash Apache question?

2001-10-02 Thread jimw

Michael Champagne [EMAIL PROTECTED] wrote:
 Ok, this is semi-related to PHP.  I think it may mainly be our Apache
 configuration.  We have our listener listening on .
 
 This URL works: http://hostname.capis.com:/
 This URL does not: hostname.capis.com:/
 
 Is there anyway to get the bottom one to work?

not without the source to internet explorer. it is a shortcoming of
their url parsing (it mistakes the latter format for scheme:host
instead of host:port).

jim

-- 
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 can I suppress my variables from showing up in the address bar?

2001-10-02 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Salty Marine) wrote:

 How can I suppress my variables from showing up in the address bar?  I have
 a form that's passing information to a script of mine, via the address bar.

FORM METHOD=POST ...

-- 
CC

-- 
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] SOAP Tool Kit for PHP | Solved | PHP-Tomcat-Apache HOWTO

2001-10-02 Thread Dahnke, Eric


Hello,

A bit of background. I work at a company that has a web-based staffing
software (jobs, candidates, you get the idea). We are about 5 developers
(close to 15 w/ all other projects). Jobs and candidates are a perfect
example of where XML and web-services are applicable. Use our software and
post your job to monster, or any staffing agency w/ a compliant web service
listener. Later receive a candiate response via the same protocol (defined
by XML.org or whomever).

Anyway, I figured out an apache configuration that allows us to use the ease
and speed of PHP and the power of java (all the SOAP tool kits from IBM,
etc). Here is the apache conf.


PHP, Tomcat, Apache HOWTO
-

(assume jdk1.3.1 installed under /usr/java/) This was done on RH7.1

tomcat-3.2.3-1.noarch.rpm
jakarta-tomcat-3.2.3-src.tar.gz
apache_1.3.19.tar.gz
php-4.0.6.tar.gz

Untar these packages within the same dir. I use /usr/src/. Install the rpm

vi /etc/rc.d/init.d/tomcat
(make it look something like this)
export
PATH=$PATH:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin
export JAVA_HOME=/usr/java/jdk1.3.1_01
export TOMCAT_HOME=/var/tomcat

cd apache_1.3.19
./configure --enable-module=so
make
make install

cd php-4.0.6
./configure --with-apxs=/usr/local/apache/bin/apxs
make
make install
(of course you'll want --with-* that represent your env)

cd /usr/src/jakarta-tomcat-3.2.3-src/src/native/apache1.3
/usr/local/apache/bin/apxs -o mod_jk.so -I ../jk -I
/usr/java/jdk1.3.1_01/include -I  /usr/java/jdk1.3.1_01/include/linux -c *.c
../jk/*.c

cp mod_jk.so /usr/local/apache/libexec/

add the following line to the bottom of httpd.conf
(do the regular conf of apache for php as well)

include /var/tomcat/conf/mod_jk.conf-auto


That is it. Now any empty directory in your DocumentRoot (that you define in
the tomcat conf) is handled via tomcat/mod_jk and any .php file is handled
by mod_php. It'll take a while for me to get really familar with tomcat
conf, but once I am virtual servers and the rest should be possible. 



Anyway, I'm happy I get the apache soap and XML java based tools for the web
services and get to keep the rapid development environment of php.


Hope this is of use to some people. - Eric

-- 
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] Creating mailaccounts

2001-10-02 Thread Jason G.

Take a look at the exec() and system() functions.

-Jason Garber
www.ionzoft.com


At 08:55 PM 10/2/2001 +0200, Bjornie wrote:
Hi everybody!

I have a problem :/
I just said yes to a project, which includes webmail. I know how to send
mail and how to receive mail with imap, but can I in any way create a
mailaccount on the server by using PHP? Or should I use any other language
like Java/JSP or ASP (with a component)?`

Hilfe! :)



--
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: SOAP Tool Kit for PHP | Solved | PHP-Tomcat-Apache HOWTO

2001-10-02 Thread Rasmus Lerdorf

Thanks for the step-by-step.  I am sure it will come in handy to people.
Now if only this fancy system of yours could find me a cool job...  ;)

-Rasmus

 A bit of background. I work at a company that has a web-based staffing
 software (jobs, candidates, you get the idea). We are about 5 developers
 (close to 15 w/ all other projects). Jobs and candidates are a perfect
 example of where XML and web-services are applicable. Use our software and
 post your job to monster, or any staffing agency w/ a compliant web service
 listener. Later receive a candiate response via the same protocol (defined
 by XML.org or whomever).

 Anyway, I figured out an apache configuration that allows us to use the ease
 and speed of PHP and the power of java (all the SOAP tool kits from IBM,
 etc). Here is the apache conf.


 PHP, Tomcat, Apache HOWTO
 -

 (assume jdk1.3.1 installed under /usr/java/) This was done on RH7.1

 tomcat-3.2.3-1.noarch.rpm
 jakarta-tomcat-3.2.3-src.tar.gz
 apache_1.3.19.tar.gz
 php-4.0.6.tar.gz

 Untar these packages within the same dir. I use /usr/src/. Install the rpm

 vi /etc/rc.d/init.d/tomcat
 (make it look something like this)
 export
 PATH=$PATH:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin
 export JAVA_HOME=/usr/java/jdk1.3.1_01
 export TOMCAT_HOME=/var/tomcat

 cd apache_1.3.19
 ./configure --enable-module=so
 make
 make install

 cd php-4.0.6
 ./configure --with-apxs=/usr/local/apache/bin/apxs
 make
 make install
   (of course you'll want --with-* that represent your env)

 cd /usr/src/jakarta-tomcat-3.2.3-src/src/native/apache1.3
 /usr/local/apache/bin/apxs -o mod_jk.so -I ../jk -I
 /usr/java/jdk1.3.1_01/include -I  /usr/java/jdk1.3.1_01/include/linux -c *.c
 ../jk/*.c

 cp mod_jk.so /usr/local/apache/libexec/

 add the following line to the bottom of httpd.conf
   (do the regular conf of apache for php as well)

 include /var/tomcat/conf/mod_jk.conf-auto


 That is it. Now any empty directory in your DocumentRoot (that you define in
 the tomcat conf) is handled via tomcat/mod_jk and any .php file is handled
 by mod_php. It'll take a while for me to get really familar with tomcat
 conf, but once I am virtual servers and the rest should be possible.



 Anyway, I'm happy I get the apache soap and XML java based tools for the web
 services and get to keep the rapid development environment of php.


 Hope this is of use to some people. - Eric



-- 
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] ftp

2001-10-02 Thread Eduardo Kokubo

Hi, 
I'm trying to upload some files using PHP, but I'm limited to small files and I don't 
know why. Could anyone please help me with this? 





Re: [PHP] Re: PHP slash Apache question?

2001-10-02 Thread Michael Champagne

Great, thanks for the response Jim.  Would there possibly be a way around this
using mod_rewrite?

Thanks,
Mike

 Michael Champagne [EMAIL PROTECTED] wrote:
  Ok, this is semi-related to PHP.  I think it may mainly be our Apache
  configuration.  We have our listener listening on .
 
  This URL works: http://hostname.capis.com:/
  This URL does not: hostname.capis.com:/
 
  Is there anyway to get the bottom one to work?

 not without the source to internet explorer. it is a shortcoming of
 their url parsing (it mistakes the latter format for scheme:host
 instead of host:port).

 jim



**
This communication is for informational purposes only.  It is not
intended as an offer or solicitation for the purchase or sale of 
any financial instrument or as an official confirmation of any 
transaction, unless specifically agreed otherwise.  All market 
prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without
notice.  Any comments or statements made herein do not 
necessarily reflect the views or opinions of Capital Institutional
Services, Inc.  Capital Institutional Services, Inc. accepts no
liability for any errors or omissions arising as a result of
transmission.  Use of this communication by other than intended
recipients is prohibited.
**

-- 
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] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread affixcom

Thanks,
I spent 2 days trying everything, and since I am not an expert on regex (do
that that just for fun), I though my script was bad. I'll check with my
hosting company if I can overrule the httpd.conf. I checked on phpinfo() and
mod_rewrite is loaded
Gab


- Original Message -
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'affixcom' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 3:10 PM
Subject: RE: [PHP] Htaccess / regex / php I dont know why it won't work



I think this was supposed to work:

.htaccess

RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$  redirect.php?url=$1   [L]


Are you sure it doesn't? If it doesn't then meas they

 1. don't have mod_rewrite (phphinfo shows you the modules loaded)
 2. don't allow .htaccess to override httpd.conf rules.

Also read about mod_rewrite, right in the manual there are a few
examples to do what you need. Always if you have it loaded.


Maxim Maletsky
www.PHPBeginner.com




-Original Message-
From: affixcom [mailto:[EMAIL PROTECTED]]
Sent: martedì 2 ottobre 2001 20.54
To: [EMAIL PROTECTED]
Subject: [PHP] Htaccess / regex / php I dont know why it won't work


Hi,
I have a website hosted on a cobalt server with my own domain, but not
my own IP. I have a full access to my root web, but not higher (means
can't change any *.conf files). My domain is wildcarded I want to be
able to redirect based on the entry, IE if a user types
http://hello.mydomain.com he will go to http://mydomain.com/hello=20 if
a user types http://another.mydomain.com he will go to
http://mydomain.com/another=20

The redirect method of apache doesn't work because I leanred that that
is based on an absolute path from the server I tried php scripts that
read the subdomain and use it in the header function but it won't work.
I came to the conclusion after a lot of tests that rewriterule from the
htaccess is the the best.

htaccess script: (doesn't work)
RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$  redirect.php?url=$1   [L]
connected to the page redirect.php where
?header(location:http://www.zajfe.org/$url;);?
PHP script: (doesn't work)
?
$domain = yourdomain.com;
$default_page = main.shtml;
$underdomaene = $HTTP_HOST;
$underdomaene = eregi_replace(\..$domain, , $underdomaene);
$underdomaene = eregi_replace(www\., , $underdomaene); $underdomaene
= strtolower($underdomaene); if (is_dir($DOCUMENT_ROOT/$underdomaene))
{
   header(Location: http://$domain/$underdomaene;);
 }
else {
 if (!$REQUEST_URI || $REQUEST_URI == /) {
  include($DOCUMENT_ROOT/$default_page);
 }
 else {
  header(Location: http://$domain$REQUEST_URI;);
 }
}
?

I am open to ANY suggestion, CGI / ASP / PHP / SSI (it is all on the
server), I want it to work

Thanks

Gab



--
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] FTP

2001-10-02 Thread Eduardo Kokubo

Hi, 
I'm trying to upload some files using PHP, but I'm limited to small files of 1Mb or a 
little more and I don't know why. Could anyone please help me with this? 

 This is the message I get:
Warning: error opening none in /home/proj/sapens/public_html/f1_material.php on line 51


the same code works with smaller files



[PHP] UPLOAD_TMP_DIR

2001-10-02 Thread Henning Støverud

Hi

I've made an upload system at my ISP's webserver, but it seems like they
have done something with the UPLOAD_TMP_DIR cause I get this error message:

PHP Warning:  File upload error - unable to create a temporary file in
Unknown on line 0

Can I set the UPLOAD_TMP_DIR myself inside a PHP script, or is it only the
sysadmin who can do that?
If I can't do anything about this problem, is it another way to upload
files?

Regards,
--
Henning Støverud ([EMAIL PROTECTED])
http://www.stoverud.com
Tlf: +47 91 68 05 68
Fax: +47 85 02 16 31


-- 
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] UPLOAD_TMP_DIR

2001-10-02 Thread Joe Kaiping


Hi,

You might want to check out http://phpclasses.upperdesign.com.  There are a
number of useful classes there, including Metabase and HTML Mime Mail.
I recently got a notice that the following Upload class is also now
available.  I haven't tried it yet, though.  There are other upload classes
available there as well.  Maybe you could try a couple and write back to
this mailing list the ones you liked best?

-Joe

---

Name: Upload

Author: chris [EMAIL PROTECTED]

Description:
The Upload class is a wrapper for uploading files using html forms. The
form should have the 'enctype=multipart/form-data' attribute for this
the files to be uploaded properly. The Class should be created by passing
$HTTP_POST_FILES as the only argument for the constructor (e.g. $upload =
new Upload($HTTP_POST_FILES)), and also by reference (the  indicates
this). See http://www.sloppycode.net/sloppycode/PHP/cm13.html for the
manual.

URL: http://phpclasses.upperdesign.com/browse.html/package/348



 -Original Message-
 From: Henning Støverud [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 02, 2001 12:58 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] UPLOAD_TMP_DIR


 Hi

 I've made an upload system at my ISP's webserver, but it
 seems like they
 have done something with the UPLOAD_TMP_DIR cause I get this
 error message:

 PHP Warning:  File upload error - unable to create a temporary file in
 Unknown on line 0

 Can I set the UPLOAD_TMP_DIR myself inside a PHP script, or
 is it only the
 sysadmin who can do that?
 If I can't do anything about this problem, is it another way to upload
 files?

 Regards,
 --
 Henning Støverud ([EMAIL PROTECTED])
 http://www.stoverud.com
 Tlf: +47 91 68 05 68
 Fax: +47 85 02 16 31


 --
 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: PHP slash Apache question?

2001-10-02 Thread jimw

Michael Champagne [EMAIL PROTECTED] wrote:
 Great, thanks for the response Jim.  Would there possibly be a way around this
 using mod_rewrite?

no. if you'll check your logs, you'll see that the request is never
even making it to your server. internet explorer simply barfs on urls
that include a port but don't include a scheme.

jim

-- 
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] FTP

2001-10-02 Thread Chesley A Windon

 I'm trying to upload some files using PHP, but I'm limited to small files of 1Mb or 
a little more and I don't know why. Could anyone please help me with this? 
 
  This is the message I get:
 Warning: error opening none in /home/proj/sapens/public_html/f1_material.php on line 
51


By default php limits file uploads to 2MB.  You need to change the 
upload_max_filesize variable in your php.ini.

Chesley


-- 
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: WebMail Client

2001-10-02 Thread Andrew Chase

You might want to take a look at Netmania. (http://www.netmania.org)
Caveats:  I helped  install Netmania at a former employer back in February
2001, and with the then-current distribution we had all kinds of trouble
setting it up until we realized that it depended on having *all* error
handling turned off (even warnings) - with errors disabled it worked like a
dream, although we had to wonder why they would have released code known to
cause warning messages.

I think a new version has come out since then, and maybe they've addressed
some of those problems.  Once set up it's a very impressive system both in
appearance and functionality - it does use a lot of Javascript, so there
might be issues between Netscape/IE/Konqueror/Mozilla/Mac/Windows/Linux.
YMMV :)  It requires Unix/Linux, Apache 1.3 and MySQL.

-Andy


 -Original Message-
 From: Rosen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 02, 2001 5:17 AM
 To: [EMAIL PROTECTED]
 Subject: WebMail Client


 Hi,
 Can someone recommend me some free php script for WebMail client
 (like Squerriemail) ?

 Thanks,
 Rosen





-- 
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] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado

again with the problem i discovered that the problem is that the reload is
needed when i use the session variables in the queries, otherwise there are
not problem. Even if i only want to display the session variable in the
result page, i need to do a reload.






Karina wrote:

 Well, I don't understand it too, i don't know why with normal variables
 there are not problem and with session variables i need to refresh the
 page to see the results after the submit form.

 The mechanism is this:

 query 1 with parameter   ACCESS FORM ---   results
 only
session_register(uid) shown with refresh
session_register(pwd)  (get parameter from
 REQUEST_URI)


 if i do this:

 query 1     (NOT ACCESS)   ---   results with no problem


 I hope than somebody can give me some ideas... because this is driving
 me crazy..

 THks,
 Karina

 --
 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] nimda, etc.

2001-10-02 Thread Ezra Nugroho

This is something you can use to slow down (even possibly to kill) code 
Red, Nimda scan etc.
It's really interesting, good concept.

http://www.hackbusters.net/LaBrea/

At 10:03 AM 9/22/2001 +0200, Alexander Skwar wrote:
So sprach »Gaylen Fraley« am 2001-09-21 um 18:10:58 -0500 :
  Are you sure about that?  I am trying his script and I just had an attack
  and I watched the traffic through my firewall software.  It dropped off
  immediately, i.e. showed no activity.  I was expecting to see somekind of a

Sure, but you've got two Apache/PHP processes running for the sleep
time.  Now, imagine that 10,000 Nimda accesses happen at the same time.

Alexander Skwar
--
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
 Uptime: 2 days 20 hours 7 minutes

--
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]


Ezra Nugroho
Web/Database Application Specialist
Goshen College ITS
Phone: (219) 535-7706


Don't be humble, you're not that great. -- Golda Meir


Re: [PHP] A powerful editor!

2001-10-02 Thread Dean Householder

I used to use TextPad until I found EditPlus.  I'm also amazed by it's
power.  It has more than I could even use including everything TextPad has
and nicer colors for the different styles.  You can find it at
http://www.editplus.com.

Dean Householder
Daylight Creations
http://www.daylightcreations.com



- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 6:08 PM
Subject: [PHP] A powerful editor!


 Hello folks,

 Today, I found a very powerful editor, called TextPad. I said it is
 'powerful'
 because it can recognize syntax of php, html, java, css and also many
 many more great featuresmuch better that Windows Notepad. You can
 download and try. You need to take a few minutes to explore it and
maximize
 its functionality for you.

 Here is the link:
 http://www.textpad.com/

 Alex




 --
 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] Passing files from A to B

2001-10-02 Thread Dirk Maetens

Hello PHP-list,

I am not an expert, so explaining the problem might be somewhat tricky.
Please bare with me...

Server A:
PHP 4.01pl2
Safe Mode On
Not configured with ftp functions

Server B: ftp access, no PHP (shame)

On Server A I use output buffering to generate some simple HTML files.
So far so good. My problem starts when I want to copy these files from
Server A to Server B, where the public can get to them. How can I
accomplish this? Any help (RTFM included) is as welcome as it will be
appreciated! (BTW I am subscribed to the digest version of this
php-general list, so a cc: [EMAIL PROTECTED] would be nice)

Thanks.
--
Dirk Maetens
Belgium


-- 
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] Best way to duplicate tables to another DB using PHP

2001-10-02 Thread David Yee

Hi guys.  What do you suggest is the best (fastest, most efficient) way to
duplicate a table from one database to another using PHP?  I have a windows
machine setup with ODBC for this old school DB (Pervasive SQL 7) and I would
like to duplicate some of the tables into a Linux box with MySQL for some
datawarehousing purposes.  The largest table is about 30K records.  I'm not
sure if something like a select * and then doing a foreach record insert
into MySQL would be the best way.  Thanks for any suggestions.

David


-- 
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] A powerful editor!

2001-10-02 Thread Sheridan Saint-Michel

I just have to ask what EXACTLY you mean by nicer colors as Textpad
Allows you to set any element of a Syntax Definition to any color between
(0,0,0) and (255,255,255).  Last I checked 16.7M colors was plenty  =P

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com


- Original Message -
From: Dean Householder [EMAIL PROTECTED]
To: Alex Shi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 3:57 PM
Subject: Re: [PHP] A powerful editor!


 I used to use TextPad until I found EditPlus.  I'm also amazed by it's
 power.  It has more than I could even use including everything TextPad has
 and nicer colors for the different styles.  You can find it at
 http://www.editplus.com.

 Dean Householder
 Daylight Creations
 http://www.daylightcreations.com



 - Original Message -
 From: Alex Shi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, October 01, 2001 6:08 PM
 Subject: [PHP] A powerful editor!


  Hello folks,
 
  Today, I found a very powerful editor, called TextPad. I said it is
  'powerful'
  because it can recognize syntax of php, html, java, css and also
many
  many more great featuresmuch better that Windows Notepad. You can
  download and try. You need to take a few minutes to explore it and
 maximize
  its functionality for you.
 
  Here is the link:
  http://www.textpad.com/
 
  Alex
 
 
 
 
  --
  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] Restrict where PHP is Usable?

2001-10-02 Thread Matthew Walker

I've seen this done before on servers, but I'm not sure how to do it.
 
Is there a way to restrict PHP to certain directories, so that it can
only be used by files within those directories?
 
For example: I'm starting a web page hosting service, and I'd like to
make it so that most users can't use PHP. They'll have to pay a (very
small) monthly fee to have access to it. This is partly as a very loose
security measure, so that not everyone has access to PHP.
 
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.282 / Virus Database: 150 - Release Date: 9/25/2001




[PHP] Re: Passing files from A to B

2001-10-02 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Dirk Maetens) wrote:

 Server A:
 PHP 4.01pl2
 Safe Mode On
 Not configured with ftp functions
 
 Server B: ftp access, no PHP (shame)
 
 On Server A I use output buffering to generate some simple HTML files.
 So far so good. My problem starts when I want to copy these files from
 Server A to Server B, where the public can get to them. How can I
 accomplish this? Any help (RTFM included) is as welcome as it will be

http://www.php.net/manual/en/ref.ftp.php  There's even an example script 
right on the first page of the chapter.  Just substitute ob_get_contents() 
where it says $source_file and you're practically done.

-- 
CC

-- 
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] A powerful editor!

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)

EditPlus is the best. Many nice functions and, I think, it is more
adapted for HTML/PHP development that TextPad. 

What I can't live without when developing on windows are those drag 
drop customs of EditPlus. I find it pretty handy. on VIM is great as
well.

Hey, look into archives. There are thousands posts about Editor.

Maxim Maletsky
www.PHPBeginner.com


-Original Message-
From: Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]] 
Sent: martedì 2 ottobre 2001 23.20
To: Dean Householder; [EMAIL PROTECTED]
Subject: Re: [PHP] A powerful editor!


I just have to ask what EXACTLY you mean by nicer colors as Textpad
Allows you to set any element of a Syntax Definition to any color
between
(0,0,0) and (255,255,255).  Last I checked 16.7M colors was plenty  =P

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com


- Original Message -
From: Dean Householder [EMAIL PROTECTED]
To: Alex Shi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 3:57 PM
Subject: Re: [PHP] A powerful editor!


 I used to use TextPad until I found EditPlus.  I'm also amazed by it's

 power.  It has more than I could even use including everything TextPad

 has and nicer colors for the different styles.  You can find it at 
 http://www.editplus.com.

 Dean Householder
 Daylight Creations
 http://www.daylightcreations.com



 - Original Message -
 From: Alex Shi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, October 01, 2001 6:08 PM
 Subject: [PHP] A powerful editor!


  Hello folks,
 
  Today, I found a very powerful editor, called TextPad. I said it is 
  'powerful' because it can recognize syntax of php, html, java, 
  css and also
many
  many more great featuresmuch better that Windows Notepad. You 
  can download and try. You need to take a few minutes to explore it 
  and
 maximize
  its functionality for you.
 
  Here is the link:
  http://www.textpad.com/
 
  Alex
 
 
 
 
  --
  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 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: Passing files from A to B

2001-10-02 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Dirk Maetens) wrote:

 Server A:
 PHP 4.01pl2
 Safe Mode On
 Not configured with ftp functions
 
 Server B: ftp access, no PHP (shame)
 
 On Server A I use output buffering to generate some simple HTML files.
 So far so good. My problem starts when I want to copy these files from
 Server A to Server B, where the public can get to them. How can I
 accomplish this? Any help (RTFM included) is as welcome as it will be

Scratch what I said about ob_get_contents().  Sorry.  Too many hours 
without sleep.

-- 
CC

-- 
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] Problems with virtual() = request execution failed

2001-10-02 Thread Paulo Parola

Hi,

I am having trouble porting an application to another server. I have to call
an external Perl script through the use of the function 'virtual()' but on
the new server I get the following error:

Warning: Unable to include './cgi-bin/banners/ads_business.pl' - request
execution failed in /usr/local/etc/httpd/vhosts/business/index.htm on line
61

This was the original code which ran perfectly, but not at the new server.

I tried every kind of path with no success. Any hints?

TIA,
Paulo




-- 
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] floating point format

2001-10-02 Thread Bill Rausch

I've notice that I can read floating point format like:

1.932E+12

Is there any way to output such a number.  The %f format string in 
printf just prints 19320.00.  Then I tried %e and got 
very strange results. The 1.932 was printed with nothing after it.

-- 
  Bill Rausch, Software Development, Unix, Mac, Windows
  Numerical Applications, Inc.  509-943-0861   [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] fprintf

2001-10-02 Thread Bill Rausch

There doesn't appear to be an fprintf function. I'm using:

fputs( $fp, sprintf( $format, ... ) );

Is this the recommended workaround?

I was wondering why fprintf was left out since so many other standard 
C library routines are present?

-- 
  Bill Rausch, Software Development, Unix, Mac, Windows
  Numerical Applications, Inc.  509-943-0861   [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] fprintf

2001-10-02 Thread Matthew Loff


The lack of fprintf() has been discussed on this list before, but I'm
not sure what the status is on the PHP development side...

http://bugs.php.net/bug.php?id=1027



-Original Message-
From: Bill Rausch [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 02, 2001 7:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] fprintf


There doesn't appear to be an fprintf function. I'm using:

fputs( $fp, sprintf( $format, ... ) );

Is this the recommended workaround?

I was wondering why fprintf was left out since so many other standard 
C library routines are present?

-- 
  Bill Rausch, Software Development, Unix, Mac, Windows
  Numerical Applications, Inc.  509-943-0861   [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] Re: Detecting user logout.

2001-10-02 Thread Alexander Deruwe

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 02 October 2001 18:11, tonyz wrote:
 why bother charting logouts.  use cookies that expires so you know that
 they will eventually lose access and need to login again.

Yes, but then I can't show a list of logged in users (for administration
purposes).

Alexander


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7umgFySJLuRUx8aQRAo7+AJkB0GD6i+0mNIfsaoakw/WP1klyagCfZ8l6
QB3ijCXziMhlhHyjDBgu/rM=
=Tlms
-END PGP SIGNATURE-

-- 
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] php+apache 2

2001-10-02 Thread Jiri Mikulas

Hi.
I have this problem with compiling PHP 4.0.6 for Apache-2.0.16_1
instaled from port on FreeBSD 4.4-release
---
Making all in apache2filter
...

ad  -c sapi_apache2.c
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter' 
from incompatible pointer type
*** Error code 1
Stop in /usr/install/php-4.0.6/sapi/apache2filter.
*** Error code 1
...
..


Is there any way to correct it ?
Thanks for any help.
Jiri.


-- 
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] need help with safe mode

2001-10-02 Thread Richard Kurth

Can I add php_admin_flag safe_mode off to the httpd.conf file to turn
safe mode off for just one site. And leave it on for the rest of the
server. According to the manual this can be done but when I try it. It
does not work. Is there something else I have to do to make this work
properly.











Best regards,
 Richard  
mailto:[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] formular multiple select trouble

2001-10-02 Thread Iván Milanez Castellanos

Sebastian: if I remember correctly if you use a multiple selection field on
a page when you submit the form the contents of the selected items on the
field are sent via a comma delimited string, so you would just have to do
$Array=split(,, $String) to retrieve all of the selected values of the
form.

This way you can still use javascript to manipulate your form and not worry
about how many selections a user makes.

Later


 At 01:25 PM 10/2/2001 +0200, Sebastian wrote:
 Hi all
 
 If i use multiple select fields in a from
 i use name[] to access it in php afterwards
 select name=aname[] multiple
 optiontest1/option
 optiontest2/option
 /select
 
 i can then access in php $name and it has its the elements that were
 selected.
 my problem now is that i can't access name[] with javascript...
 if i try
 javascript
  alert(document.fo.neme[].value);
 /javascript
 gives an error...
 
 is there another way to neme the seletc field?
 if i use name=aname
 then i only get one selected value in php.
 
 thanks
 
 sebastian




-- 
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: Problème

2001-10-02 Thread Iván Milanez Castellanos

Monsieur: vous pouvèz trouver les instructions que vous recherchèz dans ce
page Web.

http://www.php.net/manual/fr/

Au revoir.


Abdelghani Mekhoukh [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Monsieur,
Premièrement et avant tout je vous souhaite une bonne année.
Je suis un débutant en PHP, et je veux l'installer comme un
module dans le serveur web Apache mais j'ai rencontré des
problèmes. Je tiens à vous signaler que je travaille sur la
plate forme WINDOWS NT 4.0 SERVER.
Pouvez vous s'il vous plaît me donner la méthode en détails
?
Je vous remercie préalablement.

__
Boîte aux lettres - Caramail - http://www.caramail.com





-- 
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]




  1   2   >