Re: [PHP] create file after form completion

2011-10-29 Thread Tommy Pham
This line is consider 'top post'. Meaning you're posting on top of the reply. On Sat, Oct 29, 2011 at 12:12 PM, Pau wrote: > Hi, > > > > > Please try not to top post. > > sorry, but I do not understand the expression (I am not native, as you > might have guessed). Do you mean not to include the

Re: [PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
On 30/10/11 at 01:18, si...@welsh.co.nz (Simon J Welsh) wrote: > It seems as though your editor has changed the normal quotes around > into "pretty" > quotes. Change the ‘s and ’s back to '. Hi, Simon. Thanks for that. Couldn’t see for looking... Cheers, Phil. -- Please consider the env

Re: [PHP] PHP syntax - novice question

2011-10-29 Thread Simon J Welsh
On 30/10/2011, at 1:15 PM, Phil Dobbin wrote: > Hi, all. > > I’m new to the list & PHP in general & have a syntax question. > > I have a script that calls both DB & MDB2. This is the part of the script > where the error occurs: > > ##

[PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
Hi, all. I’m new to the list & PHP in general & have a syntax question. I have a script that calls both DB & MDB2. This is the part of the script where the error occurs: if($type == "DB") { $db = DB::connect($dsn)

FW: [PHP] What is an information_id in directory

2011-10-29 Thread Ernie Kemp
2 - Make a new content area in Site Manager->Content Manager. It doesn't matter what you put in your content area, you could just put "This is my new content area" or "Hello World" if you so choose. 3 - Grab the information_id of the new content area you made. When you are editing a content area t

Re: [PHP] What is an information_id in directory

2011-10-29 Thread Tim Streater
On 29 Oct 2011 at 20:46, Ernie Kemp wrote: > 2 - Make a new content area in Site Manager->Content Manager. It doesn't > matter what you put in your content area, you could just put "This is my new > content area" or "Hello World" if you so choose. > > 3 - Grab the information_id of the new conte

[PHP] What is an information_id in directory

2011-10-29 Thread Ernie Kemp
2 - Make a new content area in Site Manager->Content Manager. It doesn't matter what you put in your content area, you could just put "This is my new content area" or "Hello World" if you so choose. 3 - Grab the information_id of the new content area you made. When you are editing a content a

Re: [PHP] create file after form completion

2011-10-29 Thread Pau
Hi, > > Please try not to top post. sorry, but I do not understand the expression (I am not native, as you might have guessed). Do you mean not to include the email in my reply? Sorry about that. > > To create a file, look into the fopen() function on php.net, which has plenty > of examples on

Re: [PHP] create file after form completion

2011-10-29 Thread Tedd Sperling
On Oct 29, 2011, at 12:38 PM, Pau wrote: > -snip- > > I am a newbie to php and I have been trying to get that information > somewhere, but I was not successful. > > A little help would be appreciated. In particular an example would be > wonderful. > > Thanks. Pau:

Re: [PHP] create file after form completion

2011-10-29 Thread Ashley Sheridan
On Sat, 2011-10-29 at 19:52 +0200, Pau wrote: > Hello, > > thanks for your answers. > > I do have a form already and I am using it to mail the results: > > > //include > // > $HTTP_POST_VARS = $_POST; > > $time = date("G:i:s"); > $ip = getenv('REMOTE_ADDR'); > > >

Re: [PHP] create file after form completion

2011-10-29 Thread Pau
Hello, thanks for your answers. I do have a form already and I am using it to mail the results: This is amazing Mr. $name My surname is $surname and my address $post "); ?> --- Instead of this, I would like to dump the results into

Re: [PHP] create file after form completion

2011-10-29 Thread Ashley Sheridan
On Sat, 2011-10-29 at 18:38 +0200, Pau wrote: > Dear all, > > I am looking for information on how to have a file created after a > user has hit a submit on a registration form. > > I want to use the variables typed in by the user to automatically > create a web page with those values. > > In th

Re: [PHP] create file after form completion

2011-10-29 Thread Stephen
On 11-10-29 12:38 PM, Pau wrote: Dear all, I am looking for information on how to have a file created after a user has hit a submit on a registration form. This is a subject that will take a bit of your time to understand. This web site is a good place to start: http://www.tizag.com/phpT/exa

[PHP] Zend Amf and Drupal?

2011-10-29 Thread Lars Nielsen
Hey List, I am making a webservice in Drupal with AMF Zend to provide some methods to a Flash app. I have now managed to use standard Drupal services (node,user and files) and I have made my own method to create users. But! ... When I try to pass on arguments from Flash to Drupal it fails. It says