[PHP] Re: Loops (Thank you very much!)

2004-12-14 Thread Steve Marquez
;]."".$row['description']; and a couple of others -- Steve Marquez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms Question: Options

2004-12-11 Thread Steve Marquez
Hi everyone! Can someone help me with this question? I created a photo upload utility with individual galleries that images can be uploaded into. In the MySQL database, there are multiple names of galleries, some are the same. I want to have a select menu to show just the unique names of the gall

[PHP] UPDATE

2004-12-15 Thread Steve Marquez
I am trying to insert information into the database, have it automatically place an ID Number, then update that particular record and replace the word "delete" with the link. The "mysql_insert_id()" does seem to be working. It does put in an id number of "0" However, the code in general gives me a

[PHP] Delete files from the server

2004-12-16 Thread Steve Marquez
MySQL database. Is there any way to do this? Thanks! -- Steve Marquez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Steve Brown
I'm working on a script that will parse through a long string using regexs to pattern match a certain format. I'm having an issue with a '?>' in a string being picked up as an end-of-code character, but only if the line before it is commented out. If the line before is NOT commented out, PHP proc

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Steve Brown
> Quote: The one-line comment styles actually only comment to the end of the > line or the current block of PHP code, whichever comes first. This means that > HTML code after // ?> WILL be printed: ?> skips out of the PHP mode and > returns to HTML mode, and // cannot influence that. If asp_tag

[PHP] php ignores php_value from httpd.conf?

2005-01-05 Thread Steve Kieu
Hi, I am trying to debug the problem I have; which is that php seems to ignore all php_value I set in httpd.conf. Example I have: DocumentRoot /var/www/webssl Options Indexes FollowSymLinks MultiViews AllowOverride All php_value upload_max_filesize "20M" Order allow,deny All

Re: [PHP] php ignores php_value from httpd.conf?

2005-01-05 Thread Steve Kieu
--- Sebastian <[EMAIL PROTECTED]> wrote: > hmm i never even knew you can put that in there.. Yes according to php official manual you can When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files (e.g. httpd.conf) and .hta

Re: [PHP] Multiple POP accounts on Webmail Front

2005-01-07 Thread Steve Buehler
Well, Squirrelmail does.sort of. This might not be exactly what you are looking for, but you can add the fetchmail plugin to squirrelmail so that it can pull email from other pop3 accounts. http://www.squirrelmail.org/plugin_view.php?id=50 Steve At 10:26 AM 1/7/2005, James Nunnerley wrote

Re: [PHP] Re: Date()

2005-01-17 Thread Steve Buehler
#x27;,$lastDayTs) ."\n"; echo "\n"; ?> Now, the problem with that is that if your $week5="2005-02-18" then your results will be wrongunless this is what you want, but the answer will be "February 28-04". You are outputing the Month from $week5, the day from $week5 and the day+4 of $week5 which takes it into the next month. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Id_num = ""

2005-01-24 Thread Steve Marquez
Greetings! If I do the following, it gives me a blank page. However, instead of using the variable, if I put in $id_num = "191" Then it will display the information. Does anyone know what I am doing wrong? I hope you understand my question... Thank you in advance! Here is the link I use to t

Re: [PHP] Id_num = ""

2005-01-24 Thread Steve Slater
an one input (say both a GET and a COOKIE set id_num), the variables_order variable in php.ini determines which one will overwrite the other. Steve -- Steve Slater [EMAIL PROTECTED] PHP / MySQL / Web App Security (LAMP) Training: http://www.handsonsecurity.com/training.html -- PHP

Re: [PHP] mysql_pconnect / persistent database conections

2005-01-27 Thread Steve Slater
to access newer features of MySQL 4.1 and higher...like prepared statements. Here is the blurb from Zend: http://www.zend.com/php5/articles/php5-mysqli.php#fn1 Steve -- Steve Slater [EMAIL PROTECTED] Information Security Training and Consulting PHP / MySQL / Web App Security (LAMP)

Re: [PHP] Link to content of Directory

2005-02-02 Thread Steve Buehler
At 10:52 AM 2/2/2005, Marquez Design: Steve Marquez wrote: Greetings all, I am currious if someone could point me to a script to list the content of a directory, then link to each file in that directory. Example: The directory contains 80 .GIF files. I want to create a page that will have links to

Re: [PHP] Copy mySQL database...

