php-general Digest 4 May 2007 11:11:10 -0000 Issue 4772

2007-05-04 Thread php-general-digest-help
php-general Digest 4 May 2007 11:11:10 - Issue 4772 Topics (messages 254377 through 254394): Re: Script feedback: insert string into another string 254377 by: Tijnema ! Re: File uploading and saving info on mysql 254378 by: itoctopus Re: Redirect via GET is loosing

Re: [PHP] [opinions] Ashop Commerce

2007-05-04 Thread Marco Sottana
if you have nothing to say.. say nothing - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Marco Sottana [EMAIL PROTECTED] Cc: Stut [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, May 03, 2007 6:04 PM Subject: Re: [PHP] [opinions] Ashop Commerce On Thu, May

Re: [PHP] [opinions] Ashop Commerce

2007-05-04 Thread Chris
Marco Sottana wrote: if you have nothing to say.. say nothing LOL. You're the one spamming trolling the list. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passing GET via include

2007-05-04 Thread Mark Smith
Hello all, Is there a way to allow the passing of variables to included scripts using the GET method, for example includefile.php?name=person; or is there another method of including files that allow you to do this. I have attempted to do this without success, I just get a message saying the

[PHP] Custom session save handler. What's happens really?

2007-05-04 Thread n . quirin
Hi, i'm using in each script: ? session_set_save_handler(...); //register my custom function to store session //into a mysql database session_start(); //session.auto_start is set to 0 in php.ini register_shutdown(session_write_close); $object = unserialize($_SESSION['objectname']); //modify

Re: [PHP] passing GET via include

2007-05-04 Thread Miguel J. Jiménez
Mark Smith escribió: Hello all, Is there a way to allow the passing of variables to included scripts using the GET method, for example includefile.php?name=person; or is there another method of including files that allow you to do this. I have attempted to do this without success, I just get

[PHP] Why does this encoding work in PHP?

2007-05-04 Thread Arno Kuhl
I recently came across a script that was oddly encoded. A bit of digging revealed it was encoded in octal. What puzzles me is why the php interpreter is able to understand the script. An example (not from the original script) require_once ../file.php; require_once

Re: [PHP] Why does this encoding work in PHP?

2007-05-04 Thread Dave Goodchild
The characters are encoded in octal and the php interpreter converts them into the corresponding ASCII characters and then the sequence is represented as a string which is included?

[PHP] PHP 5.2.2 and PHP 4.4.7 Released!

2007-05-04 Thread Derick Rethans
The PHP development team would like to announce the immediate availability of PHP 5.2.2 and availability of PHP 4.4.7. These releases are major stability and security enhancements of the 5.x and 4.4.x branches, and all users are strongly encouraged to upgrade to it as soon as possible.

RE: [PHP] passing GET via include

2007-05-04 Thread Edward Kay
-Original Message- From: Mark Smith [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 08:23 Hello all, Is there a way to allow the passing of variables to included scripts using the GET method, for example includefile.php?name=person; or is there another method of including files that

Re: [PHP] passing GET via include

2007-05-04 Thread Oliver Block
Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith: Hello all, Is there a way to allow the passing of variables to included scripts See it another way: The includED script will be part of the includING script. ---includeme.inc- ?php $message=Hello!\n; ?

[PHP] Re: Custom session save handler. What's happens really?

2007-05-04 Thread itoctopus
You have to explicitly serialize and unserialize the objects. I think the confusion here is with the automatic __wakeup and __sleep functions: http://www.devshed.com/c/a/PHP/Using-the-Sleep-and-Wakeup-Functions-to-Serialize-Objects-in-PHP/ -- itoctopus - http://www.itoctopus.com [EMAIL

Re: [PHP] passing GET via include

2007-05-04 Thread Tijnema !
On 5/4/07, Oliver Block [EMAIL PROTECTED] wrote: Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith: Hello all, Is there a way to allow the passing of variables to included scripts See it another way: The includED script will be part of the includING script.

Re: [PHP] Re: Custom session save handler. What's happens really?

2007-05-04 Thread n . quirin
Thanks, but I serialize and unserialize the objects and this is not my problem...(I known best practices for php5 about object serialization). Please read again the post. Selon itoctopus [EMAIL PROTECTED]: You have to explicitly serialize and unserialize the objects. I think the confusion

[PHP] Using timezones

2007-05-04 Thread Rob Desbois
I have a script which uses UTC times read from a database. Up until now the users have just provided their current timezone offset from UTC in hours, but this needs to be changed as the script may not be running on a server with UTC set and I'd like to use set_default_timezone(). Looking at

Re: [PHP] Using timezones

2007-05-04 Thread Tijnema !
On 5/4/07, Rob Desbois [EMAIL PROTECTED] wrote: I have a script which uses UTC times read from a database. Up until now the users have just provided their current timezone offset from UTC in hours, but this needs to be changed as the script may not be running on a server with UTC set and I'd

[PHP] Limit query results

2007-05-04 Thread Dan Shirah
Good Morning everyone. In the below code I am pulling records from two tables. the records are tied together by a common key in a 3rd table. Everything works correctly down to the $result. // Connect to the database $connection = mssql_pconnect($host, $user, $pass) or die ('server

Re: [PHP] Limit query results

2007-05-04 Thread Fredrik Thunberg
GROUP BY whatever_id_you_want in the SQL Dan Shirah skrev: Good Morning everyone. In the below code I am pulling records from two tables. the records are tied together by a common key in a 3rd table. Everything works correctly down to the $result. // Connect to the database $connection =

Re: [PHP] Limit query results

2007-05-04 Thread Zoltán Németh
SELECT DISTINCT? greets Zoltán Németh 2007. 05. 4, péntek keltezéssel 08.44-kor Dan Shirah ezt írta: Good Morning everyone. In the below code I am pulling records from two tables. the records are tied together by a common key in a 3rd table. Everything works correctly down to the

Re: [PHP] Limit query results

2007-05-04 Thread Miguel J. Jiménez
Use SELECT DISTINCT in your SQL syntax. -- Miguel J. Jiménez Programador Senior Área de Internet/XSL/PHP [EMAIL PROTECTED] ISOTROL Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta. Parque Tecnológico Cartuja '93, 41092 Sevilla. Teléfono:

[PHP] cURL: multipart/form-data POST request with empty file part

2007-05-04 Thread Emmanuel Raulo-Kumagai
Hello I'm writting a client in PHP for some CMS. I need to send an HTTP POST request with a multipart/form-data content. One of the parts is a file which must look like the request was issued after submitting a web form with a input type=file ... field left empty, which is *NOT* the same as

Re: [PHP] File uploading and saving info on mysql

2007-05-04 Thread Marcelo Wolfgang
Richard Lynch wrote: Browsers will probably NOT populate these reliably... Mac Safari, might, for example, choose application/x-pdf for the PDF file. You really can't rely on 'type' to be useful in any way, shape, or form. Thanks for the tips, I've deleted this check, and changed how I

[PHP] Selecting a special row from the database

2007-05-04 Thread Marcelo Wolfgang
Hi all, I'm building a news display page for a website, and since the user has 2 ways to arrive there, I want to know if this is possible: 1) the user arrive at news.php I will run a query at the db, and get the latest news to be the main one (full display) and display the others news in a

[PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the server (Mac OS X Server 10.4.9 with PHP 5) and, when the script is done, the

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Alister Bulman
On 04/05/07, Marcelo Wolfgang [EMAIL PROTECTED] wrote: I'm building a news display page for a website, and since the user has 2 ways to arrive there, I want to know if this is possible: 1) the user arrive at news.php I will run a query at the db, and get the latest news to be the main one

Re: [PHP] Using timezones

2007-05-04 Thread Oliver Block
Am Freitag, 4. Mai 2007 13:39 schrieb Rob Desbois: What's the best way to go about providing this functionality? Should I just provide an option of all regional timezones (how do I use this? If the user specifies the timezone, it might be comfortable to use the time zones as described in

[PHP] Drawing all characters using GD

2007-05-04 Thread Seth Price
I have enough fonts installed on my machine to draw most of the world's UTF-8 characters. But they aren't all in one font file. How can I use the resources I have to reliably draw any character using imagetttext()? For example: Most of the text I want to draw is regular ASCII, many words

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
-Original Message- From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 14:37 To: php-general@lists.php.net Subject: [PHP] Selecting a special row from the database Hi all, I'm building a news display page for a website, and since the user has 2 ways to arrive

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
-Original Message- From: Alister Bulman [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 15:07 To: php-general@lists.php.net Subject: Re: [PHP] Selecting a special row from the database On 04/05/07, Marcelo Wolfgang [EMAIL PROTECTED] wrote: I'm building a news display page for a

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Fredrik Thunberg
Edward Kay skrev: -Original Message- From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 14:37 To: php-general@lists.php.net Subject: [PHP] Selecting a special row from the database Hi all, I'm building a news display page for a website, and since the user has 2

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
-Original Message- From: Fredrik Thunberg [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 15:31 To: Edward Kay Cc: php-general@lists.php.net Subject: Re: [PHP] Selecting a special row from the database Edward Kay skrev: -Original Message- From: Marcelo Wolfgang

Re: [PHP] Limit query results

2007-05-04 Thread Jim Lucas
Dan Shirah wrote: $result = mssql_query($sql) or die(mssql_error()); // print_r ($result); You realize that this will print the Resource ID# for the resource pointer, but not the actual result set. -- Jim Lucas Some men are born to greatness, some achieve greatness, and

[PHP] Send binary files with gzip encoding disabled

2007-05-04 Thread strawks
Hello, I'm trying to send a ZIP file generated on the fly in a temporary directory. The ZIP file is created successfully and I'm using the following code to send it to the client : $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not anything else left

[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
Am 2007-03-21 16:57:36, schrieb Shafiq Rehman: Hi, Some problems are universal and we cannot fix them in computer science. I think it's better to educate/guide your visitors about such names that they write in correct capitalization ROTFL - In this brandamaged world! Greetings

[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
Am 2007-03-23 21:27:40, schrieb Richard Lynch: The solution remains: Hire a human. The computer will never get accurate enough. The exception might be if you are dealing with MILLIONS of names, where a filter would pay off. You'd still need human review and a validation process that

[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
Can anyone tell me, WHY I get this message plus some others from this thread today (2005-05-03)? Am 2007-03-19 12:22:10, schrieb Leonard Burton: HI All, Does anyone use a library to properly capitalize last names? Yes me, but it is my own one which I have created from a

[PHP] Re: Problem with timeout

2007-05-04 Thread Emmanuel Raulo-Kumagai
Frank Arensmeier a écrit : Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the server (Mac OS X Server 10.4.9 with PHP 5) and, when the

Re: [PHP] PHP's ldap_sasl_bind tries to authenticate with KRB5CCNAME other than the one provided by mod_auth_kerb

2007-05-04 Thread javier.pb
My platform is basically debian sarge + heimdal gssapi, but I have exactly the same problem. I have a way to solve the issue, but it is not valid for any kind of production site. Just add in your php code this copy(substr($_SERVER['KRB5CCNAME'],5),/tmp/krb5cc_0); and you'll get a real bind

[PHP] Re: Send binary files with gzip encoding disabled

2007-05-04 Thread Emmanuel Raulo-Kumagai
strawks a écrit : Hello, I'm trying to send a ZIP file generated on the fly in a temporary directory. The ZIP file is created successfully and I'm using the following code to send it to the client : $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not

Re: [PHP] Re: Name Capitalization

2007-05-04 Thread Paul Novitski
At 5/4/2007 08:10 AM, Michelle Konzack wrote: Anyway, why not reject any $USER input, which has only CAPITALS/SMALL LETTERS? Because the OP is dealing with an existing dataset of all-caps names inherited from another system. These names are not currently being input by users.

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Emmanuel Raulo-Kumagai
Edward Kay a écrit : -Original Message- From: Fredrik Thunberg [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 15:31 To: Edward Kay Cc: php-general@lists.php.net Subject: Re: [PHP] Selecting a special row from the database Edward Kay skrev: -Original Message- From: Marcelo

[PHP] Loop problem

2007-05-04 Thread Dan Shirah
Okay, I think this is a 1/2 PHP problem and 1/2 Javascript problem. And I think my Javascript problem is being caused by my PHP. Follow? The code below is a loop of records returned from my query: 1 - If the result is not empty it will loop through the results. 2 - It assigns variables based

Re: [PHP] Loop problem

2007-05-04 Thread Daniel Brown
I know you said it's a form but where does the browser realize that? Using a hidden value such as that would require a POST or GET action via a form. JavaScript wouldn't work for that. However, you could do something like this: snip SCRIPT LANGUAGE=JavaScript function

RE: [PHP] cURL: multipart/form-data POST request with empty file part

2007-05-04 Thread Brad Fuller
Emmanuel Raulo-Kumagai wrote: Sent: Friday, May 04, 2007 8:44 AM To: php-general@lists.php.net Subject: [PHP] cURL: multipart/form-data POST request with empty file part Hello I'm writting a client in PHP for some CMS. I need to send an HTTP POST request with a multipart/form-data

Re: [PHP] Loop problem

2007-05-04 Thread Dan Shirah
Thank you Daniel!! I didn't do it exactly as you suggested, but you put me in exactly the right direction! THANK YOU! Below is how I have it working if anyone else is interested. The javascript function showAlert(id,type) { alert( 'The type is:' + type + 'The ID is:' + id ); }

Re: [PHP] Loop problem

2007-05-04 Thread Daniel Brown
No problem. I just prefer to use extract() for areas that are only pulling out a single set of data, or several sets with different variable names within the array. Less typing, no reassignments necessary. Personal preference, that's all. On 5/4/07, Dan Shirah [EMAIL PROTECTED] wrote:

Re: [PHP] Re: Problem with timeout

2007-05-04 Thread Frank Arensmeier
// sorry for posting my answer off list... // 4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai: Frank Arensmeier a écrit : Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The

Re: [PHP] Loop problem

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 1:02 pm, Dan Shirah wrote: type = document.Submit.request_type.value If you have only one request_type button, JavaScript can sorta figure out which one you want here, cuz there's only one. As soon as you have a whole bunch of them, it's got no idea which one you want...

Re: [PHP] Re: Name Capitalization

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 10:10 am, Michelle Konzack wrote: Anyway, why not reject any $USER input, which has only CAPITALS/SMALL LETTERS? $first_name = 'J.K.'; $last_name = 'Rowling'; $first_name = 'e.e.'; $last_name = 'cummings'; . . . -- Some people have a gift link here. Know

Re: [PHP] Send binary files with gzip encoding disabled

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 9:56 am, strawks wrote: $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not anything else left ob_clean_all(); // Start sending headers header(Pragma: public); // required header(Expires: 0);

Re: [PHP] Drawing all characters using GD

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 9:23 am, Seth Price wrote: I have enough fonts installed on my machine to draw most of the world's UTF-8 characters. But they aren't all in one font file. How can I use the resources I have to reliably draw any character using imagetttext()? For example: Most of the

Re: [PHP] Problem with timeout

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the server (Mac OS X Server 10.4.9 with PHP

[PHP] A problem with passing $_GET in an url (problem solved)

2007-05-04 Thread Davis Chan
Thank you for everyone's help, both public post and private email. I solved the problem, part of it is javascript and part of it is the php generated form (actually a html problem) Now my function is: function Ask_Confirm() { response = confirm(Are you sure?); if(response == true) {

Re: [PHP] Drawing all characters using GD

2007-05-04 Thread Seth Price
Ah, thanks, I didn't notice a i18n mailing list. I'll try there. Maybe if I had a list of font files, I could test each to work with a given string, until I find one which works? ~Seth On May 4, 2007, at 2:54 PM, Richard Lynch wrote: On Fri, May 4, 2007 9:23 am, Seth Price wrote: I

Re: [PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
4 maj 2007 kl. 21.58 skrev Richard Lynch: On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the

[PHP] Getting multitple select values on PHP side

2007-05-04 Thread Skip Evans
Hey all, I have a requirement for a select on a form that has to be able to get multiple values in the form processing PHP side. You just multiple to the select... tag to be able to select multiple values, but on the PHP side the $_POST value for the form only has the last one selected.

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 8:36 am, Marcelo Wolfgang wrote: I'm building a news display page for a website, and since the user has 2 ways to arrive there, I want to know if this is possible: 1) the user arrive at news.php I will run a query at the db, and get the latest news to be the main one

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 9:26 am, Edward Kay wrote: what I want is to separate the news that the user want to see ( the id=XX one ) from the others rows, can someone advice me ? Here is the code I have so far, I hope it serve as a better explanation than mine! ? $newsId = $_GET['id']; /* if

Re: [PHP] Getting multitple select values on PHP side

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 3:56 pm, Skip Evans wrote: Hey all, I have a requirement for a select on a form that has to be able to get multiple values in the form processing PHP side. You just multiple to the select... tag to be able to select multiple values, but on the PHP side the $_POST

Re: [PHP] Getting multitple select values on PHP side

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 3:56 pm, Skip Evans wrote: I have a requirement for a select on a form that has to be able to get multiple values in the form processing PHP side. You just multiple to the select... tag to be able to select multiple values, but on the PHP side the $_POST value for the

Re: [PHP] Why does this encoding work in PHP?

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 3:24 am, Arno Kuhl wrote: I recently came across a script that was oddly encoded. A bit of digging revealed it was encoded in octal. What puzzles me is why the php interpreter is able to understand the script. An example (not from the original script) require_once

Re: [PHP] Custom session save handler. What's happens really?

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 2:26 am, [EMAIL PROTECTED] wrote: i'm using in each script: ? session_set_save_handler(...); //register my custom function to store session //into a mysql database session_start(); //session.auto_start is set to 0 in php.ini register_shutdown(session_write_close);

Re: [PHP] Re: Custom session save handler. What's happens really?

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 6:37 am, [EMAIL PROTECTED] wrote: Thanks, but I serialize and unserialize the objects and this is not my problem...(I known best practices for php5 about object serialization). I think they meant you do *NOT* have to serialize/unserialize, as PHP is gonna do it for you in

Re: [PHP] passing GET via include

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 2:22 am, Mark Smith wrote: Is there a way to allow the passing of variables to included scripts using the GET method, for example includefile.php?name=person; or is there another method of including files that allow you to do this. I have attempted to do this without

Re: [PHP] Re: A problem with passing $_GET in an url

2007-05-04 Thread Richard Lynch
On Thu, May 3, 2007 8:15 pm, Davis Chan wrote: I also have a question about using this newsgroup, why is messages I got from using Thunderbird not as update as the digest I got via email? Because PHP's nntp server has fewer gerbils. -- Some people have a gift link here. Know what I want? I

Re: [PHP] Getting multitple select values on PHP side

2007-05-04 Thread Paul Novitski
At 5/4/2007 01:56 PM, Skip Evans wrote: I have a requirement for a select on a form that has to be able to get multiple values in the form processing PHP side. You just multiple to the select... tag to be able to select multiple values, but on the PHP side the $_POST value for the form only

Re: [PHP] Drawing all characters using GD

2007-05-04 Thread Crayon
On Saturday 05 May 2007 04:24, Seth Price wrote: Maybe if I had a list of font files, I could test each to work with a given string, until I find one which works? You could try looking for a comprehensive iso-10646 font. -- Crayon -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] parse error

2007-05-04 Thread Brad Sumrall
Parse error: parse error, unexpected '}' in /home/content/c/u/t/cuteirka/html/commonlogin_new.php on line 37 Because I am not starting the brackets anywhere else. My only php function is between line 37 and 39 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [PHP] parse error

2007-05-04 Thread Brad Sumrall
I dug deeper and realized I needed to open it correctly. You were right! Thank you! Here is the correct code that works like a charm! Brad ?php if(!isset($_SESSION[userid])) { ? form action=/phpBB/login.php method=post target=_top table width=200 cellpadding=4 cellspacing=1

RE: [PHP] parse error

2007-05-04 Thread Brad Sumrall
Maybe not The following passes me on without error, but does not actually log me on? Put in a fake name, and it still passes me on to the index page. I took this straight off the phpbb help files? Brad ?php if(!isset($_SESSION[userid])) { ? form action=/phpbb/index.php

[PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
Hi folks, I have a form on page one - and would like to submit to a second page in PHP that could grab the fields and send it out as an e-mail. Are there any links that show how do this? Thanks in advance - Dave -- Thanks - RevDave [EMAIL PROTECTED] [db-lists] -- PHP General Mailing List

[PHP] RE: parse error (close this one)

2007-05-04 Thread Brad Sumrall
Du! It would have made sense to direct it to /phpbb/login.php Not /phpbb/index.php I know, the keyboard and the chair! Brad

Re: [PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
On 5/4/2007 7:29 PM, Brad Sumrall [EMAIL PROTECTED] wrote: Where are the fields? Hi Brad, Just a basic form with a few fields inside like - name - address etc lie: form action=sendmail.php method=post input name=name type=text input name=email type=text /form -- Thanks - RevDave [EMAIL

[PHP] Why create_element function always return false?

2007-05-04 Thread Victor
?php $doc = domxml_new_doc(1.0); $node = $doc-create_element(para); $newnode = $doc-append_child($node); $newnode-set_attribute(align, left); ? I just run the example that is from php manual. But there is some error --

Re: [PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
On 5/4/2007 7:40 PM, Brad Sumrall [EMAIL PROTECTED] wrote: Once again my friend, Where are the fields? There physical 411? Database? Incoming email? Out going email? Flat file? Hello Brad, I apologize if I not being clear enough, - I was thinking that there would simply be a basic