[PHP] Re: method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi. Ok I've got the logging in of customer accounts settled but what I need to work into the system is that of preventing more than one instance of the same account. If I logon right now as testuser1 on ComputerA and t

Re: [PHP] method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This has been discused several times befor and the conclusion is that > these obstructions are wrong. What if the user loses its credentials and > he is still considered loged in. He cannot log in again. If you bind th

Re: [PHP] ps command in php

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 14:55:56 +0800, you wrote: >I'm trying to have the output of the "ps -ef" command in Linux to my >browser. Can anyone help how to properly have the output in proper format. >I've used the passthru() function but the output is scrambled. Scrambled how, exactly? Remember, your br

Re: [PHP] ps command in php

2003-10-06 Thread Mike Migurski
>I'm trying to have the output of the "ps -ef" command in Linux to my >browser. Can anyone help how to properly have the output in proper >format. I've used the passthru() function but the output is scrambled. What do you mean by 'scrambled'? The following works for me: echo '', `ps -ef`,

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
I'm doing like this: $ps = (passthru("ps -ef)); echo $ps; my output is something like this: UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep19 ? 00:00:04 init [3] root 2 1 0 Sep19 ? 00:00:00 [kflushd] root 3 1 0 Sep19 ? 00:00:09 [kupdate] root 4 1 0 Sep19 ? 00:00:00 [kpiod] root 5 1 0 Sep19 ? 00

Re: [PHP] image upload

2003-10-06 Thread Yury B .
Sorry, there was typo in the code I sent previously. Here is the right code but the same problem - secont image is with incorrect header: On 6 Oct 2003 at 8:09, Jason Wong wrote: > On Monday 06 October 2003 00:32, Yury B. wrote: > > Hi I need to upload two resized images out from one jpg imag

Re: [PHP] ps command in php

2003-10-06 Thread Mike Migurski
>my output is something like this: >UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep19 ? 00:00:04 init [3] root >2 1 0 Sep19 ? 00:00:00 [kflushd] root 3 1 0 Sep19 ? 00:00:09 [kupdate] root > >any idea? Yeah, see David Otton's response, or look at the HTML source of your output. -

Re: [PHP] ps command in php

2003-10-06 Thread Nitin
your question has already been answered: use: echo " $ps "; It should definitely help Nitin - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 12:51 PM Subject: Re: [PHP] ps command in php > I'm doing like this: >

Re: [PHP] image upload

2003-10-06 Thread Yury B .
Thank you for all help I have just figured out that there is other variable prob. See pointer "--->": //$c2=$rw/w; < $nh=$h*$c; //The Height Of The Thumbnails //$rh=$h*$c2; //The Height Of The Large Pictures $img = LoadJpeg($file); //$img2 = LoadJpeg($file); $thumb = imagecr

[PHP] How to upload files

2003-10-06 Thread Nitin
Hi all, I'm looking for a method to enable my users to upload thier html files and embedded pictures to my server. I think it should be something very easy, but as I'm doing it for the first time, I thought it would be better to seek help from the experienced one. So any idea, how can I do it e

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-06 Thread Burhan Khalid
John Wilcox wrote: I've been trying to make a simple script which just outputs the username that the script is currently executing under (in order to test that suexec is working properly). I've tried using the following line: and it fails to produce any output and returns the following error in

Re: [PHP] ps command in php

2003-10-06 Thread Michael P. Carel
When I do this: I can also see the HTML code, i need to put the output inside the table. Is there any solution for this? > your question has already been answered: > > use: > > echo " $ps "; > It should definitely help > > Nitin > > - Original Message - > From: "Michae

Re: [PHP] ps command in php

2003-10-06 Thread Pavel Jartsev
Michael P. Carel wrote: When I do this: I can also see the HTML code, i need to put the output inside the table. Is there any solution for this? Just remove first line of Your code or replace 'text/plain' with 'text/html'. And put inside -tags, as anwsered previously. -- Pavel a

[PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread PHP Webmaster
Hi all, I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code][/code] However, there is other text in the same article, so I need to format the code inside of the [code] and [/code] tags using htm

