Re: [PHP] non-php issue

2003-09-22 Thread Curt Zirzow
* Thus wrote John Nichel ([EMAIL PROTECTED]): > Peter James wrote: > >You guys running Linux sure are cocky about these sorts of things. I have > >no doubt that Linux' time will come, and then it will be the MacOS X users, > >or FreeBSD users, or [insert random-os-that-still-remains-under-the-rada

Re: [PHP] non-php issue

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 03:10, Curt Zirzow wrote: > > hm.. is this a bad time to mention vi? > What would you mention about it? Everyone knows joe is the best editor in the world -- *cough* back on topic -- the best editor for PHP source and everything else *GRIN*. Rob. -- .-

Re: [PHP] non-php issue

2003-09-22 Thread Jason Wong
On Monday 22 September 2003 13:08, Robert Cummings wrote: > All security advantages aside, I prefer linux because everytime I > install a new program or service I don't need to reboot :) Or as some wag put it: "Your mouse has moved, you need to restart Windows for the changes to take effect."

Re: [PHP] PHP Shell doesn't run on a system

2003-09-22 Thread Curt Zirzow
* Thus wrote Weston Cann ([EMAIL PROTECTED]): > A while back I wrote a small script that was designed to work as an > interactive interpreter for PHP code, a la Python. The script itself is > written in PHP, and is pretty basic: > > > > function readln() > { > $fp=fopen("/dev/stdin", "r

Re: [PHP] PHP Shell doesn't run on a system

2003-09-22 Thread Jason Wong
On Monday 22 September 2003 14:44, Weston Cann wrote: > And while we're at it, has anyone written a tool that will tell you > what's different between server setups? phpinfo() or /path/to/php -i -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrato

[PHP] Redirect URL

2003-09-22 Thread Yury B .
Hi I have form in file register.php. The action of this form is the same - register.php the form validation script is included in this file like include("mail.php") In mail.php there is two sections - one is working if user didn't complete form properly another if everything okay. So, I need

[PHP] How can i enable SSL support?

2003-09-22 Thread Astron of BrOnX
Hi all, i need to enable ssl support for windows version of php but when i have enabled ssl support from php.ini like; extension=extensions/php_openssl.dll php says PHP Warning: Unknown(): Unable to load dynamic library './extensions/php_openssl.dll' - The specified module could not be found. in

Re: [PHP] PHP Shell doesn't run on a system

2003-09-22 Thread Christophe Chisogne
And while we're at it, has anyone written a tool that will tell you what's different between server setups? I use diff on unix. You may like tkdiff, with its additional GUI to diff Christophe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] advise on new class of mine

2003-09-22 Thread Curt Zirzow
* Thus wrote jsWalter ([EMAIL PROTECTED]): > I'm in the process of building my first "real" class. > > 43 methods, 23 properties, nearly 1000 lines of codes. hmm. that is large. > > What I would like to know... > > Is it better to keep al this in a single file? Or break it up into > sub-classe

Re: [PHP] non-php issue

2003-09-22 Thread John Nichel
Curt Zirzow wrote: * Thus wrote John Nichel ([EMAIL PROTECTED]): Not as cut and dry as that. By design, Linux IS more secure. Great deal of that security lies in the fact that it IS a true multi-user system (like just about every other non-MS OS out there), with a real permission / user / grou

Re: [PHP] Q on class failure...

2003-09-22 Thread Curt Zirzow
* Thus wrote jsWalter ([EMAIL PROTECTED]): > I found this in the docs... > >If you want your constructor to possibly not create the object > >class A >{ > function A() > { > // ... > // some error occurred > $this = null; > return; >

Re: [PHP] How can i enable SSL support?

2003-09-22 Thread Marek Kilimajer
Do you have libeay32.dll in your windows system directory? Astron of BrOnX wrote: Hi all, i need to enable ssl support for windows version of php but when i have enabled ssl support from php.ini like; extension=extensions/php_openssl.dll php says PHP Warning: Unknown(): Unable to load dynamic lib

Re: [PHP] Redirect URL

2003-09-22 Thread Marek Kilimajer
Search the archives or google. Yury B. wrote: Hi I have form in file register.php. The action of this form is the same - register.php the form validation script is included in this file like include("mail.php") In mail.php there is two sections - one is working if user didn't complete form p

Re: [PHP] Problem's addign a script to my web page.

2003-09-22 Thread Marek Kilimajer
Optionaly you can use ftp functions to create files and directories. Stratis Aftousmis wrote: --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: Do you have shell access(ssh)? You can use that. Other way is to ask your ISP to change the parmissions or to enable chmod command. I had a feeling i mi

[PHP] How can i enable SSL support?

2003-09-22 Thread Astron of BrOnX
Hi all, i need to enable ssl support for windows version of php but when i have enabled ssl support from php.ini like; extension=extensions/php_openssl.dll php says PHP Warning: Unknown(): Unable to load dynamic library './extensions/php_openssl.dll' - The specified module could not be found. in

Re: [PHP] Clear ALL Cookies previously set

2003-09-22 Thread Marek Kilimajer
Eugene Lee wrote: But I don't know what might happen if you use setcookie() to expire a cookie and then use setcookie() later on to set the same cookie. www.php.net/set_cookie : In PHP 3, multiple calls to setcookie() in the same script will be performed in reverse order. If you are trying to d

[PHP] How can i enable SSL support?

2003-09-22 Thread Astron of BrOnX
Hi all, i need to enable ssl support for windows version of php but when i have enabled ssl support from php.ini like; extension=extensions/php_openssl.dll php says PHP Warning: Unknown(): Unable to load dynamic library './extensions/php_openssl.dll' - The specified module could not be found. in

[PHP] undefined function recode_string()

2003-09-22 Thread Justin French
Hi all, PHP 4.3.2 on OS X 10.2.6, and I'm attempting to use the recode() or recode_string() function... both functions (one is an alias to the other) come back with: Fatal error: Call to undefined function: recode() in .../recode.php on line 12 I can't see any notes about compiles, extra req

Re: [PHP] Fwd: confirm subscribe to php-general@lists.php.net

2003-09-22 Thread Marek Kilimajer
Good joke ;) Lisa M. White wrote: HI YES IM SERIOUS,LISA WHITE Subject: confirm subscribe to [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: 19 Sep 2003 20:17:52 - To: [EMAIL PROTECTED] Hi! This is the ezmlm program. I

Re: [PHP] How can i enable SSL support?

2003-09-22 Thread Astron of BrOnX
Ohh god thank you.. It is okay now.. I have looked up info and i have seen OpenSSL is enable.. But still i have problem, when i try to connect with this code, $sock = fsockopen("ssl://$host", 443, $errno, $errstr, 30); and it says, Warning: fsockopen(): no SSL support in this build in but seem

Re: [PHP] undefined function recode_string()

2003-09-22 Thread Marek Kilimajer
www.php.net/recode - Installation section Justin French wrote: Hi all, PHP 4.3.2 on OS X 10.2.6, and I'm attempting to use the recode() or recode_string() function... both functions (one is an alias to the other) come back with: Fatal error: Call to undefined function: recode() in .../recode

Re: [PHP] undefined function recode_string()

2003-09-22 Thread Justin French
On Monday, September 22, 2003, at 06:28 PM, Marek Kilimajer wrote: www.php.net/recode - Installation section Thanks, I should have looked up the tree a little further :) Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] consistent PHP function names?

2003-09-22 Thread Eugene Lee
On Sun, Sep 21, 2003 at 09:10:16AM -0700, Raquel Rice wrote: : : On Wed, 17 Sep 2003 21:22:36 +1000 : Justin French <[EMAIL PROTECTED]> wrote: : : > I posted a similar topic a few months back. I guess the answer is : > that the collaborative nature of open source, and the fact that : > PHP has g

Re: [PHP] Re: forcing variable expansion

2003-09-22 Thread Eugene Lee
On Sun, Sep 21, 2003 at 03:01:41PM -0400, Rich Fox wrote: : "Eugene Lee" <[EMAIL PROTECTED]> wrote: : > : > If I have a block of text saved in an external text file, e.g.: : > : > All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}. : > : > after reading the text into a string, is ther

