Re: [PHP] progress page

2003-01-07 Thread Nuno Lopes
open pop window: head script language=JavaScript !-- setup='toolbar=no,location=no,directories=no,status=no,menubar=no,width=200, height=150,scrollbars=no,resizable=no' pop = window.open (,pop,setup) pop.document.write('headTitlePop Up/Title/headbody'); pop.document.write('centerPlease wait while

[PHP] XHTML Validator Problem

2003-01-07 Thread Michael Egan
I've finally got round to making some attempt to validating the pages of a site I've done with PHP using the W3C XHTML Validator. However, it's throwing out errors wherever I use session control on pages. The server generates PHP Session ID variables which are added to links to other pages

[PHP] PHP Editors

2003-01-07 Thread Nilza Lafayette
I'm running Apache 2.0 as a service and PHP (like a module) onto a Windows Advanced Server. I´m looking for a good and free Editor to use with PHP (With debugging features). Can anyone with experience guide me? Thanks. Janine. __ Do you Yahoo!?

[PHP] InStallation Error Of ZendStudio on win98

2003-01-07 Thread Steven Seijmonsbergen
I have a Problem With the install of ZendStudio-2_5_0b. I'm Using Windows 98 and I will get the error: This program has performed an illegal! What can I do to install ZendStudio??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] InStallation Error Of ZendStudio on win98

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Have you tried it in Safe Mode as you may have a Java Runtime issue. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Steven Seijmonsbergen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 7 January 2003 7:09 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] PHP sendmail configuration

2003-01-07 Thread Petre Agenbag
The problem you are having took me a while to grasp. Basically, what happens is that sendmail sends the mail as the user php/apache was installed as (usually nobody@ or apache@ yourdomain.com). Setting the Return-Path does not work, as you cannot override the Return-Path set by the server in this

RE: [PHP] Dreaded Return-Path and mail()

2003-01-07 Thread Petre Agenbag
Almost exactly the same question as the message with subject: Sendmail configuration The problem you are having took me a while to grasp. Basically, what happens is that sendmail sends the mail as the user php/apache was installed as (usually nobody@ or apache@ yourdomain.com). Setting the

RE: [PHP] Dreaded Return-Path and mail()

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
As I have said before that if you set the webserver user in as a trusted user in the sendmail.cf file all is fixed. You can then set a return-path etc without warnings as well. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Petre Agenbag

Re: [PHP] PHP Editors

2003-01-07 Thread Neil Freeman
Take a look at Maguma Studio Light (www.maguma.com) Neil Nilza Lafayette wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 2nd January 2003

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Nuno Lopes
I have the latest version of PHP (4.3.0) as module in apache 2.0.43 and mysql 3.23.49. Everything is working fine, except this. With pconnect the error is the same! - Original Message - From: Larry Brown [EMAIL PROTECTED] To: MySQL List [EMAIL PROTECTED] Sent: Monday, January 06, 2003

Re: [PHP] PHP Editors

2003-01-07 Thread Khalid El-Kary
PHPEdit i use it personally www.phpedit.net I'm running Apache 2.0 as a service and PHP (like a module) onto a Windows Advanced Server. I´m looking for a good and free Editor to use with PHP (With debugging features). Can anyone with experience guide me? Thanks. Janine.

php-general Digest 7 Jan 2003 10:38:05 -0000 Issue 1808