Re: [PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 10:06:44 +0100, you wrote: >I have on my site a part where users' can submit articles and no doubt their >articles will contain code. Code is wrapped inside of [code] tags, i.e. >[code][/code] > >However, there is other text in the same article, so I need to format the >code ins

[PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password protection box still appears asking for the username and password! The only thing I c

Re: [PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread Burhan Khalid
PHP Webmaster wrote: Hi all, I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code][/code] You can use any number of the bbcode parsing classes available to take care of this. http://www.phpclas

[PHP] Re: .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
"Php Webmaster" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using > a form to send the login details to the site through the address bar > (http://user:[EMAIL PROTECTED]) but the .htaccess password

[PHP] [O|T] XML/XHTML

2003-10-06 Thread Becoming Digital
A friend asked me to recommend a good XML/XHTML reference or guide. I was able to point him to a number of websites, but he said that he would prefer a book. Sadly, I don't know of any, so I'm hoping some of you can offer up your favourites. Thanks a lot, and sorry for the OT. Edward Dudlik

Re: [PHP] Newbie

2003-10-06 Thread Burhan Khalid
John Hicks wrote: Hi list, I have just installed PHP4.3.3-Win32. I have a book that said create a phpinfo.php ( ) file and place it in my Apache 2 htdocs file. I did this and when I run it opens in a blank page of DreamweaverMX. I tried to "open with" Internet Explorer and it does nothing. First

Re[4]: [PHP] OO parent/child relationship

2003-10-06 Thread Tom Rogers
Hi, Monday, October 6, 2003, 2:10:46 PM, you wrote: RC> On Sun, 2003-10-05 at 23:37, Tom Rogers wrote: >> Hi, >> >> Well I must have missed that one :) >> My answer, if GLOBALS were not meant to be used they wouldn't be there.. >> So if they make life easier go ahead and use them. I notice a lot

[PHP] Re: php5 and possible oop features/questions

2003-10-06 Thread Tit \"Black\" Petric
Not really what i was getting at dude, i dont see how defining a class variable will let me define a method outside of a given class, or to dynamically extend/implement other classes inside a general one? try again ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] Re: php5 and possible oop features/questions

2003-10-06 Thread Eugene Lee
On Mon, Oct 06, 2003 at 12:36:49PM +0200, Tit Black Petric wrote: : : Not really what i was getting at dude, i dont see how defining a class : variable will let me define a method outside of a given class, or to : dynamically extend/implement other classes inside a general one? Why the desire to

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread Mika Tuupola
On Mon, 6 Oct 2003, PHP Webmaster wrote: > Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using > a form to send the login details to the site through the address bar > (http://user:[EMAIL PROTECTED]) but the .htaccess password protection box That does not look like

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread Nathan Taylor
Does it continuously ask or just twice? I've found a weird issue with .htaccess where if the domain name is a mask for a subdomain host and you try to access an .htaccess protected page it will prompt you for the password, redirect you to the subdomain and then prompt you again. Nathan

Re: [PHP] Newbie

2003-10-06 Thread Burhan Khalid
Wang Feng wrote: To find out if IIS is running, you can follow the following steps : Start --> Run --> services.msc [enter] This will pull up a list of services running on your system, where you can check the status of Apache and IIS. Where did you *learn* the services.msc command? How and where

RE: [PHP] How to upload files

2003-10-06 Thread Jay Blanchard
[snip] I'm looking for a method to enable my users to upload thier html files and embedded pictures to my server. I think it should be something very easy, but as I'm doing it for the first time, I thought it would be better to seek help from the experienced one. So any idea, how can I do it easly

RE: [PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread Jay Blanchard
[snip] I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code][/code] [/snip] A simple way would be to replace the [code] tags with tags for display. Also Evolt.org does a nifty thing with code in

[PHP] php classes

2003-10-06 Thread Cameron Metzke
Anybody know of any real world php class tutorials?, so far ive read ones about building car and cake classes but i tend to learn better from actually follow a tutorial and building something though it and i done know jack about building cars lol. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] php classes

2003-10-06 Thread daniel
pear dude, check it out .. > Anybody know of any real world php class tutorials?, so far ive read > ones about building car and cake classes but i tend to learn better > from actually follow a tutorial and building something though it and i > done know jack about building cars lol. > > -- > PHP Ge

RE: [PHP] php classes

2003-10-06 Thread Jay Blanchard
[snip] Anybody know of any real world php class tutorials?, so far ive read ones about building car and cake classes but i tend to learn better from actually follow a tutorial and building something though it and i done know jack about building cars lol. [/snip] There is a reason for class "tutori

Re: [PHP] Re: mail() function, how to get it work?

2003-10-06 Thread Burhan Khalid
Manuel Lemos wrote: Hello, On 10/03/2003 12:44 PM, Kristian Snabb wrote: How do I set up the mail() function in php.ini. How do I define the username and password? My smtp service requires me to log on. I'm using Apache 2.0.47 on WinXP Pro. There is no way to set SMTP authentication using th

Re: [PHP] php classes

2003-10-06 Thread Cameron Metzke
Yep thanx guys they look really cool :), and yes your right google is my friend lol, ive been looking for days on google with more search terms than ever but i missed these 2. take care and again thanx :D "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Anybody kno

