Re: [PHP] E_ALL | E_STRICT

2006-08-23 Thread Ligaya Turmelle
tedd wrote: - tul P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ?? Good catch. I'm not sure where I got that -- probably a message from some flounder (Bullwinkle circa 1964). In my newer scripts I use:

Re: [PHP] Unicode

2006-08-13 Thread Ligaya Turmelle
tedd wrote: At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote: Larry Garfield wrote: In C or C++, yes. In PHP, do not assume the same string-number mapping. Numeric definition is irrelevant. Right, and now bring Unicode into the picture and this becomes even more true. -Rasmus I know

Re: [PHP] List Meeting NNOT

2006-08-11 Thread Ligaya Turmelle
tedd wrote: At 7:22 AM +0200 8/10/06, Paul Scott wrote: On Wed, 2006-08-09 at 18:54 -0500, Jay Blanchard wrote: Yes, but not everyone can get to or goes to conferences. And this would stand on its own don'tcha think? I think that Chicago is perfect, because it is centrally located

Re: [PHP] question about how php handles post'd and get'd data

2006-08-09 Thread Ligaya Turmelle
tedd wrote: At 10:27 AM +1000 8/9/06, Ligaya Turmelle wrote: jonathan wrote: i was having a conversation and was wondering where in the source code for php is the process for writing get'd and post'd data to their corresponding arrays? Also, is there a way to view the source code online

Re: [PHP] question about how php handles post'd and get'd data

2006-08-08 Thread Ligaya Turmelle
jonathan wrote: i was having a conversation and was wondering where in the source code for php is the process for writing get'd and post'd data to their corresponding arrays? Also, is there a way to view the source code online? thanks, jonathan PHP's cvs is available online at

Re: [PHP] Greek Characters from MySQL to PHP to the Browser: ??????

2006-08-08 Thread Ligaya Turmelle
John Wells wrote: Hi Everybody, Despite all of my Googling and noodling, I can't seem to figure this out, and am hoping someone might be able to point me in the right direction. Scenario: - Running Apache 1.3 on OSX 10.4, PHP 5.1.4, MySQL 5.0.19 - Greek text is stored in a MySQL database,

Re: [PHP] OT promotion candidates needed

2006-08-06 Thread Ligaya Turmelle
Jay Blanchard wrote: Good news/kinda' bad news (but not really); I am proud to say that I have been promoted to Director of IT in my little corner of the world. Congrats on the promotion - Love the pretty title. Does it come with letters even? ;) -- life is a game... so have fun. --

Re: [PHP] The difference between ereg and preg?

2006-08-03 Thread Ligaya Turmelle
Dave M G wrote: PHP List, Recently I wrote a piece of code to scrape data from an HTML page. Part of that code deleted all the unwanted text from the very top of the page, where it says !DOCTYPE, all the way down to the first instance of a ul tag. That code looks like this:

Re: [PHP] override core function

2006-08-02 Thread Ligaya Turmelle
Khai wrote: Is it possible to override the core built-in function exit() in PHP. If so, how can I call the the built-in exit() from within my function? Thanks Khai I think you can override any core function by messing with the internals (though I could be wrong). But then you have to

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread Ligaya Turmelle
Chris Boget wrote: I am looking in some possibilities for automatically documenting my functions and classes. Preferably with some markup in the sourcecode and easy to implement. I am running Linux on my desktop so w* stuff won't do it for me :) Can anyone point me in the right direction?

Re: [PHP] SQL injection

2006-08-02 Thread Ligaya Turmelle
Peter Lauri wrote: Hi all, I saw some strange error messages from a site when I was surfing it, and it was in form of SQL. I did some testing of the security of the SQL injection protection of that site, and it showed it was not that protected against SQL injections. To show this to them, I

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-01 Thread Ligaya Turmelle
Colin Guthrie wrote: Satyam wrote: There is no 'common consensus' but I am sure you'll be getting lots and lots, I would even say LOTS, of sugestions. I'm surprised no-one has mentioned the Zend Framework yet. I'm looking to do a bit of a rewrite of a large PHP application in the

