Re[2]: [PHP] Get Local IP Address

2003-07-27 Thread Tom Rogers
Hi, Monday, July 28, 2003, 4:29:46 PM, you wrote: >>Try this: >>>exec('ipconfig',$catch); >>foreach($catch as $line){ >>if(eregi('IP Address',$line)){ >>list($t,$ip) = split(':',$line); >>echo 'IP is '.$ip."\n"; >>} >>} >>?> CL> Thanks Tom, but I th

Re: [PHP] Get Local IP Address

2003-07-27 Thread Chris Lee
>Try this: >exec('ipconfig',$catch); >foreach($catch as $line){ >if(eregi('IP Address',$line)){ >list($t,$ip) = split(':',$line); >echo 'IP is '.$ip."\n"; >} >} >?> Thanks Tom, but I think it only work for Win NT, how about Win 9x? -- PHP General

Re: [PHP] Configure vpopmail with php

2003-07-27 Thread Haseeb
hi, i have compiled php with vpopmail and i didn't get any error but when i try accessing vpopmail functions i get call to undefined function error. soo wha i am doing wrong, Haseeb    ---Original Message---   From: Curt Zirzow Date: Saturday, July 26, 2003 10:06:37 PM To: [EMAIL PRO

Re: [PHP] POST/GET using a proxy server

