[PHP] how to config php.ini for use of email

2003-02-24 Thread steven
to my isp smtp computer name ; mail.pi.be on the mail.php I only have this lines Untitled Document I'm a beginner, please help steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] rtf files

2003-06-25 Thread Steven
nd contain anything upto 200 pages, and need to be imported by : id, filename, page_number , page_content. I can read whole file into a data table, but that doesnt split the file page by page. Has anyone any suggestion to how this can be accomplished, Steven -- PHP General Mailing

RE: [PHP] Whois...

2002-08-12 Thread Steven
... > http://www.easydns.com/~markjr/whois2/ Hello Steven, Thanks, But I don't understand wich files I have to use. In the FAQ, they talk about a package, I don't see it. Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] User data validation

2002-08-19 Thread Steven
standpoint, with my PHP script? The information will be both inserted into a database (MySQL) and sent via email. I have found examples for items such as phone numbers, addresses, email, etc., but nothing in regards to comments. Any direction would be greatly appreciated. Thank you, Steven -- PHP

[PHP] Line Breaks in dynamic Download

2002-09-06 Thread Steven
, when I did open the file with Notepad it did not contain any line breaks, Wordpad did have the line breaks. HTH Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] image viewing in the mail client

2002-09-30 Thread Steven
properly, we need to login to the proxy. Just a thought. -Steven -Original Message- From: Ramesh Nagendra Pillai [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:19 AM To: [EMAIL PROTECTED] Subject: [PHP] image viewing in the mail client Hai All I have developed an

[PHP] Include + $Variables Help

2002-06-08 Thread Steven
Here's my problem: I'm trying to make a simple publication of 30+ articles, using PHP but not MySQL. There are basically three components: - a table of contents (contents.html) - an article template (article.php) - and then 30+ text files. The idea I was going for was to make dyn

[PHP] Re: Include + $Variables Help

2002-06-08 Thread Steven
Problem resolved! I replaced with in article.php Worked exactly as I was trying for. Thanks for the help! Best regards, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Include + $Variables Help

2002-06-08 Thread Steven
Oops, typo: >> ... is suppose to read Also for reference, the error was: Warning: Failed opening '.txt' for inclusion (include_path='.;c:\php4\pear') in c:\server\www\article.php on line 9 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help needed

2001-08-24 Thread steven
PLEASE REPLY DIRECTLY TO THIS EMAIL ADDRESS, I AM NOT SUBSCRIBED TO THE LIST hi there I am trying to insert this code into my pages to dynamically add backwards and forwards links to my pages but the code keeps giving me errors. below is the code, if someone could please tell me what I am doing

[PHP] A few questions about system requirements

2004-09-24 Thread Steven
The big thing though, is would it be feasible to use a CMS system, could it handle that many people hammering away at it, and easily hook in all of the CMS's features into my main app (such as using smarty or somesuch) Please advise and thanks in advance! Steven A.

RE: [PHP] Re: A few questions about system requirements

2004-09-24 Thread Steven
ystem requirements Steven wrote: > Howdy, > > I'm going to be writing an app for our company that handles > the day-to-day processes here and I have a question for the experienced > devs out here that would know the ins and outs of working with CMS and > good s

[PHP] fputcsv() error message

2004-10-19 Thread Steven
Fatal error: Call to undefined function: fputcsv() in /home/webdev/sites/tracking_site/scripts/report.php on line 19 Is there something that I am missing? The code that I had entered in: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fputcsv() error message

2004-10-19 Thread Steven
Crapola. I guess that means a recompile... T.T`` Steven Altsman -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] fputcsv() error message On Tue, 19 Oct 2004 12:37:02 -0500, Steven <[EM

RE: [PHP] fputcsv() error message

2004-10-20 Thread Steven
n CVS) means that the manual is useless. I'll figure it out by myself. Steven Altsman -Original Message- From: Pablo Gosse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 12:40 PM To: Steven; [EMAIL PROTECTED] Subject: RE: [PHP] fputcsv() error message [snip] Fatal erro

[PHP] checking for internet connection