Re: [PHP] Name in HTML input

2006-07-18 Thread Ligaya Turmelle
weetat wrote: Hi all, I am using php 4.3.2 , mysql db and Red Hat Enterprise. I have some issue regarding the name in INPUT Tag in html , as shown below: a: input name=FOX08340027hostname[] type=hidden value=FOX08340027 b: input name=FHK0924F0JG (2771890816)hostname[] type=hidden

Re: [PHP] Name in HTML input

2006-07-18 Thread Ligaya Turmelle
Jay Blanchard wrote: [snip] Thanks for your info. I am new in PHP , how to remove the the space and '(',')' ? [/snip] Use the delete key. LOL -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Love Letter

2006-07-18 Thread Ligaya Turmelle
Martin Alterisio wrote: Been quiet too much... *This time, I seriously advise against running this piece of code unless you know what you're doing* Enjoy... --- html head titleLove Letter/title /head body ?php if (in_array($me, $her-acquaintances)) { ? pDear ?=$her-name?,/p pI

Re: [PHP] [totaly off t****]

2006-07-13 Thread Ligaya Turmelle
Jay Blanchard wrote: [snip] ...stuff... [/snip] I think I can help, because emI/em am the man. And when you are tired of listening to the men yell about how great they are... I, the WOMAN, will actually do it ;) -- life is a game... so have fun. -- PHP General Mailing List

Re: [PHP] DB Create Table help - using Pear DB

2006-07-12 Thread Ligaya Turmelle
Scott Heinrichs wrote: Hello all, This is the first time I have posted an issue to this forum, so please excuse in noob questions or statement. I am trying to create a table from a string that created by a DESCRIBE TABLE query... this is the generated string: CREATE TABLE 'users' ( 'username'

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-09 Thread Ligaya Turmelle
Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página

Re: [PHP] Printing in php

2006-07-04 Thread Ligaya Turmelle
weetat wrote: Hi all , I am using PHP 4.3.2 and MYSQL . I need to do printing function in php . Basically , in my client web page , it will display the list of items on the html page. And i have a print button , so that the user can print the html page to their local printer. Any way

Re: [PHP] page redirecting

2006-06-28 Thread Ligaya Turmelle
Richard Lynch wrote: usually daft ... and slam the data into ... completely OT Don't ask me why - but I enjoyed your choice in words... /completely OT -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Ligaya Turmelle
, Ligaya Turmelle -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question regarding OS

2006-06-27 Thread Ligaya Turmelle
Jochem Maas wrote: Mayank Maheshwary wrote: Hi, Is there a function that can detect the OS on which the script is running? yes. php_uname() read about it here http://php.net/manual/en/function.php-uname.php and then read 10 pages either side just for fun :-) Thank you. M. Ha -

Re: [PHP] working on a template system...

2006-06-27 Thread Ligaya Turmelle
Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen [EMAIL PROTECTED] wrote: hi, i'm working on a template system. Basically i'm building raw contents in arrays and then put them

Re: [PHP] Question regarding OS

2006-06-26 Thread Ligaya Turmelle
Mayank Maheshwary wrote: Hi, Is there a function that can detect the OS on which the script is running? Thank you. M. The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug* The OS of the client is not available - server side - remember. -- life is a game... so have fun. -- PHP

Re: [PHP] Sad PHP Poem

2006-06-25 Thread Ligaya Turmelle
Martin Alterisio wrote: offtopic type=slightly offtopic class=poetic literary A sad poem of an algorithm where solitude brought excessive use of cpu cycles and memory allocation for redundant data (it copied over and over again the same image till all memory was filled with it)

Re: [PHP] Want some PHP e-book

2006-06-18 Thread Ligaya Turmelle
prolibertine wrote: i am a newbie of php .i want get some php ebook to read. who can send me some thx http://www.hudzilla.org/phpbook/ -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP6 build help

2006-06-14 Thread Ligaya Turmelle
Rabin Vincent wrote: On 6/14/06, Ligaya Turmelle [EMAIL PROTECTED] wrote: Richard Lynch wrote: You realize that compiling PHP6 from CVS is, errr, not really for newbies... :-) Yeah - I know. but I am helping out the php qa team by writing some phpt tests... and they prefer (though don't

[PHP] PHP6 build help

2006-06-13 Thread Ligaya Turmelle
Ubuntu Breezy Badger, AMD 64 I am trying to build PHP6 from source. I must admit to being a novice at *nix systems, but I am learning - so please be gentle. :) I have already gotten a copy of the PHP6 source from CVS, downloaded the autoconf version 2.13 as well as the ICU and ran the

