Re: [PHP] passing variables to php script

2012-01-10 Thread Ellis Antaya
"it can't work as long as long as there is Q:\ ins his form action" +1 David, which web server are you running (apache, iis, ...)? What is your document_root? And last question, where are your html file and your php file(the full file path)? --- Ellis (Sent from my iPod) On 2012-01-10, at 16:2

Re: [PHP] passing variables to php script

2012-01-10 Thread Ashley Sheridan
On Tue, 2012-01-10 at 22:25 +0100, Marco Behnke wrote: > Am 10.01.12 21:57, schrieb Ashley Sheridan: > > > > > > > > o simply "callrecs.php" and see if that works. > > > > Q: would be referencing a filesystem path, rather a web address > > > > interpreted by a PHP processor. Make sure your .

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
Am 10.01.12 21:57, schrieb Ashley Sheridan: > >> o simply "callrecs.php" and see if that works. >> > Q: would be referencing a filesystem path, rather a web address >> > interpreted by a PHP processor. Make sure your .php target is within a >> > PHP supported web space. >> If a default applicati

Re: [PHP] passing variables to php script

2012-01-10 Thread Matijn Woudt
On Tue, Jan 10, 2012 at 9:57 PM, Ashley Sheridan wrote: > On Tue, 2012-01-10 at 21:43 +0100, Marco Behnke wrote: > >> Am 10.01.12 21:28, schrieb Mike Mackintosh: >> > >> > On Jan 10, 2012, at 15:12, Marco Behnke wrote: >> > >> >> Am 10.01.12 21:07, schrieb Donovan Brooke: >> >>> David Savage wrot

Re: [PHP] passing variables to php script

2012-01-10 Thread Ashley Sheridan
On Tue, 2012-01-10 at 21:43 +0100, Marco Behnke wrote: > Am 10.01.12 21:28, schrieb Mike Mackintosh: > > > > On Jan 10, 2012, at 15:12, Marco Behnke wrote: > > > >> Am 10.01.12 21:07, schrieb Donovan Brooke: > >>> David Savage wrote: > OK...I admit I'm new at thisI have this html file: >

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
Am 10.01.12 21:28, schrieb Mike Mackintosh: > > On Jan 10, 2012, at 15:12, Marco Behnke wrote: > >> Am 10.01.12 21:07, schrieb Donovan Brooke: >>> David Savage wrote: OK...I admit I'm new at thisI have this html file: Generate pdf file of LD, Toll Free, and Directory Assi

Re: [PHP] passing variables to php script

2012-01-10 Thread Mike Mackintosh
On Jan 10, 2012, at 15:12, Marco Behnke wrote: > Am 10.01.12 21:07, schrieb Donovan Brooke: >> David Savage wrote: >>> OK...I admit I'm new at thisI have this html file: >>> >>> >>> Generate pdf file of LD, Toll Free, and Directory Assistance >>> calls>> >>> >>> > > Stupid question ..

Re: [PHP] PHP-GTK dead?

2012-01-10 Thread Mike Mackintosh
On Jan 10, 2012, at 14:19, Yared Hufkens wrote: > It seems that PHP-GTK is completely dead. The latest version (2.0.1) was > released on May 2008, nobody answers on questions in the mailing list, > and the latest SVN commit is nearly one year ago. > > Am I wrong or is it senseless to write sti

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
Am 10.01.12 21:07, schrieb Donovan Brooke: > David Savage wrote: >> OK...I admit I'm new at thisI have this html file: >> >> >> Generate pdf file of LD, Toll Free, and Directory Assistance >> calls> >> >> Stupid question . where have you copied your script? Is it lying on a webserver?

Re: [PHP] passing variables to php script

2012-01-10 Thread Donovan Brooke
David Savage wrote: OK...I admit I'm new at thisI have this html file: Generate pdf file of LD, Toll Free, and Directory Assistance calls Account Number: Year (4 digit): Month (2 digit): to which I would input an account number, 4 digit year, then 2 digit month. Then click Su

Re: [PHP] Variable Troubleshooting Code

2012-01-10 Thread Donovan Brooke
Jim Lucas wrote: [snip] if (!isset($pmatch) || substr($key,0,strlen($pmatch)) == $pmatch) { print "$key = $value"; } [snip] I would change the above the the following: if ( empty($pmatch) || ( strpos($key, $pmatch) === 0 ) ) { print "$key = $value"; } it would be slightly faster love th

[PHP] PHP-GTK dead?

2012-01-10 Thread Yared Hufkens
It seems that PHP-GTK is completely dead. The latest version (2.0.1) was released on May 2008, nobody answers on questions in the mailing list, and the latest SVN commit is nearly one year ago. Am I wrong or is it senseless to write still PHP-GTK programs? -- PHP General Mailing List (http://www

Re: [PHP] passing variables to php script

2012-01-10 Thread Tedd Sperling
On Jan 6, 2012, at 12:53 PM, David Savage wrote: > -snip- > WHAT AM I DOING WRONG ? David: Where do I start? First, make sure your html is correct. Second, you have to check your super globals to see if they have been defined before attempting to get data from them. Try reviewing the code her

Re: [PHP] PDF Printing instead?

2012-01-10 Thread Tedd Sperling
On Jan 5, 2012, at 3:14 PM, Jim Giner wrote: > ok - somebody has advised that I should not be trying to print to a printer > from my website php script. > > The suggestion of creating a pdf and sending to the client was made. How do > I install the pdf functions? I've never had to install a p

Re: [PHP] Variable Troubleshooting Code

2012-01-10 Thread Jim Lucas
On 01/09/2012 07:16 PM, Donovan Brooke wrote: Just to share, a Mr. Harkness forwarded me a consolidated version of my code.. basically substituting the innards for: if (!isset($pmatch) || substr($key,0,strlen($pmatch)) == $pmatch) { print "$key = $value"; } Cheers, Donovan I would change

Re: [PHP] php sendmail_from

2012-01-10 Thread Duken Marga
Actually, you can send an email from explicit email addres without modifying htaccess or php ini. In simple words, PHP uses MTA (like postfix or sendmail) to send email to another email address. An email consist of header, body, and mime (for example an attachment). Sender, receiver, Subject, and o