2005-02-03 Thread Steve Buehler
ysql database. Also, you can use the backuptest database by doing the same thing if you are not root and root doesn't have full privileges on every database. Strange, but I have seen a setup like that. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
> Food:Fruit:Red > Food:Fruit:Green > Food:Fruit:Yellow > Food:Vegetables:Long > Food:Vegetables:Round > Food:Vegetables:Round:Spikey > Food:Vegetables:Round:Smooth How is your structure being built? Is it hard-coded or dynamic (e.g. pulled from a DB)? We employ a similar "tree" structure for ma

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
On 5/27/05, Chris W. Parker <[EMAIL PROTECTED]> wrote: > Let's say you're entering a new product, you'd want to see a list of all > the available categories, not just the last node of a branch. Not neccesarily; it depends on how big your tree structure is. If you only have 10 "categories" where a

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
** email gagging, sorry if this is a DP ** On 5/27/05, Chris W. Parker <[EMAIL PROTECTED]> wrote: > Let's say you're entering a new product, you'd want to see a list of all > the available categories, not just the last node of a branch. Not neccesarily; it depends on how big your tree structure i

Re: [PHP] building php, using mysql for apache2

2005-06-01 Thread Steve Brown
> trying to build php4 with mysql4.1-12, for use in apache2. i have the > following "./compile" that works for php5. however, when i try to use it for > php4, i get a msg, stating that it can't find the MySQL Headers... >From http://us3.php.net/manual/en/ref.mysql.php: === For compiling, simply

Re: [PHP] word lists

2005-06-20 Thread Steve Edberg
l http://www.htdig.org/ Googling for the phrase "stop word list" also may be useful steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] Changing directory permissions???

2005-07-11 Thread Steve Buehler
apache, then it is understandable that php's chmod wouldn't work on it. That doesn't mean that php's chmod will only work on files. It only means that it has to have permission on the file to make the changes. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GET form method and accessing its value into a cookie

2005-07-21 Thread Steve Turnbull
and try editing a different user, although the URL suggests that it's passing the correct parameters, I end up seeing the details of the previous user? Help please (sorry for the long description - I am just trying to be accurate) Regards Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GET form method and accessing its value into a cookie

2005-07-21 Thread Steve Turnbull
and try editing a different user, although the URL suggests that it's passing the correct parameters, I end up seeing the details of the previous user? Help please (sorry for the long description - I am just trying to be accurate) Regards Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_match - help please

2005-07-27 Thread Steve Turnbull
uot;matched"; } Help would be greatly appreciated Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running a PHP script everyday

2005-08-01 Thread Steve Buehler
ed. I am running php 5.0.3 on RHEL ES 4 Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Running a PHP script everyday

2005-08-01 Thread Steve Buehler
never occurred to me that it was for "quiet" since that should not hinder him from running a program. Just keep him from getting a bunch of output. Of course, I might have total mis-understood him too. I have to much going on right now to remember. Anyway, thanks. Thanks

[PHP] syntax highlighting your php code on a web page

2005-08-03 Thread Steve Turnbull
page which highlights what I am after... Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular expressions book

2005-08-03 Thread Steve Turnbull
ditor for KDE) which are helpful. You 'design' the expression in the interface and it gives you the actual reular exp as the result. I am finding this a good way of learning, i.e. figuring out how the result came about... Just my thoughts... Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
In your php.ini there are settings for "upload_max_filesize" and also "post_max_size." These would be causes for case 2. More information: http://us3.php.net/features.file-upload On 8/19/05, Peppy < [EMAIL PROTECTED]> wrote: > > I've been working on a script for uploading a file to a Unix serv

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
Sorry, I meant case 1. - Steve On 8/19/05, Steve Slotnick <[EMAIL PROTECTED]> wrote: > > In your php.ini there are settings for "upload_max_filesize" and also > "post_max_size." These would be causes for case 2. More information: > http://us3.php.net/f

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Steve Edberg
ns at that precision would be extremely slow. Going to a dedicated math package like MATLAB or Mathematica or something might be more appropriate. steve At 08:57 AM 9/1/2005, Wong HoWang wrote: Dear Jordan, I know what you mean. But you may try this one and you will know: the resu

Re: [PHP] Help: Get the value of pi up to 200+ digits? -- oops

2005-09-01 Thread Steve Edberg
may be able to compile & install your own version of PHP and call it via CGI. steve, again. Hi - The 'precision' ini value refers, I believe, only to float numbers, not BC_math numbers (which are stored as strings). I believe the bcmath.scale parameter is the one you need.

[PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
ciated, and apologies if this isn't strictly the correct group. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: > Steve Turnbull wrote: >> I am trying to find a regular expression to match a variable, what I think >> should work (but doesn't) is; >> >> preg_match ('^/[\w],[\w],/', $variable) >>

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote: > On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: > >> Steve Turnbull wrote: >>> I am trying to find a regular expression to match a variable, what I think >>> should work (but doesn't) i

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 16:36:36 +0100, Steve Turnbull wrote: > On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote: > >> On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: >> >>> Steve Turnbull wrote: >>>> I am trying to find a regular expre

[PHP] losing session data with cross-site scripting

2005-09-20 Thread Steve Lefevre
how losing session data, and they get the error when they try to return from the development server. What is happening? Is is some kind of security setting on the browser? These are remote users and I can't go and inspect their computers. I will have to communicate by email or phone with them.

Re: [PHP] losing session data with cross-site scripting

2005-09-21 Thread Steve Lefevre
Chris Shiflett wrote: Steve Lefevre wrote: I have a php site on a production server. The production server doesn't have the spell libraries, and rather than migrate the site, we setup spell checking functions on the development site, and shuttled the users back and forth with spec

Re: [PHP] losing session data with cross-site scripting

2005-09-21 Thread Steve Lefevre
Chris Shiflett wrote: Steve Lefevre wrote: In this case, a user's session is stagnant for the duration of their trip to the other server. I'm guessing that users are typically only there for a brief moment, but this is something to keep in mind. Is there a way that some of your u

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Steve Lefevre
to the server, and then I have just a regular link available to the user. That solved a lot of issues for me. Steve Lefevre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Scripts not working outside of Zend Studio

2005-10-05 Thread Steve Harp
in IE and Firefox and the page won't display or throw an error in either one. What could be going on here? I've been chasing this for hours. Thanks for any help, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scripts not working outside of Zend Studio

2005-10-05 Thread Steve Harp
On Wed, 5 Oct 2005 16:25:03 -0500, [EMAIL PROTECTED] (Greg Donald) wrote: >error_reporting( Well that now gives me errors. Thanks very much... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pecl hosting is in a pickel...

2005-10-12 Thread Steve Kiehl
Has anyone noticed/experienced the fact that the pecl site is spotty today? I think I was able to download one module all day in and out of db connect errors. I really need to get a module off of there. Is there some loop I can jump through to get it? Thanks, - Steve -- PHP General

Re: [PHP] shortest possible check: field is set, integer or 0

2005-12-01 Thread Steve Edberg
nal number (non-negative integer). Disclaimer: Currently operating on caffeine deficit; it's possible I'm answering a question no one asked. steve At 3:41 PM +0100 12/1/05, Jochem Maas wrote: Ray Hauge wrote: Richard Lynch wrote: On Wed, November 30, 2005 5:10 pm, Chris Lott wrot

Re: [PHP] shortest possible check: field is set, integer or 0

2005-12-01 Thread Steve Edberg
At 5:30 PM +0100 12/1/05, Jochem Maas wrote: Steve Edberg wrote: Only problem with intval() is that it returns 0 (a valid value) on I knew that. :-) I figured so, but I thought I'd make it explicit for the mailing list... failure, so we need to check for 0 first. Adding more secure c

[PHP] Unnecessary if statement? Programming technique

2005-12-06 Thread Steve McGill
espond. Best wishes, Steve McGill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP User Authentication Problems

2005-12-06 Thread Steve McGill
les that you require. Steve ""Rahul S. Johari"" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] Ave, I¹m trying to run this very simple HTTP user authentication script: My Stuff Goes Here! The problem is, this script runs perfectly fi

Re: [PHP] Unnecessary if statement? Programming technique