Re: [PHP] Clear ALL Cookies previously set

2003-09-22 Thread Eugene Lee
On Mon, Sep 22, 2003 at 10:18:21AM +0200, Marek Kilimajer wrote: : : Eugene Lee wrote: : > : >But I don't know what might happen if you use setcookie() to expire a : >cookie and then use setcookie() later on to set the same cookie. : : www.php.net/set_cookie : : : In PHP 3, multiple calls to se

[PHP] PHP Editor - which to use?

2003-09-22 Thread Binay
Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay

Re: [PHP] search result

2003-09-22 Thread Marek Kilimajer
As a newbie you should read some tutorials. Check out http://www.php.net/links.php sections "Complex PHP Related Sites" and "PHP Tutorials". phpu wrote: Finally I got it. Thanks a lot - Original Message - From: "phpu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 2

RE: [PHP] PHP Editor - which to use?

2003-09-22 Thread Ruessel, Jan
well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special "php-must-have-editors". grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROT

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Ryan A
Hey Personally I dont think any 1 is good for all purposes...I use a combination of Dreamweaver MX, Zend and PHPEdit. HTH. Cheers, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com - Original Message - From: "Ruessel, Jan" <[EMAIL PROTECTE

[PHP] Recursive class trouble

2003-09-22 Thread Christoffer Enedahl
I'm trying to do some recursive work with classes. And I run in to problems executing the recursive actions outside the constructor. I've narrowed it down to this, its simply returning levelnumbers as of know, but the problem still exists. this does not work, it only goes to level 2, where is shou

[PHP] need something like recode() that works on base PHP4.x install

2003-09-22 Thread Justin French
Hi all, I wish to take advantage of something like recode(), but my main ISP doesn't support the function. I'm only concerned with one or two character sets (like ISO-8859-1), so full support of what recode() is capable of is not so important. htmlspecialchars() mentions that it deals with cha

[PHP] Working with PHP Class Within Javascript

2003-09-22 Thread Harry Yau
Hi all, I am writing a HTML page to gather whole bunch of information provided by user and pass it to the PHP script to generate a report base on these information. Namely, user inputs data in textfields of a HTML FORM. Since, there is a lot of fields in the field, when the form submitted, the

[PHP] How to achieve bi-directional communication between two servers?

2003-09-22 Thread Daevid Vincent
I have a script on all my client machines that checks into a master server to dump statistical information into a mysql database. That works great (using $_GET and an encrypted string). However, now I'd like to have the client check in to the master and see if it needs any updates. If so, it will s

Re: [PHP] PHP "Smart Refresh" for looping server lookups

2003-09-22 Thread Marek Kilimajer
You can use a hidden iframe that would regularly refresh and if new messages are waiting send some javascript. In this javascript use DOM functions to insert the new message into the page. [EMAIL PROTECTED] wrote: This may sound a bit long and drawn out, but I'll try my best to summarize what

[PHP] RE : [PHP] PHP Editor - which to use?

2003-09-22 Thread BENARD Jean-philippe
Not a "php-must-have-editors" but useful ones, for example, are phpEd and Zend Studio (text completion, functions library, ...). I found that Zend Studio is a good one because of internal CVS connexions, work on UNIX & Windows systems, Project managements, ... I think it's a good choice for a profe

Re: [PHP] RE : [PHP] PHP Editor - which to use?

2003-09-22 Thread Duncan Hill
On Monday 22 Sep 2003 11:35, BENARD Jean-philippe wrote: > Not a "php-must-have-editors" but useful ones, for example, are phpEd > and Zend Studio (text completion, functions library, ...). I found that > Zend Studio is a good one because of internal CVS connexions, work on > UNIX & Windows systems

[PHP] XHTML / CSS

2003-09-22 Thread Decapode Azur
First, excuse-me for this out of topic message. I am searching a good mailling-list for people trying to write standard XHTML and CSS. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fileowner function and Windows OS

2003-09-22 Thread ermelir
Hello list, I try to use fileower function on php 4.3.2 + Apache 2.047+ Xp pro system. this function doesn't seem to work : for each existing files, function always returns 0. documentation doesn't notice some bugs on Windows OS, and I would share your experience about your use on these OS. th

RE: [PHP] php|cruise

2003-09-22 Thread Jay Blanchard
[snip] Is anyone planning on going to this? http://www.phparch.com/cruise/ I'm trying to go. It would be nice to put a face to the name with a few people out there. Let me know. [/snip] I am trying to get the company to pay for it. The problem is I have added 2 more developers to the staff, so

[PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
Is it possible? I have a file that takes 5 minutes to run, and I would like to be able to start it when loading a page. But I can't include it because it forces the browser to timeout… exec("script.php") doesn't seem to work… Sincerely Victor -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: fileowner function and Windows OS

2003-09-22 Thread Simon Thurtle
I use WINSyntax married with Dreamweaver MX. WINsyntax is free and superb I recommend that you have a quick look at before you look any where else! "ermelir" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello list, > > I try to use fileower function on php 4.3.2 + Apache 2.047+ Xp

RE: [PHP] Start php-script with exec()?

2003-09-22 Thread Jay Blanchard
[snip] Is it possible? I have a file that takes 5 minutes to run, and I would like to be able to start it when loading a page. But I can't include it because it forces the browser to timeout... exec("script.php") doesn't seem to work... [/snip] exec needs a little more information, and will th

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
måndagen den 22 september 2003 kl 14.31 skrev Jay Blanchard: exec("php script.php"); will run the script. How does this look on a OSX/UNIX system? Can the path to php be found in a system variable, for convinience and portability of the script? Sincerely Victor -- PHP General Mailing List (htt

RE: [PHP] Start php-script with exec()?

2003-09-22 Thread Jay Blanchard
[snip] måndagen den 22 september 2003 kl 14.31 skrev Jay Blanchard: > exec("php script.php"); will run the script. How does this look on a OSX/UNIX system? Can the path to php be found in a system variable, for convinience and portability of the script? [/snip] As usual for *nix type 'which php

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
måndagen den 22 september 2003 kl 14.52 skrev Jay Blanchard: As usual for *nix type 'which php' which will return the path to the PHP executable. For portability you could then do something to the effect of (not tested) which() doesn't resolve the path, but I found out it was /usr/local/php/bin

RE: [PHP] Session and Server variable problem

2003-09-22 Thread Stephen Schneider
Thanks, but no. On the page not setting the cookie and the php.ini isn't setting it to either. But the .ini isn't setting it at all. Could I put in there the .net address or .com address? Better yet, can I put 2 addresses, probably not. Stephen -Original Message- From: CPT John W. Holm

RE: [PHP] Start php-script with exec()?

2003-09-22 Thread Jay Blanchard
[snip] > As usual for *nix type 'which php' which will return the path to the > PHP executable. For portability you could then do something to the > effect of (not tested) which() doesn't resolve the path, but I found out it was /usr/local/php/bin/php. But how do I make the call

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Marek Kilimajer
exec("/usr/local/php/bin/php process1.php & "); process executes in the background Victor Spång Arthursson wrote: måndagen den 22 september 2003 kl 14.52 skrev Jay Blanchard: As usual for *nix type 'which php' which will return the path to the PHP executable. For portability you could then do s

Re: [PHP] XHTML / CSS

2003-09-22 Thread Lowell Allen
> First, excuse-me for this out of topic message. > > I am searching a good mailling-list for people trying to write standard > XHTML and CSS. css-discuss -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Becoming Digital
I'm a big fan of ActiveState Komodo, largely because it handles PHP, Perl, Python, and others. While most of my work is done in PHP, it's nice not having to switch editors when trying to port code to or from another language. I must agree with Ryan that there is no 1 app to use. Dreamweaver

Re: [PHP] Re: forcing variable expansion

2003-09-22 Thread Rich Fox
Sorry, we have a Eugene Lee at my aikido school and it's such an unusual name I thought you might be him. "Eugene Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, Sep 21, 2003 at 03:01:41PM -0400, Rich Fox wrote: > : "Eugene Lee" <[EMAIL PROTECTED]> wrote: > : > > : > If

Re: [PHP] non-php issue

2003-09-22 Thread Becoming Digital
> All security advantages aside, I prefer linux because everytime I > install a new program or service I don't need to reboot :) Yeah, but in the time you spend resolving RPM package dependencies, re-compiling the application, checking in and out of CVS, etc, all trying to install the damn thing

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
måndagen den 22 september 2003 kl 15.04 skrev Jay Blanchard: use & (not tested, but runs other processes as background processes) exec("/usr/local/php/bin/php process1.php &"); Think that works as well; my solution was "> /dev/null &"… Now the big question is if I will get it to work on a wind

[PHP] There is an error with SSL support.

2003-09-22 Thread Astron of BrOnX
Hi all, i have been trying to connect a server which has SSL support.. I have enabled SSL support from php.ini which lines, extensition=extensitions/php_openssl.dll; When i looked up phpinfo() for information, It says, OpenSSL support is enable and seems to be okay.. But tyring to use this code;

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Marek Kilimajer
What version of php do you have. ssl:// is available only since 4.3.0 Astron of BrOnX wrote: Hi all, i have been trying to connect a server which has SSL support.. I have enabled SSL support from php.ini which lines, extensition=extensitions/php_openssl.dll; When i looked up phpinfo() for inform

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
Ok, it works fine on my development server with Mac OS X. But the hosting server seems to be WinNT, and on this it doesnt work. Anyone who can help me with some standard paths to php.exe? "c:\php\" Doesnt work ;) Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Marek Kilimajer
Ask your hosting company. Are you sure they will allow you to execute commands? Check phpinfo - safe mode and disabled functions. Victor Spång Arthursson wrote: Ok, it works fine on my development server with Mac OS X. But the hosting server seems to be WinNT, and on this it doesnt work. Anyon

Re: [PHP] non-php issue

2003-09-22 Thread Robert Cummings
Time to shutdown, reboot, and log into admin account on windows on an AMD 2400+: 6 minutes 37 seconds Time to ./configure AND compile apache 1.3.28 under linux: 30 seconds Time to ./configure AND compile php 4.3.3 under linux: 2 minutes 16 seconds Time to ./configure AND compile mysql 4.0.15a un

[PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I click on the submit button, the URL that it produces is http://whatever.php? then the name of my submit button = value for example: Request this ab

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Astron of BrOnX
himm 4.3.3 it is new version.? Thanks, Astron "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What version of php do you have. ssl:// is available only since 4.3.0 > > Astron of BrOnX wrote: > > > Hi all, i have been trying to connect a server which has SSL support

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
måndagen den 22 september 2003 kl 16.11 skrev Marek Kilimajer: Ask your hosting company. Are you sure they will allow you to execute commands? Check phpinfo - safe mode and disabled functions. Asked them and they told it was a mistake we had php on the server - according to them it was either ph

Re: [PHP] using submit button and PHP-HELP

2003-09-22 Thread Marek Kilimajer
Angelo Zanetti wrote: Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I click on the submit button, the URL that it produces is http://whatever.php? then the name of my submit button = value for exampl

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Astron of BrOnX
So that, what can i do to connect SSL server in this version (4.3.3) Astron "Astron Of Bronx" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > himm 4.3.3 it is new version.? > > Thanks, > Astron > > "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > W

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Marek Kilimajer
Pretty new ;) Manuzhai suggested to use php4ts.dll from http://ftp.proventum.net/pub/php/win32/misc/openssl/ Astron of BrOnX wrote: himm 4.3.3 it is new version.? Thanks, Astron "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] What version of php do you have. ssl://

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Astron of BrOnX
Thank you for helping me Marek, but it is like puzzle :) Now i got this errors :) Function registration failed - duplicate name - openssl_seal in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_open in Unknown on line 0 PHP Warning: Function registration fa

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Marek Kilimajer
I should have mention it. ssl support is compiled directly into the dll, so you must comment out extension=php_openssl.dll in php.ini Astron of BrOnX wrote: Thank you for helping me Marek, but it is like puzzle :) Now i got this errors :) Function registration failed - duplicate name - openssl_s

