Re: Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Louie Miranda
Crap entry 1546673160 This one gave me this error. Every line on the wtmp entry. -- - Louie Miranda http://www.axishift.com - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Tom Rogers" <[EMAIL PROTECTED]> Cc: "Michael P. Carel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Re: [PHP] Re: header() function...

2003-10-15 Thread Tristan . Pretty
You are all heart... ;-) Curt Zirzow <[EMAIL PROTECTED]> 14/10/2003 17:23 To [EMAIL PROTECTED] cc Subject Re: [PHP] Re: header() function... I officially declare this thread foobar. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dynd

Re: Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Michael P. Carel
Thanks it's working now. > Hi, > > Wednesday, October 15, 2003, 2:25:13 PM, you wrote: > TR> wtmp is a binary file and the format can vary between old and new versions of > TR> linux. You will need to have a look at struct utmp in, for example, /usr/include/bits/utmp.h > TR> This location can va

Re: [PHP] class/object design

2003-10-15 Thread Nobody
Hi Chris I am currently busy with a similar experiment for a project of my own and my OOP knowledge is similarly limited :). I have had a fair degree of success (by my humble standards) and I am currently trying to make the process as session-friendly as possible. I have a single class (call it C

[PHP] Re: Array to string?

2003-10-15 Thread Gabriel Peugnet
When I needed it I could'n find it so I made my own. function arrayToStr( $arr ){ $str = ""; while( true ){ $linea = current($arr); $str = $str . $linea; if( next($arr) == FALSE ){ break; } $str = str . "\n";// a newline separates each element.

[PHP] Makeing automatic tags for email and www.

2003-10-15 Thread Gabriel Peugnet
Does some body knows if there is a function that adds tags to a string when it is an email or a web address? I want to convert [EMAIL PROTECTED] into (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a) (I sustitued tags with parenthesis) It's a little tedious makeing the function.

Re[4]: [PHP] reading linux wtmp file

2003-10-15 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 5:13:39 PM, you wrote: LM> Crap entry 1546673160 LM> This one gave me this error. Every line on the wtmp entry. LM> -- - LM> Louie Miranda LM> http://www.axishift.com Then the format must be different for your file, that is one of the problems with the utmp and

Re: [PHP] Makeing automatic tags for email and www.

2003-10-15 Thread Eugene Lee
On Wed, Oct 15, 2003 at 03:41:01AM -0500, Gabriel Peugnet wrote: : : I want to convert : [EMAIL PROTECTED] : into : (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a) : : (I sustitued tags with parenthesis) : : It's a little tedious makeing the function. Nah. function email

Re[4]: [PHP] reading linux wtmp file

2003-10-15 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 5:13:39 PM, you wrote: LM> Crap entry 1546673160 LM> This one gave me this error. Every line on the wtmp entry. If you are using netdate that writes crap wtmp entries (at least mine did till I fixed it :) -- regards, Tom -- PHP General Mailing List (http://

[PHP] Include all functions and performance

2003-10-15 Thread Terence
Dear List, I have a library of functions which I was thinking of including all from one file, in a kind of heirarchy. That way I can just include the one file in each php page and have all the functions available to me. (a kind of lazy approach I know) What I was wondering, if using the apache se

[PHP] Re: Makeing automatic tags for email and www.

2003-10-15 Thread Gabriel Peugnet
Thanks Eugene. I'm afraid I didn't explain my self as I should. What I want is this to be automaticaly generated in a text. For example, in: "Some text some text some text some text [EMAIL PROTECTED] some text some text some text and www.mywebpage.com some text some text some text [EMAIL PROTECT

Re: [PHP] Makeing automatic tags for email and www.

2003-10-15 Thread Burhan Khalid
Gabriel Peugnet wrote: Does some body knows if there is a function that adds tags to a string when it is an email or a web address? I want to convert [EMAIL PROTECTED] into (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a) (I sustitued tags with parenthesis) http://www.php.net/ma

Re: [PHP] cURL > Authorize.Net > Super slow processing times!!

2003-10-15 Thread Burhan Khalid
Matt Babineau wrote: Hey All- Just built a cart, and I want to connect it to Authorize.net with cURL and I am able to do that fine. The problem is, it takes a while to process the transaction. Sometimes the user's browser just sits there for 5, 10 or even 30 seconds before the page finishes proce

[PHP] Re: Include all functions and performance

2003-10-15 Thread Gabriel Peugnet
PHP will load the entire file and consume memory. It will also check the sintax of the entire file. If your file grows to much it would affect the speed of showing your pages and if it is very big, you could find the limit of memory of PHP (8Mb by default). The Zend engine makes an "on the fly" co

[PHP] printing values from a 2 dimension array

2003-10-15 Thread bob pilly
Hi all Im having problems printing values from a 2 dimensional array: If i have: temp[0]=array(0,10,11); temp[1]=array(a,b,c); print $temp[0][1]; i expected the output to be '10' instead i get 'Array[1]', however if i use: $var=$temp[0][1];print $var; i get '10' as the output. This is fine but

[PHP] windows user_name

2003-10-15 Thread jon
Hi, I like to know if it is possible to retrieve windows user_name from a php script ... thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] where is my session data on my new server?

2003-10-15 Thread David T-G
Hi again, all -- ...and then David T-G said... % ... % % On the first server when you enter the password and hit the button the % page comes back up with $pw set and in you go. On the second server $pw % is always empty and we are endlessly prompted. ... % % Do you have any pointers to what I

[PHP] [Newbie Guide] For the benefit of new members

2003-10-15 Thread tech
= This message is for the benefit of new subscribers and those new to PHP. Those who do not want to be bothered just filter out the [Newbie Guide] mails. Please feel free to add more points and send to the list. ===

Re: [PHP] printing values from a 2 dimension array

2003-10-15 Thread Jason Wong
On Wednesday 15 October 2003 17:44, bob pilly wrote: > Im having problems printing values from a 2 dimensional array: > If i have: > temp[0]=array(0,10,11); > temp[1]=array(a,b,c); > print $temp[0][1]; > > i expected the output to be '10' instead i get 'Array[1]', however if i > use: > > $var=$tem

[PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Binay
Hi all! i need to email out newsletter to say 1000 recipients. I want to know what is the maximum number of recipients i can specify in the 'To' field of mail function? Is there any restrictions on To field as in the number of charcters or something?? If you know a better way of sending the lar

Re: [PHP] Sessions Question

2003-10-15 Thread James Kaufman
On Tue, Oct 14, 2003 at 05:23:54PM -0800, Chris Hubbard wrote: > to use php sessions: > you will need some place where you set up/create the sessions. typically > this is the login page. let's assume you'll use the login page. The logic > for the login page goes something like this: > 1. presen

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Nitin
why cant you use loop for that? Nitin - Original Message - From: "Binay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 4:27 PM Subject: [PHP] Max no of recipients in To field of mail function Hi all! i need to email out newsletter to say 1000 recipients

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Nitin
- Original Message - From: "Nitin" <[EMAIL PROTECTED]> To: "Binay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 4:38 PM Subject: Re: [PHP] Max no of recipients in To field of mail function > why cant you use loop for that? > That will even allow you to byp

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Binay
Hi Nitin Thanks for replying so fast Don't you think that using loop for each recipient will put lot of load/overhead on the server compare to putting all recepients in To field? Binay - Original Message - From: "Nitin" <[EMAIL PROTECTED]> To: "Binay" <[EMAIL PROTECTED]>; <[EMAIL PRO

[PHP] Re: Max no of recipients in To field of mail function

2003-10-15 Thread pete M
I use phpmailer http://phpmailer.sourceforge.net/ Makes life much easier An example of mass mailing is here http://phpmailer.sourceforge.net/extending.html pete Binay wrote: Hi all! i need to email out newsletter to say 1000 recipients. I want to know what is the maximum number of recipients i ca

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Marek Kilimajer
Are all your recipients such good friends with each other that they will not mind the others seeing them in the To: header? I bet not. Use loop. Binay wrote: Hi Nitin Thanks for replying so fast Don't you think that using loop for each recipient will put lot of load/overhead on the server com

[PHP] parsing ini files

2003-10-15 Thread Andrei Popovici
I have a script which reads his configuration from an ini file. For reading that file I use the parse_ini function. When the ini is written incorectly the php displays a message that he has encountered a parse error in that ini. How can I catch that error and display a message of my own? Andrei.

[PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-15 Thread Bas
Yes, thanx. I always wanted to make a version where you can use multiple tags of one type. And, what do you find of it? Please rate it 1 to 10 "Comex" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > function parseTags($file) { > /* readfile... here */ > $filedata = file_get_conte

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Nitin
It'll definitely put some load on your server, but then it's the best way and loops are made for these purposes. Though, if all your e-mail receivers dont mind seeing their name in a long list or they allow spam mails into their mail boxes, you can use these names directly into to field. Nitin --

RE: [PHP] parsing ini files

2003-10-15 Thread Jay Blanchard
[snip] I have a script which reads his configuration from an ini file. For reading that file I use the parse_ini function. When the ini is written incorectly the php displays a message that he has encountered a parse error in that ini. How can I catch that error and display a message of my own? [/s

RE: [PHP] Pulling variables from a URL

2003-10-15 Thread Ford, Mike [LSS]
On 14 October 2003 18:59, Carl Furst contributed these pearls of wisdom: > double quotes say "interpolate $variables". However I have > discovered (at > least in php 4.2.3) that you cannot use subarrays in double > quotes like "my > var in the subarray subarray: $array['subarray']['subarray']" > T

RE: [PHP] header() refresh vs location

2003-10-15 Thread Ford, Mike [LSS]
On 14 October 2003 20:11, Chris Hubbard contributed these pearls of wisdom: > All, > I have done a number of searches. > I have read the online documentation and user supplied > comments. > > I recently ran into problem using: > > -some code here to create session and set variables- > header('L

RE: [PHP] parsing ini files

2003-10-15 Thread Jay Blanchard
[snip] Correct. The error I'm getting it's because the ini file is not properly formed. But I want to catch somehow this error and tell the user that he made a mistake in the ini file. I'm not edititng that file programmatically, I just want the user who made that mistake to see a more frendly erro

RE: [PHP] Sessions Question

2003-10-15 Thread Ford, Mike [LSS]
On 15 October 2003 01:31, Mike Brum contributed these pearls of wisdom: > One quick note - if you're starting a session then you can't > user the header() function afterwards. You'll get the lovel > "headers > already sent" > error. Actually, so long as you do both *before* outputting any actual

RE: [PHP] Sessions Question

2003-10-15 Thread Ford, Mike [LSS]
On 15 October 2003 05:25, Jake McHenry contributed these pearls of wisdom: > Yes, submit, inout, username and password all come from the > index.php form submission, but username changes throughout the > different pages, that was one of my problems. I'm not sure > what I did wrong before, but once

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Binay
Thanks alottt... Now i have got enough reasons to use loop in sending mails... Thanks once again binay - Original Message - From: "Nitin" <[EMAIL PROTECTED]> To: "Binay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 5:22 PM Subject: Re: [PHP] Max no of recip

[PHP] (ANN) codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread John Black
Greetings everyone, We have just launched a new product called codeSECURE and would like you to check it out. codeSECURE is a PHP obfuscator. Basically codeSecure is a small collection of scripts to "obfuscate" or "garble up" php code so that PHP developers can protect their intellectual property

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Burhan Khalid
Binay : Please don't request return reciepts for your messages. Also, try and trim your posts. No need to see the standard php mailing list signature 4 times. (This should be in the newbie tip sheet, along with avoid sending attachments, high priority, etc.) -- Burhan Khalid phplist[at]mei

Re: [PHP] printing values from a 2 dimension array

2003-10-15 Thread bob pilly
here you go: Cheers Bob Jason Wong <[EMAIL PROTECTED]> wrote: On Wednesday 15 October 2003 17:44, bob pilly wrote: > Im having problems printing values from a 2 dimensional array: > If i have: > temp[0]=array(0,10,11); > temp[1]=array(a,b,c); > print $temp[0][1]; > > i expected the output to be

[PHP] copy tables

2003-10-15 Thread Gronquist, Jim M
I've set up dev and prod webservers. Users can go into the dev webserver content and edit it. The content is in a mysql database. I have a button on the webpage that says push content live. When the button is pushed I want it to run a php script that will copy the dev mysql table data into the prod

[PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Binay
Hi all! i need to email out newsletter to say 1000 recipients. I want to know what is the maximum number of recipients i can specify in the 'To' field of mail function? Is there any restrictions on To field as in the number of charcters or something?? If you know a better way of sending the lar

Re: [PHP] printing values from a 2 dimension array

2003-10-15 Thread Jason Wong
On Wednesday 15 October 2003 21:02, bob pilly wrote: > print $rslt[0][1]; What does print_r($rslt) give you? Is it what you expected? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Devel

Re: [PHP] Slow searches in large database

2003-10-15 Thread Manuel Vázquez Acosta
I used a variant of this scheme a time ago and it worked well though I had not reached 2 000 records. I separated the words using strtok(). Manu. PD: How large is the http://www.alenet.com DB; I searched the word 'the' (which is likely to be in every english doc) and it returned only 28 docs. M

Re: [PHP] Run the same php function several times in th background

2003-10-15 Thread Manuel Vázquez Acosta
There's a PEAR (o PCLE, can't remeber, search at http://pear.php.net) implementation of threads, though its experimental yet. Manu. "Kb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear Mohamed > > > Yes, I am looking for multithreading process , thank you for the suggestion >

[PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
Hi all: I need to know if there is a way to send the output buffer to the browser, disconnect from it but keep running a task the user doesn't need to realize that is happening and that may take a few minutes to be complete. Something like: Manu. -- PHP General Mailing List (http://www.php.

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Marek Kilimajer
Use register_shutdown_function() Manuel Vázquez Acosta wrote: Hi all: I need to know if there is a way to send the output buffer to the browser, disconnect from it but keep running a task the user doesn't need to realize that is happening and that may take a few minutes to be complete. Something

Re: [PHP] printing values from a 2 dimension array

2003-10-15 Thread bob pilly
Yes it is what i expect to be stored in the array. Array ( [0] => Array ( [0] => 0 [1] => 4 [2] => 1 [3] => 1 [4] => 0 [5] => 2 [6] => 0 [7] => 0 [8] => 0 [9] => 0 ) [1] => Array ( [0] => 0 [1] => 5 [2] => 3 [3] => 5 [4] => 3 [5] => 3 [6] => 0 [7] => 13 [8] => 0 [9] => 1 ) ) That is one array st

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Mohamed Lrhazi
Read : > PHP's process control functions may do what you need > > http://us3.php.net/manual/en/ref.pcntl.php > > Other alternative is to fork an external command with the exec or similar function, which would run another php script, in another php instance, in the background... make sure y

Re: [PHP] Re: Makeing automatic tags for email and www.

2003-10-15 Thread Eugene Lee
On Wed, Oct 15, 2003 at 04:16:14AM -0500, Gabriel Peugnet wrote: : : Thanks Eugene. : : I'm afraid I didn't explain my self as I should. : : What I want is this to be automaticaly generated in a text. : For example, in: : : "Some text some text some text some text [EMAIL PROTECTED] some text some t

[PHP] fetch entire mysql-result to an array immediately

2003-10-15 Thread Victor Spång Arthursson
Is that possible? The mysql_fetch_array fetches the result by one row each time, but I dont want to iterate through a result but only just fetch it right away… Regards Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Slow searches in large database

2003-10-15 Thread Curt Zirzow
* Thus wrote Cesar Cordovez ([EMAIL PROTECTED]): > > 2. save in the keyword table the non repeating words in the array with a > reference to the original document, for example the document id. > > 3. Then, if you want to search for, let say, people you will do: > > select distinct(docid) from

Re: [PHP] (ANN) codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread John Black
Hi, Using open software and charging makes us feel guilty...the license works on the honor system, if you are using it or more than 3 sites please buy a license if you don'tfight your guilt :-) To answer your question...everything will work, no odd or error messages to embarrass you or your cus

Re: Re[2]: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-15 Thread Shaun
Justin, Thank you for you replies, I have decided to convert the whole site to XHTML, for compatability. However, I am unable to view the site through my phones WAP browser, does this mean XHTML is only compatible with PC's and PDA's? I have validadted the code at http://validator.w3.org ... Than

Re: [PHP] Max no of recipients in To field of mail function

2003-10-15 Thread Nitin
none - Original Message - From: "Binay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 4:17 PM Subject: [PHP] Max no of recipients in To field of mail function Hi all! i need to email out newsletter to say 1000 recipients. I want to know what is the maxim

RE: [PHP] Sessions Question

2003-10-15 Thread Chris W. Parker
Mike Brum on Tuesday, October 14, 2003 5:31 PM said: > One quick note - if you're starting a session then you can't user the > header() function afterwards. You'll get the lovel "headers already > sent" error. > > Be sure to use an alternate method of redirection if

RE: [PHP] Sessions Question

2003-10-15 Thread Chris W. Parker
Jake McHenry on Tuesday, October 14, 2003 7:00 PM said: > Mainly what my problem is, is that when I turn Register_Globals = Off, > then my scripts stop working. I can't even get past the page I showed > you, the login page. No errors, it's just like I didn't enter an

RE: [PHP] fetch entire mysql-result to an array immediately

2003-10-15 Thread Chris W. Parker
Victor Spång Arthursson on Wednesday, October 15, 2003 7:33 AM said: > Is that possible? The mysql_fetch_array fetches the result by one row > each time, but I dont want to iterate through a result but only just > fetch it right away... I don't think there is a buil

[PHP] ms word problems again !!

2003-10-15 Thread pete M
I'm trying to send the following header to force ms-word to open a html document header("Content-type: application/msword"); header('Content-Disposition: attachment; filename="invoice.doc"'); it works in Mozilla but NOT in IE.. any ideas as its driving me crazy.. tia pete -- PHP General Mai

[PHP] PHP 5 in a live application

2003-10-15 Thread Jonathan Villa
All, I understand that PHP 5 in only in beta, and that it would be bad practice (please correct me if I'm wrong) to implement a beta release into production (although phpmvc does it), has anyone attempted this? I read the post about pidget and thought that perhaps I could begin to develop using

[PHP] IonCube on line Encoding

2003-10-15 Thread Antonio Bernabei
Hi, I am not very keen on using on line payments. I want to know if any of you has ever used the online encoding offered by ioncube, and if someone has had problems with this sw. Thank you Antonio Bernabei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] printing values from a 2 dimension array

2003-10-15 Thread Jason Wong
On Wednesday 15 October 2003 22:05, bob pilly wrote: > Yes it is what i expect to be stored in the array. [snip] > That is one array stored in $rslt[0] and another in $rslt[1] (perhaps i > am not understanding arrays correctly?) > > The thing that confuses me is if i assign the contents of an arr

Re[4]: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-15 Thread Tom Rogers
Hi, Thursday, October 16, 2003, 1:28:23 AM, you wrote: S> Justin, S> Thank you for you replies, I have decided to convert the whole site to S> XHTML, for compatability. However, I am unable to view the site through my S> phones WAP browser, does this mean XHTML is only compatible with PC's and S>

[PHP] DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread John Black
Hi again Dan, Sorry, I have been very busy and looking back I dont think I cleared the license issue totally. If you are selling software from your site, it does not matter how many people buy your software that is encoded with codeSecure, the license is site wise, ie: if you are selling software

Re: [PHP] cURL > Authorize.Net > Super slow processing times!!

2003-10-15 Thread Matt Babineau
I have not tried using anything other then CURL, what sort of options are available other then CURL? Could the problem be that I am posting from a non-secure page? (Yes I know, but it is on my test server) Would an SSL page make the transaction any faster? On Wed, 2003-10-15 at 05:24, Burhan Khal

[PHP] Newbie question about Class

2003-10-15 Thread Al
My question seems fundamental. I want to set a variable in one function in a class and then want to use the value in a second function. However, the functions are called a html page with two passes. Submit reloads the page and an if(...) calls the second function in the class. If I declare o

RE: [PHP] Newbie question about Class

2003-10-15 Thread Chris W. Parker
Al on Wednesday, October 15, 2003 10:36 AM said: > Will the class structure do this for me or must I save the values in > $GLOBAL or something? I think you'd have to send the value via $_GET or save it in a session variable if you want to retrieve it on another page

Re: [PHP] windows user_name

2003-10-15 Thread Becoming Digital
I don't believe so. It would depend entirely on the browser settings, too, so even if it's possible, I certainly wouldn't build an app around that idea. Edward Dudlik "Those who say it cannot be done should not interrupt the person doing it." wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU

Re: [PHP] Newbie question about Class

2003-10-15 Thread Tom Rogers
Hi, Thursday, October 16, 2003, 3:35:56 AM, you wrote: A> My question seems fundamental. I want to set a variable in one function A> in a class and then want to use the value in a second function. A> However, the functions are called a html page with two passes. Submit A> reloads the page an

Re: [PHP] what is the best PHP editor?

2003-10-15 Thread Becoming Digital
Zend Studio is nice but the pricetag is a bit hefty for some of us. ActiveState Komodo (my primary editor) supports multiple languages and doesn't carry quite as heavy a pricetag. Edward Dudlik "Those who say it cannot be done should not interrupt the person doing it." wishy washy | www.amazon

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Use register_shutdown_function() I made this test: But the browser gets this: Running... Fatal error: Maximum execution time of 30 seconds exceeded in d:\tests\shutdown.php on line 8 My env is: Windows XP-Pro. WebS

Re: [PHP] Newbie question about Class

2003-10-15 Thread Al
I was afraid that was the case. Tom Rogers wrote: Hi, Thursday, October 16, 2003, 3:35:56 AM, you wrote: A> My question seems fundamental. I want to set a variable in one function A> in a class and then want to use the value in a second function. A> However, the functions are called a html

[PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread James Cox
Ok, can we stop sending this to php-announce please... -- James Cox (Editor) :: [EMAIL PROTECTED] :: http://www.apress.com/ The Experts Voice (tm) Frasier Crane: Y'know, Niles, what say I buy us dinner and a lot of martinis? Niles Crane: Sounds great, except for the dinner part. > -Origi

Re: [PHP] DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread John Black
>ah I take it you are pleased :-)) Regards, -JB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread Didier McGillis
I'm sorry I did not know this was being sent to the list as well. From: "James Cox" <[EMAIL PROTECTED]> To: "John Black" <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> Subject: [PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code Date: Wed, 15 Oct 2003 11:19:53 -0700 Ok, can w

[PHP] Nested queries don't work

2003-10-15 Thread Rich Fox
I have the following code querying MS SQL Server $query = "SELECT * FROM mytable"; $res = mssql_query($query); $nr = mssql_num_rows($res); for ($i=0; $i<$nr; $i++) { $a = mssql_fetch_array($res); $query = "SELECT * FROM anothertable WHERE id=".$a['anotherID']; $res1 = mssql_query($quer

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 12:01 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions Question > > > Jake McHenry > on Tuesday, October 14, 2003 7:00 PM said: >

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 12:01 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions Question > > > Jake McHenry > on Tuesday, October 14, 2003 7:00 PM said: >

RE: [PHP] Nested queries don't work

2003-10-15 Thread Chris W. Parker
Rich Fox on Wednesday, October 15, 2003 12:37 PM said: > This does NOT work! It seems that the 2nd query steps on the results > of the first one! Can someone verify this effect? Seeing that you're using different result variables I would think that it should work al

Re: [PHP] copy tables

2003-10-15 Thread CPT John W. Holmes
From: "Gronquist, Jim M" <[EMAIL PROTECTED]> > I've set up dev and prod webservers. Users can go into the dev webserver > content and edit it. The content is in a mysql database. I have a button > on the webpage that says push content live. When the button is pushed I > want it to run a php script

[PHP] looking for a verification...

2003-10-15 Thread Dan Joseph
Hi, I have a php cron setup: 5 * * * * root /usr/local/bin/php /path/to/cron/filename.php Will this set it to run 5 minutes of every hour of every day? I can't really tell if its running... Thanks.. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
Chris W. Parker wrote: > Jake McHenry > on Wednesday, October 15, 2003 12:39 PM said: > >> Also, say on a separate page, how do I call the variabes stored in >> $_SESSION? Like this? $name = $_SESSION["name"]; > > Yes. But whenever you plan to access $_SESSION you m

RE: [PHP] looking for a verification...

2003-10-15 Thread Jake McHenry
Dan Joseph wrote: > Hi, > > I have a php cron setup: > > 5 * * * * root /usr/local/bin/php /path/to/cron/filename.php > > Will this set it to run 5 minutes of every hour of every day? > I can't really tell if its running... Thanks.. > > -Dan Joseph Make it.. */5 * * * * root /user/local/bin/

RE: [PHP] looking for a verification...

2003-10-15 Thread Dan Joseph
> Make it.. */5 * * * * root /user/local/bin/php > /path/to/cron/filename.php Oh ok.. will make that change, thank you. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] credit card gateway

2003-10-15 Thread Merlin
Hi there, I would like to implement direct credit card payment on my site with a gateway (SET). Can somebody recommend low price gateway companies. It seems to me that prices verry a lot. Any suggest is appreciated. regards Merlin -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Nested queries don't work

2003-10-15 Thread Mohamed Lrhazi
I would guess you have to use some extra layer of connection pools... each of those queries should go in a separate sql connection... i believe... On Wed, 2003-10-15 at 15:36, Rich Fox wrote: > I have the following code querying MS SQL Server > > $query = "SELECT * FROM mytable"; > $res = mssql_q

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Curt Zirzow
* Thus wrote Manuel Vázquez Acosta ([EMAIL PROTECTED]): > > "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Use register_shutdown_function() > > register_shutdown_function('shutingdown'); > > echo "Running..."; > flush(); > exit(); > ?> > > But the browser g

[PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-15 Thread Comex
<[EMAIL PROTECTED]> Bas: > Yes, thanx. I always wanted to make a version where you can use > multiple tags of one type. And, what do you find of it? Please rate > it 1 to 10 "Comex" <[EMAIL PROTECTED]> wrote in message I don't know... lol... -- PHP General Mailing List (http://www.php.net/) To u

[PHP] displaying time on the server

2003-10-15 Thread Adam Williams
Hello, I was wondering if someone knew how to display the time on the server to a web page that resides on that server, and have it update the time each second? I was looking at javascript for this, but they all use the client PC viewing the page to get the time, but I want it to display the s

[PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-15 Thread Comex
<[EMAIL PROTECTED]> Comex: > <[EMAIL PROTECTED]> > Bas: >> Yes, thanx. I always wanted to make a version where you can use >> multiple tags of one type. And, what do you find of it? Please rate >> it 1 to 10 "Comex" <[EMAIL PROTECTED]> wrote in message > > I don't know... lol... BTW, what should h

RE: [PHP] Sessions Question

2003-10-15 Thread Chris W. Parker
Jake McHenry on Wednesday, October 15, 2003 12:55 PM said: > Once I get a complete list, I can just copy and paste that to all my > files, correct? Yes you can just copy and paste the code. > What happens if I try to call a variable in $_SESSION > that hasn't been

Re: [PHP] displaying time on the server

2003-10-15 Thread Chris Shiflett
--- Adam Williams <[EMAIL PROTECTED]> wrote: > I was wondering if someone knew how to display the time on the > server to a web page that resides on that server, and have it > update the time each second? PHP can't do this. It executes on the server, not on the client. > I was looking at javascri

Re: [PHP] displaying time on the server

2003-10-15 Thread CPT John W. Holmes
From: "Adam Williams" <[EMAIL PROTECTED]> > I was wondering if someone knew how to display the time on the server to a > web page that resides on that server, and have it update the time each > second? I was looking at javascript for this, but they all use the client > PC viewing the page to get

Re: [PHP] credit card gateway

2003-10-15 Thread Becoming Digital
PayQuake has the best rates I've seen. They can be a PITA when setting up, but otherwise they're good. http://www.payquake.com Edward Dudlik "Those who say it cannot be done should not interrupt the person doing it." wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message

[PHP] Session lose value with httpS

2003-10-15 Thread [-^-!-%-
Hello everyone! What would cause a session value to be lost, under HTTPS? I have an application that works fine with HTTP, but does not recognize (or see) the session values, under the secure server.What would cause that? I've trying setting the cookie path, domain name, and even enable SESSION

RE: [PHP] Session lose value with httpS

2003-10-15 Thread Chris W. Parker
<-^-!-%- [mailto:[EMAIL PROTECTED]> on Wednesday, October 15, 2003 3:58 PM said: > What would cause a session value to be lost, under HTTPS? Hmm... I'll be coming up against this soon and would like to know the answer as well. One question though: can you set values in the $_SESSION array w

RE: [PHP] Session lose value with httpS

2003-10-15 Thread [-^-!-%-
I am able to set and read the values on the same page. I lose the value (and the session) was I move to another page. =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Wed, 15 Oct 2003, Chris

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
> Add before the exit: > set_time_limit(0); > > http://php.net/set_time_limit > > Curt You didn't get the idea. I want to be able to keep running a script disconnected from the browser; once all the output has been sent to the browser there's no need for the user to wait until the script finish i

[PHP] HTTP_POST_RAW_DATA problem

2003-10-15 Thread Manuel Vázquez Acosta
Hello: I'm running into a problem when trying to get $HTTP_POST_RAW_DATA; it always returns NULL althought my php.ini always_populate_raw_post_data is set to On. My env: Windows XP-Pro; Apache 1.3.24/PHP module 4.3.3 Any ideas? Manu. -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] Return to browser and keep running!

2003-10-15 Thread Chris W. Parker
Manuel Vázquez Acosta on Wednesday, October 15, 2003 5:46 PM said: > set_time_limit(0); makes the scripts to run completely without the 30 > seconds error; but it will keep the connection with the browser; so > it does not solve the problem though I think you want t

Re: [PHP] HTTP_POST_RAW_DATA problem

2003-10-15 Thread Raditha Dissanayake
Hi, RAW_POST_DATA does not get populated for known content types. That's why i got a little help from perl when building the megaupload progress bar. Manuel Vázquez Acosta wrote: Hello: I'm running into a problem when trying to get $HTTP_POST_RAW_DATA; it always returns NULL althought my php.i

  1   2   >