Re: [PHP] question about forum

2001-07-23 Thread ReDucTor
, July 23, 2001 5:05 PM Subject: [PHP] question about forum Dear all, I want to set up an online forum by using PHP. But I don't have a clue. Could somebody kind enough tell me where to start? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

RE: [PHP] question about forum

2001-07-23 Thread Sandeep Hundal
] question about forum Dear all, I want to set up an online forum by using PHP. But I don't have a clue. Could somebody kind enough tell me where to start? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Question about hosting

2001-07-18 Thread Jay Paulson
Hello everyone- I need some expert advice so I turn you to all! :) I'm am currently in the process of making 7 web sites using PHP and MySQL backend. I'm porjecting that all of these sites combined will get a million plus hits a month easy when it's all said and done. What I'm wanting to do

Re: [PHP] Question about hosting

2001-07-18 Thread Francis Fillion
Well for myself I will better like to have the 2 computer design, 1 for httpd and 1 for mysql, it's alway's better that way the few nano that you lose in transit are way better then a server that do both stuff. Now the problem (that eat a lot of time is php and mysql, doh!). So you have optimise

Re: [PHP] Question about hosting

2001-07-18 Thread Alexander Skwar
So sprach »Francis Fillion« am 2001-07-18 18.07.2001 um 17:55:41 -0400 : thing. Then an other thing is to take big table and put them in smaller table, way faster for writing/reading (hum, I don't quite remember if Good idea. Combined with MERGE tables, this might really boost performance

[PHP] Question about strlen I think

2001-07-15 Thread Dennis Kaandorp
Hello, On my site users can submit ftp's. Is there a way to replace the spaces between the paths? This is what I mean: /uploads//by/ /dennis/ must become /uploads/4sp/by/3spdennis/ Thnx, Dennis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
hey- so I want to have my site so that the urls are like /index.php?page=bio the way I made the index.php so far is just one gigantic switch statement...is there a better way to do it? chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] Question about how to do this...

