RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
wow. I missed that one in the manual. I guess it's time for me to call it a night. Thanks. -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subject: Re: [PHP] LAST DAY OF MONTH

RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
I just noticed, this will give me total days for current month. But let's say I want to look up the total days for another month? -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subjec

RE: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Ralph Guzman
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Validate The Last Day of Month with server's clock Hi! Here's a trick script. We know that some months have the last day which is 30

RE: [PHP] Category and sub-category logic

2003-08-17 Thread Ralph Guzman
Read this article: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html It explains the 4 different methods that you can use when working with hierarchical data. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 200

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
38 PM To: 'Ralph Guzman'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential Using a cookie (I know, I know...) I plant a cookie in the visitor's browser when he opens the site with a random generated number which expir

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
ing cart'; } else { print 'Total Size:' . $cdqty['quantity'] . ''; print 'Total CDs:' . $cdqty['total_size'] . 'MBs '; } I have not tested this but it should work. Ralph -Original Message- From: Cesar Aracena [mailto:[EMAIL

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-19 Thread Ralph Guzman
); return $cart_cdqty; } } -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:41 PM To: 'Cesar Aracena'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Sensitivity: Confidential I agree

RE: [PHP] in the middle of shift and pop

2003-08-19 Thread Ralph Guzman
unset($A[2]); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 3:26 PM To: [EMAIL PROTECTED] Subject: [PHP] in the middle of shift and pop is it possible to remove an element of an indexed array such as this exemple $A = array('a', '

RE: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Ralph Guzman
function test($arg1, $arg2, $arg3 = "") { if(isset($arg3)) { // do whatever with $arg3 } } -Original Message- From: Jonathan Villa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 7:56 PM To: [EMAIL PROTECTED] Subject: [PHP] How to make an argument optional...conf

RE: [PHP] determine how many checkboxes are selected.

2003-08-26 Thread Ralph Guzman
Change box names to chk[] and assign the id as the value, so for example: to check which boxes have been checked simply traverse through the chk[] array like this: $chk_array = $_POST['chk']; for($chk_array as $chk_key => $chk_value) { print 'Checkbox Id:'. $chk_key . ' Value:'. $chk_value

RE: [PHP] OO PHP question

2003-08-26 Thread Ralph Guzman
http://www.php.net/oop http://php.resourceindex.com/Documentation/Class_Design_and_OOP/ http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i ndex.html -Original Message- From: Mike Zornek [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:01 AM To: [EMAIL P

[PHP] Best Approach for Multiple Options

2003-09-03 Thread Ralph Guzman
I'm currently in the process of writing a real estate listings program and I am not sure what the best approach is for storing and searching through the property amenities. Example: houses or apartment amenities can be a pool, fitness center, spa, etc. Users must be able to search for listings wit

[PHP] mysql Pattern Matching

2003-09-04 Thread Ralph Guzman
I know this question is best for the mySQL mailing list, but I am unable to subscribe to their list at this moment so perhaps somebody here can help me out. I have a table with a field where amenities are listed together using a comma delimiter like: pool,spa,fitness-center To search this table I

RE: [PHP] mysql Pattern Matching

2003-09-05 Thread Ralph Guzman
Is there an advantage or difference in running FIND_IN_SET() instead of LIKE? -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:53 AM To: Ralph Guzman; PHP General Mailing List Subject: Re: [PHP] mysql Pattern Matching From

RE: [PHP] A bd problem

2003-09-04 Thread Ralph Guzman
First, do not use HTML email for posting questions to the list. Take a look at: $not = $consulta->fetch_row($res); not familiar with your BaseDatos class, but fetch_row will normally return an enumerated array, this means that rather than using $not['Descripcion'] you should be using $not['0'],

RE: [PHP] Single Quotes vs Double Quotes

2003-09-09 Thread Ralph Guzman
Read this article: http://www.zend.com/zend/tut/using-strings.php -Original Message- From: micro brew [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 9:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Single Quotes vs Double Quotes Hi everyone, Could somebody please explain to me

RE: RE: [PHP] PHP Editor - which to use?

2003-09-24 Thread Ralph Guzman
>It doesn't do syntax highlighting, but if you need >that, then you need to learn to code better. Ha,ha. too funny. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:56 AM To: jeffrey pearson; [EMAIL PROTECTED] Subject: Re: RE: [PHP] PHP Ed

RE: [PHP] Subcategories in php

2003-09-24 Thread Ralph Guzman
This article explains four methods for doing this: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html -Original Message- From: phpu [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Subcatego

RE: [PHP] php with MsSql

2003-09-24 Thread Ralph Guzman
You might also want to look at these libraries for mssql native support: http://www.freetds.org -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:21 AM To: [EMAIL PROTECTED] Subject: [PHP] php with MsSql I'm creating a site

RE: [PHP] Select multiple payment mode

2003-10-01 Thread Ralph Guzman
I guess the thing to do would be to log in payments in the database. So lets say the total is $50.00, if the user pays $25 on cc and payment is authorized, then log this into the database, then show the remaining balance. At this point you can give user the option to pay the remaining balance using

RE: [PHP] PHP Journals and Magazined

2003-10-14 Thread Ralph Guzman
If you are looking for magazines: http://www.phphub.com/browse.php?cat=52 You can find all sorts of PHP resources online. Here are a few of my favorites: http://www.phphub.com/ http://www.zend.com/developers.php http://www.sitepoint.com/ http://www.devshed.com/Server_Side/PHP and of course,

[PHP] Sorting DB Results

2003-11-13 Thread Ralph Guzman
I am trying to write a query (mysql 3.23) that will sort results using one or two substrings in item number. So for example I have item numbers that start with SE, TS, N0, W00, etc. So let say I want results sorted in the following order TS, SE, N0, W0 I have trie

[PHP] Virtual Directory Support

2003-12-02 Thread Ralph Guzman
I have a new installation of PHP 4.1.2 and it appears I cannot run php scripts outside of apache root directory. I look at phpinfo() and I saw Virtual Directory Support is set to disabled. I'm suspecting this could me the problem, but I have not been able to find anything on google or the lists exp

RE: [PHP] Virtual Directory Support

2003-12-03 Thread Ralph Guzman
ctory Support On Wednesday 03 December 2003 12:51, Ralph Guzman wrote: > I have a new installation of PHP 4.1.2 and it appears I cannot run php > scripts outside of apache root directory. How did you come to this conclusion? Was there an error message? If so, what did it say? If there was no er

RE: [PHP] Re: post an array into another site

2003-12-08 Thread Ralph Guzman
= THE END = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Buffalo'ed, stumped, confused...

2004-01-09 Thread Ralph Guzman
For debugging purposes, if you want to see all values in $_POST use this code: print ''; print_r($_POST); print ''; or this: print ''; var_dump($_POST); print ''; -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:31 PM To: PHP General

RE: [PHP] Hiding files away from /public_html/

2004-01-09 Thread Ralph Guzman
Put them in a folder with .htaccess: RewriteEngine onRewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] ReWriteRule .*\.(gif|jpg)$ - [N,F,L] -Original Message- From:

RE: [PHP] post vars not by form

2004-01-09 Thread Ralph Guzman
Use socket connection: http://www.php.net/fsockopen read the "User Contributed Notes" where you will find functions and examples. -Original Message- From: Nabil [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: [PHP] post vars not by form

RE: [PHP] Re: Not working?

2004-01-09 Thread Ralph Guzman
Or this: system("rename('/path/to/new.sh', '/path/to/old' . $today)"); -Original Message- From: Matt Grimm [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Not working? You can't use variables inside single quotes, either. Thi

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function that will do this, assuming $items is an array you would do the following: // $size INTEGER // $width INTEGER // border INTEGER // $cpadding INTEGER // $cspacing INTEGER // $data ARRAY function horizontalTable($size, $width, $border, $cpadding, $cspacing, $data) {

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function I use. Assuming data is stored in an array called $items you will call out horizontalTable() like this: horizontalTable(3,600,1,3,3, $items); Here is the horizontalTable() function code: // $size: number of columns // $width: table width // $border: table border // $cpadding:

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
DISREGARD THIS ONE -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 4:35 PM To: 'Raditha Dissanayake'; 'dareal hamsta' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sorting data into columns vertically Here is a functi

[PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Ralph Guzman
In the past I've read emails of people looking for php programming tips and better practice advice. Here is a good article I came across on writing efficient php code: http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Online Community Project

2004-01-21 Thread Ralph Guzman
I want to develop a friendster like program in php. I've searched the net to see if there are any similar programs or projects but I have not found anything. Anybody seen or come across any programs or projects for developing a friendster like community? -- PHP General Mailing List (http://www

RE: [PHP] looking for a good shopping cart - catalog system

2001-04-23 Thread Ralph Guzman
if you looking for a ready out-of-the box solution, this is one of the best I've seen: www.theexchangeproject.org you may also want to look into the following: http://www.phpshop.org http://share.whichever.com/index.php?SCREEN=freetrade -Original Message- From: Roee Rubin [mailto:[EMA

RE: [PHP] hello

2001-04-25 Thread Ralph Guzman
http://www.webmin.com -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 12:10 AM To: 'SuiteNet Operations Manager'; php-general Subject: RE: [PHP] hello what about Webmin? it's wuite cool, it has it all. (don't remember the URL, it come

RE: [PHP] php4 on RedHat 7.1

2001-04-26 Thread Ralph Guzman
Your httpd.conf configuration should look something like this: AddType application/x-httpd-php .php .phtml .php3 .php4 AddType application/x-httpd-php-source .phps -Original Message- From: j2n tech [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 8:42 PM To: [EMAIL PROTECTED] Su

RE: [PHP] This is driving me to drink...

2001-05-01 Thread Ralph Guzman
$p_code = "MNE"; $hub=$coreKey; if ($p_code=='MNE' || $p_code=='SN' || $p_code=='PM') { $hub = "$neuroKey"; } else if ($p_code=='MAI') { $hub = "$allergyKey"; } else if ($p_code=='SPS' || $p_code=='MCC') { $hub = "$dermKey"; } echo "$hub"; -Original Message- From

[PHP] test

2001-05-08 Thread Ralph Guzman
... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Test 2

2001-05-08 Thread Ralph Guzman
This is only a test. I apologize. -- 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] Variables in variable names

2001-05-09 Thread Ralph Guzman
As an alternative you can use associative arrays $i = 0; $i = 1; $i = 2; $i = 3; $name[$i]; -Original Message- From: seriousj [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 4:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Variables in variable names Hello, I need some help (n

RE: [PHP] PC MAG article - what a crap!

2001-05-10 Thread Ralph Guzman
Why don't we write to zdnet and tell them what a lousy article this was? -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 8:36 PM To: 'Tyrone Mills'; PHP List Subject: RE: [PHP] PC MAG article - what a crap! http://www.zdnet.com/pcmag/stori

RE: [PHP] HallMark uses PHP!!!!

2001-05-15 Thread Ralph Guzman
Here is another big one that uses PHP. http://www.marketplayer.com/ They provide stocks simulation games for sites like etrade.com, and smartmoney.com, to name a few big ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 10:31 PM To:

RE: [PHP] phpjobs.com

2001-05-15 Thread Ralph Guzman
Look at Guru.com: http://www.guru.com. They always have listing of employers looking for people with PHP skills. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent: Friday, May 11, 2001 11:40 AM To: [EMAIL PROTECTED] Subject: [PHP] phpjobs

RE: [PHP] Shopping with variables

2001-05-16 Thread Ralph Guzman
Might want to reconsider the way you are doing this, since this may not be the most efficient way. An alternative might be to do this as follows: In your web form set a field for Quantity and another for Item Name, so for example: ... Quantity: DVD VIDEO CD ... then when you process t

[PHP] cursor focus

2002-03-02 Thread Ralph Jarvis
ed to click on the text box to begin typing. How do I get the cursor to "focus" on this text box? Many thanks in advance Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cursor focus

2002-03-03 Thread Ralph Jarvis
; This is not a php question. It is a JavaScript issue. You need to add this > code to the bottom of your page: > > > document.forms[0].text_box_name.focus(); > > > -- > Gaylen > PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ > > "Ralph J

[PHP] Re: Random number Question

2002-03-13 Thread Ralph Friedman
f (trim($guess) == $number { this will assure that there's no whitespace in $guess -- Rgds Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple variables

2002-03-15 Thread Ralph Jarvis
Hi; An obvious question for some, but I am stumped: I want to use multiple optins in an "if" statement... if(user($arbitraryVariable)==(1 or 2 or 3 or 4)) What would be the proper syntax for this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: which php book 2 buy ?

2002-03-26 Thread Ralph Friedman
In article <[EMAIL PROTECTED]>, Septic Flesh wrote: > I wanna buy a book from amazon . . .but don't know which one.. > Do you know where I will find examples of shopping carts ? (which book ?) > "Creating Dynamic Web Pages Using PHP and MySQL" by David Tansley. --

RE: [PHP] $PHP_SELF

2002-04-01 Thread Ralph Guzman
Try "mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 6:24 PM To: [EMAIL PROTECTED] Subject: [PHP] $PHP_SELF SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev I have a question that could be Apache, could be php, but I'm so new to this I have to ask: what is wrong with my code for the form acti

[PHP] PEAR DB Results

2001-10-31 Thread Ralph Guzman
I am trying to do a joined query using PEAR DB? My code looks something like this: $sql = "SELECT wwwpages.pid,wwwpages.name,media.pid,media.name FROM wwwpages, media WHERE wwwpages.pid = '$pid'"; if(DB::isError($result = $db->query($sql))){ echo "ERROR:" . DB::errorMessage($result); } else { w

RE: [PHP] PHP newbie alert

2001-12-04 Thread Ralph Guzman
I'd suggest Homesite: http://www.macromedia.com/software/homesite/ -Original Message- From: shaun murphy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 2:25 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP newbie alert Hello! Being one not to refuse a challenge, I have been ask

[PHP] test

2001-04-09 Thread Ralph Guzman
... -- 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] Commercial sites that use PHP

2001-04-10 Thread Ralph Guzman
here are a couple: http://www.marketplayer.com: they provide the real-time stock market simulations for sites like etrade.com and smartmoney.com that have these games. http://www.chek.com/ -Original Message- From: Phil Labonte [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 6

RE: [PHP] Is this a joke?!

2001-06-26 Thread Ralph Guzman
I don't think this is a joke, infact it's good that a PERL site would feature PHP in sections of their site. PHP borrows much from PERL, this is why many PERL programmers including myself, began using PHP in the first place. Not to say that one is better than the other, since they all have their p

RE: [PHP] Auction PHP Solution?

2001-06-27 Thread Ralph Guzman
Look at PHPAuction: http://www.phpauction.org/html/ -Original Message- From: Michael O'Neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 8:56 AM Cc: Php-General@Lists. Php. Net Subject: [PHP] Auction PHP Solution? Hi, Has anybody seen an "ebay-like" auction solution done in P

RE: [PHP] Enabling short tags in PHP 4.0.6

2001-07-12 Thread Ralph Guzman
Are you sure you have the php.ini file in the right directory? When looking at phpinfo() make sure php.ini is located where the "Configuration File (php.ini) Path" is set to. -Original Message- From: Coulee Web [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 6:03 PM To: [EMAIL PRO

RE: [PHP] PHP_SELF

2001-07-31 Thread Ralph Guzman
I personally think it is best to display a form error on the form itself, rather than given them a blank page that shows an error, then have them click a button or link to go back to the form. Here is somewhat a quick and dirty example of how I go about forms and error checking. For this example I

RE: [PHP] PHP_SELF

2001-07-31 Thread Ralph Guzman
echo "$formerror"; " METHOD="post"> "> "> -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 3:30 PM To: PHP Subject: [PHP] PHP_SELF Im trying to introduce some logic into a form.I am unsing $PHP_SELF as the target.

RE: [PHP] Re: What tools do you use to develop PHP?

2001-07-31 Thread Ralph Guzman
Homesite: http://www.allaire.com/products/HomeSite/ -Original Message- From: Matt Rogers [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 7:55 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: What tools do you use to develop PHP? I like PHPCoder for Winblowz: http://www.phpide.de The

RE: [PHP] Example high-profile PHP sites

2001-07-31 Thread Ralph Guzman
here are a few: http://www.marketplayer.com: they provide the real-time stock market simulations for sites like etrade.com and smartmoney.com that have these games. http://www.chek.com/ -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9

[PHP] Content Management Systems

2001-07-31 Thread Ralph Guzman
Hello, I am looking for new alternatives in web development and maintenance. Anybody have any suggestions or comments on any open source/commercial PHP+mySQL based CMS programs? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] MAgic Quotes

2001-07-31 Thread Ralph Guzman
How do you turn on/off magic quotes through .htaccess? Is it this posible? -- 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] Example high-profile PHP sites

2001-07-31 Thread Ralph Guzman
Incase you still need it. Here is a big one I forgot to mention: http://www.dialpad.com/ Not sure how much of their site is PHP, but their user registration and member backend is PHP driven. -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 1

RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Ralph Guzman
Download a NuSphere release. Depending on which you release you choose, for the most part these include mySQL, PHP, Apache, and I think Perl. I've found the setup to be seamless and very simple even for beginners. http://www.nusphere.com -Original Message- From: Kyle Smith [mailto:[EMAIL

RE: [PHP] PHP_SELF

2001-08-01 Thread Ralph Guzman
Wednesday, August 01, 2001 12:50 PM To: PHP Subject: Re: [PHP] PHP_SELF Ok, I would like to thank Ralph Guzman & Richard Lynch for your help. I combined your ideas into my own working example. Just posting here for archiving/discussion purposes... // Input some data // echo "\n"; ec

RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread Ralph Guzman
NuSphere is also available for Windows. I am running it on my Windows 2000 workstation, but it is also available for 98/ME, etc.. -Original Message- From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 12:20 AM To: Ralph Guzman; Kyle Smith; [EMAIL PROTECTED

RE: [PHP] Search for PHP Motivation Studies

2001-08-18 Thread Ralph Guzman
IN the book "Web Application Development with PHP 4.0" There is an entire chapter towards the end of the book that describes such case studies. Hope this helps. -Original Message- From: Björn Schotte [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 11:36 PM To: [EMAIL PROTECTED]

[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose "save this location". You could mention this on the your page in a "if you have trouble dwonloading" sentence. a very stable solution would be to make a se

[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose "save this location". You could mention this on the your page in a "if you have trouble dwonloading" sentence. a very stable solution would be to make a se

[PHP] Re: PHP based authentification -----------

2001-08-24 Thread Ralph Deffke
send an 401 unauthorized header. see php manuall under function header() as an example Alex Sofronie schrieb: > Hi all! > > How can I "logout" from a PHP based auth (with PHP_AUTH_USER and PHP_AUTH_PW > and appropriate headers sent at the beginning)? > It seems like unset($PHP_AUTH_USER) does no

[PHP] how can i cache php scripts enterpretet

2001-08-24 Thread Ralph Deffke
I have developed a web portal for big compamies with a lot of traffic on their pages. main functions, like member authentication etc. are called on every page request. it would make sence to have them ready enterpretet to skip enterpretation on each request. i know that there are tools arround lik

[PHP] Re: IP security

2001-08-26 Thread Ralph Deffke
use the $REMOTE_ADDR variable for the remote address see php manual chapter 7 Variables - Variables from outside PHP Nafiseh Saberi schrieb: > hi. > how can I control the ip that with ID and password ,all of > user cant enter to site and if one person want to enetr should > have special IP tha

[PHP] Re: zlib1.1.3 and ob_gzhandler

2001-08-26 Thread Ralph Deffke
Are you shure u sending the right http header? your discription sound like the browser receives the wrong header information, respactively the wrong mime type. if you use the right mouse button and say show image, all browsers don't care about the mime type and try to evaluate the data content an

[PHP] Re: relative filename /home/www... in stead of /www/.....

2001-08-26 Thread Ralph Deffke
use $SCRIPT_FILENAME and extract the parts of the path as u need. or better $PATH_TRANSLATED see also php manual chapter 7 predefined variables. Chris Hayes schrieb: > dear group, > > I use the $DOCUMENT_ROOT to make a complete file name. > > $fpname=$DOCUMENT_ROOT.'/includes/blocks/dyn

[PHP] Re: show number of search results

2001-08-26 Thread Ralph Deffke
make a sql just with your where clause like this select count(*) from table where your where clause the relsulting result set will give u the number of records for your where clause [EMAIL PROTECTED] schrieb: > Good day, > > I'm trying to figure out how I can show the following on my search re

[PHP] Re: Program to check for cookies

2001-08-26 Thread Ralph Deffke
see php Manual chapter 18 cookies Sunil Jagarlamudi schrieb: > Is there a program which will check for cookies before > it allows access into the web site ? > > I want the user to enter the userid/password on a > secure web server and pass the cookie information to > the regular server. I don't

[PHP] Re: limit 1

2001-08-26 Thread Ralph Deffke
i would try this: $sql = "SELECT DISTINCT users.names FROM users, selection Where users.name = selection.name and selection.setting = 'on' "; because you joining two tables and you get as many results per users.name = selection.name as entries in bouth tables per us

[PHP] APC and WIN 32

2001-08-26 Thread Ralph Deffke
does anybody know a resource where i can get apc for windows? or does anybody have experienced how to compile APC under wimdows and include it i.e. in Merlin Desktop? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP] Re: Wide Image Scroller

2001-08-26 Thread Ralph Deffke
but the frameset could be done with php ! Eric Persson schrieb: > Craig Westerman wrote: > > > > I have a very wide panoramic image I want to display on a page. I don't want > > to side scroll the page, only the image. Is there a way to make a image side > > scrollable using PHP? > > This can no

[PHP] Server Setup

2001-08-29 Thread Ralph Guzman
I am working on setting up a Red Hat Linux Web Server. Is there a benefit to installing PHP/MySQL/Apache by compiling them from source vs. installing these using RedHat's Binary/RPM distributions? What are the pro's and con's of these two methods? Can anybody suggest any pointers considering stab

RE: [PHP] begginer needs help

2001-08-31 Thread Ralph Guzman
If you choose to install Apache/PHP and perhaps even mySQL and you want to avoid downloading each individually, then configuring them to work together. You can download at straight-forward easy installation distribution that includes all three. Check out Nu-Sphere, and download one of their free d

RE: [PHP] Re: [PHP-DEV] Anagram Type Puzzle

2001-09-10 Thread Ralph Guzman
Moore [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 1:40 AM To: PHP Developer Mailing List; Ralph Guzman Cc: [EMAIL PROTECTED] Subject: [PHP] Re: [PHP-DEV] Anagram Type Puzzle This should really be sent to [EMAIL PROTECTED], this is the list for the developers OF PHP not developing WIT

[PHP] Anagram Solution in PHP

2001-09-10 Thread Ralph Guzman
Im trying to figue out the following anagram using PHP. Here is the problem: Using letters of the alphabet represented by a number, I have to come up with words that add up to exactly 100. Numbers are in reverse where A=26 and Z=1, so for example: A B C...X Y Z 26 25 24..3 2 1 So let's s

RE: [PHP] Get Info From Database Without Refreshing the Page! PrettyNeat!

2001-09-13 Thread Ralph Guzman
What you are trying to do here sounds like it is done on the client end. I'd be willing to bet this requires the use of Javascript/Jscript/VBScript and DHTML. -Original Message- From: Coenraad Steenkamp [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 2:29 AM To: [EMAIL PROTE

RE: [PHP] named anchors and query strings

2001-10-02 Thread Ralph Guzman
Never had to do this, however I would think the correct way to be: try it. -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [PHP] named anchors and query strings Hi Guys, How do you reference bot

RE: [PHP] Creating mailaccounts

2001-10-02 Thread Ralph Guzman
This is somewhat dependant on the email server (MTA) you are running and how it is set to authenticate users. If using linux/unix, sometimes all that is required is for you to create an account is to add the entry in the /etc/passwd, and create a home directory. This you can easily do with a PHP a

RE: [PHP] Simple Question, I think

2001-10-03 Thread Ralph Guzman
.com: header("Location: http://www.domainname.com/dir_03";); break; } Ralph -Original Message- From: Ratfish [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 7:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Simple Question, I think All I want to do is what an ASP

RE: [PHP] php not reading php.ini

2001-10-03 Thread Ralph Guzman
Unless you modified the default path to the configuration file when compiling, your Configuration Path setting should be set to something like this: /usr/local/lib/php.ini in this case, you say it is set to /www/conf. I'm assuming by this that it looking for a configuration file called 'conf' in

RE: [PHP] Creating POP3 account

2001-10-03 Thread Ralph Guzman
This is related to the email I responded to a few minutes ago. See below: -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:25 AM To: Bjornie; [EMAIL PROTECTED] Subject: RE: [PHP] Creating mailaccounts This is somewhat dependant on

RE: [PHP] Simple Question, I think

2001-10-03 Thread Ralph Guzman
.com: header("Location: http://www.domainname.com/dir_03";); break; } Ralph -Original Message- From: Ratfish [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 7:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Simple Question, I think All I want to do is what an ASP

RE: [PHP] php not reading php.ini

2001-10-03 Thread Ralph Guzman
Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 >From: Ralph Guzman <[EMAIL PROTECTED]> >To: Caleb Carvalho <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: [PHP] php not reading

[PHP] Proposal

2001-10-04 Thread Ralph Guzman
I currently thinking on doing some freelance PHP programming and web design for somebody. I have a pretty good idea on how much I will be chargin, however I am looking at putting this in writing. I was wondering if anybody had any example proposals/bids or web liks to where I can find such informa

RE: [PHP] Re: php inventory control software

2004-08-02 Thread Ralph G
See www.eshox.com -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: php inventory control software John W. Holmes wrote: > From: "John Nichel" <[EMAIL PROTECTED]> > >>Steve Douville wrote: >>

RE: [PHP] getting an array out of the POST array

2004-08-17 Thread Ralph G
Remove $_POST from $_POST[firstname][$key], $_POST[middlename][$key] and $_POST[lastname][$key]. It should simply be $firstname[$key], $middlename[$key], and $lastname[$key] Not sure what your array data looks like but instead of using while() use foreach(): foreach($_POST['firstname'] as $key

[PHP] how to pass variable argument list in a childconstructor to parent constructor, ideas wanted

2009-08-02 Thread Ralph Deffke
problem: __ construct( $something ... variable argument list ){ parent::__construct( ??? ); } I tried with func_get_args, but the problem is that it gives an indexed array back. lets say the argument list is mixed like this: ( "string", "string", array) func_get_args will give this [0] => "

[PHP] Re: Character encoding

2009-08-05 Thread Ralph Deffke
I assume that the comments are collected by a browser form provided by you ! do u use the form attribute "accept-charset" ? I always do and I always use UTF-8 homogeniously throughout my application I never had that problem. "Sándor Tamás (HostWare Kft . )" wrote in message news:9ac01674e03a4

<    1   2   3   4   >