RE: [PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
thanx for your help, Ive got flu and all these small things seem to be escaping my eyes. I just want to ask you a small question: If i want this page to submit to itself and I want to test for it, would I go about it like this: if my submit button code looks like this: or is there a better w

Re: [PHP] There is an error with SSL support.

2003-09-22 Thread Astron of BrOnX
Bravooo.. Thanks mate.. I havent any problem because, i would be crayz.. Astron.. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I should have mention it. ssl support is compiled directly into the dll, > so you must comment out extension=php_openssl.dll in php.in

Re: [PHP] non-php issue

2003-09-22 Thread Pete James
Hey, look... yours IS bigger than mine. :-) Seriously, though, I think it's safe to say that "your mileage may vary". It certainly doesn't take 2 minutes to compile and install all of the dependencies along with PHP. It also doesn't take me 6 minutes to restart my version of Windows (2 minute

Re: [PHP] non-php issue

2003-09-22 Thread Chris Shiflett
--- Peter James <[EMAIL PROTECTED]> wrote: > If Linux enjoyed the same type of (often less-than-computer-literate) > user base that Windows does, there'd be plenty for virus writers and > vulnerability exploiters to do. Those who are "less-than-computer-literate" are not protecting anything import

Re: [PHP] non-php issue

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 11:22, Pete James wrote: > > Hey, look... yours IS bigger than mine. :-) And smaller than a lot of others, but I don't have the cash to go and get a new one or an enlargement. Besides, everyone tells me this one is perfect for my needs ;) Cheers, Rob. > > Seriously, though

