[PHP] mail() problem

2001-03-14 Thread Vegard
I have php4 and Apache running on Windows 2000, and Im not able to get the mail-function to work. The mailsystem is on an other PC, and so I added SMTP= in the php.ini file. But still I get "Failed to connect" when I run mail(). I have heard that there can be a problem if the mailserver is separat

Re: [PHP] Statistics function

2001-03-14 Thread Chris Adams
On 14 Mar 2001 21:39:05 -0800, Lauri Vain <[EMAIL PROTECTED]> wrote: >How does the behind the scenes work by PHP exactly go? Does the PHP thread >remain active so long as the information is sent to the visitor? Or will PHP >parse the code and send it to Apache which will send the data to the user

[PHP] function() for mysql-enum-field-values-to-array

2001-03-14 Thread Dennis Gearon
Someone gave me the idea, and I coded it tonight use for making option lists of legal values from a mysql field that is enum'd. You don't have to know the values ahead of time. -- function mysql_fetch_enums( $link, $table_name, $

Re: [PHP] php or Mysql for DATE?

2001-03-14 Thread David Robley
On Thu, 15 Mar 2001 17:49, Dhaval Desai wrote: > I want to have a posting column wherein people can > post their messages and when a new message is posted > the Curent date has to be added in the mysql database. > > Do u think I should use Php to generate the date or > should I have mysql to gener

RE: [PHP] Array help

2001-03-14 Thread Don Read
On 15-Mar-01 Chris wrote: > Hi, > Is there a way to do an array_pop with php3? > > unset($dirs[sizeof($dirs)-1]); // php4 array_pop(); Regards, -- Don Read [EMAIL PROTECTED] -- If you are going to sin, sin against God, not the bureaucracy.

Re: [PHP] Statistics function

2001-03-14 Thread Chris Adams
On 14 Mar 2001 22:11:10 -0800, Rick St Jean <[EMAIL PROTECTED]> wrote: >All through this process there is a live thread between your browser and >the server. >unless you send a cancel. One minor addition - the connection will close when you hit cancel but the PHP code can continue running if you

Re: [PHP] Not Looping...

2001-03-14 Thread David Robley
On Thu, 15 Mar 2001 17:48, WreckRman2 wrote: > I am having problems figuring out how to loop to show more then one > record... Any help would be great... All I can get is the first > record... > > Thanks... > > Code: > > > $db = mysql_connect("localhost", "root", "*"); > mysql_sel

Re: [PHP] Creating Files Windows vs Unix

2001-03-14 Thread David Robley
On Thu, 15 Mar 2001 17:41, Andrew V. Romero wrote: > I believe it is a *nix server. I haven't looked into directory > permissions before but that is an area I will definately look into. If > this was a problem with the directory permissions, would the problem > still disappear if a file with the

RE: [PHP] php or Mysql for DATE?

2001-03-14 Thread David Smith
Try using which formats the same as MySQL... -Original Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 2:19 AM To: [EMAIL PROTECTED] Subject: [PHP] php or Mysql for DATE? I want to have a posting column wherein people can post their messages an

[PHP] Not Looping...

2001-03-14 Thread WreckRman2
I am having problems figuring out how to loop to show more then one record... Any help would be great... All I can get is the first record... Thanks... Code: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP] php or Mysql for DATE?

2001-03-14 Thread Dhaval Desai
I want to have a posting column wherein people can post their messages and when a new message is posted the Curent date has to be added in the mysql database. Do u think I should use Php to generate the date or should I have mysql to generate the date. I am also going to allow people to search f

RE: [PHP] software localization with PHP

2001-03-14 Thread Don Read
On 14-Mar-01 Tao wrote: > Kevin, > > Thanks for the reply. This will not solve my problem. The problem is, for > some > languages the sentence structure may be different. For example, the > sentence > may need to be, > $greeting = "$first_name, welcome!" > as opposed to, > $greeting =

Re: [PHP] Creating Files Windows vs Unix

2001-03-14 Thread Andrew V. Romero
I believe it is a *nix server. I haven't looked into directory permissions before but that is an area I will definately look into. If this was a problem with the directory permissions, would the problem still disappear if a file with the correct name was already in the directory? -Thanks And