Re: [PHP] PHP6 build help

2006-06-13 Thread Ligaya Turmelle
Richard Lynch wrote: You realize that compiling PHP6 from CVS is, errr, not really for newbies... :-) Yeah - I know. but I am helping out the php qa team by writing some phpt tests... and they prefer (though don't require) the tests also include the unicode support. which means PHP6. As I

Re: [PHP] Introductory message

2006-06-12 Thread Ligaya Turmelle
Jay Blanchard wrote: [snip] Thought we were going to add the Security subsection to the Where to Find More Information section of the NEWBIE email. Wasn't it supposed to include a link to the manuals security area as well as the phpsec site? +1 [/snip] Send me the details and I'll make

Re: [PHP] Introductory message

2006-06-07 Thread Ligaya Turmelle
Jay Blanchard wrote: [snip] I am attempting to send my first post to the list. Been reading and using PHP with passion for the past year on our website and want to learn more and more, and contribute if I can. [/snip] Your attempt was successful, some suggested reading;

Re: [PHP] Converting characters

2006-05-17 Thread Ligaya Turmelle
Jonas Rosling wrote: Hi, the PHP newbie is here again asking questions. Is there anyway in PHP to convert none international characters so the are displayed correct? In my case I have lots of data in the database with å,ä and ö. Thanks // Jonas Have you looked at the mbstring or iconv

Re: [PHP] Good Answers

2006-05-10 Thread Ligaya Turmelle
Jay Blanchard wrote: [snip] In the spirit of improving the mailing list, I'd like to suggest that we, as a group, attempt to not provide answers with Bad Practices, or at least always to point out that the Sample is Bad Practice for production sites? For example, an answer to a question about

Re: [PHP] Good Answers

2006-05-10 Thread Ligaya Turmelle
Richard Lynch wrote: Hey y'all... In the spirit of improving the mailing list, I'd like to suggest that we, as a group, attempt to not provide answers with Bad Practices, or at least always to point out that the Sample is Bad Practice for production sites? For example, an answer to a question

Re: [PHP] Re: Status report on mailing list?

2006-05-09 Thread Ligaya Turmelle
Jochem Maas wrote: Rasmus Lerdorf wrote: John Hicks wrote: Spam has suddenly swamped the PHP mailing lists. (Some of you may have better filters than I and not noticed it.) Apparently the list had been moved to a new server and it hasn't been configured properly yet. I fear many will

Re: [PHP] Removing special chars

2006-04-25 Thread Ligaya Turmelle
Gerry Danen wrote: I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry

Re: [PHP] PHP Framework alternative ...

2006-04-16 Thread Ligaya Turmelle
I second that, and if anyone in the know cares to comment on whether: a. php will actually implement static late binding Mike Lively gives and update on the late static binding patch submitted to the internals on his blog

Re: [PHP] Best authentication method for user

2006-04-03 Thread Ligaya Turmelle
them ? (this must be secured enough) thanks a lot, Alain On 4/3/06, Ligaya Turmelle [EMAIL PROTECTED] wrote: For that i was thinking to use session and register his login and password as session variable. What do you think about that ? I personally would only hold a password

Re: [PHP] Best authentication method for user

2006-04-02 Thread Ligaya Turmelle
For that i was thinking to use session and register his login and password as session variable. What do you think about that ? I personally would only hold a password for as long as it is needed to log them in. Then I'd set a session var that they have logged in and another session var

Re: [PHP] MySQL NOT IN Query not working

2006-03-16 Thread Ligaya Turmelle
Kevin Murphy wrote: Anyone want to point me to why this isn't working: $hr_query = select dp_lname,dp_fname,dp_id FROM dir_all WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2) ORDER BY dp_lname; There are two tables, dir_all (the main list of everyone) and

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Ligaya Turmelle
On the IRC - been told it's for Pretty Horny People ;) LOL Kevin Kinsey wrote: Jay Blanchard wrote: In the end it is not worth worrying about. If someone asks you what PHP stands for tell them it stands for the best darned programming language you ever saw. Hrm, I thought it was People

Re: [PHP] how to learn php

2006-02-13 Thread Ligaya Turmelle
http://www.unf.edu/~rita0001/eresources/php_tutorials/index.htm LOL - I remember going to school with Albert. Never knew he got into PHP after I left. -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Application Vuln. Testing

2006-02-07 Thread Ligaya Turmelle
Have you looked over phpsec.org site? read over the security guide, and the various articles? Jason Gerfen wrote: Richard Davey wrote: On 7 Feb 2006, at 16:54, Jason Gerfen wrote: Is there any product available, commercial or free which performs source code auditing which *specificly

Re: [PHP] Is this the most effient to do with php an mysql?

2006-02-06 Thread Ligaya Turmelle
using mysql is better then using php. SELECT y_id, year FROM Year WHERE year = year(curdate) ORDER BY year desc; Paul Goepfert wrote: Hi all, I have a table of years going from 1985 - 2008. These years represent the purchase year. I have created a SQL statement that selects the years that

Re: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Ligaya Turmelle
or you can forget about keeping track of the indexes and just use array_push or the even simpler $names[]=$row['lastname']; Jim Moseby wrote: I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned

Re: [PHP] help plz

2006-01-16 Thread Ligaya Turmelle
I am also assuming you actually do know the basics of MySQL and PHP and are looking for that next step - past the beginner stuff. Ligaya Turmelle wrote: I personally liked George Schlossnagle's book Advanced PHP Programming, published by Sams. http://www.amazon.com/gp/product/0672325616/qid

Re: [PHP] help plz

2006-01-15 Thread Ligaya Turmelle
I personally liked George Schlossnagle's book Advanced PHP Programming, published by Sams. http://www.amazon.com/gp/product/0672325616/qid=1137394700/sr=2-1/ref=pd_bbs_b_2_1/104-0195316-0794320?s=booksv=glancen=283155 suresh kumar wrote: hi, i am working as a web designer in PHP Mysql.i

Re: [PHP] what does this mean? (PHP 4 = 4.0.1, PHP 5)

2006-01-09 Thread Ligaya Turmelle
Pretty much Chris wrote: So it means the function was introduced in version 4.01? Erin Fortenberry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] = is greater or equal to -Erin -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006