2003-07-27 Thread Andrew Brampton
Something like so: /* sendToHost * ~~ * Params: * $proxy - Proxy you want to use * $host - Just the hostname. No http:// or /path/to/file.html portions * $method- get or post, case-insensitive * $path - The /path/to/file.html part * $da

[PHP] Problem setting variables.

2003-07-27 Thread Jason Martyn
I'm creating a script that filters the table of results from a database based on the configuration set by the user (config stored in database as well). For example a table has 30 columns. However the user need only see 5. Every user is different so a user configuration is stored in the database.

Re: [PHP] Array help

2003-07-27 Thread Jason Wong
On Monday 28 July 2003 10:19, Ryan A wrote: > After asking for help on the list Skate gave me the following code as an > example: > ** > $n = 0; > $result = mysql_query( "SELECT id, title, text, date FROM news ORDER BY > date DESC" ); > while ($rows = mysql_fetch_array($result)) { >

[PHP] POST/GET using a proxy server

2003-07-27 Thread David Yee
Hi all- how do I modify the following function to work over a proxy server? Thanks for any help. David /* sendToHost * ~~ * Params: * $host - Just the hostname. No http:// or /path/to/file.html portions * $method- get or post, case-insensitive * $pa

Re: [PHP] Get Local IP Address

2003-07-27 Thread Tom Rogers
Hi, Monday, July 28, 2003, 12:21:06 PM, you wrote: CL> How can I get the local Computer IP Address when running PHP program in CL> Windows command line (i.e. php getmyip.php) CL> ** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] CL> won't work. CL> Many thanks in advance

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Jason Wong
On Monday 28 July 2003 03:13, David Goodchild wrote: > My exact problem is this: I do not know how to recompile an already > installed PHP binary with the option --with-pcntl ... 1) Download the php source 2) Extract, and change into the extracted directory 3) Figure out what the existing php bin

[PHP] Local IP Address

2003-07-27 Thread Chris Lee
How can I get the local Computer IP Address when running PHP program in Windows command line (i.e. php getmyip.php) ** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] won't work. Many thanks in advance. Regards, Chris -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Get Local IP Address

2003-07-27 Thread Chris Lee
How can I get the local Computer IP Address when running PHP program in Windows command line (i.e. php getmyip.php) ** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] won't work. Many thanks in advance. Regards, Chris -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Array help

2003-07-27 Thread Ryan A
Hi, After asking for help on the list Skate gave me the following code as an example: ** $n = 0; $result = mysql_query( "SELECT id, title, text, date FROM news ORDER BY date DESC" ); while ($rows = mysql_fetch_array($result)) { if( $rows == "" ){ continue; } extract( $rows ); //

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi, > Thanks for replying. > > You say: Nothing special html wise. > then can you tell me how its done? The basic logic is like this: foreach option_of_hosting_service name_of_service foreach hosting_company_service hosting_value_of_service

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hey, Thanks again. It should take me around an hour or two just to figure out what you wrote...:-D I guess i have to hit the manual quite a bit. Thanks, -Ryan > > Hi, > > Thanks for replying. > > no probs... > > > > > I have not worked with arrays much other than simple arrays like the $_get > >

Re: [PHP] How is this possible?

2003-07-27 Thread skate
> Hi, > Thanks for replying. no probs... > > I have not worked with arrays much other than simple arrays like the $_get > or $_post and the database ones...can you give me a another emample on how > to do this please? > like how to put my db into an array and then call each part > sorry, i

Re: [PHP] How is this possible?

2003-07-27 Thread skate
> You say: Nothing special html wise. > then can you tell me how its done? there's some nice simple CSS behind it to give the nice border and colour changes, but yes, nothing special HTML wise. it's a simple table > > The content is dynamic being pulled from the database..how do i get it in > one

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi, > Thanks for replying. > > You say: Nothing special html wise. > then can you tell me how its done? > > The content is dynamic being pulled from the database..how do i get it in > one table in that layout? > > > There are different ways you can do t

Re: [PHP] The session finishes unexpectedly

2003-07-27 Thread Curt Zirzow
* Thus wrote Tomás Liendo ([EMAIL PROTECTED]): > Hi people, I made a system in PHP wich uses sessions. While I'm testing the > system some times the session finishes unexpectedly. Some times the system > works during one hour without problems but other times the system finishes > after five minutes

Re: [PHP] Including a https .aspx form/response in a PHP page - Tricky?

2003-07-27 Thread Curt Zirzow
* Thus wrote Paul Fitz ([EMAIL PROTECTED]): > > Hi All, Hello. > > I have tried the bellow with no success > (firstly I use a form in one of PHP pages gathering the same $_POST variable > names as the .aspx form, then send it to the below action page)- > I have also tried sending the variables

[PHP] The session finishes unexpectedly

2003-07-27 Thread Tomás Liendo
Hi people, I made a system in PHP wich uses sessions. While I'm testing the system some times the session finishes unexpectedly. Some times the system works during one hour without problems but other times the system finishes after five minutes and return to the login page. I think that the session

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The content is dynamic being pulled from the database..how do i get it in one table in that layout? > There are different ways you can do this it could help to know what > kind of data structure you h

[PHP] Including a https .aspx form/response in a PHP page - Tricky?

2003-07-27 Thread Paul Fitz
Hi All, I have a dilemma where I have to include a form found in a .aspx page into a php page - The form is an ADSL phone check (checks to see if ADSL is available based upon phone number). I need to send the form some basic variables and get the response into my PHP page The form - https://adsl

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi, > I am trying to get my data into a very similar layout as this: > http://hostfilter.com/ComparePlan.asp?IntVal1=389&IntVal2=546&IntVal3=605 > see the table with the plans...how is he getting that in one table? what > kind of logic is that? the best I

Re: [PHP] How is this possible?

2003-07-27 Thread Robert Cummings
ASP merely outputs HTML. His table is basic HTML dynamically rendered perhaps by an ASP component. This is also trivial to do in PHP. Cheers, Rob. On Sun, 2003-07-27 at 18:38, Ryan A wrote: > Hi, > I am trying to get my data into a very similar layout as this: > http://hostfilter.com/ComparePlan

Re: [PHP] Sessions GET vs. Cookies

2003-07-27 Thread Nicholas Robinson
Many thanks, that's fixed it! On Sunday 27 Jul 2003 10:42 pm, Chris Shiflett wrote: > --- Nicholas Robinson <[EMAIL PROTECTED]> wrote: > > I've noticed that links in my pages are getting the sessionid > > added as a GET parameter. > > The session.use_trans_sid directive is enabled in your php.ini.

[PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389&IntVal2=546&IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do is for each column I have to use another tab

Re: [PHP] Your E-Book

2003-07-27 Thread Curt Zirzow
* Thus wrote Paul McNally ([EMAIL PROTECTED]): > This is not spam. I beg to differ. spam has many different meanings one of them is: Any large, annoying, quantity of output. > > > Please stop responding to spam with spam! And if you really cannot resist the > > urge to respond at least hav

Re: [PHP] Flash Variables

2003-07-27 Thread skate
> Hi Everone, I had a question about PHP and Flash. I have a navbar buttons > that I made in Flash MX, but the PHP script I want it to be displayed for is > an auto-generated photoalbum, so the "Next" and "Previous" buttons have need > to change meaning at every pageload. I was wondering if ther

Re: [PHP] Your E-Book

2003-07-27 Thread Paul McNally
This is not spam. > Please stop responding to spam with spam! And if you really cannot resist the > urge to respond at least have the courtesy to trim your response so that we > don't have to see the spam over and over again. > */ > -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Flash Variables

