[PHP] Processes under non-UNIX operating system

2002-11-19 Thread Noor Dawod
Hello all, I was disappointed to know that other than UNIX, PHP doesn't support processes, unless I don't have the latest news. For my particular needs, and after investigating many sources, I see that processes are my friend. My needs comprise of the following: 1) being able to listen on a spec

Re: [PHP] problems with PHP code (Please help!)

2002-11-19 Thread Justin French
Ask your host to set-up a .htaccess file to turn register_globals ON, or you need to do some research in the archives for "register globals"... it's been discussed to death. Basically, instead of a form value being something like $firsName, it's now $_POST['firstName'] or $_GET['firstName'] (depen

[PHP] Re: echoing date of first and last day of current week.

2002-11-19 Thread Noodle Snacks
I ended up using this: $time = time(); $weekday = date('w',$time); $suntimestamp = $time - ($weekday * 86400); $sattimestamp = $suntimestamp + 604800; echo 'Words for the week from '.date('jS F Y',$suntimestamp).' to '.date('jS F Y',$sattimestamp).'.'; -- JJ Harrison [EMAIL PROTECTED] "Noodle

[PHP] Re: problems with PHP code (Please help!)

2002-11-19 Thread Noodle Snacks
It it better that you use a subject that is related to the problem eg. "Email Script not working after server upgrade" -- JJ Harrison [EMAIL PROTECTED] "`Yan Grossman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear Friends, > > I run some PHP scripts to

[PHP] communicate with cyrus imap

2002-11-19 Thread Petre Agenbag
Hi I wonder if someone can give me some pointers on this. I have cyrus/sendmail running on a RH server, and it works great. I use ximian evolution as my mail client and other users also has no problem with OE or MO. I've been looking at various web based mail clients to implement on my server for

Re: [PHP] Re: problems with PHP code (Please help!)

2002-11-19 Thread Jason Wong
On Tuesday 19 November 2002 17:40, Noodle Snacks wrote: > It it better that you use a subject that is related to the problem eg. > "Email Script not working after server upgrade" And also, it is better to include your code inline (as text) rather than as an attachment. A lot of people would not b

[PHP] OOP - transfering object-pointer

2002-11-19 Thread Tularis
Currently, I have the following code: class overall { var $loaded; function load($class){ //eval("global \$$class;"); // This didn't work either $this->loaded[] = $class; eval("\$this->$class = new $class;"); return true; } } class foo { var $bar; // Constructor function bar(){

[PHP] Re: OOP - transfering object-pointer

2002-11-19 Thread Tularis
actually, the foreach should read: foreach($overall->loaded as $key=>$val){ $val =& $overall->$val; } still doens't work though Tularis wrote: Currently, I have the following code: loaded[] = $class; eval("\$this->$class = new $class;"); return true; } } class foo { v

[PHP] problem with code (almost fixed)

2002-11-19 Thread Yan Grossman
Hi, I fixed my code to handle forms using $_REQUEST. Just having problem with the fields with multiple contents... the one you have to call like field[0], field[1],etc... How do I use the brackets inside brackets? my case is this: Thanks. I have fixed everything with $_REQUEST but I am having pro

RE: [PHP] problem with code (almost fixed)

2002-11-19 Thread Noor Dawod
You'd write something like: $_REQUEST['pac_hot'][0], $_REQUEST['pac_hot'][1] and so on. Noor > -Original Message- > From: Yan Grossman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 12:07 PM > To: [EMAIL PROTECTED] > Subject: [PHP] problem with code (almost fixed) > > >

[PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread Simon Dedeyne
Hi, Does anybody know where to find a pre-compiled Windows (XP) version of PHP that includes multistring functions? I checked phpdev on firegpages and other sites that usually hold these installations but their versions don't support those multistrings yet. Any help/links are appreciated! Simon

[PHP] Re: Swear word substitution

2002-11-19 Thread Craig Donnelly
http://www.evilwalrus.com/viewcode/560.php "Cj" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm posting this again as i got a mail saying > > Trend SMEX Content Filter has detected sensitive content. > > Place = [EMAIL PROTECTED]; ; > Sender = CJ > Subject =

Re: [PHP] speed comparison

2002-11-19 Thread Marek Kilimajer
I like to see html highlighting, so I prefer first method, but for some small snippets I also use echo Ernest E Vogelsinger wrote: As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP

[PHP] Display character 'x' times

2002-11-19 Thread Tjoumaidis Tasos
Hello to everybody, I just want to display a character like D x times like DDD where x is a $variable i get from the database i cannot make it work like it is on perl (i don't even know if it is working the same way) and i can't find a reference in the manual on php.net, maybe it's a silly ques

[PHP] What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread Phil Schwarzmann
Let's say you had one site and one site only to get the latest PHP/MySQL news, articles, reviews, resources, tutorials, advanced stuff etc. What would it be?!?

[PHP] Has anyone used O'Reilly's "Safari" online book thingy for PHP/MySQL?

2002-11-19 Thread Phil Schwarzmann
Has anyone used book publisher O'Reilly's new "Safari" online book site for PHP/MySQL books? I was hoping to use it so I could download whole books and possibly print them out.is it capable of doing something like this or is it next to impossible?

[PHP] Re: problem with code (almost fixed)

2002-11-19 Thread Tularis
Yan Grossman wrote: Hi, I fixed my code to handle forms using $_REQUEST. Just having problem with the fields with multiple contents... the one you have to call like field[0], field[1],etc... How do I use the brackets inside brackets? my case is this: Thanks. I have fixed everything with $_REQUE

[PHP] Re: What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread Tularis
Phil Schwarzmann wrote: Let's say you had one site and one site only to get the latest PHP/MySQL news, articles, reviews, resources, tutorials, advanced stuff etc. What would it be?!? zend.com :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Display character 'x' times

2002-11-19 Thread Khalid El-Kary
hi, $numtimes=400; for ($i=1;$i<=400;$i++) { echo 'd'; } ---Or--- $numtimes=400; for ($i=1;$i<=400;$i++) echo 'd'; -Or $numtimes=400; for ($i=1;$i<=400;$i++) {?>d _ Tired of spam? Get advanced junk mail protection wit

[PHP] Re: Display character 'x' times

2002-11-19 Thread Tularis
Tjoumaidis Tasos wrote: Hello to everybody, I just want to display a character like D x times like DDD where x is a $variable i get from the database i cannot make it work like it is on perl (i don't even know if it is working the same way) and i can't find a reference in the manual on php.net,

RE: [PHP] Re: problem with code (almost fixed)

2002-11-19 Thread Noor Dawod
> -Original Message- > From: Tularis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 12:45 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: problem with code (almost fixed) > > first, change this: $_REQUEST['pac_hot[0]'] to: > $_REQUEST["$pac_hot[0]"] > a single quote ( ' )

Re: [PHP] Display character 'x' times

2002-11-19 Thread Neil Freeman
str_repeat () Tjoumaidis Tasos wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 15th November 2002 ** Hello t

Re: [PHP] Display character 'x' times

2002-11-19 Thread Steel
Hi Tjoumaidis, Tuesday, November 19, 2002, 1:30:39 PM, I've got: TT> Hello to everybody, TT> I just want to display a character like D x times like DDD where x is a TT> $variable i get from the database i cannot make it work like it is on TT> perl (i don't even know if it is working the same w

[PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Hacook
Hi all, I made a script that works on a very long charachter chain and its process is lnggg about 5 minutes ! Do you have any tips to make it faster ? Thanks, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Jon Haworth
Hi, > I made a script that works on a very long charachter > chain and its process is lnggg about 5 minutes ! > Do you have any tips to make it faster ? My mysterious ninja PHP developer powers have told me that you need to fiddle with lines 23 and 72, that's where it's slowing down. I

Re: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Justin French
on 19/11/02 10:00 PM, Hacook ([EMAIL PROTECTED]) wrote: > Do you have any tips to make it faster ? The answers will come in faster if you tell us how you're "processing" it. Justin French http://Indent.com.au Web Developent & Graphic Design -- PHP G

Re: [PHP] Display character 'x' times - Solved

2002-11-19 Thread Tjoumaidis Tasos
Great, That's exactly what i was looking for, thx to the other guys as well and sorry for not mentioning the whole problem which was that i wanted to pass the value to a variable. Steel wrote: Hi Tjoumaidis, Tuesday, November 19, 2002, 1:30:39 PM, I've got: TT> Hello to everybody, TT> I just

Re: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Marek Kilimajer
die() but seriosly, if you don't tell us what the script does, we can't tell you if it can be made faster Hacook wrote: Hi all, I made a script that works on a very long charachter chain and its process is lnggg about 5 minutes ! Do you have any tips to make it faster ? Thanks, Hacook

Re: [PHP] post files array and registered globals off

2002-11-19 Thread Marek Kilimajer
Sorry, now I noticed I forgot to add [$i]: if(!$_FILES['photo']['tmp_name'][$i]) break; Marek Kilimajer wrote: you need to do it another way, e.g.: for($i=0; $i < MAX_FILES; $i++) { if(!$_FILES['photo']['tmp_name']) break; ... now work with the file. } electroteque wrote: hi i need t

[PHP] Have fun! 3 Days for free! or for one month! every day 24 hours!

2002-11-19 Thread hotstuff
Show this line! http://www.tgpfriendly2.com/members/switzerland/pussyline/ it\'s an switzerline Have fun! Days for free! http://www.tgpfriendly2.com/members/switzerland/pussyline/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Tristan Carron
- Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Tristan Carron" <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 12:23 PM Subject: Re: [PHP] Loonng > You should post this to the list, not me direct :) > > Justin > > > on 19/11/02 10:10 PM,

Re: [PHP] is this not possible?

2002-11-19 Thread Mark
I'd say you've already determined the simplest way to do it. When the page is generated by PHP, have it insert the necessary data into appropriate places in a javascript function. When a user clicks the 'recharge' button, they are prompted for the amount they wish to use to recharge, and then ar

[PHP] Misbehaved Script...

2002-11-19 Thread Kondwani Spike Mkandawire
Hi folks: Have any of you guys encountered the following error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My Scripts that require user interaction and self modification often encounter this. I have no clue

Re: [PHP] New commercial software needs beta testers

2002-11-19 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hmmI hope you're happy cause you certainly gave Intravative Software a bad public image. I wouldn't buy/try betas from your company for NOTHING ~Paul On Wednesday 13 November 2002 05:14 pm, Jeremy Wilson wrote: > Well fine... by reading a bun

Re: Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Marek Kilimajer
Your function seems to return string before first occurence of '*'. This should be faster: function conte($string) { return substr($string,0,strrpos($string,'*')); } Tristan Carron wrote: - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Tristan Carron" <[EMAIL PROT

[PHP] Free MySQL Hosting :)

2002-11-19 Thread PHP Mailing List
As a project I'm working on that will later manifest into something more, I'm offering free MySQL hosting on one of my servers. Just enter the desired username and password, and 3 databases will be created for you to use from your PHP scripts. The info you'll need to connect to the MySQL server

[PHP] Re: Distance Based on Zip Code

2002-11-19 Thread UberGoober
Another resource to check out: http://www.onlamp.com/pub/a/php/2002/11/07/php_map.html "Vernon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know how I can set something up that tells the distance between > one Zip Code and another? I'm needing t

[PHP] New Site to submit your scripts to..

2002-11-19 Thread PHP Mailing List
I've recently finished creating a Script Index (almost identical to HotScripts) for people to submit their PHP (and Perl) scripts. The database right now is over 7,000 (both PHP and Perl), but only because I've collected the data from other sites. If you have a script, I ask of you to submit it

Re: [PHP] How I Got PHP4.2.2, Apache 2.0, mySQL and RedHat 8.0 towork

2002-11-19 Thread Adam Williams
Not to burst your bubble, but I'have had all of this working since the day RedHat 8.0 was released. Though I compiled everything by hand instead of using RedHat's RPMs. Just read the comments on php.net under the apache/unix install and did what they said to add to httpd.conf for PHP.

[PHP] catching a robot or spider

2002-11-19 Thread Wilbert Enserink
Hi all, does anybody know a way to make a distinction between robots and users? should I use the user agent? Or is this not a safe method. If the visitor is a spider/robot I want to include some script containing extra URL's for the robot. regards Wilbert - Pas de Deux

Re: [PHP] Free MySQL Hosting :)

2002-11-19 Thread Adam Voigt
Dude, you rock, way to give to the community. On Tue, 2002-11-19 at 08:34, PHP Mailing List wrote: > As a project I'm working on that will later manifest into something more, > I'm offering free MySQL hosting on one of my servers. Just enter the > desired username and password, and 3 databases w

Re: [PHP] Has anyone used O'Reilly's "Safari" online book thingyfor PHP/MySQL?

2002-11-19 Thread Jason Sheets
I'm currently subsribed to Oreilly's Safari. I find it very useful for coming up to speed quickly but even though the complete book is available online it is still no replacement for a hard copy of a book. I usually read the book online then buy it if I like it. I have not read any of the MySQL

[PHP] test

2002-11-19 Thread shi ziye
test post only _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] about processing time of function INCLUDE

2002-11-19 Thread Bryan
Is it will increase the processing time when too many "include" process in a program? Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] about processing time of function INCLUDE

2002-11-19 Thread Bryan
Is it will increase the processing time when too many "include" process in a program? Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capturing multiple select with Javascript - nearly there

2002-11-19 Thread Phoebe Bright
I want to use Javascript to move items from a source list to a destination list and then PHP to retrieve the items in the destination list. After much head bashing and pointers from various forum archives I am nearly there! Can anyone help me? My remaining problem is that the array that PHP

[PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread shi ziye
WOOP (Web Object Of Php) Have you write PHP program like this ? // begin class TForm extends System_UI_Form { function init() { $this->label1 = & new System_UI_Label("label1", &$this); $this->button1 = & new System_UI_Button("button1", &$this); $this->button2 = & new System_UI_Button("butt

[PHP] which PHP debugger?

2002-11-19 Thread Otakar Kverka
Hi all, please which PHP debugger is the "best one"? (fast keyboard commands, variables, includes, reliability etc.). Which PHP debugger works well under Windows, which under Linux? thanks... --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread 1LT John W. Holmes
Is there a question in here somewhere? What do you need help with? ---John Holmes... - Original Message - From: "shi ziye" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 9:20 AM Subject: [PHP] New generation of PHP Program, reaction to ASP.NET > WOOP (Web O

Re: [PHP] which PHP debugger?

2002-11-19 Thread bbonkosk
h... I *think* PHP is platform independant for the most part, and it is not like it is a compiled language where you have fancy debuggers to set breakpoints, step through the code, etc... Why not use the functions built into PHP? echo " "; if a mysql problem: mysql_error() -Brad > Hi all,

Re: [PHP] which PHP debugger?

2002-11-19 Thread Adam Voigt
Actually, I belive you can set breakpoints and step through code with Zend Studio. (Free download for personal use). http://www.zend.com On Tue, 2002-11-19 at 04:35, [EMAIL PROTECTED] wrote: > h... > I *think* PHP is platform independant for the most part, and it is not like it > is a compi

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread shi ziye
I want hackers to help me to finish the whole project!!! It is only the begining. and it will change our web programing method Goto www.shiziye.net/woop to see more! Mail to [EMAIL PROTECTED] if you want to help me. Is there a question in here somewhere? What do you need help with? ---John Holme

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread 1LT John W. Holmes
WOOP-DE-DO... ---John Holmes... - Original Message - From: "shi ziye" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 9:39 AM Subject: Re: [PHP] New generation of PHP Program, reaction to ASP.NET > I want hackers to help me to finish the

[PHP] date

2002-11-19 Thread Edward Peloke
I am pulling from a datetime field in mysql. The actual data looks like this: 2002-11-30 00:00:00 When I output the data to the page, I want it to appear as 11/30/2002. I want to use a php date format. I do not want it formatted as it comes out of the db. But date("m/d/y", $myrow[departdate]) r

Re: [PHP] date

2002-11-19 Thread Support @ Fourthrealm.com
Eddie, This is a function that I wrote to handle this same situation: # --- Function to format date output --- function makedate($format, $indate) { $temp = explode("-", $indate); $fulldate = mktime(0, 0, 0, $temp[1], $temp[2], $temp[0]);

Re: [PHP] date

2002-11-19 Thread 1LT John W. Holmes
> I am pulling from a datetime field in mysql. The actual data looks like > this: 2002-11-30 00:00:00 When I output the data to the page, I want it to > appear as 11/30/2002. I want to use a php date format. I do not want it > formatted as it comes out of the db. But date("m/d/y", $myrow[depart

[PHP] Expert Paid Help Needed

2002-11-19 Thread Steve Buehler
I have been working on a program and have come up to a block. A lot of people on the PHP list have been able to help me for free already. But what I have left to do would probably be to much to ask for someone to do for free. Are their any EXPERT PHP (with MySQL) programers out there that wo

[PHP] Are objects considered global or do they need registered in a session?

2002-11-19 Thread Phil Schwarzmann
When declaring a new object ( $obj=new Something; ), do they need to be then registered in a session ( session_register("obj"); ) if you want to use them for a different script?

[PHP] test

2002-11-19 Thread shi ziye
not sure how to post, sorry! _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP - transfering object-pointer

2002-11-19 Thread Hatem Ben
It wrks okay here; I guess i'm keeping register_global= On in php.ini ! Try debuging your sample using get_declared_classes and you'll find what you're missing class overall { var $loaded; function load($class){ eval ("global \$$class;"); eval("\$$class = new $class;"); print_r(get_declared_

RE: [PHP] Capturing multiple select with Javascript - nearly there

2002-11-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Phoebe Bright [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2002 14:20 > > My remaining problem is that the array that PHP sees only > has the final > few characters of the values it should have. > > This is the result of print_r after selecting two items

[PHP] Re: Expert Paid Help Needed

2002-11-19 Thread Jome
> I have been working on a program and have come up to a block. A lot of > people on the PHP list have been able to help me for free already. But > what I have left to do would probably be to much to ask for someone to do > for free. Are their any EXPERT PHP (with MySQL) programers out there tha

Re: [PHP] Are objects considered global or do they need registered in a session?

2002-11-19 Thread Ernest E Vogelsinger
At 16:10 19.11.2002, Phil Schwarzmann spoke out and said: [snip] >When declaring a new object ( $obj=new Something; ), do they need to be >then registered in a session ( session_register("obj"); ) if you want to >use them for a different script? -

[PHP] Download File

2002-11-19 Thread Michelle
I would like to download a word-document from another site and save it to my harddrive. How would I go about doing this? I tried: http://host.com/document.doc; $fd = fopen ($filename, "rb"); $string = fread ($fd, filesize ($filename));

[PHP] Re: Misbehaved Script...

2002-11-19 Thread @ Edwin
Hello, (B (B"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> Hi folks: (B> (B> Have any of you guys encountered the following error: (B> (B> CGI Error (B> The specified CGI application misbehaved by not returning a complete

Re: [PHP] Download File

2002-11-19 Thread Adam Voigt
PHP is true and blue in relation to error messages (in this case anyway): Warning: stat failed for http://host.com/document.doc (errno=2 - No such > file or directory) in d:\inetpub\wwwroot\dl-doc.php on line 8 The file either doesn't exist on "host.com" under the root directory as "document.doc"

Re: [PHP] What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread @ Edwin
Hello, "Phil Schwarzmann" <[EMAIL PROTECTED]> wrote: > Let's say you had one site and one site only to get the latest PHP/MySQL > news, articles, reviews, resources, tutorials, advanced stuff etc. > > What would it be?!? http://www.phpbuilder.com/ ? Give me another choice :) http://w

Re: [PHP] Download File

2002-11-19 Thread Ernest E Vogelsinger
At 16:56 19.11.2002, Michelle spoke out and said: [snip] >I would like to download a word-document from another site and save it to my >harddrive. >How would I go about doing this? > >I tried: >$filename = "http://host.com/document.doc; > >$fd = fopen ($filen

Re: [PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread @ Edwin
Hello, "Simon Dedeyne" <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anybody know where to find a pre-compiled Windows (XP) version of > PHP that includes multistring functions? I checked phpdev on firegpages > and other sites that usually hold these installations but their versions > don't suppo

Re: [PHP] test

2002-11-19 Thread Ernest E Vogelsinger
At 01:34 19.11.2002, shi ziye spoke out and said: [snip] >not sure how to post, sorry! [snip] Just the way you did :) -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] Getting info from users comp?

2002-11-19 Thread @ Edwin
Hello, "John Yamokoski" <[EMAIL PROTECTED]> wrote: > I am new to PHP but wanted to know if its possible to do the following with > PHP. > > I want to grab the size of the users RAM and the speed of the users CPU. Is > this even possible with PHP since its a server side language?? > > And if its no

[PHP] templates

2002-11-19 Thread Adam
I am developing a site, using XML and PHP for formatting. I want to have one HTML template and call up the different XML files from a Javascript menu. Ideally i want to be able to call files from a link, such as: 'index.php?action=load&file="file.xml"' Not sure if this is the right format, b

Re: [PHP] New commercial software needs beta testers

2002-11-19 Thread @ Edwin
"Jeremy Wilson" <[EMAIL PROTECTED]> wrote: > Well fine... by reading a bunch of your other posts when you talk to > people, it looks like you are just a rude SOB... so I am really not > offended. Who is offending who? You attacked a ml with a spam (yes, it's spam) and now you're attacking people

Re: [PHP] templates

2002-11-19 Thread Jonathan Sharp
I'm assuming you're trying to have a select list. Try this: File XML1 File foo Just make sure you test the value you get for file, so that someone doesn't pass you /etc/passwd (just an example). -js Adam wrote: > I am developing a site, using XML and PHP for formatting. I want to have one H

RE: [PHP] Free MySQL Hosting :)

2002-11-19 Thread Daniel Masson
AWSOME !!! Cordialmente Daniel Massón => Ingeniero de desarollo [EMAIL PROTECTED] www.imagine.com.co Tels: (57)(1) 2182064 - 6163218 Bogotá - Colombia - Soluciones web para internet e intranet - Asesoría y Soporte Técnico - L

Re: [PHP] templates

2002-11-19 Thread Adam
Cheers for replying. I have the menu in place already, it is the PHP end i'm not sure about. Currently I have many php files which only differ in one line: $filename="file.xml"; I want to be able to pass this value to the script through a link. A. - Original Message - From: "Jonathan Sh

RE: [PHP] Download File

2002-11-19 Thread Van Andel, Robert
If the word document you are trying to download is already on the server, you could probably just make a link to the file http://host.com/document.doc";> When the user clicks on it, they either view the document if they have the MS Word plugin, or they are asked to download it. I'm not sure that

[PHP] ACT Based Contact Management System

2002-11-19 Thread Craig
Does anyone know of any sites that offer a web based contact management system that works in a similar way to ACT? I want to implement such a system that connects to a mysql database -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Threads/Processes under Windows

2002-11-19 Thread Noor Dawod
Hello all, I wish to use threads or processes under Windows. Is there a known .DLL that I can load and use to do the work in Windows? Any URI for details and information is highly appreciated. I know of PHP's internal Process Control functions, but they don't work outside UNIX. Thanks in advance

[PHP] making php and perl talk to each other...

2002-11-19 Thread Kelly Meeks
Is there any way to get a php script to grap the output from a perl script? Can you reverse that and have a perl script grab the output from a php script? Kelly

[PHP] Re: ACT Based Contact Management System

2002-11-19 Thread Brian McGarvie
mibbie give us a url to look at ACT? Or atleast a quick out-line of what it does? "Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know of any sites that offer a web based contact management > system that works in a similar way to ACT? > > I w

Re: [PHP] making php and perl talk to each other...

2002-11-19 Thread 1LT John W. Holmes
If they are on the same machine and executable from the command line, then you can use exec(), system(), backtics, etc to get the output. If they are on another machine (or not executable) and only available through a HTTP interface, then just use fopen to open the address and read the output from

Re: [PHP] making php and perl talk to each other...

2002-11-19 Thread BigDog
If you are running them as commandline apps you can just pipe "|" the output to another program i.e. phpapp.php | perlapp.pl That should work as long as you deal with the arguments properly... On Tue, 2002-11-19 at 09:50, Kelly Meeks wrote: > Is there any way to get a php script to grap the

Re: [PHP] templates

2002-11-19 Thread Ernest E Vogelsinger
At 18:04 19.11.2002, Adam spoke out and said: [snip] >Cheers for replying. > >I have the menu in place already, it is the PHP end i'm not sure about. >Currently I have many php files which only differ in one line: >$filename="file.xml"; > >I want to be able t

[PHP] Returning an array in a function

2002-11-19 Thread Van Andel, Robert
How would I return an array of data with a function? Robbert van Andel "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking

Re: [PHP] Returning an array in a function

2002-11-19 Thread Ernest E Vogelsinger
At 18:23 19.11.2002, Van Andel, Robert spoke out and said: [snip] >How would I return an array of data with a function? [snip] // returns a copy of the array function return_an_array() { $a = array('oranges','apple

[PHP] PHP SAPI modules

2002-11-19 Thread Chris Edwards
Does anyone know if the PHP SAPI modules are better in the newer releases? Are they currently stable enough for production websites? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List

Re: [PHP] templates

2002-11-19 Thread Adam
Thanks, but not sure if this is what i'm looking for I just want to setup the PHP script so that the variable $filename can be changed via a link such as 'index.php?filename="file.xml"', causing the script to parse the appropriate file. Adam. - Original Message - From: Ernest E

RE: [PHP] about processing time of function INCLUDE

2002-11-19 Thread John W. Holmes
> Is it will increase the processing time when too many "include" process in > a > program? Well, each include() takes up time, so yes. It depends on what you're including, though, as to how big of an impact it has on your program. ---John Holmes... -- PHP General Mailing List (http://www.php

[PHP] Re: Returning an array in a function

2002-11-19 Thread UberGoober
> How would I return an array of data with a function? return $array; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] isapi mod on iis

2002-11-19 Thread Chris Edwards
is anyone running the isapi mod on iis? why does it ask for authenitcation when I run a script? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Re: PHP SAPI modules

2002-11-19 Thread UberGoober
> Does anyone know if the PHP SAPI modules are better in the newer releases? > Are they currently stable enough for production websites? Better than..? Where you/are you having problems with them currently? I know many production win32 php environments. -- PHP General Mailing

[PHP] new php version

2002-11-19 Thread Richard Pijnenburg
When will there be a new release of php? With kind regards, Richard Pijnenburg Klik-on Internet Solutions

[PHP] problems compiling imap-support with kerberos

2002-11-19 Thread Jochen Kächelin
OS: RedHat 7.3 PHP: 4.3.0RC1 (sources) IMAP: imap-2001a-10, imap-devel-2001a-10 (rpms) Krb: pam_krb5-1.55-1, krbafs-devel-1.1.1-1, krbafs-1.1.1-1, krb5-libs-1.2.4-3, krb5-devel-1.2.4-3 (rpms) I get the following error-messages: configure:34127: checking for crypt in -lcrypt configur

Re: [PHP] templates

2002-11-19 Thread Ernest E Vogelsinger
At 19:10 19.11.2002, Adam said: [snip] >Thanks, but not sure if this is what i'm looking for > >I just want to setup the PHP script so that the variable $filename can be >changed via a link such as 'index.php?filename="file.xml"', >causing the script to

RE: [PHP] new php version

2002-11-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Richard Pijnenburg [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2002 18:48 > > When will there be a new release of php? Well, http://www.php.net/ says: [14-Nov-2002] PHP 4.3.0RC1 has been released. This is the first release candidate and So, er, s

Re: [PHP] isapi mod on iis

2002-11-19 Thread Ernest E Vogelsinger
At 19:37 19.11.2002, Chris Edwards said: [snip] >is anyone running the isapi mod on iis? why does it ask for authenitcation >when I run a script? [snip] From the docs (http://www.php.net/manual/en/features.http-auth

Re: [PHP] new php version

2002-11-19 Thread bbonkosk
I think there is a PHP release mailing list, that should keep you in the loop, or check php.net. The news is usually fresh there. -Brad > When will there be a new release of php? > > With kind regards, > > Richard Pijnenburg > Klik-on Internet Solutions > > -- PHP General Mailing L

Re: [PHP] Capturing multiple select with Javascript - nearly ther

2002-11-19 Thread Phoebe Bright
Many thanks for your reply, I will add the bugs site to my list of things to search before posting here! As I am putting the code onto a number of servers where I can't control the PHP settings, I will need to devise a work around. Good to know it's not my poor coding. Phoebe. Mike Ford wrote

[PHP] how to read text file one line at a time

2002-11-19 Thread Kelly Meeks
here's an example of a text file I need to read... abcd|test1|morevalues|otherstuff efghijklm|a;kd;laskf;alskdjf;alskdf;askldjasldkf|;askd;lakjl;asdf|al;sdjf;alf I believe each line is seperated by a carriage return. How can I read this in one line at a time in to a variable? I'm assuming t

  1   2   >