Re: [PHP] operators

2005-12-28 Thread Ligaya Turmelle
$xml-Result[$i] - a method call for object $xml $key=$value - array notation Henry Krinkle wrote: I have some experience with PHP, but not with these operators: - = Can someone explain how they are working in this snippet from Yahoo's search API foreach($xml-Result[$i] as

Re: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Ligaya Turmelle
Have you read this article - http://www.phparch.com/sample.php?mid=57 . jonathan wrote: I'm inserting some info into a mysql table which has the charset set to utf-8. When I do a select via the command-line from mysql, it looks like this: Clams and mussels with Dijon-crème fraîche-saffron

Re: [PHP] array carrying from one php page to another

2005-12-07 Thread Ligaya Turmelle
Session variable or hidden field maybe Eternity Records Webmaster wrote: I have an array $journal that I want to carry from a page (where it was created) to another page (a popup that shows the variables contents). Is this automatically available? or do I have to do something special to php??

Re: [PHP] Mail Injection- Which Mail function Parameters CORRECTED

2005-11-17 Thread Ligaya Turmelle
$message - yes --- This usually can go without any special escaping, unless you have certain headers (the Boundary: header) or allow an injection into the $additional_headers field. If this is the case a malicious user could attach a virus to be sent anonymously. Shouldn't you

