Re: [PHP] HAPPY VALENTINES DAY

2002-02-13 Thread TV Karthick Kumar
Oh, ok when did PHP started celeberating valentine's day ?!?!?!?!?!?!! Karthick > Hi friends, > Wish you all A very Happy Valentines Day!!! > May this Day bring in lots of Joy, Happiness, Success, Love > May all your dreams come true > > Warm Regards , > Balaji > > >

RE: [PHP] Setting up group mailer

2002-02-13 Thread Niklas Lampén
Firstly: Keep track very carefully to whom you've allready sent the message, it might allways crash. Second: Add some Sleep()'s so it won't kill your mailserver. Third: Don't spam. :) Niklas -Original Message- From: phantom [mailto:[EMAIL PROTECTED]] Sent: 14. helmikuuta 2002 9:11 T

[PHP] Setting up group mailer

2002-02-13 Thread phantom
I am planning a script that will send mail to all my clients (potentially up to 1, even more clients)... I figured I can loop a mailer script for every client (I don't want to have more than one email address per message in the recipient field). Any special advise or pages I could view for h

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 19:18, Reuben D Budiardja wrote: > Yes, I have. I follow the example exactly from > http://www.php.net/manual/en/features.file-upload.php. Well, that's the problem then. The example in the manual is buggy. :) This was fixed in cvs earlier today, actually, but the online m

RE: [PHP] Webhosts

2002-02-13 Thread Michael Romagnoli
I would also, once again, toot the horn in favor of: www.spyproductions.com -Mike The unbiased, broken record. At 11:41 PM 2/13/02 -0500, R'twick Niceorgaw wrote: >I have been with aletiahosting for few months and been quite happy with >them. >if you compare the price/features aletiahosting i

RE: [PHP] Webhosts

2002-02-13 Thread R'twick Niceorgaw
I have been with aletiahosting for few months and been quite happy with them. if you compare the price/features aletiahosting is a good one. their support is good though been detoriated some how... some members do complain about tickets not been resolved quickly but I never had such an experience

[PHP] HAPPY VALENTINES DAY

2002-02-13 Thread Balaji Ankem
Hi friends, Wish you all A very Happy Valentines Day!!! May this Day bring in lots of Joy, Happiness, Success, Love May all your dreams come true Warm Regards , Balaji **Disclaimer

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Well I tried what Gary suggested. I did "smtp.mindspring.com" and it worked beutifully. I feel stupid that the problem was so simple. But, alas, I'm learing. Thanks all you. Robley, that is some very informative information, this "digging". dig -t mx alienmelon.com in console right? "David Rob

RE: [PHP] Is this possible?

2002-02-13 Thread Rick Emery
Yes, you can do this. In the script below, I read the sub-directory from a MYSQL database. This is overkill for just a few domains, but great for a hundred. This is index.html file: $query"); if( mysql_num_rows($results)<>1 ) { print "Error: Cannot find sub-domain ".$HTTP_SERVER_VARS['HTTP_HOS

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Alright, I will show you my entire mail code here. BTW: I cannot mail using > mail() function > > [mail function] > ; For Win32 only. > SMTP = mindspring.com > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED] > > ; For Unix onl

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
On Wednesday 13 February 2002 09:57 pm, you wrote: > On Wed, 2002-02-13 at 18:53, Reuben D Budiardja wrote: > > print_r $HTTP_POST_FILE gives me: > > > > Array ( [userfile] => Array ( [name] => timecard.png [type] => image/png > > [tmp_name] => /home/web/phpZKBTak [size] => 38656 ) ) > > > > But I

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 18:53, Reuben D Budiardja wrote: > Sorry, I meant to include those information. > > Here is from php.ini > > ; File Uploads ; > > file_uploads = On; Whether to allow HTTP file uploads > upload_tmp_dir = /home/web > upload_max_files

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Gary
smtp.minspring.com is the address for out going mail. Gary Dr. Shim wrote: > Alright, I will show you my entire mail code here. BTW: I cannot mail using > mail() function > > [mail function] > ; For Win32 only. > SMTP = mindspring.com > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED]

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
Sorry, I meant to include those information. Here is from php.ini ; File Uploads ; file_uploads = On; Whether to allow HTTP file uploads upload_tmp_dir = /home/web upload_max_filesize = 2M; Maximum allowed size for uploaded files PHP Version 4.

