Re: [PHP] Session 3

2002-10-08 Thread Steve Vernon
Solved it! Didn't add a temp directory for sessions! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shopping cart? Ahh!

2002-10-08 Thread Steve Jackson
and then go back and try adding a starter kit. I want both to appear in the cart if possible. Any ideas? If not I'm off for a cry! Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mailing List (http://www.php.net

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Steve Yates
From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] register_globals to on, so i don't have to go through 15 pages of code and change all my variables to $_POST['foo'] Try extract($HTTP_POST_VARS) which will create $foo for you. - Steve Yates - Your karma just ran over my dogma. ~ Do you

[PHP] Scrollbars?

2002-10-07 Thread Steve Jackson
This might be off topic but I thought I'd give the list a try... Does anyone know of any PHP or CSS or something which allows you to change the appearance of scrollbars in Explorer and navigator? Kind regards, Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL

[PHP] Looping?

2002-10-05 Thread Steve Jackson
Anyone help me? this is probably quite simple but I'm pretty new to PHP. All I want to do it loop through some DB records and display them in the format written in this PHP file: Anyone see where I'm going wrong? the error I get says: Warning: Unable to jump to row 0 on MySQL result index 2 ?

[PHP] Sessions

2002-10-05 Thread Steve Vernon
the following code to check the session passwords etc are valid.. Thanks, Steve XX ?php session_register(ssun); session_register(sspw); if(!isset($ssun)) $ssun=; if(!isset($sspw)) $sspw=; //Attempt to logon. Set the logon form variables to the session variables. if(isset($sspass

[PHP] help me please.

2002-10-04 Thread Steve Jackson
into directory; exit; } ? Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-03 Thread Steve Yates
to avoid this problem, such as that is it possible to configure 4.2.2 to compatible downward. extract($HTTP_POST_VARS) will create all variables from that array. - Steve Yates - An unbreakable toy is only useful for breaking other toys. ~ Do you like my taglines? Add them to your messages

[PHP] Annoying Install Problem

2002-09-30 Thread Steve Keller
it in the future, or someone tells me they need more information, in which case I'll do my best. Thanks for the help, ~Steve-o -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: [EMAIL

Re: [PHP] Including Text File in PHP/HTML Template

2002-09-30 Thread Steve Keller
At 9/30/2002 04:39 AM, Rick Beckman wrote: On line 6, I have the list of musicians in the song. Example (ignore the quotes): Doyle Lawson -- lead vocal; Dale Perry -- bass vocal Is there a way to make it so that, when I include line 6 in my PHP template, the ; will be replaced with a line break

Re: [PHP] vulnerabilities??