Re: [PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 07:12:07 -0500, you wrote: >Also Evolt.org does a nifty thing with code in iframes within >articles. Just a . CSS's overflow: property is a possible text-within-text solution, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] php classes

2003-10-06 Thread Jeremy Johnstone
I don't know if these will help you, but maybe take a look here: phpclasses.org (code samples to read over) hotscripts.com (complete programs to read over) devshed.com (heard they had good articles, never really been there) Jeremy On Mon, 2003-10-06 at 07:13, Cameron Metzke wrote: > Anybody know

Re: [PHP] attach file with mail() function??

2003-10-06 Thread Steve Buehler
At 06:34 PM 10/5/2003, Roy W wrote: Is there a way to attach a file with the mail() function? Thanks! Yes. Take a look at http://www.php.net/mail Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[4]: [PHP] OO parent/child relationship

2003-10-06 Thread Robert Cummings
On Mon, 2003-10-06 at 06:22, Tom Rogers wrote: > >> > >> Well I must have missed that one :) > >> My answer, if GLOBALS were not meant to be used they wouldn't be there.. > >> So if they make life easier go ahead and use them. I notice a lot of 'purists' > >> on this list that want things done a c

[PHP] null character - file related function

2003-10-06 Thread Martin Straka
Hi, Is somewhere documented that everything after NULL (0x00 %00) character is ignored for example in functions include, fopen etc? Martin Straka -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] null character - file related function

2003-10-06 Thread Marek Kilimajer
You cannot have chr(0) in filenames Martin Straka wrote: Hi, Is somewhere documented that everything after NULL (0x00 %00) character is ignored for example in functions include, fopen etc? Martin Straka -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] IRC

2003-10-06 Thread Paulo Nunes
How can i build a chat using PHP and without refreshing a frame every x seconds? Thanks!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IRC

2003-10-06 Thread Marek Kilimajer
Search for "hidden iframe" Paulo Nunes wrote: How can i build a chat using PHP and without refreshing a frame every x seconds? Thanks!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] null character - file related function

2003-10-06 Thread Mark Charette
On Mon, 6 Oct 2003, Martin Straka wrote: > > Is somewhere documented that everything after NULL (0x00 %00) character > is ignored for example in functions include, fopen etc? Interestingly, no, it's not documented in the manual (at least I couldn't find any official documentation on NULL terminate

[PHP] proc_open to return an encrypted string?

2003-10-06 Thread Robert Van Overmeiren
Hello, I want to take a String variable and GPG encrypt it, then email the encrypted string. One of our developers suggested using "proc_open" and to "set the process to 'gpg -a --encrypt -r 0x35E891B0'", but couldn't clarify. How is this done? Would it be something like this...? ---

Re: [PHP] null character - file related function

2003-10-06 Thread Robert Cummings
On Mon, 2003-10-06 at 11:29, Mark Charette wrote: > On Mon, 6 Oct 2003, Martin Straka wrote: > > > > Is somewhere documented that everything after NULL (0x00 %00) character > > is ignored for example in functions include, fopen etc? > > Interestingly, no, it's not documented in the manual (at leas

Re: [PHP] IRC

2003-10-06 Thread Chris Shiflett
--- Paulo Nunes <[EMAIL PROTECTED]> wrote: > How can i build a chat using PHP and without refreshing a frame > every x seconds? Use chunked transfers. The flush command can help you achieve this: http://www.php.net/flush Hope that helps. Chris = My Blog http://shiflett.org/ HTTP Devel