2003-07-27 Thread Taylor Smith
Hi Everone, I had a question about PHP and Flash. I have a navbar buttons that I made in Flash MX, but the PHP script I want it to be displayed for is an auto-generated photoalbum, so the "Next" and "Previous" buttons have need to change meaning at every pageload. I was wondering if there is a way

[PHP] Re: Recompiling the PHP Binary with PCNTL

2003-07-27 Thread DvDmanDT
Windows or linux? Under windows you need like visual studio to compile it... But how to add parameters there is not my area... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "David Goodchild" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi all, > > I have a web

php-general Digest 27 Jul 2003 21:42:12 -0000 Issue 2201

2003-07-27 Thread php-general-digest-help
php-general Digest 27 Jul 2003 21:42:12 - Issue 2201 Topics (messages 157058 through 157104): Re: Set Cookie in PHP and call with Perl 157058 by: Curt Zirzow 157067 by: John W. Holmes Mail or Authentication or redirection of SMTP 157059 by: Ron Allen 157060 b

Re: [PHP] Sessions GET vs. Cookies

2003-07-27 Thread Chris Shiflett
--- Nicholas Robinson <[EMAIL PROTECTED]> wrote: > I've noticed that links in my pages are getting the sessionid > added as a GET parameter. The session.use_trans_sid directive is enabled in your php.ini. Disable it if you do not want this behavior. Hope that helps. Chris = Become a better

[PHP] Sessions GET vs. Cookies

2003-07-27 Thread Nicholas Robinson
Hi First time on the list and this may be a silly question. I'm developing a site that uses sessions. I have enabled cookies and checked that a valid cookie with the appropriate session id is being set. However, I've noticed that links in my pages are getting the sessionid added as a GET parame

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Thomas Seifert
On Sun, 27 Jul 2003 20:13:22 +0100 [EMAIL PROTECTED] (David Goodchild) wrote: > My exact problem is this: I do not know how to recompile an already > installed PHP binary with the option --with-pcntl ... > You can't "recompile a binary", you compile a new version with the compile-options of your

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread David Goodchild
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Monday 28 July 2003 01:54, David Goodchild wrote: > > Please do not top-post! > > > How do i recompile it with : --with-pcntl though? This is what i need to > > add as soon as i can. I tired looking for the pcntl.so fil

Re: [PHP] Your E-Book

2003-07-27 Thread Jason Wong
On Monday 28 July 2003 02:14, skate wrote: > dammit!!! the link doesn't work... i was REALLY excited to find out what > my boss doesn't want me to know!!! > > it's also reassuring to know (reading at the bottom) that this is NOT > SPAM!!! i feel safe knowing that this isn't actually spam, and that

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Jason Wong
On Monday 28 July 2003 01:54, David Goodchild wrote: Please do not top-post! > How do i recompile it with : --with-pcntl though? This is what i need to > add as soon as i can. I tired looking for the pcntl.so file but i cant > find that either. What _exactly_ are you having problems with? And

Re: [PHP] Your E-Book

2003-07-27 Thread skate
dammit!!! the link doesn't work... i was REALLY excited to find out what my boss doesn't want me to know!!! it's also reassuring to know (reading at the bottom) that this is NOT SPAM!!! i feel safe knowing that this isn't actually spam, and that all members of this list actually requested this em

Re: [PHP] Your E-Book

2003-07-27 Thread Adrian
oh fuck you, damn spammer... i hope someone hacks your damn spam server... > The Revolutionary Book > Your Boss Doesn't Want You to Read ! > Does an extra $500 to $1000 a week sound exciting? > HINT: It's not what you think > Dear Friend: > Everybody is looking to mak

[PHP] Your E-Book

2003-07-27 Thread The Billion Dollar Club
The Revolutionary Book Your Boss Doesn't Want You to Read ! Does an extra $500 to $1000 a week sound exciting? HINT: It's not what you think Dear Friend: Everybody is looking to make more money online, but the biggest problem is that VERY few things actually work. We have an exclusive system

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
I think it's pretty standard. It just means that you can control how much memory your script uses. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Peter James"

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread David Goodchild
Thank-you, How do i recompile it with : --with-pcntl though? This is what i need to add as soon as i can. I tired looking for the pcntl.so file but i cant find that either. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Monday 28 July 2003 01:26, David Goodchild w

Re: [PHP] Parsing PHP

2003-07-27 Thread Jeff Moore
On Saturday, July 26, 2003, at 03:06 AM, Nikhil G. Daddikar wrote: I am using PHP to develop and web app. The app also has a scripting language for the *end user*. I was thinking if I could expose a very simple subset of PHP to them (foreach, if-then-else, variable assignments and comments) an