2005-12-06 Thread Steve McGill
ction calls is also much slower than evaluating a very simple IF statement. Thanks for your interest. Best wishes, Steve "David Grant" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Jared Williams wrote: >> Why not >> >> for ($i = 0; $i &

Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-16 Thread Steve Clay
t set page if (!isset($_GET['page'])) { $_GET['page'] = 'home'; } If, for some reason you /can't/ change the directory index page, make an index.php with this: // again, no redirect necessary $_GET['page'] = 'home'; require('start.php')

Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Steve Clay
is is good. But if you can't set this on the server, this simple PHP script (index.php) does the same thing: Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Validating Radio Buttons in two directions

2006-01-18 Thread Steve Clay
rely on the page or with only a minimal XMLHTTPRequest call. Another idea: just require Javascript and save yourself reinventing the wheel. http://www.phpsurveyor.org/index.php is a mature survey system with ranking question types and nice data export options. Steve -- http://mrclay.org/ -- PHP

Re: [PHP] Can PHP works with telnet?

2006-01-22 Thread Steve Clay
ims/ telnet support, but this post [3] leads me to believe it's pretty limited. [1] http://us2.php.net/function.fsockopen [2] http://us2.php.net/curl [3] http://curl.haxx.se/mail/lib-2005-09/0013.html Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re[2]: [PHP] XML and special characters

2006-01-23 Thread Steve Clay
arious parsers. Did none of those parsers have error logging capabilities? Show us the errors. Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Re: Managing sessions...

2006-01-23 Thread Steve Clay
hp.ini file. Generally, using ini_set() should be a last resort because, once PHP is running, it's too late to change certain settings. http://php.net/manual/en/configuration.changes.php Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DOM saveHTML() not outputting XHTML Strict

2006-01-23 Thread Steve Clay
Monday, January 23, 2006, 1:35:13 PM, Chris wrote: > the ->saveHTML() method ... outputs as `` > I need my output HTML to conform to XHTML strict. Since XHTML is XML, try ->saveXML()? Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Please Help!

2006-01-25 Thread Steve Clay
al, if successful, $signature will be altered. You tell /us/ what it looks like and we'll help you split it. ;) Steve -- http://mrclay.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Support between MySQL and PHP

2006-01-29 Thread Steve Edberg
PHP4. For more info, see: http://dev.mysql.com/doc/refman/4.1/en/php.html http://dev.mysql.com/doc/refman/4.1/en/application-password-use.html http://www.php.net/mysql http://www.php.net/mysqli steve -- +--- my people are the people of the dessert, ---+

Re: [PHP] PHP on domain...

2006-01-29 Thread Steve Edberg
be spoofed for the same reason. For example, the second site above (the IIS one) actually *does* support PHP according to their website. See http://www.php.net/manual/en/ref.sockets.php for info on opening & reading from sockets; there is an example on this page in the user comm

[PHP] Results In Variable

2006-02-06 Thread Pastor Steve
²; } I would like for the the entire ³while² statement result to be in a variable for use outside of the statement. Is that possible? Thank you for your help, -- Steve Marquez Marquez Design

Re: [PHP] [HS] IDE PHP on Linux...

2006-02-13 Thread Steve Brown
> Finally, I discovered that I need to have PHP and Apache on my computer > in order than Eclipse may give me auto-complete... No you don't. Eclipse does code completion out-of-the-box w/out installing additional software. Check your Preferences. -- PHP General Mailing List (http://www.php.net/

[PHP] [Newbie] - @

2001-01-27 Thread Steve Haemelinck
What doe the @ mean in front of a functions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Oracle support not working

2001-01-27 Thread Steve Haemelinck
You have to make sure your environment variable ORACLE_HOME is set !!! CHECK: echo $ORACLE_HOME If it isn't modify the etc/profile or /etc/profile.local -Original Message- From: Brian Clark [mailto:[EMAIL PROTECTED]] Sent: zaterdag 27 januari 2001 23:25 To: PHP is not a drug .

Re: [PHP] Programming the Hard Way?

2001-01-27 Thread Steve Werby
Yes. And if $id is always numeric you could simplify it even more. Quotes are only needed around strings. They aren't needed around numbers. If you surround a number in quotes it's treated as a string which will result in different behavior when doing sorting and > or < compar

RE: [PHP] VAR and variables

2001-01-29 Thread Steve Edberg
At 10:50 AM + 1/29/01, Tim Ward wrote: > > -Original Message- >> From: Steve Edberg [mailto:[EMAIL PROTECTED]] >> Sent: 25 January 2001 22:02 >> To: Matt; [EMAIL PROTECTED] >> Subject: Re: [PHP] VAR and variables >> >> >> At

[PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Steve Haemelinck
I want to put the php.ini in /etc/php Which argument do I have to attach to ./configure --?=/etc/php to accomplish this ? THX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admi

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Steve Edberg
to a socket. It's really easy to do that - via telnet to port 80, for example, or via PHP (see the posttohost function at one of the code libraries - see px.sklar.com, or phpbuilder.com, or on of the other resources). - steve -- +--- "They've got a cherry pie there, that

[PHP] [Newbie] Php.ini

2001-01-30 Thread Steve Haemelinck
When I configure php4, is it possible to say it to look for the php.ini in /etc/php4? Which argument should I append to ./configure --?=/etc/php4 Steve THX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Oracle failed to connect

2001-01-31 Thread Steve Haemelinck
Can you connect to the DB with sql plus !!! -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED]] Sent: woensdag 31 januari 2001 13:36 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:[PHP] Oracle failed to connect Hi! I'm using orcale8 and as long a