2003-01-07 Thread php-general-digest-help
php-general Digest 7 Jan 2003 10:38:05 - Issue 1808 Topics (messages 130503 through 130551): Re: mail() not working on Win2k 130503 by: Manuel Lemos 130507 by: Rad Craig 130513 by: Manuel Lemos Directory Listing with php on unix boxes 130504 by: Joe Jeffcoat

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread info
Hello Michael, please go to your Bash-Shell. There you type: MYIP=`/sbin/ifconfig ppp0 grep inet | cut -d: -f2 | cut -d -f1` ; $MYIP has now your dyn IP Adress. Best regards, Oliver Etzel --- [EMAIL PROTECTED] Phone +49 89 54071102

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread info
Oh man, Then you write a short script, that whenever IP changes then start it anew. You don´t have to make it public. - Original Message - From: Chris Hewitt To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:20 PM Subject: Re: [PHP] Get your *own* IP...?! [EMAIL

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread Jason Wong
On Tuesday 07 January 2003 20:28, [EMAIL PROTECTED] wrote: Then you write a short script, that whenever IP changes then start it anew. You don´t have to make it public. Right, so what if people like your site so much and they bookmark a particular page? -- Jason Wong - Gremlins Associates -

Re[2]: [PHP] XHTML Validator Problem[Scanned]

2003-01-07 Thread Tom Rogers
Hi, Tuesday, January 7, 2003, 10:23:54 PM, you wrote: ME Tom, ME Thanks for that. ME I don't have access to the server on which the site is being run but I'll suggest the change to the hosting company. ME Michael Egan ME -Original Message- ME From: Tom Rogers [mailto:[EMAIL

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread Tom Rogers
Hi, Tuesday, January 7, 2003, 6:45:43 AM, you wrote: ClP Does anyone know a way to fetch your own IP-adress? I need it because I run ClP a web server on my computer with a dynamic-IP so I need it to change all the ClP URLs it creates dynamically... ClP Thanks! ClP -Charles I think you should

Re: [PHP] Text editors

2003-01-07 Thread Stephan Seidt
You wanted advert ;p www.weaverslave.de , has also a good english translation and many other languages. Karl James wrote: Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And is good for php…. Thanks karl ---

Re: [PHP] Fw: Session ID changes

2003-01-07 Thread Marek Kilimajer
Scott Fletcher wrote: [-^-!-%- [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]. .. Hello all, I need some clarification. To my understanding, each visit to php site creates a UNIQUE Session ID (SID). Only when you call session_start() - this function checks for

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Marek Kilimajer
phpinfo will tell you which php.ini is used Scott Fletcher wrote: I tried various methods on IIS after configuring hte PHP.INI. Such as shutting down IIS, restarting IIS and rebooting hte machine. Here's one latest addition that I found to be very far out!! What I did was I renamed the

Re: [PHP] MySQL field to maintain formatting

2003-01-07 Thread Vernon
That did it thanks! V -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re[2]: [PHP] XHTML Validator Problem[Scanned]

2003-01-07 Thread Michael Egan
Tom, Thanks again. This gives me full control over things which always seems the best solution. Michael You can put this at the top of your scripts: ini_set('arg_separator.output','amp;'); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] groupware tool in PHP for PostgreSQL

2003-01-07 Thread Miguel González Castaños
hi all, I am looking for any tool in PHP using PostgreSQL for setting up a collaborative web based system for a small group of people. Mainly we need a system to track a list of tasks and maybe to track the task related to a project (therefore some kind of project tracking). I have been

Re: [PHP] ftp and www

2003-01-07 Thread Marek Kilimajer
There are many of them: http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/File_Management/ Mukta Telang wrote: Hi, I am told to merge ftp and www ! I cant understand what it means.. May be it means that it should be possible to browse ftp directory from a browser? What is

[PHP] Re: email a web page

2003-01-07 Thread Brian McGarvie
Dc [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I have a newsletter ready to email to my database of customers. The entire newsletter incl graphics , layout etc is enclosed within a form which posts to a second page which s supposed to email the

[PHP] Forwarding POST info from a PHP script

2003-01-07 Thread David Barrett
I want to be able to retrieve POST variable in one PHP script (which is straight-forward) and then send these from the script to another one returning the processed input. I have written a script that will parse a frames-based page and render it as a flat page (i.e. all frames displayed as a

[PHP] Re: Defaults in drop down list...

2003-01-07 Thread Joel Boonstra
I have a drop down list with all fifty states. very common. I conjured up a way to store the value when you return to edit the form, but there most be an easier way either in html, or in php. Here is what I currently have. select name=state option

[PHP] Re: Text editors

2003-01-07 Thread Leon Mergen
www.editplus.com Karl James [EMAIL PROTECTED] wrote in message 007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f">news:007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f... Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And

Re: [PHP] No input file specified. Please help.

2003-01-07 Thread Marek Kilimajer
Try using full URI, e.g. http://localhost/index.php David Scott wrote: I am running this file from a tutorial: html head titleSomething Useful Tutorial/title /head body ?php echo $_SERVER[HTTP_USER_AGENT]; ? /body /html When this file is run from my webserver (IIS) I get a page that

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Scott Fletcher
I only have one php.ini on the machine and the filepath point to this one. Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... phpinfo will tell you which php.ini is used Scott Fletcher wrote: I tried various methods on IIS after configuring hte

[PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread Brian McGarvie
Could be an issue on the webserver if PHP has register_globals set to off... David Barrett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I want to be able to retrieve POST variable in one PHP script (which is straight-forward) and then send these from the

[PHP] I am a dullard

2003-01-07 Thread Todd Barr
Okay...I am now having difficulty with putting things INTO the database. The form is on another page, and links to this one. ?php $Host=localhost; $User=us34992a; $Password=**; $DBname=db34992a; $Link=mysql_connect ($Host, $User, $Password); $db=mysql_select_db($DBname, $Link) or die (Unable

[PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread David Barrett
Think you may have misread the problem, or I am not good at explaining it ;-) I can receive POST variables fine, and GET. My problem is that when a frameset (which my script renders) contains a form, I need to retrieve the OUTPUT from the form's target (i.e. ACTION tag), so I need to send all

Re: [PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread Marek Kilimajer
David Barrett wrote: Think you may have misread the problem, or I am not good at explaining it ;-) I can receive POST variables fine, and GET. My problem is that when a frameset (which my script renders) contains a form, I need to retrieve the OUTPUT from the form's target (i.e. ACTION tag),

RE: [PHP] Forwarding POST info from a PHP script

2003-01-07 Thread Larry Brown
There is probably a better way but what I do is create hidden fields in the form of the first page and populate it with the variable I need to go on to the next one. Ie for variable a, b, c, d coming to the first page... form name=sendit action=nextwebpage method=post [Do something with some or

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Brian McGarvie
php (.exe or .dll) will look for a php.ini in both, c:\(windows_dir) and c:\php\ (I am not sure what location takes priority - I'd assume c:\(windows_dir) Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I only have one php.ini on the machine and the

[PHP] apache + php + MS active directory

2003-01-07 Thread Ezra Nugroho
Now, this is a rather unlikely configuration, but ... I am working on a linux based web work based on apache and php, but the authentication system on site is based on MS active directory. Does anyone know if apache + php can be configured to authenticate users through active directory? Is it

[PHP] Development tools

2003-01-07 Thread Didier McGillis
There was one discussion starting about coding/development tools. I was wondering if anyone out there knows of good development/coding tools for Java and C++. I've been using Visual C++ for the C++ part, and hand coding Java. I just started on both of them and wanting to learn how to use

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
And this has what to do with PHP? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: apache + php + MS active directory

2003-01-07 Thread Brian McGarvie
Yip... Investigate... LDAP Ezra Nugroho [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Now, this is a rather unlikely configuration, but ... I am working on a linux based web work based on apache and php, but the authentication system on site is based on MS

[PHP] Undefined index a different problem

2003-01-07 Thread Mekrand
my problem is, i have a script that works well before php 4.2.3 its sth like that {.. for($i=0; $icount($line); $i++); // loop line numbers ... } //2nd part { echo ($i); } now i changed second part as; echo($GLOBALS[i]); and it gives me notice that undefined index i. how can i solve this

RE: [PHP] Development tools[Scanned]

2003-01-07 Thread Michael Egan
Didier, I'm afraid you really are asking for some harsh responses. Your last comment in particular invites some rather obvious, albeit rude, acronyms. I just started on both of them and wanting to learn how to use them, but I know the tools could speed up the process, especially I am a learn

RE: [PHP] Development tools[Scanned]

2003-01-07 Thread Michael Egan
Didier, I meant to say Java and C++ IDEs. Regards, Michael Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Issues w/ WHOIS and Fgets

2003-01-07 Thread Ben Vaughn
Hello, Long time reader, first time e-mailer :-). I am having a pretty strange issue with fgets and a socket, and was hoping that perhaps someone here can help me. First, my code: function dowhois($who) { $data = array(); $whom = trim($who); $fp = fsockopen

Re: [PHP] Undefined index a different problem

2003-01-07 Thread Marek Kilimajer
Mekrand wrote: my problem is, i have a script that works well before php 4.2.3 its sth like that {.. for($i=0; $icount($line); $i++); // loop line numbers ... } //2nd part { echo ($i); } now i changed second part as; echo($GLOBALS[i]); should not be echo($GLOBALS[$i]); and it gives

[PHP] regular expression help

2003-01-07 Thread adrian [EMAIL PROTECTED]
I'm a bit useless at regular expressions so i thought i ask. i need to turn all [link url=http://www.site.com] link to site [/link] in a string into html a href= ...etc and back again. thanks adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Undefined index a different problem

2003-01-07 Thread Mekrand
thanks but this time it gives 2 error, undefined variable i, undefined index i for $GLOBALS[$i] Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Mekrand wrote: my problem is, i have a script that works well before php 4.2.3 its sth like that

[PHP] Found a solution to the php.ini problem on IIS.....

2003-01-07 Thread Scott Fletcher
Hi Fella! I found the problem and fixed it. I only have one php.ini which is found under 'c:\winnt\'. What happen was that a couple of months ago, someone in my company without my knowledge had made a backup copy of php.ini and put it into hte D:\ drive. So, IIS for some reason didn't go

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Scott Fletcher
Hi Fella! I found the problem and fixed it. I only have one php.ini which is found under 'c:\winnt\'. What happen was that a couple of months ago, someone in my company without my knowledge had made a backup copy of php.ini and put it into hte D:\ drive. So, IIS for some reason didn't go

[PHP] Re: session_start() in php.ini does not work on Microsoft IIS

2003-01-07 Thread Scott Fletcher
Hi Fella! I found the problem and fixed it. I only have one php.ini which is found under 'c:\winnt\'. What happen was that a couple of months ago, someone in my company without my knowledge had made a backup copy of php.ini and put it into hte D:\ drive. So, IIS for some reason didn't go

[PHP] Re: php.ini - changes aren't taking?

2003-01-07 Thread Scott Fletcher
Hi Fella! I found the problem and fixed it. I only have one php.ini which is found under 'c:\winnt\'. What happen was that a couple of months ago, someone in my company without my knowledge had made a backup copy of php.ini and put it into hte D:\ drive. So, IIS for some reason didn't go

RE: [PHP] Development tools[Scanned]

2003-01-07 Thread Didier McGillis
Thanks, I know my English is bad and I probably didnt articulate the question properly. I understand that some people think that newbies asking questions, or particpating in discussions should be subject to rude retorical questions, and I know that these people tend to feel that they need to

Re: [PHP] Re: Development tools

2003-01-07 Thread Didier McGillis
Well cant you use PHP to augment Java and C++, such as communication between MQ and PHP could be done by using C++ or Java? Java Applet included in a PHP page. From: Brian McGarvie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Re: Development tools Date: Tue, 7 Jan 2003 15:45:07

RE: [PHP] Development tools[Scanned]

2003-01-07 Thread Michael Egan
Didier, It's not that people object to stupid questions being posed - or, indeed poor use of English. Some of the best responses to queries I've seen are from people for whom English is not their first language. What people do object to is questions being posed to the incorrect lists - I'm

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
Yes you can use java classes... from php. Yes you can write compile C++ to a dll and use it. For Java: Notepad + the JDK :) DLL's (C++) Notepad + dgcpp :) IF you want a GUI - Java = JBuilder is best I've used. C++ - typically VC++ :\ There are some free alternatives but the above are the 2

Re: [PHP] Undefined index a different problem

2003-01-07 Thread Marek Kilimajer
These are not errors, but notices, you can get around it using: if(isset($i) array_key_exists($GLOBALS, $i)) echo $GLOBALS[$i]; or you might prefer setting error_reporting to not display notices Mekrand wrote: thanks but this time it gives 2 error, undefined variable i, undefined index i for

RE: [PHP] Undefined index a different problem

2003-01-07 Thread Matt Schroebel
Try: echo($GLOBALS[$i]); Or echo {$GLOBALS[$i]}; This times it's the array in the double quoted strings ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp and www

2003-01-07 Thread Brian V Bonini
On Tue, 2003-01-07 at 15:16, Mukta Telang wrote: May be it means that it should be possible to browse ftp directory from a browser? Which is entirely possible without PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question abt php installation

2003-01-07 Thread Lic. Carlos A. Triana Torres
Hi, I have succesfully installed php with Apache and Mysql under FreeBSD; everything is working great...but after installing it I realized that I need some more extensions installed as well, such as GD and so on. Now, the question is: What should I do to add the new extensions to the existing

Re: [PHP] Issues w/ WHOIS and Fgets

2003-01-07 Thread Marek Kilimajer
try if(($packet = fgets($fp, 4096)) === false) die(...); instead. The same for array_push Ben Vaughn wrote: Hello, Long time reader, first time e-mailer :-). I am having a pretty strange issue with fgets and a socket, and was hoping that perhaps someone here can help me. First, my code:

RE: [PHP] Issues w/ WHOIS and Fgets

2003-01-07 Thread Ben Vaughn
I was just about to reply that I found the problem, and you are correct. Fgets was reaching EOF, finding nothing, and tripping the die(). I was killing myself, quite literally. Thanks! -biv -- Ben Vaughn Security Analyst Blackbird Technologies 703-796-1438 W / 703-868-5258 C [EMAIL

Re: [PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread David Barrett
Why is my solution messy? My script has to deal with a form from ANY server, it is not written simply to process framesets on mine. I can therefore not rewrite the page from which the form is posted (as I won't have access to the server), otherwise I could obviously write an elegant solution

Re: [PHP] Forwarding POST info from a PHP script

2003-01-07 Thread David Barrett
The solution must assume that I DO NOT HAVE ACCESS to the first script (from which the form is posted). Obviously if I assume access to the script, I wouldn't be doing it this way anyway, it is very inefficient. While the example script is located on my server, this is just to show what I am

[PHP] Slow file uploads.

2003-01-07 Thread Claes Gustavsson
Hi I'm developing a site where the user shall be able to upload files. The size of theese files can range from approx. 1-500 Mb. The problem is that the file upload is stored in memory and starts to swap with large files (~ 100 Mb). I want the uploaded file to be written directly to disk.

Re: [PHP] I am a dullard

2003-01-07 Thread Hugh Danaher
Try, $Query=INSERT into calendar (meeting_name, meeting_place, meeting_date, meeting_note) values ('$meeting_name','$meeting_place','$meeting_date','$meeting_note'); Hope this helps, Hugh - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

[PHP] Why it doesn't work?

2003-01-07 Thread KidA
Hi to all, I found this error in my code: class BaseForm { var $_fields; var $_method; var $_postedData; var $_formAction; function init($eMsgFile,$method,$formAction) { ... ...

Re: [PHP] Text editors

2003-01-07 Thread Michael Sweeney
jEdit. www.jedit.org. On Tue, 2003-01-07 at 01:59, Karl James wrote: Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And is good for php…. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Text editors

2003-01-07 Thread Didier McGillis
Edit Plus www.editplus.com theres a trial period that never ends. From: Michael Sweeney [EMAIL PROTECTED] To: Karl James [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Text editors Date: 07 Jan 2003 10:00:45 -0800 jEdit. www.jedit.org. On Tue, 2003-01-07 at 01:59, Karl James

Re: [PHP] groupware tool in PHP for PostgreSQL

2003-01-07 Thread Maxim Maletsky
Miguel González Castaños [EMAIL PROTECTED] wrote... : I have been looking around during more than one month, and the best that I have found seems to be phpGroupware, PHProjekt and TuTOS but I am hoping to get some comments/suggestions from you guys. probably phpGroupWare. -- Maxim

Re: [PHP] Double entry into MySQL..

2003-01-07 Thread Michael Sweeney
There's nothing in your posted code that could cause two inserts into mysql. The only thing I can think of is that somehow, your script is getting executed twice. Is there any way that could be happening? ..michael.. On Mon, 2003-01-06 at 16:03, Altug Sahin wrote: Hi here, I am sending a

Re: [PHP] regular expression help

2003-01-07 Thread Maxim Maletsky
Here is your answer: http://www.phpbuilder.com/columns/ying2718.php3?page=2 -- Maxim Maletsky [EMAIL PROTECTED] adrian [EMAIL PROTECTED] [EMAIL PROTECTED] wrote... : I'm a bit useless at regular expressions so i thought i ask. i need to turn all [link url=http://www.site.com] link to

[PHP] Re: Defaults in drop down list...

2003-01-07 Thread Guy Haynes
Here is another option for you to sample. The function takes two parameters, one is the name of the list box, the other is the value to be initally selected. The second parameter is optional, if not present, no value will be inially selected. I do not remember where I picked this up, but I

Re: [PHP] Zend IDE vs. PhpEd

2003-01-07 Thread Maxim Maletsky
John Wells [EMAIL PROTECTED] wrote... : Thanks for the reply. I'm also impressed with Zend's autocompletion...I can't even get PHPEd to autocomplete on objects. Finally, one frustrating thing on the part of both editors is the inability to autocomplete on arrays of object references...but

Re: [PHP] regular expression help

2003-01-07 Thread Khalid El-Kary
why don't you just use str_replace ? I'm a bit useless at regular expressions so i thought i ask. i need to turn all [link url=http://www.site.com] link to site [/link] in a string into html a href= ...etc and back again. thanks adrian -- PHP General Mailing List

Re: [PHP] Using VS.NET for PHP Projects - Revisit

2003-01-07 Thread Didier McGillis
for coding like that I use HomeSite, I dont like Microsoft Tools, but I guess they have a use. From: Sean Malloy [EMAIL PROTECTED] To: PHP Windows [EMAIL PROTECTED], PHP General [EMAIL PROTECTED] Subject: [PHP] Using VS.NET for PHP Projects - Revisit Date: Tue, 7 Jan 2003 17:56:08 +1100

Re: [PHP] Using VS.NET for PHP Projects - Revisit

2003-01-07 Thread Chris Boget
for coding like that I use HomeSite, I dont like Microsoft Tools, but I guess they have a use. I use Homesite (v5) as well. And while it is a very useful tool, I just wish it were better supported. Not only is it a memory hog but it's got a leak like a seive. Earlier versions were worse and

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Marek Kilimajer
@mysql_select_db(be); -- this failed do echo mysql_error(); to see what went wrong Nuno Lopes wrote: I done a echo of Mysql_error and it returned: 'Nenhum banco de dados foi selecionado' (I have the mysql server in portuguese, but the translation is something like 'no db was selected')

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Nuno Lopes
I'm using Windows 2000. - Original Message - From: Cleber [EMAIL PROTECTED] To: Nuno Lopes [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 10:23 AM Subject: Re: [PHP] Re: PHP and MySQL bug Try add to /etc/hosts the name and ip of DB is located - Original Message - From:

[PHP] custom error handling

2003-01-07 Thread electroteque
hi there i am trying to build a ustom error handler for the pear db aswell as catch fatal and parse errors , unfortunatly the pear db error message wont give me back the file and the line where the error is, how can i determine the line and file where the error is caused ufortunatly the callback

[PHP] Re: custom error handling

2003-01-07 Thread electroteque
here is an example of the error sorry forgot to add it DB Error: syntax error SELECT gallery FROM galleries WHERE galleryID= [nativecode=1064 ** You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]

Re: [PHP] Slow file uploads.

2003-01-07 Thread Tim Meader
Unfortunately not that I know of with PHP. However, I had to do the same thing for our users here and I found a great solution to be mod_perl for Apache. It writes to disk into a temporary file and then copies that file into the dir you specify. This isn't evangelism, just informing you of how

[PHP] Adding HTTP URL Code

2003-01-07 Thread ELLIOTT,KATHERINE A (HP-FtCollins,ex1)
Hello, I have a string of data that can be anywhere from one line (a single URL) to many, many lines. The data is in plain text but, as I alluded, may contain one or more URLs (or none). I then take this data and put it on a web page so I would like to make any URLs in the data live. Has

[PHP] php-ldap - multiple modify actions within a single request

2003-01-07 Thread Karim Jafarmadar
hi! is it possible to make different modify actions (add, delete, etc.) during a single request? for changing a password in the NDS i would have to first delete the 'userPassword' and right after that add the new 'userPassword' i know that it is possible in C, perl, etc. but it seems that

Re: [PHP] php-ldap - multiple modify actions within a single request

2003-01-07 Thread Michael Sims
On Tue, 07 Jan 2003 22:49:45 +0100, you wrote: hi! is it possible to make different modify actions (add, delete, etc.) during a single request? for changing a password in the NDS i would have to first delete the 'userPassword' and right after that add the new 'userPassword' AFAIK it is not

Re: [PHP] Re: custom error handling

2003-01-07 Thread Michael Sims
On Wed, 8 Jan 2003 08:28:58 +1100, you wrote: hi there i am trying to build a ustom error handler for the pear db aswell as catch fatal and parse errors , unfortunatly the pear db error message wont give me back the file and the line where the error is, how can i determine the line and file

[PHP] test_smtp.php

2003-01-07 Thread Rad Craig
I'm trying to implement this smtp_email stuff. I'm running Win2k, ArgoSoft Mail Server Pro, PHP 4.3.0, MySQL, etc. I downloaded everything on these pages: DNS Resolver: http://www.phpclasses.org/browse.html/file/1910.html MIME: http://www.phpclasses.org/browse.html/package/9.html SMTP:

[PHP] Re: test_smtp.php

2003-01-07 Thread Manuel Lemos
Hello, On 01/07/2003 08:37 PM, Rad Craig wrote: I'm trying to implement this smtp_email stuff. I'm running Win2k, ArgoSoft Mail Server Pro, PHP 4.3.0, MySQL, etc. I downloaded everything on these pages: DNS Resolver: http://www.phpclasses.org/browse.html/file/1910.html You won't need this

[PHP] graph libs

2003-01-07 Thread Larry Brown
Can anyone give any suggestions on the best/most intuitive tools or libraries for generating graphs with PHP? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
when a user logs into my system I set a variable $_SESSION['username']. now, every page somebody pulls up it revalidates their login so somebody cannot get into the backend of the system. now - is there a way I can make a utility that will show me the session username's that are in use? it would

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Simple create a database table for logins and have a status that you set to online / offline and last seen could also be added. Then it is just a simple SELECT statement. If you don't want to use a database you could flock (not perfect) a file then read in a serialised array and update then

[PHP] restrictions

2003-01-07 Thread Bruce Levick
I find that my the company that I work for is a little over protective. My machine is quite restricted (as in firewall and accessability) when it comes to ftp and telnet. Well basically my hands are tied in that sense. I am testing my database build on my local machine which runs fine and all. I

Re: [PHP] restrictions

2003-01-07 Thread Marco Tabini
Hello Bruce-- That depends on what restrictions are imposed on your box, of course. Does your company use an SMTP-compatible mail server for your internal mail? If so, you could use the server your mail client points to to perform your tests. Cheers, Marco -- php|architect -

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
This is outgoing traffic the same as if you where surfing the Internet and as the connection is an established one your machine will allow it. I would suggest looking at the (server) as it may not allow relaying etc!! HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED]

RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Well I can't be totally sure but I think all outgoing mail points to an external SMTP server. -Original Message- From: Marco Tabini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 9:11 AM To: Bruce Levick Cc: [EMAIL PROTECTED] Subject: Re: [PHP] restrictions Hello Bruce--

RE: [PHP] restrictions

2003-01-07 Thread Marco Tabini
Couple of suggestions: 1) Try connection to the SMTP server manually with Telnet, and see if you discover more that way 2) Simply use the same SMTP server that is configured in your mail client at work Cheers, Marco -- php|architect - The Monthly Magazine for PHP

RE: [PHP] restrictions

2003-01-07 Thread Larry Brown
Just use the smtp server you use for mail. Oh you might not use smtp for corporate environment? Just use something like outlook express or some other smtp enabled client to send to these various smtp servers you are trying to use for the php scripts first. Then if it works with the mail client

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
In windowsxp do the following: Start - Run Open: cmd At the shell type: telnet x.x.x.x 25 x.x.x.x being the smtp server If you get a prompt then you have other issues such as relay etc etc HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message-

[PHP] Random array element

2003-01-07 Thread Øystein Håland
This is how I do in javascript: randNumber = new Array(); for (p = 0; p 10; p++) { randNumber[p] = Math.floor(Math.random()*7); } weekday = new Array(monday,tuesday,wednesday,thursday,friday,saturday,sunday ) randDay1 = weekday[randNumber[0]] randDay2 = weekday[randNumber[1]] I would like

RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
I can't connect to anything via telnet whether its my works SMTP server or another external server. My works SMTP mail server was the first one I tried (this would be logical). I have tried my own personal website mail server and that fails too. This is why I am thinking that its my computer

RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Thanks, Tried this and I get. Cannot opeen connection to host on port 23 -Original Message- From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 9:32 AM To: Bruce Levick; 'Marco Tabini' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] restrictions In

  1   2   >