Re: [PHP] null character - file related function

2003-10-06 Thread Mark Charette
On 6 Oct 2003, Robert Cummings wrote: > > Strings in PHP are binary safe and thus do not rely on null temrination. You are, of course, right (just a brainfart on my part ...). There are a number of functions that depend on null termination of strings; handing a string with embedded nulls in it t

[PHP] functions using other functions inside of classes?

2003-10-06 Thread Kirk Babb
If I have a class with several functions, and one of the functions is used by the other functions in the class, how do I get to it? In particular I'd like the dbConnect, fail and success functions to be seen by the other functions in the class. I guess I just don't understand the way to use OO ye

Re: [PHP] null character - file related function

2003-10-06 Thread Martin Straka
Hi, On Mon, 6 Oct 2003, Mark Charette wrote: > > Strings in PHP are binary safe and thus do not rely on null temrination. > > You are, of course, right (just a brainfart on my part ...). > > There are a number of functions that depend on null termination of > strings; handing a string with embedd

[PHP] File read and sort question

2003-10-06 Thread Susan Ator
I have a directory with an ever-changing number of files. Some will be removed and others added on a continuing basis. The files are ascii with the following layout: Name Subject line mm/dd/ hh:mm I can easily get a list of files and pull the necessary information. I need, however to be

Re: [PHP] File read and sort question

2003-10-06 Thread Robert Cummings
On Mon, 2003-10-06 at 12:10, Susan Ator wrote: > I have a directory with an ever-changing number of files. Some will be > removed and others added on a continuing basis. > > The files are ascii with the following layout: > > Name > Subject line > mm/dd/ > hh:mm > > I can easily get a lis

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
"Mika Tuupola" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 6 Oct 2003, PHP Webmaster wrote: > > > Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using > > a form to send the login details to the site through the address bar > > (http://user:[EMAIL P

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
"Nathan Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Does it continuously ask or just twice? I've found a weird issue with .htaccess where if the domain name is a mask for a subdomain host and you try to access an .htaccess protected page it will prompt you for the password

Re: [PHP] Newbie

2003-10-06 Thread John Hicks
Hi John-- Your name caught my eye, so I had to reply! Unfortunately I run PHP on Linux so can't be sure about your situation with Windex. But I think your problem is that you are opening your phpinfo.php file from your local file system. You should instead open it through your webserver. (i.e

RE: [PHP] File read and sort question

2003-10-06 Thread Susan Ator
The problem with using a database is the files within the directory are changing on, sometimes, a minute by minute basis. I think reading them into the database then deleting them when they are deleted from the directory would be a huge amount of overhead. No? Something else which I did not make c

Re: [PHP] PHP Bug Problems

2003-10-06 Thread Richard Baskett
on 10/2/03 7:00, Jay Blanchard at [EMAIL PROTECTED] wrote: > [snip] >> Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is >> just >> downright goofy! Did you happen to try it with 8000+ repeated blocks of any >> other type? My bet is that it would quit then too. > > Yeah no

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread Jason Wong
On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: > If I use my login form, the login box pops up only once. If I copy the text > from the address bar (generated by the form) and paste it into the address > bar (after restarting the browser) the logon box does not appear. Perhaps you could s

Re: [PHP] null character - file related function

2003-10-06 Thread Curt Zirzow
* Thus wrote Martin Straka ([EMAIL PROTECTED]): > Hi, > > On Mon, 6 Oct 2003, Mark Charette wrote: > > > > Strings in PHP are binary safe and thus do not rely on null temrination. > > > > You are, of course, right (just a brainfart on my part ...). > > > > There are a number of functions that dep

RE: [PHP] File read and sort question

2003-10-06 Thread Robert Cummings
On Mon, 2003-10-06 at 12:36, Susan Ator wrote: > The problem with using a database is the files within the directory are > changing on, sometimes, a minute by minute basis. I think reading them into > the database then deleting them when they are deleted from the directory > would be a huge amount

Re: [PHP] File read and sort question

2003-10-06 Thread Chris Sherwood
Susan It appears that you will want to use a database. and update it when the files are removed. (possibly provide a page to do uploading, modifications and deletions with .. this way you can automate the db) other than that you will have to recreate everything each time you process or display th

[PHP] How can I get a function name?

2003-10-06 Thread RDias
How can I get a function name? >From inside a function / method, i need discover it name. How can i do this? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I get a function name?

2003-10-06 Thread Leif K-Brooks
RDias wrote: How can I get a function name? If you're using PHP 4.3.0+, try the __FUNCTION__ magic constant. http://us2.php.net/manual/en/language.constants.predefined.php -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted

Re: [PHP] File read and sort question

2003-10-06 Thread Brad Pauly
Susan Ator wrote: The problem with using a database is the files within the directory are changing on, sometimes, a minute by minute basis. I think reading them into the database then deleting them when they are deleted from the directory would be a huge amount of overhead. No? Something else whic

[PHP] Multiple attachments in an email

2003-10-06 Thread Ajay Singh
Hi, Please guide how to send multiple attachments in one mail through php mail script. The following code is working for the one attachment: Thanks & regards, Ajay // Read POST request params into global vars $to = $_POST['to']; $from= $_POST['from']; $subject = $_POST['subject']; $m

RE: [PHP] OO parent/child relationship

2003-10-06 Thread Andy Crain
This all seems like a perfect case for the singleton pattern. See http://www.phppatterns.com/index.php/article/articleview/6/1/1/ and http://www.phppatterns.com/index.php/article/articleview/75/1/1/ Andy > -Original Message- > From: Evan Nemerson [mailto:[EMAIL PROTECTED] > Sent: Monday, O

[PHP] php 4.3.3 / pcntl_signal problem?

2003-10-06 Thread Karl Pielorz
Hi All, [This is quite a long post, my apologies :(] I have the CLI version of PHP 4.3.3 running under FreeBSD 5.1-Release. I seem to have encountered some 'strange' behaviour with signals... I may have missed the plot so far as signals go under PHP, but from within my signal handler routine -

[PHP] Array of Classes

2003-10-06 Thread Rob Wiltbank
Greetings.. Doing some persistant connection socket-based PHP stuff and I'm trying to figure out a few things: 1) How can I create an array of classes so they could be referenced, for instance: $array[$uniqueID][$class->var] = 10; ? 2) Would it instantiate when that particular element was used a

[PHP] Compiled Regular Expressions?

2003-10-06 Thread Manuel Vázquez Acosta
Hi all: I need to know if PHP compiles regular expressions. If it does so, is there any way to cache the compiled resource in order to speed up next calls to preg_* functions? Manu. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] File read and sort question

2003-10-06 Thread Susan Ator
I have no control over 1) file naming 2) file inclusion in the directory 3) file removal from the directory This is all being handled through another program written in C. So far I have been able to put the relevant info from each file into the database then display with