[PHP] Is this possible?

2002-02-13 Thread Leif K-Brooks
I would like to have multiple domains and have them forwarded to different folders, so I'd only need one hosting account. Example: www.domain1.com goes to www.domain.com/domain1 www.domain2.com goes to www.domain.com/domain2 I would like to do this in php. Of course, to do this, I'd need to ge

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 18:26, Reuben D Budiardja wrote: > Thanks. I follow the manual. I changed my php.ini: > upload_tmp_dir = '/home/web/' > which is writable by web (the user running apache/php) and restart apache. > > However, after I upload the file, I can't find it. When I do > print_r($H

[PHP] Webhosts

2002-02-13 Thread Ben Clumeck
I have found 2 webhosts that provide PHP and MySQL: www.aletiahosting.com www.rackspace.net Does anybody have experience with either one (good or bad)? Or does anyone use a good low price host? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
Thanks. I follow the manual. I changed my php.ini: upload_tmp_dir = '/home/web/' which is writable by web (the user running apache/php) and restart apache. However, after I upload the file, I can't find it. When I do print_r($HTTP_POST_FILE), here is what I got: Array ( [userfile] => Array (

[PHP] Authentication with sessions - Recommendation and suggestions?

2002-02-13 Thread Harry Yu
Hi All, I'm trying to setup an authentication process and sessions to protect some of my pages for valid users only. The following are what I had in mind: login.php-- Protected Page" } else { header ( "location: http://server/login_page.php\n\n"; ); } ?> protected_page.php http://server/lo

Re: [PHP] Browse and Upload file

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 17:38, Reuben D Budiardja wrote: > > Hi, > Does anyone know how to upload file using Web Browser as the interface? > > I want to do a web page, where you can click on a button, and then you can > browse the local directories of the person who are browsing the page, and >

[PHP] Browse and Upload file

2002-02-13 Thread Reuben D Budiardja
Hi, Does anyone know how to upload file using Web Browser as the interface? I want to do a web page, where you can click on a button, and then you can browse the local directories of the person who are browsing the page, and upload a selected file to the web server. Any pointer on how to do th

RE: [PHP] Troubles With Mail Function