[PHP] Savant question

2005-11-13 Thread Ligaya Turmelle
;ONLYlt;/fontgt; a test.lt;/pgt; lt;/centergt; /div -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Richard Lynch's Email Address ...

2005-11-02 Thread Ligaya Turmelle
There already is: http://php.net/imap_rfc822_parse_adrlist quote from user contributed notes: | This function does NOT test the syntax of either the local part, or the host part, it will permit illegal characters on either side.| -- Respectfully, Ligaya Turmelle Life is a game so

Re: [PHP] code generation

2005-08-04 Thread Ligaya Turmelle
of Technology or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- Respectfully, Ligaya

Re: [PHP] Char encoding using fget or curl

2005-07-18 Thread Ligaya Turmelle
really understand it. Thanks in advance! -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Ligaya Turmelle
? Is there a good way I could convert the HTML view to a JPG? I'm on a linux box and have php 4.3.10. Thanks for the help! Matt Babineau Criticalcode w: http://www.criticalcode.com p: 858.733.0160 e: [EMAIL PROTECTED] -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General

Re: [PHP] Templating systems for single developers?

2005-05-10 Thread Ligaya Turmelle
work in a team environment, I'd love to hear what benefits you derive from so doing. Much warmth, Murray -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-I18N] Multilingual Web application - how to?

2005-04-10 Thread Ligaya Turmelle
possible solutions for the above issues? Best regards, Denis Gerasimov Outsourcing Services Manager, VEKOS, Ltd. www.vekos.ru -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] April fool easter egg

2005-03-31 Thread Ligaya Turmelle
don't forget to open up your phpinfo to see the easter egg for today. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading posted form variables

2005-03-15 Thread Ligaya Turmelle
if anyone could help me. Cheers, Simon -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] if table not exists

2005-03-15 Thread Ligaya Turmelle
= INSERT INTO $table (StudentNumber,Exercise1,Exercise2) values ('$StudentNumber','$Exercise1','$Exercise2'); mysql_select_db($db,$myconnection); mysql_query($sql) or die(print mysql_error()); -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http

Re: [PHP] Update db with $_POST

2005-03-15 Thread Ligaya Turmelle
, array($_POST['title'], $_POST['description'], $_POST['price'], $_POST['extraprice'])); Thanks, Dan. -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting arrays

2005-03-08 Thread Ligaya Turmelle
incremented. How can I sort the array based on the highest number of hits? What is the sort method? Say this is the array: array('lma-bg51' = 1, 'mcr-vh14' = 2, 'gmc-rr21' = 5, 'amh-fg23' = 1) -Brian -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http

Re: [PHP] ranking product based on votes in a given week