Re: [PHP] Array of Classes

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 13:41:22 -0400, you wrote: >1) How can I create an array of classes so they could be referenced, for >instance: $array[$uniqueID][$class->var] = 10; ? > >2) Would it instantiate when that particular element was used and would the >constructor run at that point? > >3) Any way to

[PHP] Re: PHP & CSS

2003-10-06 Thread erythros
people will still be able to see your style sheet, by folling the link to your css file. how are you apling the variables in the first place? now that you are link to a style sheet what has changed (apperance wise) with the output of the page. is the formating not being applied? can you send a samp

Re: [PHP] OO parent/child relationship

2003-10-06 Thread Gerard Samuel
Andy Crain wrote: This all seems like a perfect case for the singleton pattern. See http://www.phppatterns.com/index.php/article/articleview/6/1/1/ and http://www.phppatterns.com/index.php/article/articleview/75/1/1/ Andy Im currently trying to wrap the brain around the Singleton Registry article.

RE: [PHP] PHP & CSS

2003-10-06 Thread Chris Hubbard
Raquel, this is an HTML question, not PHP. And here's the answer: The following goes in the < head > section of your html: -Original Message- From: Raquel Rice [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 10:13 AM To: PHP-General Subject: [PHP] PHP & CSS I'm currently build

Re: [PHP] PHP & CSS

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 11:13:04 -0700, you wrote: >I'm currently building a dynamic site which draws page configuration >variables from config (ini) files. To use those variables from the >ini files, I write the style sheet in the header of each page. > >Here's my problem. I want to link to a style