2002-02-13 Thread Martin Towell
I think the SMTP would be same as you use for your email client (outlook, eudora, other?) -Original Message- From: Dr. Shim [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 11:33 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Troubles With Mail Function Alright, I will show you

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Alright, I will show you my entire mail code here. BTW: I cannot mail using mail() function [mail function] ; For Win32 only. SMTP = mindspring.com ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path

[PHP] compiling modues

2002-02-13 Thread Andreas Gietl
hi, i am looking for a good documentation how i can build the "standard" php-modules like mysql or like postgres as loadable extensions on linux-systems. Just doing make in the appropriate directories just gives .la files which are not loadable like the normal .so files. Can you point me at a

[PHP] Off the topic

2002-02-13 Thread Dani
Hi everyone! Firstly I appologise that my topic may not be relevant to our list. Has anybody ever setup a credit card form? I don't know how it works until we receive all of the payment and the money is trnsfered into an account etc.. Could somebody give any advise on where I can learn all of

[PHP] Re: php dies every 2 days

2002-02-13 Thread David Robley
In article <005c01c1b4c8$0ad42a20$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, everybody, I have a problem which is really annoying. MY php dies every 2 days. >I'm not a programmer, I'm more as a system administator > > I have the following configuration on my machine > Linux RedHat 7.2

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Actually, I don't really know what to put in it. I thought that's what it > wanted. What does it want? > > "David Robley" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED

[PHP] Re: PHP & GD - Nevermind! Thanks!

2002-02-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > > Thank you to anyone looking into my question, but it is moot; seems the two > scripts I was given initially are just buggy. I found one that isn't, and > it works fine. > > Anyone have any idea what would be a practical application

Re: [PHP] ODBC_EXECUTE has a DANGEROUS 'feature'!!!

2002-02-13 Thread Lars Torben Wilson
On Mon, 2002-02-11 at 00:21, * R&zE: wrote: > I understand you try to 'protect' your own product, but you have to > stay a bit realistic about some things. Ofcourse I check the input. > But you know... there's absolutely nothing wrong with allowing > quotes to be stored in the database. It's just

[PHP] Re: PHP & GD - Nevermind! Thanks!

2002-02-13 Thread J Smith
For a site I work for, I've found two decent uses: 0. Our logo is dynamically created on demand. The logo features a random "DNA-blot" distibution and a random wave-like pattern, some like what you'd see in a graphic equalizer on a stereo display. Each time our logo is viewed, it's slightly d

Re: [PHP] Re: mail headers

2002-02-13 Thread Gary
You can't do a tell a firend script on the same page as your mail. 1. link all the pages you want to have mailed to a page that has a form on it. 2 on the page with the form you collect the info you want like the example below. Notice the hidden field. The form action passes the stuff off to t

RE: [PHP] trouble with headers

2002-02-13 Thread Rick Emery
Erik, > Thanks for clearing that up Torben. > (It seems that whenever I ask a question, you always have the answer.) Next time you go to the PHP Manual (dated 19-09-2001) for answers, go to the title page and count down 5 names... rick -Original Message- From: Erik Price [mailto:[EMA

Re: [PHP] how a function 'return' statement works

2002-02-13 Thread Gerhard Hoogterp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 February 2002 22:55, Erik Price wrote: > Can anyone give my puny mind an explanation as to why the following > function only returns the value "Array" ? > > # === > # get_curr

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Michael Geier
You might also find it easier to type: -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 4:14 PM To: PHP Subject: RE: [PHP] Filling Forms with $variables also remember that strictly speaking, _all_ html attribute values _should_ be qu

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Adding quotes around the whole php statement works! I also tried the htmlspecialchars() function, but that did not work. It makes sense because after the preprocess of php, no quotes would be left... it's obvious now :) Thank you Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PR

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Martin Towell
also remember that strictly speaking, _all_ html attribute values _should_ be quoted -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 9:07 AM To: PHP Subject: RE: [PHP] Filling Forms with $variables Enclose the value in quotes, like so:

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 13:56, Steven Walker wrote: > Hi, > > I'm having trouble setting the value of form elements using variable > values. For example: > > > > > > > > In the browser, the name field is only filled with "Steven", and drops > off everything after the space. If I echo $

Re: [PHP] arrays with form data?

2002-02-13 Thread Bas Jobsen
> Op woensdag 13 februari 2002 23:04, schreef Police Trainee: > good evening gentlemen. I am attempting (with my oh so > limited php writing abilities) to write a script that > will take the second "part" of a form item's data and > process it separately. To elaborate: > > > > > > When pr

RE: [PHP] arrays with form data?

2002-02-13 Thread Rick Emery
list($mytext,$mynbr) = explode(","$FORM_ITEM); -Original Message- From: Police Trainee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 4:05 PM To: PHP Subject: [PHP] arrays with form data? good evening gentlemen. I am attempting (with my oh so limited php writing abilities

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Johnson, Kirk
Enclose the value in quotes, like so: "> The browser can't know that "Steven Walker" is all one string unless it is quoted. It thinks the 2nd part of the name after the space is the next attribute, unless it is quoted, i.e., it is seeing value=Steven Walker> Kirk > -Original Message-

RE: [PHP] how a function 'return' statement works

2002-02-13 Thread Darren Gamble
Good day, You're returning $current_page_name. $current_page_name is set to the return value for array_slice. And array_slice returns an array. So, $current_page_name will be an array. So, you'll always return an array. I think what you're trying to do is return one particular element out o

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Christopher William Wesley
On Wed, 13 Feb 2002, Steven Walker wrote: > > > > > > > In the browser, the name field is only filled with "Steven", and drops > off everything after the space. If I echo $name outside of the form it You need to put quotes around the value. value=""? g.luck, ~Chris

[PHP] arrays with form data?

2002-02-13 Thread Police Trainee
good evening gentlemen. I am attempting (with my oh so limited php writing abilities) to write a script that will take the second "part" of a form item's data and process it separately. To elaborate: When processing, I want the first part of the value (TextHere or OtherText) to be used for on

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Rick Emery
try: "> -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 3:56 PM To: PHP Subject: [PHP] Filling Forms with $variables Hi, I'm having trouble setting the value of form elements using variable values. For example: >

RE: [PHP] how a function 'return' statement works

2002-02-13 Thread Rick Emery
If your call to the function is: print get_current_page_name() then you are getting the expected results, a description of the returned value. Change your call to: $myarrray = get_current_page_name(); Then iterate through $myarray to print each value; -Original Message- From: Erik Pric

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Matt Schroebel
Always use htmlspecialchars() on form value fields and any data you put into the tags. -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] > In the browser, the name field is only filled with "Steven", and drops off everything after the space. If I echo $na

Re: [PHP] trouble with headers

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 04:12 PM, Lars Torben Wilson wrote: > Well, PHP isn't an HTML parser and has no concept of a DOM, or the > SGML-based nature of HTML, or anything like that (although there are > extensions which do this). Essentially, PHP generates a series of bytes, > which

[PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Hi, I'm having trouble setting the value of form elements using variable values. For example: > In the browser, the name field is only filled with "Steven", and drops off everything after the space. If I echo $name outside of the form it prints fine. Any help would be really appr

[PHP] how a function 'return' statement works

2002-02-13 Thread Erik Price
Can anyone give my puny mind an explanation as to why the following function only returns the value "Array" ? # === # get_current_page_name() # --- # Returns the current docum

Re: [PHP] querystrings passed in header("Location: n") ?

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 03:57 PM, Lars Torben Wilson wrote: > First to the original question: yes, querys are allowed in Location > headers, according to RFC 2616 (HTTP 1.1) and RFC 2396 (URI Generic > Syntax). And, they've always worked for me, so your problem must be > elsewhere.

[PHP] Re: Functions

2002-02-13 Thread Jason Whitaker
Ok, thanks, both of you :) -- Jason Whitaker "Jason Whitaker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... : Is there a website that lists all the default functions and variables? : : EI: $REMOTE_ADDR AND $PHP_SELF : : -- : : Jason Whitaker : : -- PHP Gen

RE: [PHP] Re: mail headers

2002-02-13 Thread Rick Emery
$HTTP_REFERER is the address of the URL that you came from. If you want the URL that you are mailing from, then use $PHP_SELF try '; echo ' Enviar esta página a un amigo'; $referer = getenv("HTTP_REFERER"); mail ('[EMAIL PROTECTED]','Prueba de email',$referer); echo ' enviado..'; ?>

RE: [PHP] Functions

2002-02-13 Thread Narvaez, Teresa
Try the phpinfo() function: Example: PHP Test -Teresa -Original Message- From: Jason Whitaker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 4:15 PM To: [EMAIL PROTECTED] Subject: [PHP] Functions Is there a website that lists all the default functions and variable

RE: [PHP] Functions

2002-02-13 Thread Daniel Kushner
http://www.php.net/manual/en/language.variables.predefined.php http://www.php.net/manual/en/funcref.php > -Original Message- > From: Jason Whitaker [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 4:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Functions > > > Is there a

Re: [PHP] Re: mail headers

2002-02-13 Thread Renato Salvatore Moya L.
ah! ,i to me it forgot i try only $HTTP_REFERER and not result "Renato Salvatore Moya L." ha escrito: ok gays, thank for all, but i try and no result good :-( look this : My PHP-Script : echo ' Prueba de Email'; echo ' Enviar esta página a un amigo'; $referer = getenv("HTTP_REFERERl"); mail ('[EM

[PHP] Functions

2002-02-13 Thread Jason Whitaker
Is there a website that lists all the default functions and variables? EI: $REMOTE_ADDR AND $PHP_SELF -- Jason Whitaker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mail headers

2002-02-13 Thread Renato Salvatore Moya L.
ok gays, thank for all, but i try and no result good :-( look this : My PHP-Script : echo ' Prueba de Email'; echo ' Enviar esta página a un amigo'; $referer = getenv("HTTP_REFERERl"); mail ('[EMAIL PROTECTED]','Prueba de email',$referer); echo ' enviado..'; ?> Well this script i execute and the

Re: [PHP] trouble with headers

2002-02-13 Thread Lars Torben Wilson
On Tue, 2002-02-12 at 17:57, Erik Price wrote: > Sorry, I debugged it myself. > > Don't add extra whitespace lines after you jump out of PHP mode (for > instance, at the end of an include file, don't have any extra lines > after the '?> PHP-jump-out mark'. The extra lines at the bottom of the

Re: [PHP] querystrings passed in header("Location: n") ?

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 07:34, Erik Price wrote: > > On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote: > > > try: > > header("Location: > > domain.com/errorpage.php?errorcode=".urlencode($errorcode)); First to the original question: yes, querys are allowed in Location headers, acco

[PHP] Sessions?

2002-02-13 Thread Morten Nielsen
Hi, I have a site where users should log in. What is smartest/most secure way of handling this? Should I use sessions, HTTP authentication or just pass the parameters when I call a new page? Thanks, Morten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

RE: [PHP] Re: mail headers

2002-02-13 Thread Keith V. (Vance Consulting LLC)
On 13 Feb 2002 at 14:40, Rick Emery wrote: > Renato, > > To send mail, use PHP's mail() function: > mail($recipient,$subject,$message,$headers); > > You can reference $HTTP_REFERER directly without saying getenv(HTTP_REFERER) Yeah, and if your mail function is being called within a function, j

RE: [PHP] Re: mail headers

2002-02-13 Thread Rick Emery
Renato, To send mail, use PHP's mail() function: mail($recipient,$subject,$message,$headers); You can reference $HTTP_REFERER directly without saying getenv(HTTP_REFERER) -Original Message- From: Renato Salvatore Moya L. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 2:34

Re: [PHP] Re: mail headers

2002-02-13 Thread Keith V. (Vance Consulting LLC)
On 13 Feb 2002 at 17:33, Renato Salvatore Moya L. wrote: > Hi, i'm writte from Chile. If you writte to little php-script for send mail, what >send you mail ?. > > I question you, because i'm writte a tipical php-script " tell a friend", but i have >problems with "getenv(HTPP_REFERER)", because

RE: [PHP] Php is serversided????

2002-02-13 Thread Keith V. (Vance Consulting LLC)
Just remember that what the user sees is always just static html. If some decision needs to happen the user has to send some sort of request of the web server to do something, and that's where PHP does its thing. For client-side stuff, like Java Applets. There is actually code running on the u

[PHP] Re: mail headers

2002-02-13 Thread Renato Salvatore Moya L.
Hi, i'm writte from Chile. If you writte to little php-script for send mail, what send you mail ?. I question you, because i'm writte a tipical php-script " tell a friend", but i have problems with "getenv(HTPP_REFERER)", because send only my https fixed. Renato. Stalmannen ha escrito: > Hej

[PHP] Problem with CVS access

2002-02-13 Thread David McMahon
I can't get the Zend and TSRM directories from CVS: $ cvs -d :pserver:[EMAIL PROTECTED]:/repository co Zend TSRM cvs server: Updating Zend cvs server: cannot open directory /repository/Zend: Permission denied cvs server: skipping directory Zend cvs server: Updating TSRM cvs server: failed to cre

RE: [PHP] Php is serversided????

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 11:56, Rick Emery wrote: > The if-statements are based upon values read from session variables, > cookies, values from databases, and values for the form that was just > submitted. > > So, no, there are no if-statements executed on data the user has not > submitted. Say wha

[PHP] GOOD, EASY part-time jobs for webmasters!!!

2002-02-13 Thread Balazs Laszlo
Hi! You can find many part-time jobs for you at: http://endi.go.ro/ml.htm __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Convert a string to an array w/o spliting or exploding

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 09:06, Erik Price wrote: > > On Wednesday, February 13, 2002, at 10:19 AM, brendan conroy wrote: > > > Hi, thanks for reading this novice question, I'd be grateful if someone > > could email me and tell me if its possible to convert a string to an > > array whithout usin

RE: [PHP] php dies every 2 days

2002-02-13 Thread Rick Emery
How is PHP dying? Is it really you web-server that is dying? What happens when you execute PHP at the command line? -Original Message- From: Ice [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 1:53 PM To: [EMAIL PROTECTED] Subject: [PHP] php dies every 2 days Hi, everybo

RE: [PHP] Php is serversided????

2002-02-13 Thread Rick Emery
The if-statements are based upon values read from session variables, cookies, values from databases, and values for the form that was just submitted. So, no, there are no if-statements executed on data the user has not submitted. -Original Message- From: Morten Nielsen [mailto:[EMAIL PRO

[PHP] php dies every 2 days

2002-02-13 Thread Ice
Hi, everybody, I have a problem which is really annoying. MY php dies every 2 days. I'm not a programmer, I'm more as a system administator I have the following configuration on my machine Linux RedHat 7.2 php-4.0.6-7.i386. As soon as I reinstall php package (RPM) it works for the next few days

[PHP] Php is serversided????

2002-02-13 Thread Morten Nielsen
Hi, I don't understand... Everybody says PHP is server based, so everything is calculated before the user sees it in his browser. But if that is the case how is it then possible to use if-statements. Wouldn't that mean that the if-statement has been executed before the user makes a selection? Ple

Re: [PHP] Convert a string to an array w/o spliting or exploding

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 07:19, brendan conroy wrote: > Hi, thanks for reading this novice question, I'd be grateful if someone > could email me and tell me if its possible to convert a string to an array > whithout using the split[] or explode[] function, as these aren't > appropriate for the tas

[PHP] Security Issue?!

2002-02-13 Thread Fredrik Arild Takle
Hi, I found a weekness in one of my local dev projects today. php.ini is set ut with cookies off in session handling. I asked another user to send me his url when logged in, I copied and pasted it and then I was logged in as him. What should I do? Turn cookies on? Or write ip to mysql? or...?

RE: [PHP] Troubles With Mail Function

2002-02-13 Thread Rick Emery
show us more code. I believe SMTP would require the mail server Can you mail via the mail() function? -Original Message- From: Dr. Shim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:44 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Troubles With Mail Function Actually,

Re: [PHP] PHP Work in New York

2002-02-13 Thread Casey Allen Shobe
Why not start a php-jobs mailing list? It would be an ideal place for employers and job seekers alike, just like the SecurityFocus security-jobs mailing list. - Casey On Tuesday 12 February 2002 17:28, you wrote: > On Tuesday, February 12, 2002, at 05:17 PM, NDPTAL85 wrote: > > You know at mo

[PHP] Freebsd, php and mail

2002-02-13 Thread Matt Schroebel
I figured this one out, so I thought I'd put it in the archives ... I just spent a few hours pulling my hair out because the mail sent by mail() was coming from 'unprivileged user' on my freebsd box. It worked fine for another site on the same box. It turned out that I has mistakenly appended

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Actually, I don't really know what to put in it. I thought that's what it wanted. What does it want? "David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Well, I did this: > > [mail function] >

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Matt Schroebel
Me thinks you need to have file privileges. See http://www.mysql.com/doc/P/r/Privileges_provided.html -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] the current problem at hand of getting the : error:Access denied for user: 'mjimm@localhost' (Using password: YES)

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Darren Gamble
Good day, That's difficult to say, as I'm not familiar with running MySQL on Windows. You should print out $query, and then make sure the file exists and that the MySQL server has the permissions to read it. Remember that it's the server that's reading in the file, not whatever the client is (

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
> Enum is not a function; it's a mysql data type. It's very useful when field > values are from the finite set. > > Examples > > CREATE table fanlist_try (ID bigint(21) > NOT NULL auto_increment, name varchar(50), email > varchar(70), age int(10), sex enum('male','female'), country > varchar(50),

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Alastair Battrick
> Lookin for about 50 Megs with php4, mySQL and the > works. Any economical hosts?? You could try: http://www.datasnke.co.uk And I am biased... Alastair Lightwood Consultancy Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Val, hey thanks.. that's a very interesting data type. wonder why i never knew it. thanks a bunch. i'll def. be using it more often now. the current problem at hand of getting the : error:Access denied for user: 'mjimm@localhost' (Using password: YES) is really jamming the thought process. i ha

[PHP] Re: mail headers

2002-02-13 Thread Corey Bakalarski
"Stalmannen" <[EMAIL PROTECTED]> wrote in message 001f01c1b485$ea5dcb30$6900a8c0@web">news:001f01c1b485$ea5dcb30$6900a8c0@web... Hej! I have a question. I send mail from a php-script with the mail()-function. However the smtp server I use has a wrong time set. Can I set the sent-time through the

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
Enum is not a function; it's a mysql data type. It's very useful when field values are from the finite set. Examples CREATE table fanlist_try (ID bigint(21) NOT NULL auto_increment, name varchar(50), email varchar(70), age int(10), sex enum('male','female'), country varchar(50), PRIMARY KEY (ID)

Re: [PHP] Getting days after last login. Date problem

2002-02-13 Thread Matt Moreton
You can convert both date formats into a UNIX timestamp, then do a picturedate > logindate. To convert them into a unix timestamp you need to use strtotime function http://www.php.net/manual/en/function.strtotime.php $ldate = strtotime($logindate); $pdate = strtotime($picturedate);

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Michael R @ Spy
You could try: www.spyproductions.com But I'm not biased! :) -Mike > -Original Message- > From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 12:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Cheap, PHP, mySQL hosting! > > > Hi, > > Lookin fo

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Val, quite frankly, i'm not quite sure i know what you're talking about. i don't think i know enum() function!! T. Edison jr. --- val petruchek <[EMAIL PROTECTED]> wrote: > > Hi Rick, > > > > Thanks for the support! > > This is the mySQL Table Structure : > > > > $sql = "CREATE table fanlist_tr

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Hi Darren, Actually your code worked, those errors did go way by putting in INTO TABLE .. but there's a very funny new problem. I get this error on the page : error:Access denied for user: 'mjimm@localhost' (Using password: YES) And believe me, i'm using the correct password/user! The same fil

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
> Hi Rick, > > Thanks for the support! > This is the mySQL Table Structure : > > $sql = "CREATE table fanlist_try (ID bigint(21) NOT > NULL auto_increment, name varchar(50), email > varchar(70), age int(10), sex varchar(20), country > varchar(50), PRIMARY KEY (ID))"; sex varchar(20) sounds great.

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Hi Rick, Thanks for the support! This is the mySQL Table Structure : $sql = "CREATE table fanlist_try (ID bigint(21) NOT NULL auto_increment, name varchar(50), email varchar(70), age int(10), sex varchar(20), country varchar(50), PRIMARY KEY (ID))"; And these are few lines from the fanlist.csv

RE: [PHP] querystrings passed in header("Location: n") ?

2002-02-13 Thread Rick Emery
This is frustrating, because I have used header("location") with parameters and it has worked. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:12 AM To: Rick Emery Cc: PHP Subject: Re: [PHP] querystrings passed in header("Location: n")

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Jackson Miller
I have been using http://www.cedant.com for about a year now. They have different packages for different needs. -Jackson -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Cheap, PHP, myS

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Darren Gamble
Good day, The proper syntax is: INTO TABLE and not: INTO Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECT

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Rick Emery
Thomas, Can you provide your table structure and about a dozen lines from your file? I'd like to experiment with it on my machine. We WILL get this resolved... rick -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:09 AM To: Ri

Re: [PHP] querystrings passed in header("Location: n") ?

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 10:37 AM, Rick Emery wrote: > What error did you receive? What was displayed? Please show your > code; I > hope there was no line break as shown below. Unfortunately, my mail > client > breaks lines after about 40 cchars. Well, to post the actual code w

Re: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Gary
Thomas Edison Jr. wrote: > Hi, > > Lookin for about 50 Megs with php4, mySQL and the > works. Any economical hosts?? > > thanks.. t. edison jr > > __ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Boaz Yahav
Check out : http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm This is your one stop shop for hosting. WeberDev.com is hosted there and I can tell you that their service is amazing. They are fast, reliable and more than anything, very professional (specially in PHP / MySQL). Sincer

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Oh yes, definately. With the appropriate columns too. --- Rick Emery <[EMAIL PROTECTED]> wrote: > Has fanlist_try table been created? > > -Original Message- > From: Thomas Edison Jr. > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 10:54 AM > To: Jason Murray > Cc: [EMA

  1   2   >