2005-02-22 Thread Ligaya Turmelle
(*) as hits :: counts total votes listingID as lidcount :: ID of the product that received the vote DEFINITIONS IN QUERY -- Best regards, Ryan -- Respectfully, Ligaya Turmelle Life is a game so have fun -- PHP General Mailing List (http

Re: [PHP] String validation

2005-02-22 Thread Ligaya Turmelle
and only contains alpha characters (no numbers, spaces, periods, hyphens, or anything else, just letters.) if(preg_match('/^[a-zA-Z]{0,6}$/',$string)) { echo 'good'; } else { echo 'bad'; } Change to {1,6} if you want to ensure the string isn't empty. -- Respectfully, Ligaya Turmelle Life is a game

Re: [PHP] Handling email bouncebacks

2005-02-15 Thread Ligaya Turmelle
I am doing something similar and was told to look at the IMAP, POP3, NNTP extension. I think I have a way of doing it using that extension (still in planning stage) but I would also be very interested in any other ideas. Respectfully, Ligaya Turmelle Computer Programmer Guam International

Re: [PHP] Best way to encode?

2005-01-19 Thread Ligaya Turmelle
character_set = utf8) for later extraction and display on a utf8 page. if you're talking about encoding to hide the data - use base64_encode and base64_decode. Respectfully, Ligaya Turmelle Brian Dunning wrote: I have a form where people input some text, which is then incorporated into an HTML

Re: [PHP] cron job style php...

2005-01-16 Thread Ligaya Turmelle
Check out here - http://www.htmlcenter.com/tutorials/tutorials.cfm/155/php/ and here - http://www.phpfreaks.com/tutorials/28/0.php and if you want to read about my learning with cron try here - http://www.khankennels.com/blog/index.php?p=103 Hope it all helps. Respectfully, Ligaya Turmelle Russell

Re: [PHP] E-mails with mail() as UTF-8

2005-01-09 Thread Ligaya Turmelle
Have you tried base64 encoding of your message before placing it in your mail()? That is how I have my program sending japanese characters in the body. As far as I know the subject line is only supposed to be from the latin character sets. Respectfully, Ligaya Turmelle Kimmo Alm wrote: Hey

Re: [PHP] function problem

2005-01-02 Thread Ligaya Turmelle
, Ligaya Turmelle Viktor Popov wrote: Hi, I'm trying to do the following but I don't have any success. Could you help me here... I have this code in mu page: ?php include script/functions.php; require 'script/common.inc'; $valid = TRUE; if (isset ($_POST['submit'])) { foreach($_POST as $key

Re: [PHP] Question

2004-12-17 Thread Ligaya Turmelle
' = 'E-mail', 'meta_author' = 'Author') } input type = hidden name=email type=text value=?php print $config[email];? input type = hidden name=author type=text value=?php print $config[meta_author]; ? Respectfully, Ligaya Turmelle --- Life is a game... so have fun

Re: [PHP] simple terms

2004-12-17 Thread Ligaya Turmelle
=books) Respectfully, Ligaya Turmelle --- Life is a game... so have fun. --- www.PHPCommunity.org Open Source, Open Community Visit for more information or to join the movement Jason Wydro wrote: i would like to better understand pear. is there some ver basic doc that you know

Re: [PHP] Miami PHP groups?

2004-12-17 Thread Ligaya Turmelle
http://www.php.net/support.php -- and follow the links under user groups Respectfully, Ligaya Turmelle --- Life is a game... so have fun. --- www.PHPCommunity.org Open Source, Open Community Visit for more information or to join the movement Josh wrote: Any computer groups or resources

Re: [PHP] Mass mySQL update...

2004-12-17 Thread Ligaya Turmelle
if you don't mind it being an int - try something like... ALTER TABLE table ADD ID INT NOT NULL INTEGER UNIQUE AUTO_INCREMENT, ADD PRIMARY KEY (ID); Reference: http://dev.mysql.com/doc/mysql/en/ALTER_TABLE.html Respectfully, Ligaya Turmelle --- Life is a game... so have fun

Re: [PHP] Quick questions ?=something?

2004-12-06 Thread Ligaya Turmelle
Yeah - it is valid. It is a short hand method for doing what you are doing. I don't know if it is in the manual, but it is in the certification guide. Respectfully, Ligaya Turmelle --- Life is a game... so have fun. --- www.PHPCommunity.org Open Source, Open Community Visit for more

Re: [PHP] Coding Question

2004-12-05 Thread Ligaya Turmelle
, Ligaya Turmelle --- Life is a game... so have fun. --- www.PHPCommunity.org Open Source, Open Community Visit for more information or to join the movement Al wrote: I've searched the PHP manual and can't find an answer for this question I'd like to use the OR DIE construct; but instead of DIE I'd

Re: [PHP] mysql error

2004-12-05 Thread Ligaya Turmelle
query=SELECT * FROM listing WHERE `state` = 'WA' AND `type` = 'RES' AND `county` = 'clark' AND (`price` '15' OR `price` = '20');; if that doesn't work - break it down into individual parts and find out where the problem is. Respectfully, Ligaya Turmelle --- Life is a game... so have

Re: [PHP] mysql query with exclude

2004-11-27 Thread Ligaya Turmelle
)); Respectfully, Ligaya Turmelle Reinhart Viane wrote: Hey all, Hope you all have fun this saturday evening :) I'm sure i'm having fun except i'm kinda stuck... Ok here goes... I have 2 tables, one with the people online (chat_online): session_id activity And a second one where i keep