Re: [PHP] File read and sort question

2003-10-06 Thread Marek Kilimajer
Susan Ator wrote: I have no control over 1) file naming 2) file inclusion in the directory 3) file removal from the directory This is all being handled through another program written in C. So far I have been able to put the relevant info from each file into the database t

RE: [PHP] PHP & CSS

2003-10-06 Thread Jay Blanchard
[snip] This is a question as to how I would apply variables from an ini file to the file called in the manner you so nicely explained to me. [/snip] Using fopen() you would then write the variables to the CSS file. As long as you fclose the CSS file before you get to the link rel in the HTML you'l

Re: [PHP] Multiple attachments in an email

2003-10-06 Thread Curt Zirzow
* Thus wrote Ajay Singh ([EMAIL PROTECTED]): > Hi, > > Please guide how to send multiple attachments in one mail through php mail script. > The following code is working for the one attachment: If you look at it closely you are already sending two attachements. For a guide read and implement:

[PHP] Anybody know of a good web site on how to create P3P privacy policies?

2003-10-06 Thread Dan Anderson
Does anyone know of a good web site on how to create a P3P Privacy policy? When I googled I kept getting other people privacy policies and proprietary tools. Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array of Classes

2003-10-06 Thread Rob Wiltbank
Cheers! Just what I was looking for. :) Rob "David Otton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 6 Oct 2003 13:41:22 -0400, you wrote: > > >1) How can I create an array of classes so they could be referenced, for > >instance: $array[$uniqueID][$class->var] = 10; ? >

Re: [PHP] proc_open to return an encrypted string?

2003-10-06 Thread Curt Zirzow
* Thus wrote Robert Van Overmeiren ([EMAIL PROTECTED]): > Hello, > > I want to take a String variable and GPG encrypt it, then email the > encrypted string. > > One of our developers suggested using "proc_open" and to "set the process to > 'gpg -a --encrypt -r 0x35E891B0'", but couldn't clarify.

Re: [PHP] Anybody know of a good web site on how to create P3P privacy policies?

2003-10-06 Thread Chris Shiflett
--- Dan Anderson <[EMAIL PROTECTED]> wrote: > Does anyone know of a good web site on how to create a P3P Privacy > policy? Here are the two URLs I find most helpful: 1. http://www.w3.org/P3P/develop.html - This page is specifically for developers and gives you the information you need to be consi

[PHP] timeout question