Re: [PHP] Exit Function

2001-01-31 Thread Steve Smith
". If you want your function to return a value, you can use the syntax: return value; Hope this helps, --Steve Hi! I'm a .signature virus! Copy me into yours and join the fun! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] Why?? SPRINTF("SELECT sequence,prodnum,childdesc....);

2001-02-01 Thread Steve Werby
function is being misused. There's no advantage to using it to wrap around an SQL statement. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Steve Werby
on monster.com for "php" turned up 324 listings. I *wish* there were less - we have listings 135 and 136 and have not found the right candidate yet. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.p

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Steve Werby
uously increase. As a result your margins should increase, even if your so called "hourly rate" remains flat. Unless of course you hire other people. That may make your operation much more complex and difficult to manage than you may think. Plus, any development firm that hires a PHP

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Steve Werby
a program (your PHP script). You may also need to create a symbolic link in a directory utilized by smrsh (sendmail restricted shell) to allow sendmail to execute your script (this is done for security reasons). "man smrsh" for details. -- Steve Werby COO 24-7 Computer Services, LLC

Re: [PHP] Variables within functions, out?

2001-02-01 Thread Steve Werby
functions within the class (a class is essentially a collection of functions that can talk with one another). -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP] Zend Debug Server

2001-02-02 Thread Steve Haemelinck
With the following standard script: You can find it there -Original Message- From: Milan Mlynarcik [mailto:[EMAIL PROTECTED]] Sent: vrijdag 2 februari 2001 14:03 To: PHP mail list General Subject:[PHP] Zend Debug Server Does anybody know how should I recognise if Ze

Re: [PHP] Performance question

2001-02-02 Thread Steve Werby
to the code below to track the time that the script took to run. On small simple programs the results will be skewed by the time it takes to actually run the code below, but on longer, more complex scripts that will be neglible when comparing your test cases. -- Steve Werby COO 24-7

Re: [PHP] Pricing for PHP programming???

2001-02-02 Thread Steve Werby
price and make the experience pleasurable for your clients the work will come. It's like any business. People want to work with people they like and if your customers like you they'll mention you to others. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247com

Re: [PHP] getting STDIO

2001-02-02 Thread Steve Werby
"Martin A. Marques" <[EMAIL PROTECTED]> wrote: > Lets say my script is named script1.php and I do: > > $ less file1 | script1.php $fp = fopen( 'php://stdin', 'r' ); Then use the standard file handling functions to access the piped data. -- St

Re: [PHP] performing tasks with a user's rights

2001-02-02 Thread Steve Werby
insert the user input into a database or a text file and then run a cron job [as frequently as you need] as root to check the db or file for changes and then update the necessary files. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General M

Re: [PHP] Undefined variable

2001-02-03 Thread Steve Werby
ble perhaps the variable is available on Apache, but not on Win2k. I have very little experience with PHP on Windows so it could be something else, but that's where I'd start. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Ma

Re: [PHP] CGI vs PHP

2001-02-03 Thread Steve Werby
here are many programming languages that can run as a CGI. PHP installed as an Apache module will in general run scripts faster than a Perl CGI or PHP CGI. PHP works great for file handling scripts, though as your files grow you'll probably want to consider using databases instead of flat files. --

Re: [PHP] Select list with PHP

2001-02-03 Thread Steve Edberg
Color"; >} and add this here: } >echo""; >echo "$option"; >echo""; For more information, see http://www.php.net/split Oh - and just in case the 'Colors' column is empty, you might want to do the while statement like - while (is_a

Re: [PHP] Replacing A Word in HTML page

2001-02-03 Thread Steve Werby
If > yes, then how? It's definitely possible in PHP. I've done it. You probably want to use a combination of fopen() and other file handling functions, eregi_replace() and str_replace(). -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com

Re: [PHP] % operator

2001-02-04 Thread Steve Werby
gh your data set and use it to calculate whether you will need to fill cells at the end of the table with non-breaking spaces. There are many other applications, but these two come up pretty frequently in web applications. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 htt

