[PHP] PHP Cron jobs

2001-01-26 Thread James Mclean
List, i do not have access to the cron system on my server, but would like to write a script that does some general housekeeping on my database, and various other things like removing old users, sending some newsletters etc... What would be the best way of getting the script to run on a t

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Terrence Chay
on 1/26/01 1:36 AM, Richard Lynch at [EMAIL PROTECTED] wrote: >> If there are some things you really need to hide, and perhaps also really >> need to make fast, then write yourself a PHP extension in C that > I dunno... Once you start writing chunks of it in C code, it doesn't really > seem li

[PHP] Date Comparison Question

2001-01-26 Thread Martin Fernandez
I'm fairly new to php and still learning it's nuances, etc. I've created a site - http://www.more-mtb.org - in which I have used several php resources from around the net and some which I have created my self. On the home page of the site I have inserted some code that displays a series of events

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Terrence Chay
on 1/25/01 11:49 AM, Frank Joerdens at [EMAIL PROTECTED] wrote: > On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: > [ . . . ] >> Of course. But the persistent connection are not working as the manuals say >> they should work. > It appears this riddle has been solved: From a po

[PHP] Zeros get striped off my db entrees.... how to stop...

2001-01-26 Thread Dallas Kropka
Ok, I have a string of bits that I combine to store as the privilege level for our users it is 5 chars long "12345", and the default is "0" this would be the most basic user. now, when there is a non 0 number at the front it works and every thing is cool but, even thou

Re: [PHP] Hello

2001-01-26 Thread Nathan Cook
Isn't it the journey what makes the goal sweeter?? .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems & Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Dallas Kropka" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday,

RE: [PHP] Hello