Re: [PHP] header variable ?

2004-11-10 Thread Ligaya Turmelle
Don't understand what you are asking. Respectfully, Ligaya Turmelle Jerry Swanson wrote: What variable header use? If I send something in header, what GLOBAL variable header use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays

2004-11-08 Thread Ligaya Turmelle
/language.types.array.php ). Respectfully, Ligaya Turmelle References: http://www.php.net/language.variables.predefined Ben wrote: I hope this is not a stupid question, but I am learning how to work with Arrays, and am having trouble figuring out how to move array values from page to page and/or store in a db

Re: [PHP] Recover POST form

2004-11-07 Thread Ligaya Turmelle
Try using the $_POST. Reference: http://www.php.net/language.variables.predefined Respectfully, Ligaya Turmelle Christian Ista wrote: Hello, In a PHP page I use a form with POST method. I'd like in the action page recover all the variable posted. Could you tell me how to do that ? Thanks

Re: [PHP] Validation and session variables

2004-10-26 Thread Ligaya Turmelle
Without seeing the code: Try putting session_start() at the VERY beginning. Also try having the action go to the page itself ($PHP_SELF or putting in the path). Is the session variables being set using $SESSION['']? Respectfully, Ligaya Turmelle Stuart Felenstein wrote: Having some odd

Re: [PHP] keep page information