Re: [PHP] Arrays from forms

2001-02-04 Thread Steve Werby
using array_values() and array_pop(). Simply do this: while ( $row = mysql_fetch_array( $result ) ) { $option_type = $row[option_type]; $code = $row[code]; echo "$option_type $code"; } Hopefully that'll be enough to get you going. -- Steve Werby COO

Re: [PHP] 2 questions

2001-02-04 Thread Steve Werby
and modifying the system or you need redundancy and failover it might not be the best server for you. With that said, it's a great server [appliance] for basic web and email hosting and less than enterprise level database usage. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.247

Re: [PHP] Replacing A Word in HTML page

2001-02-04 Thread Steve Werby
er parts of the page) with capital letters (like you described). If you simply want to replace all matches within the page str_replace() is a better choice. Regular expressions are a more difficult concept to master than a lot of other concepts within PHP so you may want to look at some tutoria

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Steve Edberg
7;=>'value', 'var2'=>'value')); which is basically the same as the Perl or Ruby (??? never heard of that...) call above, with the addition of array(...). I use the function(array('param1'=>'value', ...)) syntax a lot instead of indiv

[PHP] XML Parsing with PHP

2001-02-04 Thread Steve Haemelinck
Where can I find some info on parsing XML with PHP? I am not looking for functions, but examples and explanations ! Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

[PHP] Re: One IP per Server / Cobalt RaQ4 [was 2 questions]

2001-02-05 Thread Steve Werby
ional IPs. I don't believe the original poster ever stated why he would need additional IPs, even after being informed what situations would require them. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.php

Re: [PHP] Breaking up a line and using the text?

2001-02-05 Thread Steve Werby
$words[1] = "My"; ...; $words[5] = "Rose"; $words = explode( " ", $string ); // Loop through array and build string $output containing hyperlinks. for ( $i = 0; $i < count( $words ); $i++ ) { $output .= "{$words[$i]}"; } // Print hyperlinks. echo $o

Re: [PHP] Is this a bug ?

2001-02-05 Thread Steve Werby
line above should be: var $champs; If it's an array you may want to initiate it like: var $champs = array(); I don't have the time to analyze your code in full right now, but hopefully this will get you started. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http:

Re: [PHP] XML -> HTML via PHP

2001-02-05 Thread Steve Werby
You'll also need to have PHP compiled with XML support. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] array max min

2001-02-05 Thread Steve Werby
s) AS numberofusers_max, MIN(numberofusers) AS numberofusers_min, ..., MIN(numberofdownloads) AS numberofdownloads_min FROM my_table GROUP BY month WHERE where_clause; -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.c

Re: [PHP] array max min

2001-02-05 Thread Steve Werby
of users for the single month/day/hour with the most users then you need a second query. If you can put into sentences exactly what you're trying to do, we can probably help you a little better. > i think i'm doomed with the big loop thing :\ Nah, I think you can avoid it. MySQL is

Re: [PHP] include files

2001-02-05 Thread Steve Werby
include( INC_PATH . "inc_common.php" ); Very portable. > I tried various versions of ../ and ../../ without success. This isn't very portable anyway. You don't want to have to change paths if you move a file to a deeper subdirectory. -- Steve Werby COO 24-7 Compute

Re: [PHP] How to reference global variables in strings

2001-02-05 Thread Steve Edberg
quot;); > This wouldn't be a global variable; rather, it's a constant. And, you'd reference it like print("This is My Path: ".MY_PATH." or is it?"); See http://www.php.net/manual/en/function.define.php and http://www.php.net/manua

Re: [PHP] Automating tasks in PHP?

2001-02-05 Thread Steve Werby
ron. See "man cron" from Linux/Unix commandline. Use it to schedule programs. If you have PHP installed as a CGI you can call a PHP file directly, otherwise you'll have to call it using its full URL using a program like wget or lynx. -- Steve Werby COO 24-7 Computer Services, LLC Tel:

Re: [PHP] General Question: OOP

2001-02-05 Thread Steve Werby
be able to get up to speed with PHP. There are tutorials online as well. Try zend.com, phpbuilder.com, weberdev.com and hotwired among others. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How can I do this?? :((

2001-02-05 Thread Steve Werby
u to save the results from one or both queries into a table and then run a query using the temporary tables. Or you may be able to organize your PHP code to run the second query after each row of the first query is returned and integrate the results within PHP, but you could end up running a ton of

<    11   12   13   14   15   16   17   >