2005-07-20 Thread Steven
Hi I am looking for a simple way to check if the server is connected to the Internet, they use a dialup to get Internet connection, and I need to email reports out, but want to check to see if the user remembered to connect to the Internet first. If anybody has a nice script, or just a suggestio

[PHP] Howto connect to the internet using php

2005-07-21 Thread Steven
Is there any way for me to use php to make my windows xp pc connect to the internet, either by starting the windows dialer or by some other means? The windows machine uses a standard 56k dialup to connect to the internet. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] howto send a whole smarty page to a printer

2005-09-05 Thread Steven
Hi I am using smarty with my php site, I know you can send a whole smarty template page to a variable, is their any way i can easily print that variable out. or am i going about this the wrong way. I basically want to print the output of the page directly to the printer. I find using the I

[PHP] Secureing PHP.

2002-11-23 Thread Steven Adams
Hi, I am looking to secure my php install, like the settings in php.ini etc. I am using apache 1.3.27 and running latest php. Is there like a tut or something that can take u thought the php.ini and explain ina little more detail? safe_mode = Off is that a bad idea or should i leave it on..

[PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
s away from logging in and accessing our exclusive members area. To activate your membership, please click here: http://www.tricia-marwick.co.uk/members/activate.php?id=$userid&code=$d b_password Once you activate your memebership, you will be able to login with the following informati

Re: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
Hi Rich The prob is that the data isn't stored into the database as it should be and the user doesn't get an email back with their data. It seems to get lost before reaching the database, meaning the rest of it wont work, and i don't know why. Thanks Steven M -- PHP Gener

Re: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
there should have been if you filled in the form. If it was working fine you would recieve an email automatically at the address you specified. If you have any ideas what's wrong i'd love to hear them. Steven M "Rich Gray" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

[PHP] PHP/MySQL Query

2002-12-15 Thread Steven M
How do i make a form that will allow me to add 2 to the value of a MySQL field? I am trying to change it from 75 to 77. Is this possible? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL Query

2002-12-15 Thread Steven M
Leif Many thanks for that, your help is much appreciated. *smiles* Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strings and default values...

2002-12-20 Thread Steven Kallstrom
nd then repost the page with the stored values, the apostrophe appears escaped in the edit form. how can I solve this? 2) is it possible to put additional ('nested') php inside a heredoc, or will that text simply print out? Thank you, Steven Kallstrom

[PHP] Defaults in drop down list...

2003-01-06 Thread Steven Kallstrom
. $stateselected['$state'] is an array that stores the state that was selected on the prior form. is there an easier way, to have a default state picked out of this drop down list.??? Thanks, Steven Kallstrom

[PHP] InStallation Error Of ZendStudio on win98

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

[PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
res with how it appears on the list. I really would appreciate any help with this as i am a newbie to MySQL and PHP and am finding it a really steep learning curve. Thanks. Steven M --- include 'db.php'; $result = mysql_query("SELE

RE: [PHP] php editor

2003-01-12 Thread Steven Balthazor
package tremendously valuable to me (it keeps track of local changes as well as provides for looking back at previous cvs revisions and performing diffs against your current code, all within the IDE). HTH, Steven Balthazor -Original Message- From: Hannes Smit [mailto:[EMAIL PROTECTED

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
Hi Johannes Thanks for the help. I have taken out the mysql_close() and it looks like it is submitting ok (ie no error messages) but it is not updating the database when i check it. Any ideas? Thanks. Steven "Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message [EMAIL

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
errors. Best wishes. Steven M include 'db.php'; $result = mysql_query("SELECT newtest FROM users WHERE newtest = '$0'"); list($number) = mysql_fetch_row($result); if($number==0) {mysql_query("UPDATE users SET points = '$+2' WHERE newtest = '$0'&quo

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
Oops...many thanks for that. Sorry, i am extremely new to this. Best wishes. Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mail client?

2003-01-14 Thread Steven Balthazor
I use and recommend Squirrelmail. http://www.squirrelmail.org/ Steven Balthazor -Original Message- From: Henning Olsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 7:03 AM To: [EMAIL PROTECTED] Subject: [PHP] mail client? Does anyone know any reliable php/mysql mail

[PHP] Image opendialog function

2003-01-20 Thread Steven Seijmonsbergen
Hi I'm looking for a Opendialog function in php, With a thumb function where I can see examples of the selected photes? Does anyone Know that?? Greetz Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image opendialog function

2003-01-22 Thread Steven Seijmonsbergen
Hi I'm looking for a Opendialog function in php, With a thumb function where I can see examples of the selected photes? Does anyone Know that?? Greetz Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SSL...

2003-01-22 Thread Steven Kallstrom
some pointers to some good SSL tutorials, or any information that would be helpful in getting me started learning how this is all done. My server runs Apache, and has shared SSL. Thanks, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Functions Setup

2003-01-23 Thread Steven Balthazor
I am guessing that you installed the php from a redhat rpm; if so then you just need to install the php-mysql rpm. You can download from: http://rpmfind.net//linux/RPM/redhat/8.0/i386/php-mysql-4.2.2-8.0.5.i386.htm l (or any of a number of other places). Cheers, Steven Balthazor -Original

RE: [PHP] hopefully easy

2003-01-29 Thread Steven Balthazor
ou are searching through $matches are the results of the search Cheers, Steven Balthazor -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:24 AM To: [EMAIL PROTECTED] Subject: [PHP] hopefully easy I need to parse an HTML file for cer

RE: [PHP] Line Number function?

2003-02-01 Thread Steven Balthazor
I think what you are looking for is: __LINE__ See: http://www.php.net/manual/en/language.constants.predefined.php Cheers, Steven Balthazor -Original Message- From: Benjamin Smith [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 01, 2003 8:59 PM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] PHP and Serach Engines...

2003-02-09 Thread Steven Kallstrom
Hello, How do search engines react to PHP pages? If every page of a site has a .php extension will search engines not react well to that? If it does, is there a possible way to handle tracking sessions with php, without being punished by the search engines? Steve -- PHP General Maili

[PHP] PHP form help

2003-02-19 Thread Steven M
the script works because i submitted info to is successfully before i changed the form action to point at the confirmation page. I think it has something to do with PHP sessions but am not sure how to make it work. Thanks for any help. Steven M -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
Hi Johnathan Thanks I've got it now, hidden fields did the trick. :-) Steven M "Jonathan Villa" <[EMAIL PROTECTED]> wrote in message 004301c2d851$24ac2fd0$8600a8c0@inhocvince">news:004301c2d851$24ac2fd0$8600a8c0@inhocvince... > How is the information being kept?

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
Thanks Ray but i've found the problem and sorted it. :-) Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dynamic Dropdowns

2003-02-21 Thread Steven Kallstrom
ideas? Thanks a ton, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Bizarre Assignment Issue

2003-02-21 Thread Steven Walker
{ return $this->$TestLog; } } and this class is being used in the following manner: $test = new TestClass; echo $test->Report(); You would expect the output to read 'HELLO', but instead it reads 'wehre'. I'm totally confused ¿¿?? A

[PHP] outputting xml declaration

2003-07-02 Thread Steven Apostolou
Hello, The folowing code gives an error: print ""; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way that it gives an errorstring but it writes the output in the error_log of apache... Greetin

[PHP] Curl alternative?

2003-07-29 Thread Steven Kallstrom
is possible.? Or should I just stick with perl or java. any suggestions. thanks, I appreciate any help in advance. Steven Kallstrom

[PHP] PHP - MySQL Query...

2003-08-14 Thread Steven Kallstrom
Hello all... I'm embarrassed by this one... I think it should work but it isn't... $dbh = mysql_connect("localhost", "login", "password") or die('cannot connect to the database because: ' . mysql_error()); mysql_select_db("database"); $query = 'SELECT * FROM cities'; $result = mysql_qu

[PHP] File upload and deletion

2003-08-21 Thread Steven Murphy
Hi everyone, I'm trying to write a form that hides email addresses from spiders and allows for a single file upload. Here is a link to what I have so far http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having trouble with the file upload. What should happen is: -The user should be abl

[PHP] MD5 in PHP and MD5 in Perl dont match up.

2003-03-27 Thread Steven Carr
uot;; $new_hash = md5($data); print "RE HASH ' $new_hash ' \n"; Gives Data: 'Cheese ' RE HASH ' c69f543f8f2ab31d5b8f148f55b56c56 ' I also tried a command line of echo -n 'Cheese' | md5sum Which gives me the same hash as Perl. PHP seems to give me different res

[PHP] Fw: MD5 in PHP and MD5 in Perl dont match up.

2003-03-27 Thread Steven Carr
#x27; $new_hash ' \n"; Output Data: 'Cheese' RE HASH ' a67778b3dcc82bfaace0f8bc0061f20e ' Thanks in advance, Steve. - Original Message - From: "Steven Carr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 200

Re: [PHP] PHP and Visual Studio.Net

2003-03-30 Thread Steven Kallstrom
Ulrik, For PHP editing in Visual Studio .NET... http://www.quake-au.net/php/php_and_vsdotnet.htm SJK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include Bug?

2003-06-06 Thread Steven Walker
the relative path version of include outputs: include.php opened test succeeded! And using the full path results in: include.php opened not defined This doesn't seem right! Any ideas how I can work around this? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] Include Bug?

2003-06-06 Thread Steven Walker
I get it... so instead I should use: include("/usr/home/sites/www.walkereffects.com/web/test/include.php") Thank you, Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, June 6, 2003, at 10:08 AM, Rasmus Lerdorf wrote: Uh, http://www.walkereffect

Re: [PHP] Include Bug?

2003-06-06 Thread Steven Walker
I would recommend using your .htaccess file, or ini_set, or something else to set your include_path variable Thanks Joel, that worked nicely. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Session IDs and links...

2003-05-27 Thread Steven Kallstrom
Hello, I have finally figured out sessions a little bit better... but I have a question... is there a way to pass the Session ID on to the next page via a simple link without placing the session ID in the URL... if there were a form the session ID is automatically placed as a hidden inpu

RE: [PHP] greater than question

2003-05-27 Thread Steven Kallstrom
Steve, Your best bet is to probably stick those values into an array... then you can sort it and operate on the largest values... SJK > I have 4 > variables that each have a number in them. I need to find which one has > the highest number. I then just need to do something with that number.

RE: [PHP] sessions and domains

2003-05-28 Thread Steven Kallstrom
Bk, You would have to somehow pass all session variables onto the new host since session variables are stored server-side. You would have to have a function that took all session variables and passed them to the new domain including session id... then you would need a function that would

[PHP] php cookie problem ie 5.5

2003-05-30 Thread steven melendez
Hi, I'm using php 4.2 with NT/IIS and am having a problem setting cookies on ie 5.5. I am setting a series of cookies using the array syntax: setcookie ("cookie[three]", "cookiethree"); setcookie ("cookie[two]", "cookietwo"); setcookie ("cookie[one]", "cookieone"); I've seen a variety of entries

[PHP] $_POST array

2003-06-02 Thread Steven Farrier
I have tried using $_POST array variables in the following ways $message = "($_POST['first_name']) ($_POST['last_name'])\n($_POST['address'])\n($_POST['city']) ($_POST['state']) ($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\ n($_POST['comments'])"; $message = "$_P

[PHP] Namespace like C++

2003-06-03 Thread Steven Walker
Hi, I was wondering if there is a way in PHP to define namespaces (as in C++ or some similar scope classification technique). I didn't find any related documentation. Is it possible? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Classes vs. functions?

2003-06-03 Thread Steven Walker
key and drive. Classes are no different... they provide a simplified user-friendly interface to complex things. It's luxury in programming :) I would suggest getting some books to learn further, and just start using classes. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED

[PHP] php 4.3.2 display_errors problem

2003-06-04 Thread steven melendez
display_errors off in ini_set(). Does anyone have any suggestions for what else could be making php errors still show up in the browser? Thanks in advance, -steven __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com

[PHP] Detecting Bots...

2003-06-09 Thread Steven Kallstrom
Dear List, So $_SERVER['HTTP_REFERER'] gives us the User Agent... is there anyway to determine if in general the User-Agent is a bot, or do I have to check for a specific bot... I want to strip out all GET information from the URL so that bots can crawl my site session free... Thanks, SJK -

[PHP] mysql update not working

2003-06-25 Thread Steven Efurd
I have the following code: $sql = "UPDATE class_sub SET desc = '$catdesc', sub_cat = '$subcatname' WHERE id='$catid'"; echo $sql; $sql_result = mysql_query($sql); if (!$sql_result) { echo "Couldn't update record!"; echo mysql_error(); exit; } else { header("Location: ind

[PHP] MySQL errors in newer PHP 4.2.3

2002-09-19 Thread Steven Roussey
Since updating to 4.2.3, we have been getting intermittent errors of "Commands out of sync". Anyone else see this? Sincerely, Steven Roussey http://Network54.com/?pp=e php,sql,query -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: MySQL errors in newer PHP 4.2.3

2002-09-19 Thread Steven Roussey
, Steven Roussey http://Network54.com/?pp=e > -Original Message- > From: Jocelyn Fournier [mailto:[EMAIL PROTECTED]] > > Hi, > > Same problem for me, although it was already here with 4.2.0 for me (well > it > seems to be also a high QPS problem...). The problem seems

[PHP] PHP Database

2002-11-14 Thread Steven Priddy
I am looking into how I can make a database like this one that is MySql controlled. http://www.uhlfans.com/uhlstats/ That is one of my partners sites but the guy that created the database can't or won't tell me how to build one myself for a different subject. Thanks for your help! -- PHP Genera

[PHP] Re: [PHP-DEV] PHP/MySQL memory leak?

2002-11-20 Thread Steven Roussey
If you can, use PHP 4.0.6 for server processing like that. It is the last version that worked in our experience. A script using 4.0.6 can run for months for us. Anything newer will die after a few hours/days. Not sure where the problem is. May not be MySQL extension. Could be anywhere. Unless you

[PHP] long PHP array and HTML forms question

2002-06-05 Thread Steven Jarvis
} echo ""; } However, I'm putting that bad array in the database, and I still get extra option entries, because I have no idea how many extras to remove. So, I feel like I should be doing something BEFORE I do the db insert. Other than that, the d

Re: [PHP] long PHP array and HTML forms question

2002-06-06 Thread Steven Jarvis
s just habit. Unfortunately, that particular hosting provider enables them. >> >> First question: is there something I can do at this point to cut the >> empty entries > > foreach ($color as $key => $val) { > if ($val) { > $tmp[] = $val; > } > } > $

[PHP] Reading from a dir.

2002-06-08 Thread Steven Mallett
Is there another way to read the files from a directory? I tried the following: foreach (glob("*.txt") as $filename) { echo "$filename size " . filesize($filename) . "\n"; } but get an error whether safe mode is on or off. I'm just learning as you might guess. -- Steve Mallett http://OS

[PHP] php or mysql db update

2002-06-23 Thread Steven Dowd
'. when if its incremented by +1, it will be another family unit. Can anyone help me with how to do this, I am not sure whether it will need php to read and insert the incrementing number, or if its possible with just a mysql statement ? any help at all will be appreciated Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] storing an array in mysql - what's the best data type?

2002-07-08 Thread Steven Jarvis
echo "$headline\n $byline\n"; // just as a test, not looping through the array. Loop code not included. echo "$bodycopy[0]\n"; } Even with the version at the end there, I get "A" echoed to the screen. If I try a

Re: [PHP] storing an array in mysql - what's the best data type?

2002-07-09 Thread Steven Jarvis
h.. > > $str = serialize($ary); > > .. and turn a serialized string back into an array with.. > > $ary = unserialize($str); > > The string can be stored in either a TEXT or TINYTEXT field. Is this > what > you wanted to know? Yes. That worked. > I had trouble following your code after the for loop. > $headline, $byline and $bodycopy are variable names stored in the > database? Yes. Sorry about that. I should have explained what those variables were. In any case, your solution worked for me. thanks! Steven -- Steven Jarvis Web Publishing Manager/Web Developer NWAnews.com: Arkansas Democrat-Gazette, Northwest Edition Northwest Arkansas Times Benton County Daily Record -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[PHP] mail mime attachment

2003-08-27 Thread Steven Murphy
I've been working on a simple mail attachment script, that is now working. Its pretty well documented in the code. You can download it at www.pfohlsolutions.com/projects/mailer/mailer.zip. It verifies fields and hides the to email address from spiders. Email me if you have any questions or suggesti

[PHP] php editor

2003-09-03 Thread STONE Steven
What's the best php editor out there? Thanks in advance for nay replies!

[PHP] OT(?): mod_rewrite not passing GET variables to php

2003-10-01 Thread Steven Jarvis
n though register_globals is off), but I get nothing. Can someone point out the (probably obvious) problem I'm having? thanks, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session control query

2003-10-03 Thread STONE Steven
Hi there, I'm currently working on a user login script. I'm using session variables. Everything seems to be working fine but I continually get the following warning message when I run the programs: Warning: Cannot send session cache limiter - headers already sent (output started at c:\phpdev\ww

Re: [PHP] OT(?): mod_rewrite not passing GET variables to php

2003-10-03 Thread Steven Jarvis
On Wednesday, October 1, 2003, at 04:16 PM, Leif K-Brooks wrote: Steven Jarvis wrote: I'm just starting to experiment with mod_rewrite on Apache 1.3.x and php 4.3.3. Register_globals is off. I have the following rules in my .htaccess file (which sits in the site's root dir

[PHP] str_word_count Broken?

2003-10-03 Thread Steven Walker
4.2.2. I have a workaround for the time being, but it is very strange. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function / syntax varying from version to version?

2001-01-24 Thread Steven Deaton
Using the following snippet of code. -- 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]

[Fwd: [PHP] Function / syntax varying from version to version?] -- CORRECTION

2001-01-24 Thread Steven Deaton
network); 24 Jan 2001 22:14:24 - Sender: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Date: Wed, 24 Jan 2001 14:16:41 -0800 From: Steven Deaton <[EMAIL PROTECTED]> Organization: Apollo Interactive X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdksecure i686) X-Accept-Langu

Re: [PHP] easy question.

2001-01-24 Thread Steven Deaton
the only thing I can think of, would be to eliminate the () around $fname, $lname, and $email if they all test true in the first place, the () are kinda obsolete. :) Nathan Cook wrote: > > I have always wrote code this like: > > if(($fname) && ($lname) && ($email)) > { echo "test";

Re: [PHP] sending SMS messages via PHP

2001-03-12 Thread Steven WC
Hi, This may soon depend on what Cellco you are sending from/to in the UK. They used to pass on messages between themselves for no cost but I understand that they are going to change over to charging each other per message. This may effect their own free email gateways but it certainly will effec

[PHP] PHP Web-based server-side mail client

2001-03-20 Thread Steven Katz
at one. Thanks, Steven EMU Webmail http://www.emumail.com/emuwebmail.html http://www.mollymail.com MailStudio http://www.mailstudio.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] Some questions on PHPUnit

2001-04-25 Thread Steven Haryanto
Does anyone here use PHPUnit? 1. If a test script needs some external input to do testing (notably, database connect info), is it a good idea to present an HTML form to ask input from user? Or should it also be able to prompt the user for these in case the test script is run by the PHP binary.

[PHP] safe uploading with PHP

2001-04-25 Thread Steven Haryanto
I am sorry if this is one of the FAQ. Last time I checked (well, a few months ago), PHP has the vulnerability that the user who submitted the form can manipulate the global namespace to let PHP pick up arbitrary file in the system. Can we now do safe file uploading without turning off registe

Re: [PHP] maximum length of email address

2001-04-25 Thread Steven Haryanto
At 4/26/2001 01:08 AM, Dennis Gearon wrote: >I've gone through the archives and through a bunch of RFC's, but have >had no luck in finding for email addresses. Anybody >know if there is one and what it is? Perhaps it's one of those undefined values (like the maximum length of an URL)? The usern

Re: [PHP] OOP and Future of PHP

2001-04-25 Thread Steven Haryanto
At 4/25/2001 09:02 PM, Reuben D Budiardja wrote: >The only thing that I feel lack of in PHP is the real Object >Oriented stuff, such as information hiding in the object in >classes i.e. private and public variables, methods/functions. > >This in a sene make it really difficult for developer to

Re: [PHP] Globalness of variables? Functions & subs

2001-04-26 Thread Steven Haryanto
At 4/25/2001 08:11 AM, Dexter wrote: >I see functions , are there subroutine calls. I guess >not. A function acts as a sub when it returns no value . A >sub that returns a value is a function. You probably came from Pascal or something similar, which formally separate 'function' from 'proce

RE: [PHP] translating a function from Perl to PHP

2001-04-26 Thread Steven Haryanto
At 4/26/2001 05:33 AM, ..s.c.o.t.t.. [gts] wrote: >i tried to do it myself and nearly fell off >my chair becuase PHP makes you jump through >hoops to do such a simple thing > >print preg_replace('/<%([a-zA-Z]*)%>/e', "\$mioArray['$1']", $testo); > >i never could understand why other languages

Re: [PHP] OOP and Future of PHP

2001-04-26 Thread Steven Haryanto
At 4/26/2001 12:10 PM, Yasuo Ohgaki wrote: > > What I *really* like to see in PHP is: > > > > - NAMESPACE > > - TRACEBACK INFO > > - exception (try-except block) > > - $obj->method()->anotherMethod() > > - real destructor would be nice, but not extremely important for > >the time being, due to

Re: [PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-27 Thread Steven Haryanto
Are you referring to delay in executing PHP scripts? If you run PHP as a CGI binary, that would give significant slowdown. CGI's are much slower in Windows than in Linux. Or perhaps you are running out of RAM? That really slows the whole thing down. Steve At 4/27/2001 06:14 AM, Mig wrote: >Hell

Re: [PHP] Sorry, wrong sebject :)

2001-04-27 Thread Steven Haryanto
At 4/27/2001 07:35 PM, Manesh wrote: >I need a free web server that gives me 1 Myslq accound and php hoasting! if >soneone know of any please tell me. > >thx search php knowlegde base at www.faqts.com, you'll find a bunch of such links there. -- sh -- PHP General Mailing List (http://www

Re: [PHP] Where is php.ini located by default?

2001-04-28 Thread Steven Haryanto
btw, i found that the configure option: --with-config-file-path=PATH is slightly misleading, as "PATH" to usually refers to a file location. moreoever, php does not report if it fails to read a php.ini. perhaps the text should be rewritten as: --with-config-file-path=DIR Steve At 4/28/20

[PHP] Please review our coding standards

2001-04-28 Thread Steven Haryanto
rary codes should probably assume magic_quotes_gpc is off, so it does not bother with stripslashing. 10. References -- - PHP coding standards - PEAR documentation - PEAR coding standards - phpunit documentation 12. Comments, suggestions? -- If you do

[PHP] template solutions?

2001-04-29 Thread Steven Haryanto
Does anyone know a rather advanced template solution in PHP? At least one that supports loop and if (like HTML::Template), and directives/commands would be nice (like Perl's Template Toolkit). I am currently rolling my own, but still not happy with the result of the design. I'd be happy to use on

Re: [PHP] MySQL capabilities

2001-04-29 Thread Steven Haryanto
This is perhaps more suited on mysql mailing list, but anyway... On 4/29/2001 06:18 PM, José León Serna wrote: > Hello: > Since no one asks my question about access to InterBase from PHP, I'm > considering MySQL ;-) > I would like to know more about the reliability and functionality from

Re: [PHP] integer checking problem from query string

2001-04-29 Thread Steven Haryanto
Because it's a string. You can use regex matching or test whether floor($var) == $var, for example. Steve At 4/29/2001 04:25 AM, Jamie Saunders wrote: >Hi, > >I'm submitting a phone number from an HTML form to a PHP page >that examines it to see if it's an integer: > >form.html: > >validate.ph

  1   2   3   4   >