RE: [PHP] non-php issue

2003-09-22 Thread Dan Anderson
Yes, it is possible to secure anything if you know what you are doing. But the average user doesn't know what he or she is doing. So they run their computer as the superuser because they don't want to have to log off and back on to install a program, and all of a sudden any virus that com

Re: [PHP] non-php issue

2003-09-22 Thread Pete James
Chris Shiflett wrote: There has been research to support that Linux is attacked more than three times as much as Windows (http://www.internetnews.com/dev-news/article.php/3076701). This makes sense, too, because Linux is more likely to be protecting important data. The argument that those who chos

[PHP] is it possible to have the following URL?

2003-09-22 Thread Susan Ator
I am passing 3 pieces of information on every URL. For example: https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id I need to be able to return to a previous page using an anchor tag like so: https://url_locaion.org/prev_page.php#tag?SID=$SID&uid=$uid&ELEM_ID=$id So far it doesn't

[PHP] Re: PHP Editor - which to use?

2003-09-22 Thread John Taylor-Johnston
I don't know if such an animal exists? I use Windows Wordpad as a text editor. Then I use Microweb from: http://www.indigostar.com/microweb.htm You might want to download a newer copy of PHP from http://www.php.net/downloads.php This is lilkely not what you are looking for, but will do a very nice

Re: [PHP] is it possible to have the following URL?

2003-09-22 Thread Erwin Kerk
This should work: https://url_locaion.org/prev_page.php?SID=$SID&uid=$uid&ELEM_ID=$id#tag Erwin Susan Ator wrote: I am passing 3 pieces of information on every URL. For example: https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id I need to be able to return to a previous page usin

Re: [PHP] Re: PHP Editor - which to use?

2003-09-22 Thread Robert Cummings
I find having a virtual host for development to be best when viewing your handiwork as you develop it. It provides the convenience of actually running the PHP code, and makes it simple to preview the content in the most popular browsers to check for incompatibility issues. Then you can use any text

RE: [PHP] is it possible to have the following URL?

2003-09-22 Thread Susan Ator
Thank you so much. That worked perfectly. Don't know why I didn't think of trying the anchor tag there. susan -Original Message- From: Erwin Kerk [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] is it possible to have the followi

[PHP] PHP setup differences (was: PHP Shell doesn't run on a system)

2003-09-22 Thread weston
> > > >>And while we're at it, has anyone written a tool that will tell you > >>what's different between server setups? > > > > I use diff on unix. > > > > You may like tkdiff, with its additional GUI to diff Hmmm. Diff on what? I suppose the INI files are prime candidates, as well as whatev

Re: [PHP] PHP Shell doesn't run on a system

2003-09-22 Thread weston
Curt Zirzow wrote: > * Thus wrote Weston Cann ([EMAIL PROTECTED]): > > A while back I wrote a small script that was designed to work as an > > interactive interpreter for PHP code, a la Python. The script itself is > > written in PHP, and is pretty basic: > > > > > > function readln() > > { >

[PHP] using a php variable in javascript

2003-09-22 Thread Rich Fox
I have a page with the following code: I have 'CompanyEdit' hardcoded, but what I want instead is something like: so = window.open('','$callerWin'); This does not work, of course, but you get the ide

[PHP] php with MsSql

2003-09-22 Thread João Cândido de Souza Neto
I'm creating a site using php with Mssql and i have a problem. When i test im my in my conputer using Win XP with php 4.3.2RC4 it's all ok, but when i use in server running linux and php 4.3.3 i can't save accented words data in MsSql database. When i try, i receive this message: Warning: mssql_

Re: [PHP] using a php variable in javascript

2003-09-22 Thread Erwin Kerk
have you tried: so = window.open('',''); ?? Erwin Kerk Web Developer Rich Fox wrote: I have a page with the following code: I have 'CompanyEdit' hardcoded, but what I want instead is something like:

[PHP] Mail problem

2003-09-22 Thread Trevor Dowling
PHP Version 4.3.2 I am having problems sending a large number of emails from a mail list held in a database. I don't belive that the database has anything to do with the problem. I have about 9000 addresses and can only successfully send about 2000 mails before the page say complete/done. Below i

RE: [PHP] Mail problem

2003-09-22 Thread Jay Blanchard
[snip] I have about 9000 addresses and can only successfully send about 2000 mails before the page say complete/done. [/snip] What is your PHP script execution time set to in the php.ini? Are you running this from the browser? If so you will also need to modify your browser timeout? Place this se

RE: [PHP] Mail problem

2003-09-22 Thread chris . neale
Have you timed it? You might want to check it doesn't take longer than the max_execution_time directive in php.ini allows (you'll have to check if that's the correct name for it). I've also used set_time_limit(0) at the top of my scripts when I know it's going to take a while... Regards Chris -

Re: [PHP] php with MsSql

2003-09-22 Thread Curt Zirzow
* Thus wrote João Cândido de Souza Neto ([EMAIL PROTECTED]): > I'm creating a site using php with Mssql and i have a problem. > > When i test im my in my conputer using Win XP with php 4.3.2RC4 it's all ok, > but when i use in server running linux and php 4.3.3 i can't save accented > words data i

Re: [PHP] Problem's addign a script to my web page.

2003-09-22 Thread Stratis Aftousmis
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > Optionaly you can use ftp functions to create files > and directories. Will that get rid of the parmission's problem? Can you explain a little? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site d

Re: [PHP] Mail problem

2003-09-22 Thread Rob Adams
[snip] I have about 9000 addresses and can only successfully send about 2000 mails before the page say complete/done. [/snip] Depending on your error reporting level, instead of ending normally you should get a script timed out message. If you're not getting that message, it may be that your scri

Re: [PHP] Mail problem

2003-09-22 Thread Curt Zirzow
* Thus wrote Trevor Dowling ([EMAIL PROTECTED]): > PHP Version 4.3.2 > I am having problems sending a large number of emails from a mail list held > in a database. I don't belive that the database has anything to do with the > problem. > > I have about 9000 addresses and can only successfully send

Re: [PHP] advise on new class of mine

2003-09-22 Thread jsWalter
Thanks Curt for your reply. It helped my head a bit. Walter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with external command.

2003-09-22 Thread Jeremy Russell
Hello list... Im fighting a losing battle here.. I'm needing help! Everything seems to work fine with this function except that when the command runs and is to populate the "$scan_result" field. It doesn't Im not sure why either. I also get an "End of file unexepected" error in my apache logs a

Re: [PHP] problem with external command.

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 13:14, Jeremy Russell wrote: > Hello list... Im fighting a losing battle here.. > > I'm needing help! > > Everything seems to work fine with this function except that when the > command runs and is to populate the "$scan_result" field. It doesn't Im > not sure why either.

Re: [PHP] problem with external command.

2003-09-22 Thread Brad Pauly
Jeremy Russell wrote: Everything seems to work fine with this function except that when the command runs and is to populate the "$scan_result" field. It doesn't Im not sure why either. I also get an "End of file unexepected" error in my apache logs as well. Anybody have any advice. Have you tr

Re: [PHP] Q on class failure...

2003-09-22 Thread jsWalter
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi, > > It's generaly considered that constructors are supposed return an > instance of that class. Use a factory instead if you want to return nulls; A Factory? OK, I'll look that up, do some readng and try tha

Re: [PHP] Q on class failure...

2003-09-22 Thread jsWalter
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The constructor should be as quick as possible and have as little > logic as possible. What kind of failure are you trying to catch? not really trying to 'catch' a failure. I have to parse the given string format and d

Re: [PHP] Classes Tutorials

2003-09-22 Thread jsWalter
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Although i dont code for pear standards, i must recommend learning the pear > code, its how i taught myself classes. I concur. It is how I am learning this stuff. That and my stupid questions to this list (see previous posts just yes

Re: [PHP] Q on class failure...

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 13:25, jsWalter wrote: > > "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > hi, > > > > It's generaly considered that constructors are supposed return an > > instance of that class. Use a factory instead if you want to return nulls; > >

[PHP] Re: Working with PHP Class Within Javascript

2003-09-22 Thread jsWalter
"Harry Yau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > I am writing a HTML page to gather whole bunch of information > provided by user and pass it to the PHP script to generate a report base > on these information. Namely, user inputs data in textfields of a HTML >

[PHP] Re: PHP Editor - which to use?

2003-09-22 Thread jsWalter
I use Homesite. It has plug-ins for PHP so you have tps and cose completion. I just modified another plug it has so I can see then entire list of methods a script has in a window, which can then jump to, scroll to, insert here. And I can hit F-12 and it will talk to my apache server and run the

  1   2   >