2002-09-30 Thread Steve Keller
At 9/30/2002 06:17 PM, you wrote: Is there any version of php and apache for which there are no known vulnerabilities?? It's the vulnerabilities you don't know about that get you. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage,

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
Jean-Christian Imbeault [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I make my pages come out as .html instead of .php? Rename your pages to .html, and configure Apache to send all .html pages through PHP: -- PHP General Mailing List

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
Steve Yates [EMAIL PROTECTED] wrote in message news:... Jean-Christian Imbeault [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I make my pages come out as .html instead of .php? Rename your pages to .html, and configure Apache to send a

RE: [PHP] Re: Multiple Inheritance Emulation

2002-09-27 Thread Steve Bradwell
LOL, thanks for the laugh on a friday afternoon =]. -Original Message- From: Julio Nobrega [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Multiple Inheritance Emulation Julio Nobrega em Friday 27 September 2002 15:40 foi

RE: [PHP] Getting started with PHP

2002-09-26 Thread Steve Bradwell
Welcome Steve, You'll need to do two things to get started, download apache and php for windows, and configure 2 files - httpd.conf (apache), and php.ini. A good tutorial can be found here : http://softwaredev.earthweb.com/script/article/0,,12014_912381,00.html After that create a .php file

RE: [PHP] ADOdb

2002-09-24 Thread Steve Bradwell
One thing that has helped me was to write a db class and use it to connect to mysql, then all you have to do is change the class, and not all your code when you change the db. -Steve -Original Message- From: Brendon G [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:03 AM

RE: [PHP] MySQL vs. basic text file

2002-09-23 Thread Steve Bradwell
but the simplicity is nice. Although I am still a newbie, I would also have to say there would be a speed issue, if you only wan't one row returned versus reading enire file into memory then walking through it one at a time, mysql's indexing can greatly speed this process up. HTH, Steve

Re: [PHP] MySQL vs. basic text file

2002-09-23 Thread Steve Werby
popular open source databases such as MySQL or PostgreSQL. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do you stop certain headers from going out?

2002-09-20 Thread Steve Ramage
I'm having problems with headers being sent out that cause generated images to become garbled, Does anypone have any ideas on how to stop certain headers, such as Connection, Keep-Alive and Transfer-Encoding from going out to the browser, or filtering them out of the output? Im running apache

RE: [PHP] editor php

2002-09-19 Thread Steve Bradwell
Lol. Here, Here! -Original Message- From: Adam Williams [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:06 AM To: Gian Michele Cc: [EMAIL PROTECTED] Subject: Re: [PHP] editor php /bin/vi :) Adam On Thu, 19 Sep 2002, Gian Michele wrote: Hi,

RE: [PHP] PHP and Microsoft Office

2002-09-18 Thread Steve Bradwell
Yes you can, check http://www.php.net/manual/en/ref.com.php for examples. HTH, Steve. -Original Message- From: Matthew Tapia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 9:43 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Microsoft Office Can you use PHP to add

Re: [PHP] Need more memory... possible to set?

2002-09-10 Thread Steve Edberg
via the -d command option: php -d memory_limit=20M -f yourprogram.php (3) Set it in your program with the ini_set() command: http://php.he.net/manual/en/function.ini-set.php -steve At 11:29 PM -0500 9/9/02, Damian Harouff wrote: Fatal error: Allowed memory size of 8388608 bytes

RE: [PHP] RE: A straightforward user login coding

2002-09-09 Thread Steve Bradwell
Hey there, This is a page I wrote that does that with sessions, sorry its a little messy but it should help you with the general idea. HTH, Steve. //Copy the below into a php file and change all the variables and sql statement to reflect your own data. ? session_start(); if(isset($level

[PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
Hello, My code below always dies! I've tried just about every iteration of the values, etc.. Can anybody show me how to insert into MySQL a value? INSERT INTO events ('user','detaildesc') VALUES ('$user','$details') I just don't get it! if ($update_type == update_Williams) {

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
Parse error: parse error, unexpected T_ECHO in /var/www/html/actionreg/doupdate.php on line 24 Forgot I had that function.. I don't understand the error though.. Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
(); } this is the output You have an error in your SQL syntax near ''user', 'detaildesc', 'index', 'reference', 'date_added') VALUES \'sgaas-wil\', ' at line 1 Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial) [EMAIL

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
.. Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial) [EMAIL PROTECTED] (interactive pager) http://www.rstn.net / Nasdaq: RSTN Wisdom begins in wonder. -Socrates -Original Message- From: Brad Bonkoski [mailto

Re: [PHP] turn register_globals on

2002-09-08 Thread Steve Yates
variables for you. Works for GET and others, too. - Steve Yates - Psychology: the study of the id by the odd. ~ Do you like my taglines? Add them to your messages and ~ laugh through hundreds more by downloading Taglinator ~ at www.srtware.com today! -- PHP General Mailing List (http

[PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-08 Thread Steve Yates
Cirstoiu Aurel Sorin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null. I believe your web server has to set that variable. Does phpinfo() show a value for it? - Steve Yates -

Re: [PHP] PHP and Apache

2002-09-06 Thread Steve Edberg
comprehensive, and I've seem a number of good recommendations for it. I've been planning on doing a little testing of it on my test server, but haven't had the time. -steve At 4:48 PM +0100 9/6/02, Tim Haynes wrote: Is there any easy way of creating,editing and deleting virtual hosts

[PHP] MySQL and Array's REALLY simple question but I'm not GETTING it.. Ugh..

2002-09-06 Thread Steve Gaas
Can anyone tell me what's wrong with my code? All I get output from this is the LAST row of data from my Database. There are 2 rows, how do I make it pull data from all of the rows? It's not going through the loop like it should I need to be able to tell the mysql_fetch_array which row I

RE: [PHP] MySQL and Array's REALLY simple question but I'm not GETTING it .. Ugh..

2002-09-06 Thread Steve Gaas
OK, this works.. This is wonderful.. But I don't get it.. I assigned two separate variables to that array function.. I don't understand why this works now, but thanks a lot for the help. I hope I don't inadvertently run into this again... -steve $sql2 = mysql_connect(localhost, eweb, dbfun

RE: [PHP] question

2002-09-04 Thread Steve Bradwell
($a) !isset($b) ){ while ($a){ likeStatements(); //you could also pass any needed info to the function. } }elseif( isset($b) !isset($a) ){ while ($b){ likeStatements(); } }elseif( isset($a) isset($b) ){ while ($a $b){ likeStatements(); } } HTH, Steve. -Original Message- From: [EMAIL

RE: [PHP] check for a number

2002-09-04 Thread Steve Bradwell
is_int($f) will return true if $f is an integer, false otherwise. Check http://www.php.net/manual/en/function.is-int.php HTH, Steve. -Original Message- From: Fifield, Mike [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: [PHP] check

Re: [PHP] whitespace...

2002-09-04 Thread Steve Edberg
/pcre.pattern.modifiers.php -steve ++ | Steve Edberg [EMAIL PROTECTED] | | Database/Programming/SysAdmin(530)754-9127 | | University of California, Davis http

Re: [PHP] request what a user clicked

2002-08-30 Thread Steve Edberg
At 03:12 PM 8/30/02 , stu9820 wrote: what is php's request object? like in ASP - Request(variable) Short answer: $_REQUEST['variable'] (for PHP version = 4.1.0) Long answer: http://www.php.net/manual/en/language.variables.external.php -steve Jeff UWG Student

[PHP] Odd URL problem

2002-08-29 Thread Steve Lane
to access http://foo.bar.org/goto.php?goto=area%3Dpersonnel%26sub%3Dpersonnel%26person nel%3D1002566%26option%3Dedit failed. So it seems that the browser in the failing case is trying to deal with the URL in its encoded form. Anyone have any ideas about what I'm missing? -- Steve

Re: [PHP] Average Number For Math Functions

2002-08-29 Thread Steve Edberg
version = 4.0.5) you can use array_reduce() in conjunction with the count() function. If these values are coming from a database, most databases have aggregate functions to do sums, averages, etc. -steve ++ | Steve Edberg

[PHP] RE: time stamp

2002-08-28 Thread Steve Buehler
= 12){$ap = pm;}else{$ap = am;} if($hour 12){$hour = $hour-12;} if(!$month){ return nothing; }else{ return $month-$day-$year $hour:$min $apbr; } */ } Thank Again Steve At 08:28 AM 8/28/2002 -0700, you wrote: Steve Try: SELECT

[PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
? Is Red Hat's PHP package messed up or am I missing some config thing somewhere? Any help would be appreciated. Thanks. -- Steve Fox IBM Linux Technology Center http://www.ibm.com/linux/ltc http://k-lug.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
On Tue, 2002-08-27 at 14:45, Rasmus Lerdorf wrote: Known Apache 2.0 related bug. Not sure anybody is looking at it. :( At least I can quit banging my head against my keyboard now :) Thanks much Rasmus. -- Steve Fox IBM Linux Technology Center http://www.ibm.com/linux/ltc http://k-lug.org

[PHP] time stamp

2002-08-27 Thread Steve Buehler
I am using PHP with MySQL and have a timestamp field in my db table. What would be the easiest way to get the newest timestamp out of the db? Thanks in Advance Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- PHP

Re: [PHP] Virtual includes

2002-08-26 Thread Steve Keller
At 11:12 AM 8/26/2002 +0200, you wrote: I'm trying include .php files which reside in alternative directories or sub-directories. Such as a file which reside in www/chat/page.php, and for this page I would like to include a file which resides in www/forum/include/ Using $DOCUMENT_ROOT has

[PHP] phpMyAdmin

2002-08-21 Thread Steve Jackson
and PHP so would like some advice, is the way I describe (databases for each website function) a good way to design or should I have all my functions in one large database? Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP

[PHP] Re: halloween documents

2002-08-20 Thread Steve Mallett
A plea for help Would anyone be willing to code the Halloween Documents so we could print them as PDF files http://opensource.org/halloween/ -- Steve Mallett | [EMAIL PROTECTED] http://open5ource.net personal The more I contemplate death and my mortality, the more it inspires me

RE: [PHP] php Transaction question

2002-08-20 Thread Steve Bradwell
Ya that's pretty much it. Just do: mysql_query(BEGIN); $sql = Update bla...; $result = mysql_query($sql); if($result) mysql_query(COMMIT); else mysql_query(ROLLBACK); HTH Steve. -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 10:14 AM

[PHP] phpMyAdmin is this possible

2002-08-20 Thread Steve Jackson
seperate ones for seperate functions.. Ideas or advice? is the way I am suggesting better or worse than the way my hosting company expects me to work? Thanks in advance. Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] phpMyAdmin is this possible

2002-08-20 Thread Steve Bradwell
if configured correctly. To create a new database just type the name in the box on the home page and click create, from there you can create new tables etc. hth Steve. -Original Message- From: Steve Jackson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:12 PM To: MYSQL; Php-General

[PHP] Moving Files - Stupid Error

2002-08-16 Thread Steve Keller
Hey all, I need a little help with moving a file on the server after an upload. Our company site is hosted, so I don't have full access to the configuration files, but I can do a PHP_info dump if you need more clarification. Using 4.0.1pl2. What I'm doing is uploading a file from a form, and

RE: [PHP] PHP - class question

2002-08-14 Thread Steve Bradwell
I would suggest you write a method (called mydb() for example) that connects to your database, and if needed, call it from your constructor like: $this-mydb(); This way you can always reuse the method from other code. hth, Steve. -Original Message- From: Mark Armendariz [mailto:[EMAIL

[PHP] Re: Form variables not passing: globals IS on

2002-08-12 Thread Steve Clay
is : .ini_get('register_globals'); Something might be wrong with your PHP install if it's a recent version and $_POST isn't there.. Try print_r($_POST); PA echo HTTP_POST_VARS :.$_HTTP_POST_VARS[test].br; The deprecated POST array is $HTTP_POST_VARS (no preceding underscore). Steve -- [EMAIL

[PHP] Advice

2002-08-11 Thread Steve Jackson
as well so the server is going to have to be able to allow me to install support for them or have that already built in. Is PHP 4 established enough to develop this kind of project or should I look at PHP 3 instead? Any advice on a good server that would enable the points I suggested? Thanks. Steve

RE: [PHP] Open 10 http connections in parallel

2002-08-08 Thread Steve Edberg
://php.he.net/manual/en/function.socket-set-blocking.php and http://php.he.net/manual/en/ref.network.php -steve At 1:28 PM +1000 8/9/02, Martin Towell [EMAIL PROTECTED] wrote: use C and fork() php (AFAIK) can't do parallel programming -Original Message- From: NoWhErEMan [mailto:[EMAIL

Re: [PHP] Vars passed via URL disappearing

2002-08-02 Thread Steve Edberg
only affected session, cookie and get type variables? Why is PHP ignoring the variables passed via the URL? 'variables passed via the URL' = 'GET variables' -steve -- ++ | Steve Edberg

[PHP] Re: filling an array(2)

2002-07-29 Thread Steve Buehler
That did the trick. Thank you SO MUCH. Steve At 03:48 AM 7/29/2002 -0500, Richard Lynch wrote: h. Ok. Can somebody explain this one? Why won't it work correctly? for($m=1;$m=5;$m++){ $div_idd[$m]=${'row-sub' . $m . 'd'}; } Can it not be done with a 3 parter? The columns

Re: [PHP] Disturbing parsing problems

2002-07-29 Thread Steve Edberg
or the other. Lastly, quadruple check that you haven't accidentally quoted or double-quoted a { or ( or something that you THOUGHT was part of PHP code; syntax highlighting editors can definitely help here. -steve

Re: [PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Steve Buehler
Install PHP on your desktop. You will need a web server too. I use PHP/MySQL/Apache on my Laptop, Desktop, Servers and workstations. Steve At 07:56 AM 7/27/2002 -0700, you wrote: I guess I should reiterate; What is the easiest way to test locally (on my desktop) without having to upload

[PHP] filling an array(2)

2002-07-26 Thread Steve Buehler
. Or is it the - that is messing it up? I have tried escaping them row\-\sub, but that didn't work. What would I search for on the PHP site or where are directions located that tells me how to use this type of putting a variable together. It makes it hard to search for it if I don't know what it is called. Thanks Steve

[PHP] filling an array

2002-07-26 Thread Steve Buehler
5; $i++) { $offset = $m + 1; $divid[$m] = $div_id{$offset}; } At 10:55 PM 7/26/2002 +0300, you wrote: - Original Message - From: Steve Buehler [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Friday, July 26, 2002 10:48 PM Subject: [PHP] filling an array Can anyone tell me what I

Re: [PHP] filling an array(2)

2002-07-26 Thread Steve Buehler
Ok. That makes since. Thanks Steve At 04:20 PM 7/26/2002 -0500, you wrote: var names can only be letters, numbers, and underscores. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: Steve Buehler [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent

[PHP] filling an array

2002-07-26 Thread Steve Buehler
++){ $div_id[$m]=$divid$m; } Can anybody tell me how to do this in a for statement? Thanks In Advance Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] After PHP-Apache wont Start

2002-07-24 Thread Campbell, Steve V.
. Steve Campbell OU Physicians -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP-GD and JPEG+PNG - Which versions is required?

2002-07-24 Thread Steve Alberty
: library thinks size is 372, caller expects 376 Hmmm, maybe the bundled gd has more bugs as the 'normal' 2.0.1 (Beta) Version?! Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1

2002-07-22 Thread Steve Meyers
Can you post this to php.announce as well? Marko Karppinen wrote: PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1 Issued on: July 22, 2002 Software: PHP versions 4.2.0 and 4.2.1 Platforms: All The PHP Group has learned of a serious security

Re: [PHP] Check for Associative Array

2002-07-18 Thread Steve Edberg
the array using each() in a loop, and use only every OTHER array entry...but this is really funky and you shouldn't do it this way anymore. -steve ?? Thanks, Henning Sittler www.inscriber.com -- ++ | Steve

RE: [PHP] Submit code

2002-07-16 Thread Steve Bradwell
a button. Check this link. http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onsubmit.html Hope this helps, -Steve. -Original Message- From: MindHunter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: [PHP] Submit code I am

RE: [PHP] Classes vs. Functions

2002-07-16 Thread Steve Bradwell
info, makes it easier to keep track of. Hope this helps, Steve. -Original Message- From: Chris Crane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11:07 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Classes vs. Functions It helps a little bit, thank you. Could you provide some code

RE: [PHP] Classes vs. Functions

2002-07-16 Thread Steve Bradwell
: Chris Crane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Classes vs. Functions Wow...this is pretty cool. Do you HAVE to declareall your varibles ahead of time? Steve Bradwell [EMAIL PROTECTED] wrote in message

[PHP] Multi-Part PostToHost?

2002-07-15 Thread Steve Keller
around. As always, any help is greatly appreciated. ~Steve-o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] configure failed after autoconf update

2002-07-13 Thread Steve Alberty
anyone please help? Thanks in advance, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help a n00b with Server-to-Server file transfers?

2002-07-12 Thread Steve Keller
accomplish this. Is there a particular tutorial I can read that's relevent? Perhaps a sample script available that I can peruse to see how someone did something similar? Any help would be appreciated. ~Steve-o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Odd Request: Image 2 HEX

2002-07-09 Thread Steve Edberg
regexps) to do that. For more info, see: http://www.php.net/manual/en/function.fopen.php http://www.php.net/manual/en/function.fread.php http://www.php.net/manual/en/function.bin2hex.php -steve At 9:08 AM -0700 7/9/02, JSheble wrote: I'm using a Zebra label printer in an application I

Re: [PHP] GD Lib

2002-07-09 Thread Steve Edberg
Are you compiling php with the --with-gd=shared option? Personally (Solaris 8, gcc 2.95.3 , php 4.1.1 and later) I've never been able to get the gd shared object to work (gd.so load errors), so I've always ended up compiling it into PHP. -steve At 1:23 PM -0400 7/9/02, Yang wrote

RE: [PHP] RE: ############

2002-07-09 Thread Steve Bradwell
agreed. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: [PHP] RE: lets all spam Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
by value ='?php echo $var ?' This works fine except if the input type is a drop down box, in which case the default option is shown. Is there any way around this? How can I show the user their previous choice in these boxes? Any insights would be appreciated. Steve -- PHP General Mailing List (http

Re: [PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
Thanks Justin, your solution is spot-on! Regards Steve Justin French wrote: SELECT name=day OPTION value=please select ? if(empty($day)) { echo selected; } ? OPTION value=monday ? if($day == monday) { echo selected; } ? OPTION value=tuesday ? if($day == tuesday) { echo selected

[PHP] Re: preg_match or not?

2002-07-07 Thread Steve Fitzgerald
Thanks, thats hit the nail on the head, and my headache is a whole lot better! Steve Cc Zona wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Steve Fitzgerald) wrote: I have been struggling for a couple of hours now trying to write a preg_match expression to validate a dollar

[PHP] preg_match or not?

2002-07-06 Thread Steve Fitzgerald
to get right. This is what I have at the moment: if (!preg_match(/[\d]+([\.]{1}[\d]{2})?/, $form_data[amount])) // wrong amount but it still allows invalid input. Can anyone help or is there a better way to do it? Thanks Steve

[PHP] strtr with array of transforms - how many passes thru string?

2002-07-05 Thread Steve Magruder, D2 Director
not just one pass, is there another way I can accomplish this same thing just going through the string in one pass? Thanks, Steve -- Steve (www.stevemagruder.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Picture Cache

2002-07-04 Thread Steve Vernon
, but I feel that it does not cache the picture in the web browser? I don't know how the cache works but my friend says it asks the server for the data the file was generated and the size, so I suppose with this is dosent? Help! Thanks, Steve -- PHP General Mailing List

[PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
? I have asked the ISP to give me permissions to create files int he server directory but they will not let me. Thanks you! Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
No, I did think of it, but the page may end up with quite a few pics, and I download of a modem... Prefer if server has the load... Steve |-Original Message- |From: Lazor, Ed [mailto:[EMAIL PROTECTED]] |Sent: 02 July 2002 21:34 |To: '[EMAIL PROTECTED]'; [EMAIL

Re: [PHP] DOCUMENT_ROOT disappeared on me!

2002-07-02 Thread Steve Yates
te those variables. I presume $_SERVER works as well. - Steve Yates - Peace. (subject to change without notice) / Taglines by Taglinator - www.srtware.com / -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Two cases going to same case?

2002-06-30 Thread Steve Edberg
(); break; case 2: ... do_something(); break; case 3: do_something(); break; } function do_something() { # this is the stuff that you want to do that is common to your # cases 1, 2 and 3 } This accomplishes the same thing. -steve

Re: [PHP] PHP with online cedit card processing

2002-06-30 Thread Steve Yates
values back to a script on your site to finish. Pretty well documented too. We use it for web site hosting and domain name registration orders. http://www.teamITS.com/internet/credit_cards.html - Steve Yates - A Penny saved is a congressional oversight. / Taglines by Taglinator - www.srtware.com

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1. Name all included files .inc If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see anything at all. - Ste

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Steve Yates wrote: If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see anything at all. I think this is a very poo

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
-array.php -steve I'm hoping someone will spot my dumb mistake. Thanks very much for any help at all on this. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
['C.CourseName']; } -steve -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
At 7:35 PM -0700 6/29/02, Brad Melendy wrote: Steve, Thanks very much. You're welcome! This make total sense to me. Now, I was pretty sure that I was getting an array back from mysql_fetch_array because when I do a 'print $myCourses' without specifying any value, I just get 'array' which I

[PHP] Sessions and 4.2.1

2002-06-27 Thread Steve Heath
and add a variable session_start(); $_SESSION[sess_test] = Test data; ? No session id is created in my sessions table and thus no variable ! Any Ideas ? Cheers, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] HTTP1.1

2002-06-27 Thread Steve
I have used this in the past... head titleFoo/title base href=http://www.foo.com/; /head and as Cal mentioned, use a href=/path/to/somefile.phpsomefile/a -Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generating Barcodes and printing

2002-06-27 Thread Steve
Along with the Goggle search suggested by Dan, you need to know what format you need for your barcode label. Think of them as fonts. If you already have your barcode scanning hardware, see what barcode format was included. -Steve -- PHP General Mailing List (http://www.php.net

[PHP] ftp class problem

2002-06-24 Thread Steve Edwards
i've written a class for connecting to an ftp server in passiv mode, sending a text file, sending one or more .mpegs and disconnecting. on my test box this script works fine (PHP 4.2.1) BUT on my live box (PHP 3.0.18) it fails... On the live box (php 3.1.8) the script fails when i call

Re: [PHP] Ensim with PHP and MySQL

2002-06-24 Thread Steve Buehler
and MySQL (if they upgrade the httpd.conf file) don't know it is now httpd_vwh.conf. Steve At 12:56 PM 6/24/2002 -0400, you wrote: Has anyone ever used Ensim on their server with PHP and MySQL. I am looking at purchase Ensim to management my web sites. It looks like a great product, but because

RE: [PHP] linux: how can I check if php/mysql is working properly?

2002-06-18 Thread Steve
Link: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: [PHP] linux: how can I check if php/mysql is working properly? i have

[PHP] massive find/replace on MySQL db

2002-06-15 Thread Steve Clay
MySQL feature that would do this? Hmm, what about running strtr() on a mysqldump-ed file? Any advice/links appreciated. Please CC me. Thanks a lot! Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re[2]: [PHP] massive find/replace on MySQL db

2002-06-15 Thread Steve Clay
Saturday, June 15, 2002, 11:11:49 AM, Julie wrote: JM update tablename set fieldwithcrap = replace(fieldwithcrap, JM 'oldstring', 'newstring'); Julie, lovely solution and shockingly fast. Thanks. Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http

Re: [PHP] netscape wont show form result

2002-06-13 Thread Steve Fitzgerald
at a point after user input errors had been detected and before the email was sent. 4.ns threw up blank pages whenever i deliberately made an error on the form 5.once this line was removed ns worked as expected. ie worked as expected both before and after the amendment Any thoughts??? Steve Stuart

[PHP] Extracting Variables

2002-06-13 Thread Steve Buehler
sub1_6 = 6 sub2_6 = 6 sub3_6 = 6 sub4_6 = 6 sub5_6 = 6 team_number 7 sub1_7 = 7 sub2_7 = 7 sub3_7 = 7 sub4_7 = 7 sub5_7 = 7 team_number 8 sub1_8 = 8 sub2_8 = 8 sub3_8 = 8 sub4_8 = 8 sub5_8 = 8 end results Thank You in Advance Steve -- PHP General Mailing List (http://www.php.net

<    5   6   7   8   9   10   11   12   13   14   >