2003-10-06 Thread David Coleman
I have a PHP page that for some reason is taking an ungodly long time to execute. I suspect that this is simply b/c I’m running Apache 1.3 / MySQL 4.013-nt, PHP 4, Zend studio 3.0, and MySQL GUI on a 266 MhZ win2K server. (Yes people, I know I’m choking the poor thing, but I can’t afford a new se

Re: [PHP] Compiled Regular Expressions?

2003-10-06 Thread Curt Zirzow
* Thus wrote Manuel Vázquez Acosta ([EMAIL PROTECTED]): > Hi all: > > I need to know if PHP compiles regular expressions. If it does so, is there > any way to cache the compiled resource in order to speed up next calls to > preg_* functions? caching is built into pcre library, all your expression

RE: [PHP] timeout question

2003-10-06 Thread Vail, Warren
http://www.php.net/manual/en/function.set-time-limit.php Warren Vail -Original Message- From: David Coleman [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: [PHP] timeout question I have a PHP page that for some reason is taking an ungod

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Marek Kilimajer
Tit "Black" Petric wrote: will something in the likes of this be possible in php5? /***/ class some_classname { function some_function(); } function some_classname::some_function($prefix, $text) { return $prefix.": ".$text."\n"; } $test = new some_classname; $test->some_function("

Re: [PHP] timeout question

2003-10-06 Thread Curt Zirzow
* Thus wrote David Coleman ([EMAIL PROTECTED]): > I have a PHP page that for some reason is taking an ungodly long time to > execute. I suspect that this is simply b/c I’m running Apache 1.3 / > MySQL 4.013-nt, PHP 4, Zend studio 3.0, and MySQL GUI on a 266 MhZ win2K > server. (Yes people, I know

[PHP] Re: functions using other functions inside of classes?

2003-10-06 Thread Kirk Babb
I'm reading up on OO and PHP, so I'll retract the previous question until I can ask something better. Just ignore it. Thanks, Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Tit \"Black\" Petric
yeah i know, php5 would benefit greatly from something like this the problem with php in general is that you cant seperate a class over multiple files (as you must have one file with the class sometimes quite big, over 50kb) i guess you can split it someways with the implements feature, having a

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: > > > If I use my login form, the login box pops up only once. If I copy the text > > from the address bar (generated by the form) and paste it into the address > > bar

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Marek Kilimajer
In this case you will benefit from the new _call() interceptor method: class Dynamic { _call($methodName, $parameters) { /* detect what method name is to be used and get its implementation from a file or a database */ } } Tit "Black" Petric wrote: yeah i know, php5 would benefit greatly fro

[PHP] Any idea how to do this?

2003-10-06 Thread Ryan A
Hi, Sometime back I used to visit this URL: http://www.groundbreak.com/graphics.html to make the graphics for some products as it was easy to use and give pretty decent results, but now i see that the owner has converted it into a paysite and is asking for a whopping 200$ per membership :-( So I h

Re: [PHP] Any idea how to do this?

2003-10-06 Thread CPT John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > Sometime back I used to visit this URL: > http://www.groundbreak.com/graphics.html > to make the graphics for some products as it was easy to use and give pretty > decent results, but now i see that the owner has converted it into a paysite > and is asking for

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Curt Zirzow
* Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): > In this case you will benefit from the new _call() interceptor method: > > class Dynamic { > > _call($methodName, $parameters) { > /* detect what method name is to be used and get its > implementation from a fi

Re: [PHP] Any idea how to do this?

2003-10-06 Thread Chris Shiflett
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > I've also come across a site called www.google.com. Can anyone tell > me how to make that for my site, also? If you can just send me the > script, that'd be great. Here you go: http://www.google.com/";> http://www.google.com/'); ?> :-) Chris

Re: [PHP] include() problems

2003-10-06 Thread Burhan Khalid
Gustave Bernier wrote: I'm new to PHP and I'm trying to use the include function but with no success... My server's ini file is set as (allow_url_fopen, 0) so I'm having some trouble to pass different values for the php file I'm calling. The address is: http://mydomain.com/forums/ssi.php?a=act

Re: [PHP] Any idea how to do this?

2003-10-06 Thread Ryan A
HEHEHEHE good one Chris, John seems unusally snappy today... But seriously, this cant be ALL that hard, not even a suggestion of where to start? I have searched on google but have never really tried any of php's image stuff so need help from someone who has...or atleast a starting point. Cheers, -

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Tit \"Black\" Petric
one small stone in a pond of stones, but what this pond needs is a bridge to an island in the middle. From: "Marek Kilimajer" <[EMAIL PROTECTED]> > In this case you will benefit from the new _call() interceptor method: > > class Dynamic { > > _call($methodName, $parameters) { > /* detect what meth

RE: [PHP] Any idea how to do this?

2003-10-06 Thread Chris W. Parker
Ryan A on Monday, October 06, 2003 1:34 PM said: > HEHEHEHE good one Chris, John seems unusally snappy today... > But seriously, this cant be ALL that hard, not even a suggestion of > where to start? > I have searched on google but have never really tried any of php'

Re: [PHP] File read and sort question

2003-10-06 Thread Burhan Khalid
Susan Ator wrote: I have no control over 1) file naming 2) file inclusion in the directory 3) file removal from the directory This is all being handled through another program written in C. Hrmm what can you do to the files? If this is a linux system, you can write a shel

Re: [PHP] null character - file related function

2003-10-06 Thread Burhan Khalid
Curt Zirzow wrote: Some functions are documented as binary safe, i'm not entirely sure what php's policy is on noting if a function is binary safe or not. I believe for some, it states in the manual. Something like "this function became binary safe as of PHP version ___". -- Burhan Khalid phplis

[PHP] Re: Any idea how to do this?

2003-10-06 Thread Paul van Schayck
Hello, [EMAIL PROTECTED] (Ryan A) wrote in > So I have decided that I am going to try to make the same thing on our > site but offer it free to the public...only problem is...I dont know > where to start and was hopeing someone here can give me tips/urls or > links to boost me on my way... You kn

  1   2   >