[PHP] Half solved......(conclusion)

2003-07-27 Thread Ryan A
Hi everyone, Just in case you or anybody in the future (maybe reading the archive) come accross the same problem here is how i have solved it and made all my scripts run perfectly again as they were before. I just created a .htaccess file and added these 2 lines since i dont have direct access to

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Jason Wong
On Monday 28 July 2003 01:26, David Goodchild wrote: > I have a webserver using Ensim, some of you may or may not know of it. PHP > is installed and Apache is using PHP as a module. The server also has the > php binary. I would liek to recompile the current PHP Binary > using --with-pcntl and w

[PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread David Goodchild
Hi all, I have a webserver using Ensim, some of you may or may not know of it. PHP is installed and Apache is using PHP as a module. The server also has the php binary. I would liek to recompile the current PHP Binary using --with-pcntl and whatever it was originally compiled with How do

Re: [PHP] memory consumption from a script

2003-07-27 Thread John W. Holmes
Peter James wrote: A while ago, Philip Olson wrote: As of 4.3.2, if you compile PHP with --enable-memory-limit you may use memory_get_usage(). This is documented and will show up when the next PHP manual is built. This function is not documented in the PHP manual, but is in the zend copy: http:

Re: [PHP] PHP, MySQL and null?

2003-07-27 Thread Curt Zirzow
* Thus wrote Jonas Thorell ([EMAIL PROTECTED]): > Sorry, wrote wrong here so one more try. > > Well, no. But that's not where the problem is. If I was unclear - the > id-field work as it should. It's when I try to use A variable in the > query-string the problem pops up. > > IOW - INSERT INTO SIT

Re: [PHP] Re: header & headers_sent BUG

2003-07-27 Thread Marek Kilimajer
read www.php.net/variables.scope Eric Fleming wrote: I am having some problems using variables in included files. Can someone please look at my code below and see how I might accomplish what I am trying to do? The content would go here. Now, when I try to reference the subnav variable in

RE: [PHP] PHP, MySQL and null?

2003-07-27 Thread David Smith
Actually that's my bad. That's what I get for doing a hundred other things while I'm reading my email. Sorry. I really don't know why null would be different under PHP and mysql; I'm not even sure it is. Right now I'm reloading my server due to a lighting hit (REALLY REALLY bad storms), so I really

Re: [PHP] FTP_PUT PROBLEMS

2003-07-27 Thread Jason Wong
On Sunday 27 July 2003 10:22, Rausch Alexandru wrote: > I have some problem with uploading a file from my harddisk using a ftp > connection. Here are the 2 files: You don't upload local files using the ftp_*() functions. You follow the examples in manual > Handling file uploads. -- Jason Wong -

Re[2]: [PHP] Get the current file name

2003-07-27 Thread Burhan Khalid
On Friday, July 25, 2003, 4:59:24 PM, Shaun wrote: S> thanks for your reply, S> but that doesn't seem to work either, how about removing everything after S> and including the ?, how would i do that? try echo basename($_SERVER['PHP_SELF']) Please trim your posts :) -- Regards, Burhan Khalid ph

RE: [PHP] PHP, MySQL and null?

2003-07-27 Thread Jonas Thorell
Sorry, wrote wrong here so one more try. Well, no. But that's not where the problem is. If I was unclear - the id-field work as it should. It's when I try to use A variable in the query-string the problem pops up. IOW - INSERT INTO SITE (id,name,url,comment) VALUES (null,'testname','testurl',null

Re: [PHP] Please HELP me

2003-07-27 Thread Peter James
You're not giving us much to work with here. What's the actual problem? Regardless, I can see a couple of thing wrong here. 1. You're trying to do a multipart/form-data transfer using GET. You need to use POST. 2. Unless you've got register_globals on, and even if you do, you should be referenc

RE: [PHP] PHP, MySQL and null?

2003-07-27 Thread Jonas Thorell
>Have you tried inserting it without including the id field in the insert statement? I have several tables with auto increments and I never even bother >putting that field in the insert statement. Well, no. But that's not where the problem is. If I was unclear - the id-field work as it should. It

Re: [PHP] Re: small request (done)

2003-07-27 Thread Ryan A
Hi, Just wanted to say thank you to all those who tested and replied. Thank you. Cheers, -Ryan - Original Message - From: "Shaunak Kashyap" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 4:35 PM Subject: [PHP] Re: small request > > I want to find out if this is

RE: [PHP] PHP, MySQL and null?

2003-07-27 Thread David Smith
Have you tried inserting it without including the id field in the insert statement? I have several tables with auto increments and I never even bother putting that field in the insert statement. David -Original Message- From: Jonas Thorell [mailto:[EMAIL PROTECTED] Sent: Sunday, July 27,

[PHP] Please HELP me

2003-07-27 Thread Rausch Alexandru
I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php contains the form: Titlu gif  ::  and test2.php is the script for upload : "; } $util=strtolower($util); $destination="tit.gif"; if(ftp_put($con, $destination, $util,

[PHP] PHP, MySQL and null?

2003-07-27 Thread Jonas Thorell
Okay, how do I make PHP 4.3.2. and MySQL 4.0.13 to agree on what null means? I'm trying to get a form to add a new record into my database where one of the Fields might be null and for said field to actually be a null record once into The database as well... This is the script in question (a simp

[PHP] FTP_PUT problems

2003-07-27 Thread Rausch Alexandru
I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php contains the form: Titlu gif  ::  and test2.php is the script for upload : "; } $util=strtolower($util); $destination="tit.gif"; if(ftp_put($con, $destination, $util,

[PHP] Re: small request

2003-07-27 Thread Shaunak Kashyap
> I want to find out if this is my browsers fault or the settings in my > php.ini, can you goto http://bestwebhosters.com/my.login.php then look at > the page source and tell me if there is a hidden variable after the form tag > with the name "PHPSESSID" > Yes. Shaunak -- PHP General Mailing

Re: [PHP] small request

2003-07-27 Thread Peter James
Yes. . -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 8:34 AM Subject: [PHP] small request > Hi, > I want to find out i

Re: [PHP] small request

2003-07-27 Thread chris
Ryan, I'm getting the PHPSESSID variable. Chris Quoting Ryan A <[EMAIL PROTECTED]>: > Hi, > I want to find out if this is my browsers fault or the settings in my > php.ini, can you goto http://bestwebhosters.com/my.login.php then look at > the page source and tell me if there is a hidden variab

[PHP] small request

2003-07-27 Thread Ryan A
Hi, I want to find out if this is my browsers fault or the settings in my php.ini, can you goto http://bestwebhosters.com/my.login.php then look at the page source and tell me if there is a hidden variable after the form tag with the name "PHPSESSID" Thanks for helping. Cheers, -Ryan -- PHP Ge

[PHP] FTP_PUT PROBLEMS

2003-07-27 Thread Rausch Alexandru
I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php contains the form: Titlu gif  ::  and test2.php is the script for upload : "; } $util=strtolower($util); $destination="tit.gif"; if(ftp_put($con, $destination, $util,

[PHP] FTP_PUT problems

2003-07-27 Thread Rausch Alexandru
I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: test.php contains the form: Titlu gif  ::  and test2.php is the script for upload : "; } $util=strtolower($util); $destination="tit.gif"; if(ftp_put($con, $destination, $util,

Re: [PHP] memory consumption from a script

2003-07-27 Thread Peter James
A while ago, Philip Olson wrote: > As of 4.3.2, if you compile PHP with --enable-memory-limit > you may use memory_get_usage(). This is documented and > will show up when the next PHP manual is built. This function is not documented in the PHP manual, but is in the zend copy: http://www.zend.co

Re: [PHP] Read values from Text Area Box

2003-07-27 Thread John W. Holmes
KEN - 2mediaZone wrote: (B> I'm trying to find out how to get multiple values from text area box (B> . (B> (B> Values are like this. (B> (B> aaa\n (B> bbb\n (B> ccc\n (B> ddd\n (B> eee\n (B> (B> I need to take "\n" from each value and put all the values to array. (B (BUse explode()

Re: [PHP] Set Cookie in PHP and call with Perl

2003-07-27 Thread John W. Holmes
TWSC HQ wrote: Is this possible : How do i call the cookie value (surname) with Perl if it was set with PHP? Yes, a cookie is still a cookie no matter where it's set. Ask on a Perl list how you read cookies. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Archi

Re: [PHP] memory consumption from a script

2003-07-27 Thread John W. Holmes
Torsten Rosenberger wrote: is it possible to find out the memory consumption on a php script ? I trie to develop a chat with php and SHM and want to fiend out how much memory is used to scale the chat server No, not now. I seem to remember talk about a function that would help with this being ava

Re: [PHP] can we know hard disk no via a php script?

2003-07-27 Thread Khalid El-Kary
Can we know clients' hard disk number with a phpscript. If yes what is the code? what do you mean by clients' hard disk number ? you simply can't because PHP runs on the server-side, maybe you can know it using javascript, but this - if it was available - will not be cross-browser or cross-

[PHP] can we know hard disk no via a php script?

2003-07-27 Thread pehepe php
Can we know clients' hard disk number with a phpscript. If yes what is the code? Thank you. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http:

Re: [PHP] Hard disk number

2003-07-27 Thread Adrian
> Can we know clients' hard disk number with a phpscript. If yes what is the > code? of course no, because php is running on the server ;) -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (h

[PHP] Hard disk number

2003-07-27 Thread pehepe php
Can we know clients' hard disk number with a phpscript. If yes what is the code? Thank you. _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- PHP General Mailing List (http:/

[PHP] memory consumption from a script

2003-07-27 Thread Torsten Rosenberger
Hello is it possible to find out the memory consumption on a php script ? I trie to develop a chat with php and SHM and want to fiend out how much memory is used to scale the chat server BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Re: Mail or Authentication or redirection of SMTP

2003-07-27 Thread Ron Allen
Do I need to login into the server for this? "Ron Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Here is my problem. When I send emails locally theough the Exchange Server > I have no problems sending mail. When I try to send emails to another site > through the MTA funtion

[PHP] Mail or Authentication or redirection of SMTP

2003-07-27 Thread Ron Allen
Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another site through the MTA funtion_mail pops up. One of two things came to mind. First is that we have anonymous forwarding of emails turned off for security

Re: [PHP] Set Cookie in PHP and call with Perl

2003-07-27 Thread Curt Zirzow
* Thus wrote TWSC HQ ([EMAIL PROTECTED]): > Hi there - > > Is this possible : > How do i call the cookie value (surname) with Perl if it was set with PHP? > > SAMPLE: > > PHP Cookie set: > > setcookie("surname", "mc Seveney", time()+31536000, "/","",0); > ?> > > Need to call this cookie wit

php-general Digest 27 Jul 2003 09:19:10 -0000 Issue 2200

2003-07-27 Thread php-general-digest-help
php-general Digest 27 Jul 2003 09:19:10 - Issue 2200 Topics (messages 157032 through 157057): Is their a flash and php mailing list? 157032 by: Dan J. Rychlik 157039 by: zerof Re: Half solved...what the @#%# is PHPSESSID? 157033 by: John W. Holmes Changi

Re: [PHP] pdf problem

2003-07-27 Thread Curt Zirzow
* Thus wrote Denis L. Menezes ([EMAIL PROTECTED]): > Hello friends. > > I was checking for creation of pdf document on the > server. But i was getting "Call to undefined function: > pdf_new() in /home/andsales/public_html/sap/getpdf.php > on line 2". > > Can anyone te;ll me a solution? > Is there

[PHP] Set Cookie in PHP and call with Perl

2003-07-27 Thread TWSC HQ
Hi there - Is this possible : How do i call the cookie value (surname) with Perl if it was set with PHP? SAMPLE: PHP Cookie set: Need to call this cookie with a .pl extension file (perl) thanks August -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] pdf problem

2003-07-27 Thread Denis L. Menezes
Hello friends. I was checking for creation of pdf document on the server. But i was getting "Call to undefined function: pdf_new() in /home/andsales/public_html/sap/getpdf.php on line 2". Can anyone te;ll me a solution? Is there some problem with compilation of PHP with PDFLIB libraries? Thanks

Re: [PHP] replacing & but not special chars

2003-07-27 Thread Andrew Brampton
How about you decode the string, and then encode it like so: $decode = html_entity_decode($input); $output = htmlentities($decode); If you have the string ab&something&blah the decode will turn that into ab&something&blah and then encode it into ab&something&blah This can run into problems, but t

[PHP] replacing & but not special chars

2003-07-27 Thread Shawn McKenzie
I have some URLs in hrefs that have an &. This does not validate HTM4.01 transitional, so I want to replace them with & So I buffer the output and do a replace, but suppose there is already an & then I get & or if I have anything else like " then I get " Any ideas on how to do this the

RE: [PHP] Which templates to use??

2003-07-27 Thread Adrian Teasdale
Hi there Binay Have a look at http://smarty.php.net - this is a very good templating engine. You could also consider creating your own if you have specific needs. We created our own pre-parser (built in PHP but soon to be ported to an Apache module) that works really well for us Best regards Ad