2001-01-26 Thread Dallas Kropka
What a bunch of crap hey, I know, Ill get a degree as a Computer Science Major, or what the hell, Doctorate, and then all those places that wouldn't hire me before because I didn't know what I was doing will pay me lots of money Please -Original Message- From: Graduate [

RE: [PHP] Strange problem

2001-01-26 Thread Dustin Butler
There are FTP functions if it's an FTP download. You could also use socket functions to create the request if it's HTTP. Check your system for the utility called wget, you could exec() wget to retrieve the file also. Dustin > -Original Message- > From: Jeroen Jochems [mailto:[EMAIL PRO

Re: [PHP] mail problems in windows2000

2001-01-26 Thread Richard Lynch
>Warning: Failed to Connect in d:\apache\htdocs\mail2.php on line 3 > >OOps ~ so I installed my SMTP services then configured my PHP.ini file like this Wow. Win2K actually *has* SMTP in it? :-^ >mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3"); You're going to need \r\n instea

Re: [PHP] Where is my contrab file located?

2001-01-26 Thread Richard Lynch
> Where is my crontrab file located? I dunno... You're really not supposed to just edit it like a normal file, cuz then crontab can't run it while you are editing it, I guess. Anyway, the man pages for sure say "Don't do that.", so don't. You're supposed to use: crontab -e to edit it. That

[PHP] Indexing Remote Directory

2001-01-26 Thread Kif
hi, if i want to index the filenames in a local directory its quite easy using something like the following: $startdir = "." ; $the_directory = opendir($startdir) ; while($filename = readdir($the_directory)) { print("$filename = "); print(filesize($filename)); print(""); } close

php-general Digest 27 Jan 2001 04:41:46 -0000 Issue 478

2001-01-26 Thread php-general-digest-help
php-general Digest 27 Jan 2001 04:41:46 - Issue 478 Topics (messages 36740 through 36952): Invoke PHP script from onLoad handler? 36740 by: Chuck Mayo 36924 by: Richard Lynch max size of array 36741 by: Giancarlo 36742 by: Giancarlo URGENT:Passing input typ

[PHP] readline_completion_function enhancement

2001-01-26 Thread August Zajonc
How about giving users a chance to pass some context to the completion function, like an array of acceptable commands? Otherwise for a system with 200 various menues you end up coding 200 function names. August -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: RE: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Chris Carbaugh
Netscape waits until the HTML entity is complete. Meaning it will render a table as soon as it gets "". Chris On Sat, 27 Jan 2001, Sander Pilon wrote: > Date: Sat, 27 Jan 2001 00:39:17 +0100 > To: "Chris Lee" <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> > From: "Sander Pilon" <[EMAIL PROTECTED]>

[PHP-I18N] Hello

2001-01-26 Thread Graduate
UNIVERSITY DIPLOMA Obtain a prosperous future, money earning power, and the admiration of all. Diplomas from prestigious non-accredited universities based on your present knowledgeand life experience. No required tests, classes, books, or interviews. Bachelors, masters, MBA, and doctorate (PhD

[PHP] Hello

2001-01-26 Thread Graduate
UNIVERSITY DIPLOMA Obtain a prosperous future, money earning power, and the admiration of all. Diplomas from prestigious non-accredited universities based on your present knowledgeand life experience. No required tests, classes, books, or interviews. Bachelors, masters, MBA, and doctorate (PhD

Re: [PHP] expressions

2001-01-26 Thread Stephan Ahonen
> if ($co_area != !ereg("([0-9]{3})",$co_area)) > { echo " * Area code must be 3 digital"; } I don't know anything about ereg and regex, so if there's an error in that part I won't be able to help with that, but I can tell you that ($something != !$something_else) is a double negative, it's like

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-01-26 Thread Rasmus Lerdorf
rasmus Fri Jan 26 18:25:49 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: doc account for David Elrom Index: CVSROOT/avail diff -u CVSROOT/avail:1.57 CVSROOT/avail:1.58 --- CVSROOT/avail:1.57 Fri Jan 26 00:38:58 2001 +++ CVSROOT/a

Re: [PHP] <- functions returning multiple values Followup

2001-01-26 Thread Jerry Artman
Would it be easier to return an OBJECT populated with all the items one might need? On 01/22/2001 12:38 PM, "Matt McClanahan" <[EMAIL PROTECTED]> wrote: > On Mon, 22 Jan 2001, Abe Asghar wrote: > >> Hey there, >> >> is there a way that you can get a function to return multiple values. e.g.: >

Re: [PHP] AUTH_PW & External Authentication

2001-01-26 Thread Chen Shiyuan
On Fri, 26 Jan 2001 17:36:57 -0600, Richard Lynch <[EMAIL PROTECTED]> wrote : > > I am currently using Apache-1.3.14 with php-4.0.4pl1 compiled > statically > > into it and running on RedHat Linux 6.2 . Apache is configured > to do > > authentication for certain URLs via a auth_ldap module which

[PHP] expressions

2001-01-26 Thread Kumanan
hi, im trying to fix this couple of hours but i couldnt find the mistake... can somebody look at it... first i want to check the $co_area for 3 digital ... it must contain 3 digital if ($co_area != !ereg("([0-9]{3})",$co_area)) { echo " * Area code must be 3 digital"; } second... nickname c

Re: [PHP] Microsoft SQL server 7

2001-01-26 Thread Michael Kimsal
"Thor M. Steindorsson" wrote: > Excellent answer... > Thanks. > somewhat when you're asked > "Can you tell me where the Bakery is?" > and you say > "Yes, I can." > Not quite the same thing. The poster may have simply wanted to know if it was possible. "I was just wondering if it is possi

[PHP-CVS] cvs: php4 /ext/ming EXPERIMENTAL

2001-01-26 Thread James Moore
jmoore Fri Jan 26 16:33:23 2001 EDT Added files: /php4/ext/ming EXPERIMENTAL Log: Adding Ming experimental file -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

[PHP-CVS] cvs: php4 /ext/ming Makefile.in config.m4 ming.c php_ming.h

2001-01-26 Thread Dave Hayden
opaquedave Fri Jan 26 16:26:23 2001 EDT Added files: /php4/ext/ming Makefile.in config.m4 ming.c php_ming.h Log: First include of ming (SWF generation) library wrapper http://www.opaque.net/ming/ Index: php4/ext/ming/Makefile.in +++

[PHP] mail problems in windows2000

2001-01-26 Thread seojuyung
Hello everyone~ I'm a Korean(in ASIA) PHPer. I have some problems with 'mail()' function in windows2000 and PHP4.0 first I met a error message like this Warning: Failed to Connect in d:\apache\htdocs\mail2.php on line 3 OOps ~ so I installed my SMTP services then configured my PHP.ini file lik

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

2001-01-26 Thread Boian Bonev
bbonev Fri Jan 26 16:25:09 2001 EDT Modified files: /php4/ext/vpopmail php_vpopmail.c Log: # fixed protos in comments for *_ex functions Index: php4/ext/vpopmail/php_vpopmail.c diff -u php4/ext/vpopmail/php_vpopmail.c:1.5 php4/ext/vpopmail/php_vpopmail.c:1.6

RE: [PHP] Microsoft SQL server 7

2001-01-26 Thread Thor M. Steindorsson
Excellent answer... somewhat when you're asked "Can you tell me where the Bakery is?" and you say "Yes, I can." Forgive me for saying so, but I find this sort of attitude on a mailing list designed as help forum very arrogant, impolite and snooty, and completely unnecessary. -Original Messag

Re: [PHP] move_uploaded_file - getting furthur ..still need help

2001-01-26 Thread Richard Lynch
If you are using NT, I think you can right-click on the images directory and make it writable by anybody. If you are using Win98, I think you're stuck. Win95, stuck. Win2K, who knows. WinME, who knows. Disclaimer: I didn't need it bad enough to *really* try that hard -- I was coding a quickie

Re: [PHP] Use of exec() in windows

2001-01-26 Thread Richard Lynch
>I'm trying to port a wonderful application over to miserable windows. I can not find documentation of how to invoke exec on windows. Here's what I tried: Some people say exec() does not work on Windows... I could have sworn I've seen it work, but maybe not... $new_path = str_replace('^', '\\',

Re: [PHP] PHP.INI

2001-01-26 Thread Richard Lynch
Won't hurt. You probably don't need to since it doens't have spaces or any funky characters... -- Visit the Zend Store at http://www.zend.com/store/ 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

Re: [PHP] php_oracle.dll

2001-01-26 Thread Richard Lynch
Try www.php4win.de They tend to be on top of the Windows stuff best. -- Visit the Zend Store at http://www.zend.com/store/ 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: "kaab

Re: [PHP] include_path again

2001-01-26 Thread Richard Lynch
>OK, I figured out that I had forgotten the quotes around the path(s), but I still don't understand the path itself. Will it look in sub directories.For example: > >include_path=".;d:\sites" > >Will PHP look in any subs under sites? No. PHP will not dig through subdirectories looking for files t

Re: [PHP] which syntax?

2001-01-26 Thread Richard Lynch
> what's the difference between using > and using and using always works. only works with "short tags" on, and XML is incompatible with it, since it uses always works, but is a fair amount to type. There is no performance/behaviour difference other than these. -- Visit the Zend Store at

Re: [PHP] sessions without cookies?

2001-01-26 Thread Richard Lynch
> Would there be any point in using php sessions if you aren't using cookies? > You have to store login info anyway, why not just use a temp table to store > transaction info and write to the database at the end of a session? From > what I've read on sessions, you have to use cookies > thanks You

Re: [PHP] Do they like shut this list down at night or what?

2001-01-26 Thread Richard Lynch
They're busy coding? They're in a different time zone? I dunno. The list isn't shut down on purpose, though it hasn't been super stable of late either. :-^ -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a

php-general@lists.php.net

2001-01-26 Thread Richard Lynch
It's not a backwards assignment. It's more like this: $bar = &$foo; You now have essentially two variable names 'foo' and 'bar' pointing to the same chunk of memory inside the computer. If you change one, you change the other: They are really not two distinct variables -- They are the same va

Re: [PHP] Why the Change in Ver 4?

2001-01-26 Thread Richard Lynch
If that's even true (I dunno) maybe because strings in PHP really aren't arrays of characters like C... And maybe they got plans for arrays that would be too easy to confuse syntactically with strings or something... [shrug] -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me ou

Re: [PHP] update db

2001-01-26 Thread Richard Lynch
It's just like a SELECT, only you send an UPDATE query. $query = "select * from people"; $people = mysql_query($query) or die(mysql_error()); . . . $query = "update people set name = 'Fred' where lastname = 'Flintstone'"; mysql_query($query) or die(mysql_error()); You can send *ANY* query to the

Re: [PHP] Premature end of script headers error

2001-01-26 Thread Richard Lynch
That usually means PHP is dying for some reason. Follow the instructions on http://bugs.php.net for generating a backtrace. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/

Re: [PHP] PHP on MAC OS9

2001-01-26 Thread Richard Lynch
If you get no answer, try the "Apache/MySQL/PHP" list. Mostly OS X, but some are using OS9 et al. -- Visit the Zend Store at http://www.zend.com/store/ 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 - Origin

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Richard Lynch
> > Unfortunately, it's not that simple. > > > > You haven't factored in Support costs nor administrative overhead nor... > > Well, I don't know what else the Marketing folks do when they figure these > > things out, but that's why I'm not in Marketing, eh? > > > Right it's not my game either (mar

Re: [PHP] Conditional include based on virtual host ?

2001-01-26 Thread Richard Lynch
Should work, I think. -- Visit the Zend Store at http://www.zend.com/store/ 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: "Alain Fontaine" <[EMAIL PROTECTED]> Newsgroups: php.g

Re: [PHP] AUTH_PW & External Authentication

2001-01-26 Thread Richard Lynch
> I am currently using Apache-1.3.14 with php-4.0.4pl1 compiled statically > into it and running on RedHat Linux 6.2 . Apache is configured to do > authentication for certain URLs via a auth_ldap module which is > dynamically loaded when Apache starts. > > I noticed that when I access the protecte

Re: [PHP] Circle using GD

2001-01-26 Thread Richard Lynch
Not sure, but... Look for an Ellipse drawing function, and give it an equal whatsit and thingamabob. IE, a circle is an ellipse that happens to be round. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a lit

Re: [PHP] Authentication through a login form

2001-01-26 Thread Richard Lynch
By definition, if you want to use HTTP Authentication with the browser taking care of username/password automagically, you get that popup box. If you don't want the popup box, you need to "roll your own" with cookies etc. Fortunately, "roll your own" now mainly consists of doing this: Then, y

Re: [PHP] Invoke PHP script from onLoad handler?

2001-01-26 Thread Richard Lynch
You *can* have a JavaScript handler invoke PHP -- but it requires accessing a URL and waiting for the web-server to respond, so your response time will not be so hot. I'm afraid I don't recall how, but it has been posted here before... -- Visit the Zend Store at http://www.zend.com/store/ Wanna

Re: [PHP] Detect directory

2001-01-26 Thread Marx Gomes
Joe wrote > Use dirname() function to find which directory the file is in. Chris Lee wrote > echo "$PHP_SELF \n"; That's it! dirname($PHP_SELF) is exactly what I need. Thanks! Marx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Where is my contrab file located?

2001-01-26 Thread Trunkz Santai
Where is my crontrab file located? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] LYNX !!/ Help

2001-01-26 Thread Philip Olson
You want to use cron, this reply is made for you : http://marc.theaimsgroup.com/?l=php-general&m=97962729420863&w=2 It contains a few really useful links on the matter. Philip On Fri, 26 Jan 2001, Trunkz Santai wrote: > Hi does anyone know how I would execute a script on a regular basis using

[PHP] RE: aborted connections? (fwd)

2001-01-26 Thread tc lewis
ok, i'll jump over to the php list. any of you guys know what's up with this/where i can find info? was there a change in the mysql client libraries that needs to be considered in things like php and perl's dbi, or...? -tcl. -- Forwarded message -- Date: Fri, 26 Jan 2001 21:0

[PHP] LYNX !!/ Help

2001-01-26 Thread Trunkz Santai
Hi does anyone know how I would execute a script on a regular basis using lynx (what command). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTE

[PHP] Problems

2001-01-26 Thread David I Wolf
Not sure if this is the right list, but.. I'm running mod_perl on RedHat 7. I installed the new PHP updates and all of a sudden it broke mod_perl.. I get this in my error_log [Fri Jan 26 15:49:20 2001] [notice] child pid 7766 exit signal Segmentation fault (11) [Fri Jan 26 15:49:21 2001] [notice]

RE: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Sander Pilon
Look here - http://home.netscape.com/assist/net_sites/mozilla/index.html (That is not an animated gif) http://home.netscape.com/assist/net_sites/pushpull.html It only works in netscape (so far), but hey... you can't forget the two remaining people on the planet that actually use it, right? >

RE: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Sander Pilon
Netrape supports multipart documents. Read up on your mime types and encodings, and use that to create a nice progressbar in netscape :) > -Original Message- > From: Chris Lee [mailto:[EMAIL PROTECTED]] > Sent: 26 January 2001 23:53 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Display pro

Re: [PHP] Microsoft SQL server 7

2001-01-26 Thread Michael Kimsal
yes it is Brandon Orther wrote: > hello, > > I was just wondering if it is possible to connect to Microsoft SQL server > 7.0 with php4? > > Thank you, > > > Brandon Orther > WebIntellects Design/Development Manager > [EMAIL PROTECTED] > 800-994-6364

[PHP] Microsoft SQL server 7

2001-01-26 Thread Brandon Orther
hello, I was just wondering if it is possible to connect to Microsoft SQL server 7.0 with php4? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com --

Re: [PHP] sessions without cookies?

2001-01-26 Thread Chris Lee
if yours only storeing one or two variables in a db, dont mind writing either functions to store all this in the db, or having 5-10 lines of code per page to this then fine. But sessions are so simple... three lines of code, I can store text, arrays, class's all in three lines of code, four if

RE: [PHP] phpinfo ?

2001-01-26 Thread Philip Olson
> Actually what you need is otherwise > you're never going to get anything on the screen. Some functions do act this way yes but not phpinfo, phpinfo() spits out information and has no need for a print or echo. function bar() { Return 'blah'; } function foo() {

Re: [PHP] if ... else ...

2001-01-26 Thread Toby Butzon
I'm not sure if I'm understanding correctly, but you might take a look at this modification... Notice: all lines with a > in front of them have remained unchanged. Lines that can safely be deleted are preceeded by single-line comments (//), and lines without a > are newly added lines. $allFields

Re: [PHP] really need help...

2001-01-26 Thread Iván Sánchez Ortega \"MR\"
""Shane McBride"" ... > I am getting this error and I don't understand. I am running > PHP 4.0.4 and Xitami web server on Windows 98SE. I know this > is not the most ideal setup, but I just use it for developing. Usually, webservers running PHP won't allow to execute any commands regarding creati

Re: [PHP] Modulus

2001-01-26 Thread Chris Lee
4%2 = 0 4 div 2 equals remainder 0 2 div 4 doesnt divide so your left with the remainder equal to what you started with, 2 -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Mike P"" <[EMAIL PROTECTED]> wrote in message 94qjq0$rde$[EMAIL PROTECTED]">news:94qjq0$rde$[EMAIL PROTECTED]..

Re: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Chris Lee
havent tested this but im almost sure that netscape waits until the entire page is downloaded until being displayed IF there are tables on the page. write a small test script to see if Im right. -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Spallek, Heiko"" <[EMAIL PROTECTED]> wro

RE: [PHP] phpinfo ?

2001-01-26 Thread John Guynn
I've always used the echo and it does work under PHP4...just tested it on www.teamkaos.org before I made my post. John Guynn This email brought to you by RFCs 821 and 1225. -Original Message- From: H. Wade Minter [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 4:47 PM To: Joh

Re: [PHP] Detect directory

2001-01-26 Thread Chris Lee
\n"; echo "$PHP_SELF \n"; ?> Try that. or am missunerstanding the question? Chris Lee Mediawaveonline.com ""Marx Gomes"" <[EMAIL PROTECTED]> wrote in message 012601c087d8$2ef57da0$[EMAIL PROTECTED]">news:012601c087d8$2ef57da0$[EMAIL PROTECTED]... > Hello, > > How can I detect the director

RE: [PHP] phpinfo ?

2001-01-26 Thread H. Wade Minter
That's incorrect, at least under PHP4. I've got the following file that does the phpinfo stuff perfectly: BEGIN FILE END FILE On Fri, 26 Jan 2001, John Guynn wrote: > Actually what you need is otherwise you're never > going to get anything on the screen. > > John Guynn > > This ema

[PHP] really need help...

2001-01-26 Thread Shane McBride
I am getting this error and I don't understand. I am running PHP 4.0.4 and Xitami web server on Windows 98SE. I know this is not the most ideal setup, but I just use it for developing. Warning: Unable to create 'd:\sites\merchantpower\mp\images\': Permission denied in d:/sites/MerchantPower/mp

Re: [PHP] form validation :ereg ()

2001-01-26 Thread Felipe Lopes
Hi! I think you u put ereg("([a-z,A-Z][ë,à]?)",$firstname) The point is the question mark "?" because it means that it's not request... Try it..I hope it will work! Felipe Lopes Em Fri, 26 Jan 2001 17:02:12 - "kaab kaoutar" Escreveu: > Can u please help! > > well i want to ch

Re: [PHP] mail()

2001-01-26 Thread Toby Butzon
You may need to check your mail server's error logs and see if something's happening there. Assuming PHP _is_ finding the mail server and attempting to send the message, there must be some problem at the mail server (ie, no relay access for the IP where your script is running, etc.). --Toby TraX

[PHP] mail()

2001-01-26 Thread TraXter
Hello php-general, i get an unknown error with mail(). I dont know why but maybe somebody knows what i can do. the code: The error: Warning: Unknown error in ./mailtest.php on line 2 i set up the php.ini correctly !!! Plz help me! -- Best regards, TraXter mail

[PHP] telnet timeout

2001-01-26 Thread Paul DN
Hello, anybody know, how can i change the timeout of the telnet server in a redhat 6.2? Thanks _ Get your own i8that.com email addresses. It's Fun! It's Free! Go to---> http://www.i8that.com -- PHP General Mailing List (http

Re: [PHP] include_path in windows

2001-01-26 Thread Chris Hayes
Shane McBride: > I am trying to get my php.ini file configured correctly. > I have a script that calls the require function/command( I'm not sure which > it is..) > > Here's what the .ini file is: > include_path=d:\sites;d:\sites\merchantpower\setup > > According to the notation in the .ini fil

Re: [PHP] URGENT:Passing input type file

2001-01-26 Thread Chris Hayes
> Hi, how can I pass an input type of file? I can get the value & I am able to > open the specified file when I pass it from the original form to the second > form but when I pass the value from the second form to the third form using > the hidden type, the file cannot be found... please help.

RE: [PHP] phpinfo ?

2001-01-26 Thread John Guynn
Actually what you need is otherwise you're never going to get anything on the screen. John Guynn This email brought to you by RFCs 821 and 1225. -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 3:30 PM To: kaab kaoutar; [EMAIL PROTECTED

[PHP] move_uploaded_file - getting furthur ..still need help

2001-01-26 Thread Shane McBride
Here's what I get: Warning: Unable to create 'd:\sites\merchantpower\mp\images\': Permission denied in d:/sites/MerchantPower/mp/admin/add_record2.php on line 47

Re: [PHP] Looking for Code Example: Telneting to server to verifypassword

2001-01-26 Thread Lic. Rodolfo Gonzalez Gonzalez
On Thu, 25 Jan 2001, Scott Brown wrote: > I dont know if this is reasonable to do or not, but what I'm thinking of > validating a user based on his/her current username/password. > > Does anyone know if this is possible to do? > > Or better yet - does someone have some code sitting around I can s

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

2001-01-26 Thread Egon Schmid
eschmid Fri Jan 26 13:41:38 2001 EDT Modified files: /php4/ext/sybase_ct php_sybase_ct.c Log: Mostly off by one. Index: php4/ext/sybase_ct/php_sybase_ct.c diff -u php4/ext/sybase_ct/php_sybase_ct.c:1.40 php4/ext/sybase_ct/php_sybase_ct.c:1.41 --- php4/ext/sybas

[PHP] Installing PHP on Windows Command Line?

2001-01-26 Thread Jonathan Sharp
I want to setup php so that when I click a PHP script local to my hard drive: C:\test.php it will run it through the PHP.exe parser but display the results in my web browser...Anyone done this? Thanks, -Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

[PHP] Detect directory

2001-01-26 Thread Marx Gomes
Hello, How can I detect the directory where my file is in? i.e. I want the same file to do something different depending on where it is located. Is there a function for that? Thanks for the attention! Marx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] HTTP_COOKIE_VARS["htscallerid"] and url_rewriter.tags

2001-01-26 Thread Trevor DeVore
Hello all, I was just taking a look at the latest php4 snapshot and came across this in the phpinfo: HTTP_COOKIE_VARS["htscallerid"]. It seems that "htscallerid" is set the first time a person comes to the site if cookies are enabled and isn't set if cookies aren't enabled. Is this correct? A

[PHP] Nesting Classes?

2001-01-26 Thread Clarence Kwei
I tried to do the following: class some_class { var $something; function select_something () { $query = "SELECT something FROM something_tb WHERE something = '$this->something'"; $db = new db_sql; $db->query($query); $db->next_record (); $t

Re: [PHP] Detect if Header has been written

2001-01-26 Thread Philip Olson
Karl, This may work for you : http://www.php.net/manual/en/function.headers-sent.php Philip On Fri, 26 Jan 2001, Karl J. Stubsjoen wrote: > How can I check if Headers have been written to the browser? > > Thank You! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscri

Re: [PHP] PHP Library for currency conversions

2001-01-26 Thread Philip Olson
There was a discussion of one that starts here : http://marc.theaimsgroup.com/?l=php-pear&m=97879652231768&w=2 Not sure how far along it is and that discussion is more about "where to put it in PEAR" and it's not yet in PEAR so who knows, perhaps you can ask the author about it. At somepoin

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Chris
Ahh, thank you everyone...now I just have to figure this beast out - Original Message - From: "Jason Bouwmeester" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 4:23 PM Subject: RE: [PHP] Help Please, MySQL is driving me insane > Ummm try going into c:\m

RE: [PHP] phpinfo ?

2001-01-26 Thread Robert Collins
looks like you forgot the semi-colon (;) at the end of phpinfo(); Robert W. Collins Web Developer II Insight / TC Computers www.insight.com www.tccomputers.com - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:23 AM Su

Re: [PHP] phpinfo ?

2001-01-26 Thread April
Look at your source, also. Do you still see the part of the page? If you do, it's not being processed. (configuration is wrong, you named it .htm, something like that). - Original Message - From: "Shane McBride" <[EMAIL PROTECTED]> To: "kaab kaoutar" <[EMAIL PROTECTED]>; <[EMAIL PROTE

[PHP] Detect if Header has been written

2001-01-26 Thread Karl J. Stubsjoen
How can I check if Headers have been written to the browser? Thank You! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] phpinfo ?

2001-01-26 Thread Shane McBride
Try this: -Shane - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:23 AM Subject: [PHP] phpinfo ? > Hi there! > > I'm sure it's a stupid problem but the phpinfo does work while trying the > following html code

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

2001-01-26 Thread Egon Schmid
eschmid Fri Jan 26 13:22:32 2001 EDT Modified files: /php4/ext/hyperwave hw.c Log: Fixed another proto. Index: php4/ext/hyperwave/hw.c diff -u php4/ext/hyperwave/hw.c:1.73 php4/ext/hyperwave/hw.c:1.74 --- php4/ext/hyperwave/hw.c:1.73Fri Dec 22 04:57:05

RE: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Jason Bouwmeester
Ummm try going into c:\mysql\bin and running winmysqladmin.exe or MySqlManager.exe - I can't remember which one I ran. HTH, jb -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 8:29 PM To: Jason Bouwmeester; PHP Subject: Re: [PHP] Help Please, MySQL

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Shane McBride
The username that it defaults to is root, with no password. There is a command you need to run to set a password. - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "Jason Bouwmeester" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:29 PM Subject:

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Shane McBride
Have you started the server? If not go to the command prompt and: 1. cd c:\mysql\bin (assuming this is where it was installed. 2. type mqsqld-opt (optimized for pentium class PC) That should start the server. If you need more help let me know. - Shane - Original Message - From: "Chris"

Re: [PHP] phpinfo ?

2001-01-26 Thread Wayne Topa
Subject: [PHP] phpinfo ? Date: Fri, Jan 26, 2001 at 03:23:16PM - In reply to:kaab kaoutar Quoting kaab kaoutar([EMAIL PROTECTED]): > Hi there! > > I'm sure it's a stupid problem but the phpinfo does work while trying the > following html code: > > PHP Test > > > > >

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Chris
But i installed it to the default c:\mysql. How can I set a username and such to allow me to use it on my cpu? - Original Message - From: "Jason Bouwmeester" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 4:12 PM Subject: RE: [PHP] Help Please, MySQL is dr

Re: [PHP] where is -> and <<< in the manual

2001-01-26 Thread Toby Butzon
The -> operator is used with class objects. See the manual section on classes & objects ;) The <<< is used with here-doc strings. I believe you'll find it in the strings section of the manual. Examples: $myObj = new myClass; $myObj->somevar = "This is some var"; $str = << To: <[EMAIL PROTECTED]

Re: [PHP] rand(), mt_rand(), and my inability to make either of them random.

2001-01-26 Thread April
lol, nm, you weren't. Why does it return Warning: Use of undefined constant U - assumed 'U' in c:\apache\htdocs\temp\random.php on line 4 if I don't use quotes, though? ayway, I'm going to give up on this. Thanks, though. - Original Message - From: "April" <[EMAIL PROTECTED]> To: "R

RE: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Jason Bouwmeester
I just installed mySQL yesterday from mysql.com (or .net or whatever it was). It installed fine, there was a note about what to do if you didn't install it to c:\mysql properly - I installed mine to a different directory, followed the instructions and all went fine. Might be one place to start. H

Re: [PHP] rand(), mt_rand(), and my inability to make either of them random.

2001-01-26 Thread April
Thanks. It doesn't need to be completely random, just, more random than "1". The occasional 3 would be enough for me. And,t hank you very very much. You forgot the quotes around the U, btw. *huggss* - Original Message - From: "Robert Collins" <[EMAIL PROTECTED]> To: "'April'" <[EMAIL

Re: [PHP] rand(), mt_rand(), and my inability to make either of themrandom.

2001-01-26 Thread Philip Olson
Hi April, You need to plant seeds to reach this goal, it discusses this in manual under rand() and mt_rand() so have a look here : http://www.php.net/manual/en/function.rand.php Which links to and talks about srand : http://www.php.net/manual/en/function.srand.php A seedless rand()

[PHP] PHP.INI

2001-01-26 Thread Steve Haemelinck
Should I place the error_log dir between quotes? "/var/log/php4/error.log" Or not? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Use of exec() in windows

2001-01-26 Thread Shane McBride
All, I'm trying to port a wonderful application over to miserable windows. I can not find documentation of how to invoke exec on windows. Here's what I tried: // Creates the image file with a timestamp $timestamp = time(); $image= $timestamp.$picture_name; if ($PLATFORM == "windows") { $new_pat

  1   2   3   >