2001-07-08 Thread Ben Bleything
- From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 1:44 PM To: PHP General List (E-mail) Subject: [PHP] Question about how to do this... hey- so I want to have my site so that the urls are like /index.php?page=bio the way I made the index.php so far is just one

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
PROTECTED]; 'PHP General List (E-mail)' Subject: RE: [PHP] Question about how to do this... Use a database. With mysql, you can store the text into a table with primary key called 'page' or something like that, and a text field of some sort. Then, do mysql_query(SELECT pagetext FROM website WHERE

Re: [PHP] Question about how to do this...

2001-07-08 Thread Mark Charette
]; 'PHP General List (E-mail)' [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 3:59 PM Subject: RE: [PHP] Question about how to do this... Use a database. With mysql, you can store the text into a table with primary key called 'page' or something like that, and a text field of some sort

RE: [PHP] Question about how to do this...

2001-07-08 Thread Ben Bleything
PROTECTED] To: [EMAIL PROTECTED]; 'PHP General List (E-mail)' [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 3:59 PM Subject: RE: [PHP] Question about how to do this... Use a database. With mysql, you can store the text into a table with primary key called 'page' or something like that, and a text

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
so the switch statement idea works I guess. sounds good. -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 5:05 PM To: Ben Bleything; [EMAIL PROTECTED]; 'PHP General List (E-mail)' Subject: Re: [PHP] Question about how to do

RE: [PHP] Question about how to do this...

2001-07-08 Thread Ben Bleything
Yup = Try splitting the pages out into separate files. I'm betting you'll find it easier to work with. Ben -Original Message- From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 2:02 PM To: PHP General List (E-mail) Subject: RE: [PHP] Question about how to do

Re: [PHP] Question about how to do this...

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
, July 08, 2001 5:17 PM Subject: RE: [PHP] Question about how to do this... | Yup = Try splitting the pages out into separate files. I'm betting | you'll find it easier to work with. | | Ben | | | -Original Message- | From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] | Sent: Sunday, July 08

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
Networks [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 5:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Question about how to do this... Or even better, create a system where you can create new pages without adding to the switch statement: ? $page = /home/full/path/to/site/page_includes

RE: [PHP] Question about how to do this...

2001-07-08 Thread Ben Bleything
[mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 9:25 PM To: PHP General List (E-mail) Subject: RE: [PHP] Question about how to do this... ok so if I use this method below, or a hash table, etcand it has an include/require statement...in those files to be included...do I need to start

Re: [PHP] Question about how to do this...

2001-07-08 Thread Steve Werby
Ben Bleything [EMAIL PROTECTED] wrote: I believe (and I'm sure someone will correct me if I'm wrong) that whenever you 'include' or 'require' a file, it drops to regular HTML mode... so, yes, you will need to use ?php tags at the beginning and ? tags at the ends = Think of the behavior of

Re: [PHP] Question about how to do this...

2001-07-08 Thread mike cullerton
on 7/8/01 10:58 PM, Steve Werby at [EMAIL PROTECTED] wrote: Ben Bleything [EMAIL PROTECTED] wrote: I believe (and I'm sure someone will correct me if I'm wrong) that whenever you 'include' or 'require' a file, it drops to regular HTML mode... so, yes, you will need to use ?php tags at the

RE: [PHP] Question about how to do this...

2001-07-08 Thread Ben Bleything
Thanks, I was looking for that = Ben -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 10:01 PM To: 'PHP General List (E-mail)' Subject: Re: [PHP] Question about how to do this... on 7/8/01 10:58 PM, Steve Werby at [EMAIL PROTECTED] wrote

[PHP] Question about /tmp/php* files

2001-07-08 Thread Andras Kende
Hello, I noticed there are a lot of php temp files (session files) under /tmp Whats the best way to dealing with this... Thanks Andras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Question about Sessions

2001-07-05 Thread Jay Paulson
Hello everyone-- I've got a general question about cookies and sessions. I was wondering if this is how php handles sessions because this is what I want. Is it possible to set up php so that the session id is the only thing that is set in the cookie and then all the session data is either

Re: [PHP] Question about Sessions

2001-07-05 Thread teo
Hi Jay! On Thu, 05 Jul 2001, Jay Paulson wrote: Hello everyone-- I've got a general question about cookies and sessions. I was wondering if this is how php handles sessions because this is what I want. Is it possible to set up php so that the session id is the only thing that is set in

Re: [PHP] Question about Sessions

2001-07-05 Thread Jay Paulson
just to pass the session id.. but i will if i have too.. thanks, jay - Original Message - From: [EMAIL PROTECTED] To: PHP users [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 7:36 PM Subject: Re: [PHP] Question about Sessions Hi Jay! On Thu, 05 Jul 2001, Jay Paulson wrote: Hello

[PHP] question about forms.

2001-07-01 Thread Jason brashear
I have a question. I am using PHP MySQL. I am able to quary to DB and edit post delete through forms. Problem. I need to be able to also send out emails when something is posted to the databas as well as send the information that was submitted like a recipt. Any ideas? Please help. -Jason

Re: [PHP] question about forms.

2001-07-01 Thread Chris Anderson
Don't post the question in a reply and someone will see your question - Original Message - From: Jason brashear [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 5:34 PM Subject: [PHP] question about forms. I have a question. I am using PHP MySQL. I am able to quary

[PHP] question about forms

2001-07-01 Thread Jason Brashear
I have a question. I am using PHP MySQL. I am able to quary to DB and edit post delete through forms. Problem. I need to be able to also send out emails when something is posted to the databas as well as send the information that was submitted like a recipt. Any ideas? Please help.

RE: [PHP] question about forms

2001-07-01 Thread Tyler Longren
check out the mail() function. Tyler -Original Message- From: Jason Brashear [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 11:08 PM To: [EMAIL PROTECTED] Subject: [PHP] question about forms I have a question. I am using PHP MySQL. I am able to quary to DB and edit

[PHP] question about broadcast application

2001-05-03 Thread Michael Geier
My bosses came to me and asked me to spec out a broadcast mailer (spam box) that clients could: - log into - choose a pre-approved list (clients could have multiple lists) - choose a stored email - send sample - send broadcast I know that Qmail and EzMLM

[PHP] question about a loop in a loop

2001-03-28 Thread Institute for Social Ecology
hi, I've been driving myself bonkers trying to figure out wy this code block does not work as it is supposed to. am hoping that someone on this list can shed some light on it. Whta I am trying to do is evluate two arrays. One array is populated with a list. The other array is populated with

Re: [PHP] question about a loop in a loop

2001-03-28 Thread Yasuo Ohgaki
I think array_intersect() and array_diff() is useful for you.. http://www.php.net/manual/en/function.array-intersect.php http://www.php.net/manual/en/function.array-diff.php -- Yasuo Ohgaki "Institute for Social Ecology" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] question about php sessions

2001-03-04 Thread Ed Lazor
Hi =) Is it possible to track a user session across multiple domains? We have several related web sites and want to enable a user to login through one site and end up logged in to them all. I tested and it didn't work and I'm guessing it's a limitation of cookies. As in, a cookie created

[PHP] Question about global variables

2001-02-26 Thread Zenith
hello!! I have a question about variables scope!! ?php $var = 10; function func1() { func2(); } function func2() { echo $var; } func1(); ? In the above segment, I know that, func2 won't echo anything, even I add "global var;" in func2. if, I modified the segment, so, that, it like

Re: [PHP] Question about global variables

2001-02-26 Thread Yasuo Ohgaki
Hello Zenith, SNIP However, I am now doing a project, using PHP, I decide to write some modules, for frequestly used. How ever, these module, have to use some variables, whose scope is originally on only the upper most level. If using these way (global all var in each function, even not the

[PHP] question about multidimension array

2001-02-19 Thread Zenith
Consider the following code: $ary1 = array ("one","two"); $ary2 = array ("three","four"); $2d_Dimension[] = $ary1; $2d_Dimension[] = $ary2; // is $2d_Dimension a 2 dimensional array? // and the next question, how to get out content of the $2d_Dimension[] array while ( list ( $rec_no, $ary )

RE: [PHP] question about multidimension array

2001-02-19 Thread ..s.c.o.t.t..
-Original Message- From: Zenith [mailto:[EMAIL PROTECTED]] Subject: [PHP] question about multidimension array Consider the following code: $ary1 = array ("one","two"); $ary2 = array ("three","four"); $2d_Dimension[] = $ary1; $2d_Dim

[PHP] Question about ImageCopy and colors

2001-02-15 Thread David Raufeisen
Hi, I have 4 images, and I copy three of them onto one main background, these images all have fairly different colors and as you can imagine the resulting image looks splotchy and missing colors. What do i need to do to make sure the resulting image looks proper? -- David Raufeisen [EMAIL

[PHP] Question about PDF functions and PDFLib 3.03

2001-02-15 Thread Vladimir Novakovic
I'm running PHP4.0.4pl1-Win32, Zend Engine v1.0.4, Zend Optimizer v1.0.0, I tryed to run sample script for creating PDF document. It's PHP manual script, but I get message like this: Fatal error: Call to undefined function: pdf_new() in c:/web/pdf/pdf.php on line 2 phpinfo.php said:

[PHP] question about PHP use

2001-02-07 Thread Don
Hi, I've been looking at using PHP but am unsure if it will do what I want. What first attracted me to PHP is the claim that I can embed PHP code within my html file and have it build dynamic content. Perhaps someone on the list can confirm that ic can do as follows: I have a web page that

RE: [PHP] question about PHP use

2001-02-07 Thread Cal Evans
Yeppers, it'll do that for you. Cal http://www.calevans.com -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 4:09 PM To: php list Subject: [PHP] question about PHP use Hi, I've been looking at using PHP but am unsure if it will do what I

Re: [PHP] question about PHP use

2001-02-07 Thread JB
yes, that is what PHP does best (displaying dynamic content from a database). - Original Message - From: Don [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 2:08 PM Subject: [PHP] question about PHP use Hi, I've been looking at using PHP but am

Re: [PHP] question about PHP use

2001-02-07 Thread Alexander Wagner
Don wrote: I have a web page that contains various graphics and text. At the bottom of the page, I have a table of one row by two columns. Using PHP and MySQL (I already know that PHP can access MySQL databases), I want to read data from a table and dynamically grow my table (add several

[PHP] Question about flock() on Linux

2001-02-03 Thread Andrew Sitnikov
Hello php-general, Script flock.php: ? $file_name = 'flock.txt'; for($i=0;$i1000;$i++){ if ($fd = fopen($file_name,'a+')){ if (flock($fd,LOCK_EX)){ fseek($fd,0,SEEK_END); fwrite($fd,$i.' : '.$i."\n"); flock($fd,LOCK_UN); }else{ die('Can not lock

[PHP] Question about flock() on Linux. Part 2

2001-02-03 Thread Andrew Sitnikov
Hello php-general, This also does not work: flock.php ? $file_name = '/home/sitnikov/tmp/flock.txt'; if ($fd = fopen($file_name,'a+')){ for($i=0;$i1000;$i++){ if (flock($fd,LOCK_EX)){ fseek($fd,0,SEEK_END); fwrite($fd,$i.' : '.$i."\n"); flock($fd,LOCK_UN);

[PHP] Question about dopping zeros

2001-01-25 Thread Ethan Nelson
I need to format decimals that are percise to the second place in the following format: 4.00 to 4 4.50 to 4.5 4.25 to 4.25 As you can see, I just want to drop the trailing zeros, and if necessary the decimal. Thanks ___ Ethan Nelson, Systems Administrator Net

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
Hello Ethan, $onum=4.11440; $onum =number_format($onum,2)+0; echo $onum; With this technique, you get the following: $onum output 4.166 4.12 4.135 4.11 4.000 4 4.30004.3 Is that what you wanted? To me, it's much easier to code and use than reg expressions and replaces.

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
Oops! Copied the numbers wrong. Here's are the numbers I meant to type: R $onum output R 4.166 4.12 4.1166 4.12 R 4.135 4.11 4.1135 4.11 R 4.000 4 R 4.30004.3 R Is that what you wanted? To me, it's much easier to code and use R than reg expressions and

Re: [PHP] Question about session_register()

2001-01-20 Thread Richard Lynch
My question is, when the user first visit, a session created, and I register the variable. On the second, or following hits, to use the session variable, I also need "session_start", but should I still need to call session_register() for each hit? No, once you register it, it's there unless

[PHP] Question about session_register()

2001-01-19 Thread Zenith
I have a question about session_register(), and the following is the background When I read a tutorial about session. I know that, once the "session_start()" is called, it will check the session id. If it's not valid, create a new one, and it will responible to retrieve the variable. I also

[PHP] Question about new features of PHP4!

2001-01-19 Thread Zenith
When I first meet PHP, it still in 3.0 version. just after I bought a book abuot PHP3, for a few weeks, PHP4 is released. for now, I have fimilar with some basic of PHP, and I try to find some useful tutorial about the PHP4, I fail. I have look about the PHP manual (pdf version), I find that,

Re: [PHP] Question about new features of PHP4!

2001-01-19 Thread Ignacio Vazquez-Abrams
On Sat, 20 Jan 2001, Zenith wrote: When I first meet PHP, it still in 3.0 version. just after I bought a book abuot PHP3, for a few weeks, PHP4 is released. for now, I have fimilar with some basic of PHP, and I try to find some useful tutorial about the PHP4, I fail. I have look about the

[PHP] Question about phpinfo() and XML

2001-01-12 Thread Noah Spitzer-Williams
phpinfo reports that XML is 'active' but i thought xml was a client side language? what does it have to do with the server? thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

<    4   5   6   7   8   9