Re: [PHP] SVG Scripting

2001-03-14 Thread Chris Adams
In php.general, you wrote: >I know (at least the claim) that PHP can do marvelous thing to Flash >files (with libswf), presumably including "streaming" realtime >feedback of a script's action. It can't. PHP can generate Flash files directly (and using Ming - it beats libswf handily - http://www

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c

2001-03-14 Thread Sterling Hughes
sterlingWed Mar 14 23:03:28 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: remove a little insanity. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.9 php4/ext/bz2/bz2.c:1.10 --- php4/ext/bz2/bz2.c:1.9 Wed Mar 14 22:24:38 2001

Re: [PHP] Creating Files Windows vs Unix

2001-03-14 Thread David Robley
On Thu, 15 Mar 2001 17:20, Andrew V. Romero wrote: > Today I was uploading my completed script to my school's server at > http://www.u.arizona.edu/~avr/school/questionanswer.phtml?questionFileN >ame=testQA and noticed when I fill in the form and hit submit, I get a > lot of errors such as unable t

[PHP] Mail

2001-03-14 Thread Wade Halsey
Hi   im having a slight problem with this mail class, it works fine up until the loop runs more than 13 times, is this a looping problem or a mail problem? Ive attatched the mail class and the code is below:     include "./include/mime_mail.inc";$fp=fopen(TestFile.txt, "w"); /*loop certain n

[PHP] Creating Files Windows vs Unix

2001-03-14 Thread Andrew V. Romero
Today I was uploading my completed script to my school's server at http://www.u.arizona.edu/~avr/school/questionanswer.phtml?questionFileName=testQA and noticed when I fill in the form and hit submit, I get a lot of errors such as unable to access current working directory, unable to access my fil

Re: [PHP] IMAP sort help.

2001-03-14 Thread Terrence Wong
Hi chris. The codes works on my linux box too. But retaining the codes, I proceed to connect to a imap server on a APPLE machine. Everything works except it stops at imap_sort. Is there a conflict between mac and linux?? terrence Chris Lee wrote: > imap functions are notorious for not return

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c php_bz2.h

2001-03-14 Thread Sterling Hughes
sterlingWed Mar 14 22:24:38 2001 EDT Modified files: /php4/ext/bz2 bz2.c php_bz2.h Log: Bit of a cleanup, added some inline docs, decreased the amount of memory used. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.8 php4/ext/bz2/

Re: [PHP] that whole system() thing again

2001-03-14 Thread Jack Dempsey
ok, i gotcha...what's the call? perhaps there's an error with the actual call...do you have any code you can show? jack Daniel Lynn wrote: > > Well, no, I'm not sure... I, personally, am a graphic designer that used to > program and somehow got suckered into programming again.. however, the per

[PHP] Abobe FDF and PHP

2001-03-14 Thread Dustin Leggans
Hello, My internet provider does not have the $HTTP_POST_VARS variable enabled... What would be the easiest way to capture submitted PDF form data without having this variable? Thanks Dustin Leggans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Statistics function

2001-03-14 Thread Rick St Jean
Here is what happens... I am skipping a few steps here and there etc.. you type url and run. the broswer finds the server... the server looks at he extension of the document and sends the page to the php engine. The engine parses through the doc, writing to the buffer (unless told to stre

Re: [PHP] that whole system() thing again

2001-03-14 Thread Daniel Lynn
Well, no, I'm not sure... I, personally, am a graphic designer that used to program and somehow got suckered into programming again.. however, the person in charge of teh server came to this conclusion for us and wether he is righ or wrong, we have to face the fact that the exact same code to make

Re: [PHP] that whole system() thing again

2001-03-14 Thread Jack Dempsey
Daniel Lynn wrote: > > ok, figured my problem out.. apparently system() and exec() and all tha > can't be called from php if it is runnig as an apache mod.. anyone know > a way around this? > > -Daniel > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROT

[PHP] that whole system() thing again

2001-03-14 Thread Daniel Lynn
ok, figured my problem out.. apparently system() and exec() and all tha can't be called from php if it is runnig as an apache mod.. anyone know a way around this? -Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Statistics function

2001-03-14 Thread Lauri Vain
Hello everybody, How does the behind the scenes work by PHP exactly go? Does the PHP thread remain active so long as the information is sent to the visitor? Or will PHP parse the code and send it to Apache which will send the data to the user itself? The reason that I'm asking this is I'm writin

[PHP] normal for Apache to hang?

2001-03-14 Thread Derek Sivers
Does your Apache hang? Is that normal? To have commands sitting for 1-2 minutes? Using Apache 1.3.17 + PHP 4.0.4pl1 + newest MySQL on a Debian Linux box. I use PHP for pretty much everything. So I have Apache set to parse all files as PHP. But that's never been a problem before. (This is a new s

[PHP] SVG Scripting

2001-03-14 Thread Ted Goranson
Friends-- I know (at least the claim) that PHP can do marvelous thing to Flash files (with libswf), presumably including "streaming" realtime feedback of a script's action. But I find the Flash user interface just buttugly and like LiveMotion instead. LM can readily create SVG. So two questio

[PHP-CVS] cvs: php4 /ext/standard credits.h

2001-03-14 Thread Jon Parise
jon Wed Mar 14 21:07:32 2001 EDT Modified files: /php4/ext/standard credits.h Log: Whitespace (spaces to four-column tabs) Index: php4/ext/standard/credits.h diff -u php4/ext/standard/credits.h:1.3 php4/ext/standard/credits.h:1.4 --- php4/ext/standard/c

RE: [PHP] URGENT: Can't see picture

2001-03-14 Thread Jason Lotito
It might not be it, but this stood out... ' tag...and you are escaping the '"' print (""); } } ?> Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who can, learn. > -Original Message- > From: Mike Yuen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Ma

[PHP] URGENT: Can't see picture

2001-03-14 Thread Mike Yuen
I'm having a ton of trouble trying to get pictures to display. At first, I thought I had the problem fixed - but that's because the pictures reside on my machine. So instead of providing a path to the pictures like: c:/phpweb/userpics/ I tried absolute paths like ../userpics and that doesn't seem

RE: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Jeff Oien
I didn't think they were useless. Jason said he would post some code if I wanted. Yes, I would like to see it. Pierre's post was very helpful and is the solution I will use for now. ren's posts were a little over my head. :) I'm sure you're really smart but not very helpful for someone new like m

Re: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Reinke Bonte
I know very little about php, but since you have already received a bunch of useless answers, I thought I add my guesswork. In php 4 you can access MS documents through Microsofts OLE interface. That means you can manipulate an .xls file as you would be able to in VisualBasic. You should look for

Re: [PHP] my page is in the error log

2001-03-14 Thread Yasuo Ohgaki
> > > I was checking my error log and the entire post-PHP contents of a > > page was in my error log. I checked the access log and the page was > > requested but the client got back 0 bytes. very strange. > > > > It looks like it happened a few times. > > > > I'm using Apache 1.3.14 on RH 7.0 wi

Re: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Pierre-Yves Lemaire
Hello, The header will make netscape offer you a download of the file, and IE will open it in a excell format. For the display, just put your result in a nice html table and excell will convert it, it's quite simple. print ""; print "Event"; ... print all your header here while ($row = mysql_f

Re: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Andrew Hill
While not directly involving PHP, you certainly open up a database table in Excel, just create it as a pivot table or data import from a DSN. You can create spreadsheets based on specific SQL queries and table joins, that Excel will work happily with. Hope this helps! Best regards, Andrew -

RE: [PHP] tutorials on good database design

2001-03-14 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

RE: [PHP] Help please

2001-03-14 Thread Peter Houchin
Ok, thanks David for your help, now to change a character set in mysql do you have to recomplie it even though the char set i want to use is in the /usr/local/share/mysql/charsets directory? -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 1

RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
My thanks to all for the input. I will be taking a closer look at leasing a dedicated machine which will still give me what I am after, ie. ability to compile, install, upgrade, software when/where I need but without some of the sysadmin headaches. Thanks again to everyone !! Andre -Original

Re: [PHP] How do you keep your scripts secure?

2001-03-14 Thread Jerry Artman
Actually, I think the best thing is to offer good service and value to your customer . Then why would anyone want to invest the time to decompile your work to change it? On 3/14/01 8:30 PM, "Jack Dempsey" <[EMAIL PROTECTED]> wrote: > Murph wrote: >> >> Hi. >> >> So, I've written all this nif

Re: [PHP] my page is in the error log

2001-03-14 Thread seth
> I was checking my error log and the entire post-PHP contents of a > page was in my error log. I checked the access log and the page was > requested but the client got back 0 bytes. very strange. > > It looks like it happened a few times. > > I'm using Apache 1.3.14 on RH 7.0 with PHP 4.0.

[PHP] RE: [?] How to make many one line forms in a loop?

2001-03-14 Thread Brinkman, Theodore
Try it this way instead (my apologies for any typos, I'm getting ready to leave work and didn't bother to test it, but it should get the concept across). - - - - - Log File Dump Log ID#

RE: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Jason Murray
> Could anyone help me out with how to print the entire contents of a > database as an Excel file? I'm familiar with the header: > > header("Content-Type: application/vnd.ms-excel"); > > just not sure how to go about it beyond that. I have this code and > am not sure what do do after it. Thanks

Re: [PHP] How do you keep your scripts secure?

2001-03-14 Thread Chris Lee
the much easier method is to change all your code extensions to be either parsed or forbidden in httpd.conf AllowOverride AuthConfig FileInfo Indexes Limit Options Order allow,deny Deny from all or AddType application/x-httpd-php .inc .php .php3 .phtml .eg

Re: [PHP] How upload files to protected directories?

2001-03-14 Thread Mig
Keith Vance wrote: > You should be able to do something using PHP, try looking here, > http://www.php.net/manual/cs/features.file-upload.php > I think there is just a communication problem between you and your hosting > company. They don't allow ftp uploads, but as long as you are doing it > thro

[PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Jeff Oien
Could anyone help me out with how to print the entire contents of a database as an Excel file? I'm familiar with the header: header("Content-Type: application/vnd.ms-excel"); just not sure how to go about it beyond that. I have this code and am not sure what do do after it. Thanks. Jeff Oien w

Re: [PHP] JavaDoc?

2001-03-14 Thread Yasuo Ohgaki
> So i've heard bits and pieces that JavaDoc can parse out comments about > php... > > does anyone have an example of a command line call to javadoc passing a PHP > file? PHPDoc or PHP Documentator, I guess. http://www.phpdoc.org/ Regards, Yasuo Ohgaki -- PHP General Mailing List (http://w

Re: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Paul Warner
Why not lease a dedicated machine in your favourite flavour. That way you have the reliability of a hosting company that monitors 24-hrs, provides generators, UPS, etc. but will have full control over site, configuration, etc. There are many dedicated servers available in NT/2000/Linux/Cobalt Ra

php-general Digest 15 Mar 2001 01:57:16 -0000 Issue 567

2001-03-14 Thread php-general-digest-help
php-general Digest 15 Mar 2001 01:57:16 - Issue 567 Topics (messages 43830 through 43945): Tutorial for RegExpressions 43830 by: Martin Thoma 43833 by: Fredrik Wahlberg 43860 by: Nathan Cassano Re: Day of Week?? 43831 by: Tim McGuire 43832 by: Tim Mc

[PHP] JavaDoc?

2001-03-14 Thread Jonathan Sharp
So i've heard bits and pieces that JavaDoc can parse out comments about php... does anyone have an example of a command line call to javadoc passing a PHP file? Thanks, -Jonathan [EMAIL PROTECTED] (Remove spam. if you want to contact me directly) -- PHP General Mailing List (http://www.php.ne

RE: [PHP] Array help

2001-03-14 Thread James Atkinson
> > > Hi, > > Is there a way to do an array_pop with php3? Here's some PHP 3 compatable code that works the same as array_pop: function _array_pop(&$stack) { $arrSize = count($stack); $x = 1; while(list($key, $val) = each($stack)) { if($x < count($stack)) { $tmpArr[] = $

Re: [PHP] Array help

2001-03-14 Thread David Robley
On Thu, 15 Mar 2001 10:56, Chris wrote: > > Hi, > Is there a way to do an array_pop with php3? Off the top of my head: use count to get the number of elements in the array grab element(count - 1) as the popped value Then (maybe) unset(element[count-1]) may work; if not you might have to play

RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
Thanks so much for your honest comments and input. So far I have seen zero problems in the last 29 days with our DSL but you are absolutely correct in that I could easily be hit with a disruption. I actually do back up our current server with 4mm Dat and we are on a UPS but your points are very we

Re: [PHP] How do you keep your scripts secure?

2001-03-14 Thread Jack Dempsey
Murph wrote: > > Hi. > > So, I've written all this nifty code and I'd like to do what I can from having it >pilfered. > > What do you do to keep your stuff safe? > > Murph > > www.murphatnight.com > __ > Brian Murphy - 193A Lowe

RE: [PHP] Sessions, no cookies, enable-trans-sids, no success

2001-03-14 Thread Johnson, Kirk
Eric, I gotta ask the obvious question: did you have cookies disabled in your browser when you were checking this out? PHPSESSID only gets appended when cookies are disabled. If that is not the problem, I have no suggestions. Works for me as advertised. Kirk > -Original Message- > From:

[PHP] NEWBEE - How do I preload 25< gifs?

2001-03-14 Thread Lars Falsig
I need to preload lots of graphics for user-controlled animation, changing graphics fast. Include() and/or require() works to slow. Any suggestions? -- Regards Lars www.DHSaps.com www.BuyEasy.dk www.CasinoDK.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP-CVS] cvs: pear /PEAR pear.c

2001-03-14 Thread Andrei Zmievski
At 12:53 AM 3/15/01 +, Stig Bakken wrote: >+if (options != NULL) { >+zval **el0, **el1; >+if (((*options)->type != IS_STRING && (*options)->type != >IS_ARRAY) || >+((*options)->type == IS_ARRAY && >+ (zend_has

Re: [PHP] Help please

2001-03-14 Thread David Robley
On Wed, 14 Mar 2001 23:18, Peter Houchin wrote: > Hi, > when i try and access my database from a web page i get this error > > MySQL Connection Failed: Can't initialize character set 12 (path: > default) > > can some one please help me out with the "Can't initialize character > set 12 (path: defua

RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Jason Murray
> I'm contemplating moving one of my larger sites off of a hosting company > over to my own PIII 1 Gigahertz. Thoughts right now are to use IIS 5.0 and > either SQL Server or MySQL. I can currently get a fixed IP address DSL > connection at 1.5 meg download and 512 Upload for fairly cheap. The rea

[PHP] How do you keep your scripts secure?

2001-03-14 Thread Murph
Hi. So, I've written all this nifty code and I'd like to do what I can from having it pilfered. What do you do to keep your stuff safe? Murph www.murphatnight.com __ Brian Murphy - 193A Lowell St., Apt. 24 - Methuen, MA 01844 - (

[PHP-CVS] cvs: pear /PEAR pear.c

2001-03-14 Thread Stig Bakken
ssb Wed Mar 14 16:53:07 2001 EDT Modified files: /pear/PEAR pear.c Log: * implemented setErrorHandling Index: pear/PEAR/pear.c diff -u pear/PEAR/pear.c:1.2 pear/PEAR/pear.c:1.3 --- pear/PEAR/pear.c:1.2Tue Mar 13 17:04:45 2001 +++ pear/PEAR/pear.

Re: [PHP] How upload files to protected directories?

2001-03-14 Thread Keith Vance
You should be able to do something using PHP, try looking here, http://www.php.net/manual/cs/features.file-upload.php I think there is just a communication problem between you and your hosting company. They don't allow ftp uploads, but as long as you are doing it through http, it should work fine.

[PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew
Hi all, I'm contemplating moving one of my larger sites off of a hosting company over to my own PIII 1 Gigahertz. Thoughts right now are to use IIS 5.0 and either SQL Server or MySQL. I can currently get a fixed IP address DSL connection at 1.5 meg download and 512 Upload for fairly cheap. The re

[PHP] Help please

2001-03-14 Thread Peter Houchin
Hi, when i try and access my database from a web page i get this error MySQL Connection Failed: Can't initialize character set 12 (path: default) can some one please help me out with the "Can't initialize character set 12 (path: defualt) cuz i don't understand what it means by the character set

[PHP] Array help

2001-03-14 Thread Chris
Hi, Is there a way to do an array_pop with php3?

[PHP] XML compile with PHP

2001-03-14 Thread Herman Tolentino
dear list members, has anybody got a good reference in compiling XML (expat) with PHP? I've tried following the instructions in the annotated PHP manual and I still come across the xmltok problem. Any reference, compile script, URL, etc. would be appreciated. Thanks! - Herman -- PHP General M

[PHP] Sessions, no cookies, enable-trans-sids, no success

2001-03-14 Thread Eric Nielsen
I'm using 4.04pl1 with --enable-trans-sids configured. I did the make distclean that some people suggest in the annotated manual. The relative URLs in forms and anchor are not getting the session id appended (neither are the absolutes in header/Location, but I understand that a current limitatio

[PHP] Parse all .htm files?

2001-03-14 Thread Jorge Alvarez
Hi there, I'm using PHP and Personal Web Server in a Windows 98 PC. What should I do to make PHP parse all .htm files and not only those with the .php extension? Many thanks in advance, Jorge Alvarez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Help! Cookies...

2001-03-14 Thread Jack Sasportas
I am frustrated with cookies, and the whole array aspect of them. I have looked at sample code on php.net, but it keeps bombing. Here are my questions: #1 When passing an array to the cookie, is the array one dimensional or 2 ? In other words when the value is stored in the cookie does it lo

Re: [PHP] Executing a string with both html and php inside it..

2001-03-14 Thread Andrew Hill
Aviv, eval() http://www.php.net/manual/en/function.eval.php Best regards, Andrew On 3/13/01 6:35 PM, "Aviv Revach" <[EMAIL PROTECTED]> wrote: > Hey! > > What should I do in order to execute the next string: > $str = "\n" > $str .= "blabla\n"; > $str .= " \n"; > $str .= "blabla\n"; > $

[PHP] How upload files to protected directories?

2001-03-14 Thread Mig
Hello I post my question here because I can't understand what host support is trying to say to me: I use paid host with PHP and MySql facilities, all working fine for me (both PHP and MySql). I offer to customers ability for storing updating and retrieving MySql records using HTML commands.

Re: [PHP] Good Free PHP Editor?

2001-03-14 Thread Mark Maggelet
editplus can do this. On Wed, 14 Mar 2001 13:49:04 -0900 (AKST), chris ([EMAIL PROTECTED]) wrote: >Do any of these editors support server mappings allowing one to >auomatically preview files through a server? I find this invaluable >in >HomeSite (which is also VERY stable for me using Win2K) and

[PHP] Executing a string with both html and php inside it..

2001-03-14 Thread Aviv Revach
Hey! What should I do in order to execute the next string: $str = "\n" $str .= "blabla\n"; $str .= " \n"; $str .= "blabla\n"; $str .= "\n"; When I tried using 'echo' with the string, but the php code didn't work... Is there any way of doing this without writing this string to a

[PHP] Header Help!

2001-03-14 Thread Chris
Hi, I am trying to send Form information from a seperate program I have written: I used the header: Content-Type: multipart/form-data But php complains with this error: Warning: There should have been a "boundary=something" in the Content-Type string in test.asp on line 327(<-- Line # allways d

Re: [PHP] exist?

2001-03-14 Thread Keith Vance
You must not have searched to hard on the site, http://www.php.net/file_exists Keith On Wed, 14 Mar 2001, Kenneth R Zink II wrote: > How would I go about checking to see if a file exist from php? > > I didn't find anything on php.net when I did a search for exist. > > basically, I'm trying to a

Re: [PHP] PHP saving forms on client side

2001-03-14 Thread Andrew Halliday
I dont know what you call 'feasable' but this would be the most efficient way of doing this: function submitToServer() { document.forms['coolform'].action = ''; document.forms['coolform'].submit(); // May not be necessary } function submitToRegenerator() {

Re: [PHP] exist?

2001-03-14 Thread Simon Garner
From: "Kenneth R Zink II" <[EMAIL PROTECTED]> > How would I go about checking to see if a file exist from php? > > I didn't find anything on php.net when I did a search for exist. > if (file_exists("/full/path/to/file.txt")) http://php.net/manual/en/function.file-exists.php -- PHP General

[PHP] exist?

2001-03-14 Thread Kenneth R Zink II
How would I go about checking to see if a file exist from php? I didn't find anything on php.net when I did a search for exist. basically, I'm trying to accomplish this. if $file exist { do something; }else{ echo "$file doesn't exist"; } thanks in advance. Kenneth R Zink II [EMAIL PROTECT

Re: [PHP] Good Free PHP Editor?

2001-03-14 Thread chris
Do any of these editors support server mappings allowing one to auomatically preview files through a server? I find this invaluable in HomeSite (which is also VERY stable for me using Win2K) and I think HTMLKit does it too-- but do anyof the leaner text editors? By server mappings I mean that I

[PHP-CVS] cvs: php4 /pear/Experimental/HTML Menu.php

2001-03-14 Thread Ulf Wendel
uw Wed Mar 14 14:33:58 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - code beatifiying - minor inline doc update Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experimental/HTML/Menu.php:1.8 php4/pear/Expe

[PHP] my page is in the error log

2001-03-14 Thread Aaron Tuller
anyone run into this? I was checking my error log and the entire post-PHP contents of a page was in my error log. I checked the access log and the page was requested but the client got back 0 bytes. very strange. It looks like it happened a few times. I'm using Apache 1.3.14 on RH 7.0 with

RE: [PHP] software localization with PHP

2001-03-14 Thread Maciek Uhlig
Check http://stphp.sourceforge.net Maciek > -Original Message- > From: Tao [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 14, 2001 8:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] software localization with PHP > > > Kevin, > > Thanks for the reply. This will not

Re: [PHP] [?] How to make many one line forms in a loop?

2001-03-14 Thread John Voth
Hi Chris, THANKS! Really BIG THANKS!! That was the problem. John Chris Lee wrote: > > more lilly then not its the " ' problems. > > echo " > > > > > > > > > $remote_address > $file_id > $user_id > $time_of_event > > "; > > is better > > -- > > Chris Lee > Mediaw

[PHP] e-mail varification problems.

2001-03-14 Thread Kenneth R Zink II
I got the following code in a script I'm testing, but it seams to not verify all good e-mail address as valid. echo "old email = ".$row[email].""; if (ereg("^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+" or "^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+",$email)){

[PHP-CVS] cvs: php4 /ext/standard credits.c credits.h info.h

2001-03-14 Thread James Moore
jmoore Wed Mar 14 13:28:58 2001 EDT Modified files: /php4/ext/standard credits.c credits.h info.h Log: Adding webteam to credits. Index: php4/ext/standard/credits.c diff -u php4/ext/standard/credits.c:1.5 php4/ext/standard/credits.c:1.6 --- php4/ext/standard

[PHP] PHP saving forms on client side

2001-03-14 Thread mat t
I have new "blank" forms on the server and I would like to give my client an option to save a partially filled form to his computer. Is there any way I can do this with php? I know that if the client just saves the form using his browser then it will only save the initial HTML, and ignore t

[PHP] header type for flash

2001-03-14 Thread Pierre-Yves Lemaire
Hello, I am sending flash code stored in a database to the browser depending on action taken by the user. It works fine on just about any platform and browser except on Mac with IE 4.01 and IE 4.05. Is there a specific type of header we need to send to the client when we are sending a flash movi

RE: [PHP] [Q] session variables wouldn't keep contents.

2001-03-14 Thread Johnson, Kirk
> -Original Message- > From: Chung Ha-Nyung [mailto:[EMAIL PROTECTED]] > > My second example program. > a.php > session_start(); > session_register("name"); > $HTTP_SESSION_VARS["name"] = "test"; > > echo session_encode(); > ?> > a.php > result is as following. >

[PHP] apache authentication

2001-03-14 Thread Michael A. Peters
This isn't a php problem as much as an apache problem, however, it is = webmasters of php sites that would have dealt with this. Here's the dilemna- If you use mod_dav to maintain a php application that uses = username/password authentication for the web app, it doesn't play very = nice. At leas

Re: [PHP] adding to functionality of mysql_fetch_field

2001-03-14 Thread Mark Maggelet
On Wed, 14 Mar 2001 12:12:22 -0800, Dennis Gearon ([EMAIL PROTECTED]) wrote: >I'd like to see mysql_fetch_field() return as the last value in the >object, the allowable values for an enum field as an array. Could I >get >a cc as well as a listserver group answer from the PHP guys as to >whether th

Re: [PHP] PHP and Oracle Zombie processes

2001-03-14 Thread Rouvas Stathis
If you don't see --enable-sigchild in phpinfo() then : (a) you are not running the version you compiled (b) your config script had something wrong. Baseline: if you don't see it, it's not there. You have to recompile. -Stathis. Bob Kakalec wrote: > > When I execute an sql statement against my O

[PHP] adding to functionality of mysql_fetch_field

2001-03-14 Thread Dennis Gearon
I'd like to see mysql_fetch_field() return as the last value in the object, the allowable values for an enum field as an array. Could I get a cc as well as a listserver group answer from the PHP guys as to whether they think this is a good idea? Is there any other EASY way to get that information

[PHP] select * from nmensagem m, nusuario...

2001-03-14 Thread Augusto Cesar Castoldi
Something is not working here: select * from nmensagem m, nusuario u, nprefuser p where m.cdpreferencia=p.cdpreferencia and p.flag=1; With "m.cdpreferencia=p.cdpreferencia" I should get just the values there exists on m.preferencia and p.cdpreferencia? thanks, Augusto -- PHP General Mailin

[PHP] get content type from fopening url?

2001-03-14 Thread Noah Spitzer-Williams
is there a way so that if someone submits a web url (hopefully its a picture), i can check to make sure its a valid picture? i think its something like fopen(), but i dont know far i could get thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: [PHP] Linux/Apache/PHP & Windows/IIS/ColdFusion

2001-03-14 Thread John McCreesh
In article <[EMAIL PROTECTED]>, "Michael Kimsal" <[EMAIL PROTECTED]> wrote: [snip] > You're asking if this can be done with Linux? Probably not, unless you > got into some > strange Samba stuff, which I don't think is capable of doing all that > stuff (someone > more familiar with samba please j

RE: [PHP] prompts

2001-03-14 Thread Leavell Digital Design
"; print "Please Enter Your Name:"; print ""; print ""; print ""; } ?> Kevin Leavell [EMAIL PROTECTED] P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From: Gary [mailto:[EMAIL PROTECTED]] ---> Sent: Wednesday, March 14, 2001 1:13 PM ---> To: [EMAIL PROTECTED] ---> Subject: [

[PHP] RE: software localization with PHP

2001-03-14 Thread Leavell Digital Design
You can still do: in your language file (presumably called english.php) define("ENGLISH_GREETING", "Hello, \$first_name"); Then in your script you just need to use ENGLISH_GREETING it should work as long as you have defined $first_name prior to using ENGLISH_GREETING you may have to declare $f

RE: [PHP] tutorials on good database design

2001-03-14 Thread Angerer, Chad
Try a book called - Database Design For Mere Mortals by Michael J. Hernandez. This book does a wonderful job of explaining concepts and theory on good RDB design. It also goes through the SQL syntax. Chad -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

[PHP] software localization with PHP

2001-03-14 Thread Tao
Kevin, Thanks for the reply. This will not solve my problem. The problem is, for some languages the sentence structure may be different. For example, the sentence may need to be, $greeting = "$first_name, welcome!" as opposed to, $greeting = "Welcome, $first_name!" Or, it can come in

  1   2   3   >