2004-09-03 Thread Ligaya Turmelle
Session variables maybe Respectfully, Ligaya Turmelle devil_online wrote: Hi have this code, that I print two or more things ate a diferente time, and the page refreshs after 10 seconds. head meta http-equiv=refresh content=10 /head body ?php $hour = 21; $minute = 06; if(date('H')==$hour

Re: [PHP] newbie again, submit buttons don't work

2004-08-15 Thread Ligaya Turmelle
$cmd = $_GET['cmd']; Reference: http://www.php.net/variables.predefined Respectfully, Ligaya Turmelle yawstick wrote: That cured my problem also had to add similar command for all post variables I also have some links to directly remove a record a href = '$php_self/edit/edevents.php?cmd=Remove

[PHP] Re: Using and Echoing Session Variables

2004-07-19 Thread Ligaya Turmelle
if they are all coming from the same query can't you assign them using the fetch_assoc? Ex: $data = mysql_fetch_assoc($result); $_SESSION['column1'] = $data['column1']; $_SESSION['column2'] = $data['column2']; $_SESSION['column3'] = $data['column3']; ... Or am I confused :) Respectfully, Ligaya

Re: [PHP] session, explain?

2004-07-06 Thread Ligaya Turmelle
help me figure out what does the session of this code means? -- Respectfully, Ligaya Turmelle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php survey+database

2004-06-23 Thread Ligaya Turmelle
So what is your question. Respectfully, Ligaya Turmelle Tommie Ramirez.Andujar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear colleagues.. I am new to php and I am trying to do the following, to create a php file that may contain some kind of form or survey and the data

[PHP] Re: A follow up on my question about good coding practice [isset]

2004-06-07 Thread Ligaya Turmelle
how about: if (trim($foo) != '') Respectfully, Ligaya Turmelle Al [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I could use one additional clarification regarding good practice. As I understand the php manual the following is acceptable. $foo= TRUE; if($foo) do

Re: [PHP] Re: how to insert form data

2004-06-02 Thread Ligaya Turmelle
shouln't be QUOTE: input type = textarea name=quote... Respectfully, Ligaya Turmelle Matt Macleod [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Should be: form name=form meth0d=post action=input/php NAME: input type=text name=name id=name / QUOTE: textarea name=quote id=quote

[PHP] Re: mail() problem

2004-06-02 Thread Ligaya Turmelle
minor suggestion: make sure you have a from address. Respectfully, Ligaya Turmelle Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need

[PHP] Re: Search MySQL and Match Whole Words

2004-04-22 Thread Ligaya Turmelle
why not just use WHERE word = inputWord and skip the whole LIKE thing for an exact match? Is that what you mean? Respectfully, Ligaya Turmelle Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was wondering if anyone knows how to do whole word searches in mysql. I have

[PHP] Re: Junk characters in e-mail

2004-04-14 Thread Ligaya Turmelle
Are those supposed to be the swedish characters and you get junk instead? What does the header look like? Are you trying to have the email encoded in UTF - 8? Are you sending out the mail with mail or mb_send_mail? Need a few more details. Respectfully, Ligaya Turmelle Anders Norrbring

[PHP] Re: Session confusion again :( - Thanks!

2004-04-14 Thread Ligaya Turmelle
Can you explode something while you are working on it?? Won't it overwrite itself? Respectfully, Ligaya Turmelle Boot [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any help with this would be appreciated. the p and v lnames are posted from a form. In the form, the user seperates

[PHP] Re: stuck with simple query..... Plz have a look

2004-04-07 Thread Ligaya Turmelle
You need to do a join. SELECT table1.ID AS PL_NAME, table1.ID AS PC_NAME, table1.ID AS PA_NAME FROM table1, table2 WHERE (table2.PL = table1.ID) AND (table2.PC = table1.ID) and (table2.PA = table1.ID) ; Or something like that. Sorry I couldn't be of more help. Respectfully, Ligaya Turmelle

[PHP] Re: Newbie question about operators

2004-04-07 Thread Ligaya Turmelle
it is refering to the associative array, specifically the $key = $value . Note here (http://www.php.net/manual/en/language.types.array.php). Respectfully, Ligaya Turmelle Gabe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looking at the code below, what exactly is happening

[PHP] Re: Password

2004-04-07 Thread Ligaya Turmelle
['password2'] ) = your parenthesis here was in the wrong place { $password = TRUE; } }= and you forgot the closing bracket Hope that helps. Respectfully Ligaya Turmelle Erik Gjertsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I try to made a administrator page that I need

[PHP] Re: Passing by conditional IF statement...why?

2004-03-22 Thread Ligaya Turmelle
I think it is because the query ran successfully and returns an empty set. So the pointer is still good. Respectfully, Ligaya Turmelle Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have this simple code in my php script: * * * * * $res = mysql_query(SELECT

[PHP] Re: input type=text value=He said, How do I get this to work?, with a frown size=50

2004-03-16 Thread Ligaya Turmelle
try the escape character (\). Note the previous question from Character question by David Westbrooks. Posted on 3/13/04. Respectfully, Ligaya Turmelle James E Hicks III [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I get this to work? the input box is only showing He said

[PHP] Re: ASP to PHP language problems

2004-03-10 Thread Ligaya Turmelle
I don't know ASP but I think this is what you want: $sql = SELECT * FROM table WHERE Type = \ type \ order by style;; $resultID = mysql_query($sql, DBlink); // send the query and returns a pointer to the results while ($row = mysql_fetch_assoc($resultID)) // while there are results give

  1   2   >