RE: [PHP] Creating mailaccounts

2001-10-02 Thread Ralph Guzman
This is somewhat dependant on the email server (MTA) you are running and how it is set to authenticate users. If using linux/unix, sometimes all that is required is for you to create an account is to add the entry in the /etc/passwd, and create a home directory. This you can easily do with a PHP a

Re: [PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread Philip Olson
sounds like it's time to repartition your HD, or get a new HD, or linux box ... install a flavor of linux and try it out locally. in the long run, this will be the most fun anyways :-) Regards, Philip Olson On Wed, 3 Oct 2001, ReDucTor wrote: > But that doesn't have an option to search for

Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread nayco
Well, I personnally use a SQL db into which I insert some information about the connected users (IP,LOGIN if member or "visitor" if not, MD5 session id -'cause I cannot use PHP4 sessions, my provider's got php3 - and unix epoch DATE). Each time a user sees a page, this user's DATE field is updated

RE: [PHP] named anchors and query strings

2001-10-02 Thread Philip Olson
Here's an example : http://www.php.net/manual/en/configuration.php?foo=bar#ini.include-path It works. Regards, Philip Olson On Tue, 2 Oct 2001, Ralph Guzman wrote: > Never had to do this, however I would think the correct way to be: > > > > try it. > -Original Message- > From:

[PHP] retrieving info from a berkley db 3.0.11 ldbm databse..

2001-10-02 Thread Sovan_Shatpathy
Hi all ... I am an absolute newbie to php ... Here i am looking at wririting a script in php which can do a search in my berkley db 3.0.11 database and retrieve the required information ... In order to do the same which set of functions are supported .. is it that the functions

RE: [PHP] named anchors and query strings

2001-10-02 Thread Ralph Guzman
Never had to do this, however I would think the correct way to be: try it. -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [PHP] named anchors and query strings Hi Guys, How do you reference bot

[PHP] Re: Sessions Variables and refresh pages

2001-10-02 Thread Philippe Saladin
is your web server a Microsoft one (IIS, PWS, ...) ? I'm not sure, but I think there is a known problem with them if you set a session variable and do a redirect in the same page. Can anyone confirm this ? Philippe "Karina Gómez Salgado" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL

Re: [PHP] php+apache 2

2001-10-02 Thread Stig Venaas
On Wed, Oct 03, 2001 at 01:32:13AM +0200, Jiri Mikulas wrote: > sapi_apache2.c: In function `php_input_filter': > sapi_apache2.c:248: too many arguments to function `ap_get_brigade' I haven't looked that much at the code, you could perhaps try to simply remove the last parameter... Not sure how w

[PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread ReDucTor
But that doesn't have an option to search for only free ones...or even in a specific price range - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Reductor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:47 PM Subject: Re: Free hosts,

[PHP] Re: ImageColorAt()

2001-10-02 Thread ReDucTor
The script had been tested on a few *nix system, they all worked, hell see the threads that have kewl script inside them :D - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Reductor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:40 PM

[PHP] Re: php4.0.6 over W2000 + SQLServerEnterprise2000

2001-10-02 Thread Richard Lynch
Far too many variables for any meaningful numbers... RAM? HD? CPU? DBsize?... In short, you're going to have to try it out and see for yourself, really. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i

[PHP] help! linux 7 problems

2001-10-02 Thread rg
hi, i installed php4 onto my linux 7.0 system along with apache and mysql. the apache and mysql work. once i did 'make install' for php, i changed the http.conf file in apache so that the AddType lines were uncommented out and the file extensions should be recongized. i've done this on windows

[PHP] Re: Having trouble using get_browser() function

2001-10-02 Thread Richard Lynch
#1. Did you download a nice big browscap.ini instead of that empty one that comes with PHP?... #2. Are you aware that $HTTP_USER_AGENT has the Browser in it, without the complications of get_browser and browscap.ini? #3. You do realize that get_browser() only tells you what a browser is theor

[PHP] Re: image upload problems (diff. file size after upload)

2001-10-02 Thread Richard Lynch
#1 Upgrade PHP. #2 Try comparing the files in a text-editor. You may be able to strip out the extra stuff at the top as an interim measure. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis

[PHP] Re: ftp

2001-10-02 Thread Richard Lynch
Read php.ini -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Eduardo Kokubo <[EMAIL PROTECT

[PHP] Re: problem about ereg function

2001-10-02 Thread Richard Lynch
You really shouldn't be storing a PHP variable in your database... Too easy for a hacker to get some bad PHP into it. You could mess with http://php.net/eval maybe. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: PHP and GD

2001-10-02 Thread Richard Lynch
What value is $im? Is it a valid image? Check error codes. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Me

[PHP] Re: fopen !!!

2001-10-02 Thread Richard Lynch
If you are worried about this, you should probably use a database which will take care of this for you... It is possible to use http://php.net/flock to lock the file, pretty much like the example in the manual, and then 4999 users will have to wait until the one editor is finished... You'll stil

[PHP] Re: How to install PHP to do the function mail work

2001-10-02 Thread Richard Lynch
Error messages? Settings in php.ini? Windows? Un*x? OS X? Source code? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm --

[PHP] Re: execute remote CGI without redirect

2001-10-02 Thread Richard Lynch
http://php.net/fopen Use the URL of their site. Or even http://php.net/file -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm --

[PHP] Re: ereg expr guru

2001-10-02 Thread Richard Lynch
http://php.net/strtok -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Dave Vanauken <[EMAIL

[PHP] Re: help please Sybase Result Paging.

2001-10-02 Thread Richard Lynch
You probably need to use a "cursor" -- Check out Sybase docs for how they work. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.ht

[PHP] Re: time limt

2001-10-02 Thread Richard Lynch
file() won't let you set the time-out... But http://php.net/fopen will. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

[PHP] Re: Sockets on FreeBSD Mac OS X

2001-10-02 Thread Richard Lynch
Wild Guess: Your OS is configured to not allow "nobody" to bind port 12345, and PHP is running within Apache as "nobody"... Check out what sort of limitations are put upon users binding ports... If I was a real Un*x guru, I'd even know what command tells you that... :-| -- WARNING [EMAIL PROTE

[PHP] Re: Incorrect output or RSYNC with exec();

2001-10-02 Thread Richard Lynch
Wild Guess: http://php.net/clearstatcache -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From:

[PHP] Re: Problems with virtual() => request execution failed

2001-10-02 Thread Richard Lynch
virtual doesn't work under CGI. You need to use http://php.net/exec or system or whatever. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/

[PHP] Re: Installation Problem :PHP 4.06 + NT4 Server + Service Pack 6

2001-10-02 Thread Richard Lynch
Which DLLs are you loading? I think many of them have not been made thread-safe by the volunteers who wrote them... Start with no DLLs loaded, and then add them one-by-one and pound on the server. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help

[PHP] Re: images no appearing

2001-10-02 Thread Richard Lynch
Older versions of GD will do GIF, but not JPEG, and vice versa... What versions of GD are on the two servers? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: ht

[PHP] Re: Strange File write Problem

2001-10-02 Thread Richard Lynch
What's in $free?... How about checking some error codes? http://php.net/fputs -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.ht

[PHP] Re: HELP!

2001-10-02 Thread Richard Lynch
"nobody" can't su to a real user without their password, and su requires a REAL TTY to get in a password, almost for sure, and you just can't do it that way... Make a nobody-executable shell script to do grabdb... Be aware that then anybody on your server can do grabdb whenever they want... --

[PHP] Re: All domains

2001-10-02 Thread Richard Lynch
You can interface to various "WhoIs" servers/forms, starting on some .ru sites, read in those sites looking for other sites with those TLDs... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis

[PHP] Re: scoping: can someone explain to me if this should/should not work?

2001-10-02 Thread Richard Lynch
You'd have to show the processing in getDomain for anybody to guess... Which values of $SERVER_NAME make it crash?... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little

[PHP] Re: XML and PHP

2001-10-02 Thread Richard Lynch
You can almost for sure alter the XML doc and write it out again... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Orig

[PHP] Re: Restrict where PHP is Usable?

2001-10-02 Thread Richard Lynch
httpd.conf php_value Engine Off or somesuch... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - Fr

[PHP] Re: Newbie But Urgent

2001-10-02 Thread Richard Lynch
PHP and MySQL go together hand-in-hand to do what you want. ASP and PHP are equally easy for what you want, but PHP has way more features and 3rd party support, and runs on a stable platform... If you plan on sticking with Win98/2K, though, and never expect to move to a stable Un*x environment,

[PHP] Re: Please help - debug.log

2001-10-02 Thread Richard Lynch
>I've attached the debug.log which was created while I was installing PHP >onto my 400MHz Pentium PC, running Linux (and DOS on another partition) with >a MySQL database and an Apache web server. >Please can you help. >When testing to view a PHP file requesting phpinfo( ) on the Netsacpe >browser,

[PHP] Re: Php-Gtk.....does it work ever?

2001-10-02 Thread Richard Lynch
I've seen it work in a demo, so it must... You probably should try the [EMAIL PROTECTED] mailing lists... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http:/

[PHP] Re: sock prob

2001-10-02 Thread Richard Lynch
Like, does Windows even do those kind of low-level sockets?... If so, you can file a bug report at http://bugs.php.net -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little

[PHP] Re: Bug #13451 Updated: no images ;( (fwd)

2001-10-02 Thread Richard Lynch
Check the output from your configuration... Various files such as config.log and config.cache and whatnot may have specific info about GD and/or its failure to get included in your compilation. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me o

[PHP] Re: Globals and HTTP_SESSION_VARS variables.

2001-10-02 Thread Richard Lynch
You should be able to compare $var with $HTTP_SESSIN_VARS['var'] to figure out what you want... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.

[PHP] Re: Reading STDIN from within the program

2001-10-02 Thread Richard Lynch
http://php.net/fopen -- If filename is one of "php://stdin", "php://stdout", or "php://stderr", the corresponding stdio stream will be opened. (This was introduced in PHP 3.0.13; in earlier versions, a filename such as "/dev/stdin" or "/dev/fd/0

[PHP] Re: MySQL - Selecting Unique Entries

2001-10-02 Thread Richard Lynch
I've never heard of select distinct not working... Is that the exact SQL you are using? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/vol

[PHP] Re: Warning: offset not contained in string

2001-10-02 Thread Richard Lynch
You probably have a missing ' mark... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Pavel

[PHP] Re: Problem with file permissions within my PHP document when running on an Apache web server

2001-10-02 Thread Richard Lynch
You'll need to use suExec to wrap around PHP. http://apache.org will have docs on suexec. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/v

[PHP] Re: Help - error loading PHP into Apache

2001-10-02 Thread Richard Lynch
You probably don't need mm if you're not using SSL... It's also possible that PHP isn't finding MM properly without jumping through whatever hoops it does for SSL... At any rate, you didn't get MM, I guess... You might have ended up with a lib_mm.so that you can AddModule in httpd.conf, but I d

[PHP] Re: PostgreSQL connection problems

2001-10-02 Thread Richard Lynch
You also can get rid of all those .'s pg_connect("host=$dbHost port=$dbPuerto dbname=$dbDB user=$dbLogin password=$dbPassword"); -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Voluntee

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Brad Hubbard
On Wed, 3 Oct 2001 02:02, Devon Weller wrote: > Has anyone successfully gotten socket functions to work with FreeBSD? > More specifically, Mac OS X? > > I always get the following error: Can't bind to port 12345, exiting. > > The script works fine on Linux machines. Is there a patch in the works

[PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread Richard Lynch
http://php.net/hosts.php or http://hosts.php.net or somesuch is a database of hosts, some free, some cheap... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: htt

[PHP] Re: PHP attempting to parse non-existent files

2001-10-02 Thread Richard Lynch
Your settings in httpd.conf to convince Apache to use PHP on .html files does not correctly "pass the buck" to the error-handling in Apache... Post your php-related and error-related settings in httpd.conf -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wan

[PHP] Re: ImageColorAt()

2001-10-02 Thread Richard Lynch
What values are you passing to it?... Be sure you have a valid image before you call ImageColorAt and that you are passing integers for the x/y values. If it still crashes, follow the directions at http://bugs.php.net to get a backtrace... -- WARNING [EMAIL PROTECTED] address is an endangered s

[PHP] Re: next maintenance release?

2001-10-02 Thread Richard Lynch
Check php-dev archives. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Eugene Lee <[EMAIL

[PHP] Re: no of files in a folder....

2001-10-02 Thread Richard Lynch
You could probably http://php.net/exec some kind of shell script to do it. Or, something not unlike this: # Untested code: function count_files($directory){ static $count; if (!isset($count)){ $count = 0; } $dir = opendir($directory); while ($path = readdir($dir)){

RE: [PHP] Mirroring Website

2001-10-02 Thread Jon Shoberg
Nope, teh pages are actually hosted on a (gasp ...) NT machine. I need something that will suck down and write out a pure static .html mirror of an ASP/PHP driven website. WGET will surely mirror everything but not re-structure the internal links within the pages. Might be time to write my own

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Mukul Sabharwal
Oops, socket_setopt($listener, SOL_SOCKET, SO_REUSEADDR, 1); = * Know more about me: http://www.geocities.com/mimodit * __ Do You Yahoo!? Listen to your Yahoo! Mail messages from

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Mukul Sabharwal
Hi, A bind error means that the port is being used by another application, incase that's incorrect you can assure yourself by doing this : socket_setopt(listener, SOL_SOCKET, SO_REUSEADDR, 1); This function is undocumented (yet) and would require you to download the latest version from CVS. Ho

Re: [PHP] Restrict where PHP is Usable?

2001-10-02 Thread Mukul Sabharwal
Hi, Take a look at the ScriptAlias directive of the Apache webserver. I'm not sure how other webservers limit execution, but apache does it using that directive. http://httpd.apache.org/docs/ http://httpd.apache.org/docs/misc/security_tips.html http://httpd.apache.org/docs/vhosts/mass.html Hope

Re: [PHP] bulk e-mails

2001-10-02 Thread Mukul Sabharwal
Hi, Well to reach the customers, each and every, you would have to send it to each and everybody, very simple. Ofcourse, it's not the most nice job the server can do, but your emails say 20K each, and 10,000 users, isn't a very rough job. You could essentially loop through the user record and s

RE: [PHP] bulk e-mails

2001-10-02 Thread Jack Dempsey
check out the archives and google--there's lots of info on things like qmail,ezmlm, and the topic of bulk emails jack -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 11:05 PM To: PHP-General Subject: [PHP] bulk e-mails Hello everyone,

RE: [PHP] bulk e-mails

2001-10-02 Thread Dave Watkinson
I use a database (MySQL). I retrieve the list of people to send to and then send one email at a time while looping through the results. Usually it's a couple of hundred at a time, not sure how many you mean by "many many"!!! Hope this helped! Dave -Original Message- From: Tyler Longren

[PHP] bulk e-mails

2001-10-02 Thread Tyler Longren
Hello everyone, I have a few questions about sending bulk e-mails. We have a client who has some customers that are signing up to win a prize in a contest. These users can also join the e-mail club. What's the best way to send many, many e-mails? I don't want to send an e-mail to each individ

Re: [PHP] Mirroring Website

2001-10-02 Thread Mukul Sabharwal
Hi, Try rsync, it's pretty much what you want. http://rsync.samba.org = * Know more about me: http://www.geocities.com/mimodit * __ Do You Yahoo!? Listen to your Yahoo! Mail mes

[PHP] Re: Problème

2001-10-02 Thread Iván Milanez Castellanos
Monsieur: vous pouvèz trouver les instructions que vous recherchèz dans ce page Web. http://www.php.net/manual/fr/ Au revoir. "Abdelghani Mekhoukh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Monsieur, Premièrement et avant tout je vous souhaite une bonne

Re: [PHP] formular multiple select trouble

2001-10-02 Thread Iván Milanez Castellanos
Sebastian: if I remember correctly if you use a multiple selection field on a page when you submit the form the contents of the selected items on the field are sent via a comma delimited string, so you would just have to do $Array=split(",", $String) to retrieve all of the selected values of the f

[PHP] need help with safe mode

2001-10-02 Thread Richard Kurth
Can I add php_admin_flag safe_mode off to the httpd.conf file to turn safe mode off for just one site. And leave it on for the rest of the server. According to the manual this can be done but when I try it. It does not work. Is there something else I have to do to make this work properly.

[PHP] php+apache 2

2001-10-02 Thread Jiri Mikulas
Hi. I have this problem with compiling PHP 4.0.6 for Apache-2.0.16_1 instaled from port on FreeBSD 4.4-release --- Making all in apache2filter ... ad -c sapi_apache2.c sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:248:

Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread Alexander Deruwe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 02 October 2001 18:11, tonyz wrote: > why bother charting logouts. use cookies that expires so you know that > they will eventually lose access and need to login again. Yes, but then I can't show a list of logged in users (for administrat

RE: [PHP] fprintf

2001-10-02 Thread Matthew Loff
The lack of fprintf() has been discussed on this list before, but I'm not sure what the status is on the PHP development side... http://bugs.php.net/bug.php?id=1027 -Original Message- From: Bill Rausch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 7:08 PM To: [EMAIL PROT

[PHP] fprintf

2001-10-02 Thread Bill Rausch
There doesn't appear to be an fprintf function. I'm using: fputs( $fp, sprintf( $format, ... ) ); Is this the recommended workaround? I was wondering why fprintf was left out since so many other standard C library routines are present? -- Bill Rausch, Software Development, Unix, Mac, Windo

[PHP] floating point format

2001-10-02 Thread Bill Rausch
I've notice that I can read floating point format like: 1.932E+12 Is there any way to output such a number. The %f format string in printf just prints 19320.00. Then I tried %e and got very strange results. The 1.932 was printed with nothing after it. -- Bill Rausch, Software

[PHP] Problems with virtual() => request execution failed

2001-10-02 Thread Paulo Parola
Hi, I am having trouble porting an application to another server. I have to call an external Perl script through the use of the function 'virtual()' but on the new server I get the following error: Warning: Unable to include './cgi-bin/banners/ads_business.pl' - request execution failed in /usr/

[PHP] Re: Passing files from A to B

2001-10-02 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Dirk Maetens) wrote: > Server A: > PHP 4.01pl2 > Safe Mode On > Not configured with ftp functions > > Server B: ftp access, no PHP (shame) > > On Server A I use output buffering to generate some simple HTML files. > So far so good. My problem

RE: [PHP] A powerful editor!

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
EditPlus is the best. Many nice functions and, I think, it is more adapted for HTML/PHP development that TextPad. What I can't live without when developing on windows are those drag & drop customs of EditPlus. I find it pretty handy. on VIM is great as well. Hey, look into archives. There are t

[PHP] Re: Passing files from A to B

2001-10-02 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Dirk Maetens) wrote: > Server A: > PHP 4.01pl2 > Safe Mode On > Not configured with ftp functions > > Server B: ftp access, no PHP (shame) > > On Server A I use output buffering to generate some simple HTML files. > So far so good. My problem

[PHP] Restrict where PHP is Usable?

2001-10-02 Thread Matthew Walker
I've seen this done before on servers, but I'm not sure how to do it. Is there a way to restrict PHP to certain directories, so that it can only be used by files within those directories? For example: I'm starting a web page hosting service, and I'd like to make it so that most users can't use

Re: [PHP] A powerful editor!

2001-10-02 Thread Sheridan Saint-Michel
I just have to ask what EXACTLY you mean by nicer colors as Textpad Allows you to set any element of a Syntax Definition to any color between (0,0,0) and (255,255,255). Last I checked 16.7M colors was plenty =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com

[PHP] Best way to duplicate tables to another DB using PHP

2001-10-02 Thread David Yee
Hi guys. What do you suggest is the best (fastest, most efficient) way to duplicate a table from one database to another using PHP? I have a windows machine setup with ODBC for this old school DB (Pervasive SQL 7) and I would like to duplicate some of the tables into a Linux box with MySQL for s

[PHP] Passing files from A to B

2001-10-02 Thread Dirk Maetens
Hello PHP-list, I am not an expert, so explaining the problem might be somewhat tricky. Please bare with me... Server A: PHP 4.01pl2 Safe Mode On Not configured with ftp functions Server B: ftp access, no PHP (shame) On Server A I use output buffering to generate some simple HTML files. So far

Re: [PHP] A powerful editor!

2001-10-02 Thread Dean Householder
I used to use TextPad until I found EditPlus. I'm also amazed by it's power. It has more than I could even use including everything TextPad has and nicer colors for the different styles. You can find it at http://www.editplus.com. Dean Householder Daylight Creations http://www.daylightcreation

Re: [PHP] nimda, etc.

2001-10-02 Thread Ezra Nugroho
This is something you can use to slow down (even possibly to kill) code Red, Nimda scan etc. It's really interesting, good concept. http://www.hackbusters.net/LaBrea/ At 10:03 AM 9/22/2001 +0200, Alexander Skwar wrote: >So sprach »Gaylen Fraley« am 2001-09-21 um 18:10:58 -0500 : > > Are you sur

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
again with the problem i discovered that the problem is that the reload is needed when i use the session variables in the queries, otherwise there are not problem. Even if i only want to display the session variable in the result page, i need to do a reload. Karina wrote: > Well, I don't un

[PHP] RE: WebMail Client

2001-10-02 Thread Andrew Chase
You might want to take a look at Netmania. (http://www.netmania.org) Caveats: I helped install Netmania at a former employer back in February 2001, and with the then-current distribution we had all kinds of trouble setting it up until we realized that it depended on having *all* error handling t

Re: [PHP] FTP

2001-10-02 Thread Chesley A Windon
> I'm trying to upload some files using PHP, but I'm limited to small files of 1Mb or >a little more and I don't know why. Could anyone please help me with this? > > This is the message I get: > Warning: error opening none in /home/proj/sapens/public_html/f1_material.php on line >51 By defa

Re: [PHP] Re: PHP slash Apache question?

2001-10-02 Thread jimw
Michael Champagne <[EMAIL PROTECTED]> wrote: > Great, thanks for the response Jim. Would there possibly be a way around this > using mod_rewrite? no. if you'll check your logs, you'll see that the request is never even making it to your server. internet explorer simply barfs on urls that include

RE: [PHP] UPLOAD_TMP_DIR

2001-10-02 Thread Joe Kaiping
Hi, You might want to check out http://phpclasses.upperdesign.com. There are a number of useful classes there, including "Metabase" and "HTML Mime Mail". I recently got a notice that the following "Upload" class is also now available. I haven't tried it yet, though. There are other upload cla

[PHP] UPLOAD_TMP_DIR

2001-10-02 Thread Henning Støverud
Hi I've made an upload system at my ISP's webserver, but it seems like they have done something with the UPLOAD_TMP_DIR cause I get this error message: PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 Can I set the UPLOAD_TMP_DIR myself inside a PHP scrip

[PHP] FTP

2001-10-02 Thread Eduardo Kokubo
Hi, I'm trying to upload some files using PHP, but I'm limited to small files of 1Mb or a little more and I don't know why. Could anyone please help me with this? This is the message I get: Warning: error opening none in /home/proj/sapens/public_html/f1_material.php on line 51 the same code

Re: [PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread affixcom
Thanks, I spent 2 days trying everything, and since I am not an expert on regex (do that that just for fun), I though my script was bad. I'll check with my hosting company if I can overrule the httpd.conf. I checked on phpinfo() and mod_rewrite is loaded Gab - Original Message - From: "M

Re: [PHP] Re: PHP slash Apache question?

2001-10-02 Thread Michael Champagne
Great, thanks for the response Jim. Would there possibly be a way around this using mod_rewrite? Thanks, Mike > Michael Champagne <[EMAIL PROTECTED]> wrote: > > Ok, this is semi-related to PHP. I think it may mainly be our Apache > > configuration. We have our listener listening on . > >

[PHP] ftp

2001-10-02 Thread Eduardo Kokubo
Hi, I'm trying to upload some files using PHP, but I'm limited to small files and I don't know why. Could anyone please help me with this?

[PHP] Re: SOAP Tool Kit for PHP | Solved | PHP-Tomcat-Apache HOWTO

2001-10-02 Thread Rasmus Lerdorf
Thanks for the step-by-step. I am sure it will come in handy to people. Now if only this fancy system of yours could find me a cool job... ;) -Rasmus > A bit of background. I work at a company that has a web-based staffing > software (jobs, candidates, you get the idea). We are about 5 develop

Re: [PHP] Creating mailaccounts

2001-10-02 Thread Jason G.
Take a look at the exec() and system() functions. -Jason Garber www.ionzoft.com At 08:55 PM 10/2/2001 +0200, Bjornie wrote: >Hi everybody! > >I have a problem :/ >I just said yes to a project, which includes webmail. I know how to send >mail and how to receive mail with imap, but can I in any w

[PHP] SOAP Tool Kit for PHP | Solved | PHP-Tomcat-Apache HOWTO

2001-10-02 Thread Dahnke, Eric
Hello, A bit of background. I work at a company that has a web-based staffing software (jobs, candidates, you get the idea). We are about 5 developers (close to 15 w/ all other projects). Jobs and candidates are a perfect example of where XML and web-services are applicable. Use our software and

[PHP] Re: How can I suppress my variables from showing up in the address bar?

2001-10-02 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Salty Marine) wrote: > How can I suppress my variables from showing up in the address bar? I have > a form that's passing information to a script of mine, via the address bar. -- CC -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Re: PHP slash Apache question?

2001-10-02 Thread jimw
Michael Champagne <[EMAIL PROTECTED]> wrote: > Ok, this is semi-related to PHP. I think it may mainly be our Apache > configuration. We have our listener listening on . > > This URL works: http://hostname.capis.com:/ > This URL does not: hostname.capis.com:/ > > Is there anyway to

Re: [PHP] formular multiple select trouble

2001-10-02 Thread Jason G.
Give the select tag an ID. You can then reference the element by its ID. alert(aname.value); -Jason Garber IonZoft.com At 01:25 PM 10/2/2001 +0200, Sebastian wrote: >Hi all > >If i use multiple select fields in a from >i use name[] to access it in php afterwards > >test1 >test2 > > >

RE: [PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
I think this was supposed to work: .htaccess RewriteEngine On RewriteRule ^(.*)\.zajfe\.org$ redirect.php?url=$1 [L] Are you sure it doesn't? If it doesn't then meas they 1. don't have mod_rewrite (phphinfo shows you the modules loaded) 2. don't allow .htaccess to override httpd.conf ru

Re: [PHP] eregi

2001-10-02 Thread mike cullerton
on 10/2/01 8:51 AM, CC Zona at [EMAIL PROTECTED] wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Mike Cullerton) wrote: > >> eregi("^[a-z0-9_\-]+$",$string) >> >> notice that i had to escape the dash with a backslash > > Are you sure? 'Cuz AFAIK, escaping shouldn't be necessary

[PHP] PHP slash Apache question?

2001-10-02 Thread Michael Champagne
Ok, this is semi-related to PHP. I think it may mainly be our Apache configuration. We have our listener listening on . This URL works: http://hostname.capis.com:/ This URL does not: hostname.capis.com:/ Is there anyway to get the bottom one to work? In IE I get 'Invalid syntax er

[PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread affixcom
Hi, I have a website hosted on a cobalt server with my own domain, but not my own IP. I have a full access to my root web, but not higher (means can't change any *.conf files). My domain is "wildcarded" I want to be able to redirect based on the entry, IE if a user types http://hello.mydomain.com

[PHP] Creating mailaccounts

2001-10-02 Thread Bjornie
Hi everybody! I have a problem :/ I just said yes to a project, which includes webmail. I know how to send mail and how to receive mail with imap, but can I in any way create a mailaccount on the server by using PHP? Or should I use any other language like Java/JSP or ASP (with a component)?` Hi

  1   2   >