[PHP-WIN] Re: Parsing problem

2004-07-30 Thread Keith McIlvride
Thank you Justin that worked fine. Regards, Keith "Keith McIlvride" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am very new to PHP. The first line of my php file is " encoding="iso-8859-1"?>" This page is straight out of a Dreamweaver sample > file. > When the page is parsed I

Re: [PHP-WIN] Parsing problem

2004-07-30 Thread Justin Patrin
On Sat, 31 Jul 2004 13:27:41 +1000, Keith McIlvride <[EMAIL PROTECTED]> wrote: > I am very new to PHP. The first line of my php file is " encoding="iso-8859-1"?>" This page is straight out of a Dreamweaver sample > file. > When the page is parsed I get this error "Parse error: parse error, > unexpe

[PHP-WIN] Parsing problem

2004-07-30 Thread Keith McIlvride
I am very new to PHP. The first line of my php file is "" This page is straight out of a Dreamweaver sample file. When the page is parsed I get this error "Parse error: parse error, unexpected T_STRING in c:\Inetpub\wwwroot\TestPHP\comments-view.php on line 1" Can anyone help. Keith -- PHP Wind

Re: [PHP-WIN] Confused

2004-07-30 Thread Schalk Neethling
So in my mind I am thinking after being parsed there should be a line reading: Justin Patrin wrote: On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling <[EMAIL PROTECTED]> wrote: Why would the following line not be parsed in a PHP page? Are you saying that all other PHP code in the pag

Re: [PHP-WIN] Confused

2004-07-30 Thread Schalk Neethling
Justin What 'full_img' contains in the result from the database is something like ../media/ads/001.jpg Justin Patrin wrote: On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling <[EMAIL PROTECTED]> wrote: Why would the following line not be parsed in a PHP page? Are you saying that all othe

Re: [PHP-WIN] Confused

2004-07-30 Thread Schalk Neethling
BTW. I am using PHP 4.3.8 Justin Patrin wrote: On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling <[EMAIL PROTECTED]> wrote: Why would the following line not be parsed in a PHP page? Are you saying that all other PHP code in the page is run, but this isn't? This is how I would code that:

Re: [PHP-WIN] Confused

2004-07-30 Thread Schalk Neethling
Justin I am using the following now: '; echo $row_ads['full_img']; ?> And still the same result. What am I missing? Justin Patrin wrote: On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling <[EMAIL PROTECTED]> wrote: Why would the following line not be parsed in a PHP page? Are yo

[PHP-WIN] WinXP PHP Install Problem

2004-07-30 Thread Bruce Guthrie
Hi, I've just installed PHP 4.3.8 on my WinXP, Apache 2.0.50, MySQL 4.0.20d system. Apache, MySQL are running without issue. After installing PHP, however, my "Hello World" test does not run. It only list out the source code which looks like PHP isn't running. I've checked my Apache, PHP in

[PHP-WIN] RE: Posting Again

2004-07-30 Thread Mark Collin
Have you tried a print_r($row_ads); to check that your array is actually populated with all the data you are expecting it to be populated with? That being said I would expect to see the html in your source even if those fields in the array were blank Mark "[EMAIL PROTECTED]" <[EMAIL PROTEC

Re: [PHP-WIN] Confused

2004-07-30 Thread Justin Patrin
On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling <[EMAIL PROTECTED]> wrote: > Why would the following line not be parsed in a PHP page? > > > Are you saying that all other PHP code in the page is run, but this isn't? This is how I would code that: '; -- DB_DataObject_FormBuilder - The d

[PHP-WIN] Confused

2004-07-30 Thread Schalk Neethling
Why would the following line not be parsed in a PHP page? -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.c

[PHP-WIN] RE: Posting Again

2004-07-30 Thread Schalk Neethling
This did not seem to make the list the first time. Can someone see why the following is happening? I have the following code in my PHP page: After rendering the page in a browser the code produced by this block is as follows: ../media/ad

Re: [PHP-WIN] Re: Splitting results

2004-07-30 Thread Mikey
- Original Message - From: "Schalk Neethling" <[EMAIL PROTECTED]> To: "Mikey" <[EMAIL PROTECTED]> Sent: Friday, July 30, 2004 3:21 PM Subject: Re: [PHP-WIN] Re: Splitting results > So this list is also not for people new to PHP right? First of all, reply to the list and not to my work e

[PHP-WIN] Re: Run system command from PHP

2004-07-30 Thread Mikey
>I am trying to modify the registry by running a *.reg dynamically created by PHP. I am having trouble gettting the file to >execute from within PHP. I actually create a *.reg file and save it. I then try to run it from PHP. I've tried using exec, >system, shell_exec() and none seem to actually

[PHP-WIN] Run system command from PHP

2004-07-30 Thread Gerardo Rojas
I am trying to modify the registry by running a *.reg dynamically created by PHP. I am having trouble gettting the file to execute from within PHP. I actually create a *.reg file and save it. I then try to run it from PHP. I've tried using exec, system, shell_exec() and none seem to actually

[PHP-WIN] Image display problem

2004-07-30 Thread Schalk Neethling
Can someone see why the following is happening? I have the following code in my PHP page: After rendering the page in a browser the code produced by this block is as follows: ../media/ads/001.jpgSpring 2004 ../media/ads/002.jpgS

[PHP-WIN] Re: form to php

2004-07-30 Thread Al Jones
Very nice answer Mark, some of us newbies get lost in the fray here so *I* really appreciate when someone takes the time to show how and explain the workings. I'm tackling a form and database, and as a new php person it's a bit intimidating! "Mark Collin" <[EMAIL PROTECTED]> wrote in message new

[PHP-WIN] Unable to unsubscrive // Please help

2004-07-30 Thread Shahed, Raja
Please help >-Ursprüngliche Nachricht- >Von: Odd Egil H. Selnes [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 30. Juli 2004 15:01 >An: >Betreff: [PHP-WIN] Strange Timeout > > >Hi! >I usually work with Apache webserver >but now Im working with a php project that uses ms sql server 2000 >T

[PHP-WIN] Re: Splitting results

2004-07-30 Thread Mikey
> I am trying to split the results from a database query into specific > number of columns per row. I know how to create a repeat region but the > problem is this either creates a bunch of columns next to each other or > a bunch of rows below each other. What I want to be able to do for > example i

Re: [PHP-WIN] Strange Timeout

2004-07-30 Thread Mikey
> On some of my pages i insert alot of data into the sql server, and if that > is successful I send the user to another page. > But this times out... > all the data goes into the database without any problems, but as soon as the > script reaches the header(); it dies... > and after a while i get a

[PHP-WIN] Strange Timeout

2004-07-30 Thread Odd Egil H. Selnes
Hi! I usually work with Apache webserver but now Im working with a php project that uses ms sql server 2000 This webserver is running IIS6 and I get som strange errors. As i said earlier i get a strange CGI error when I use the header("Location: ".$_SERVER["PHP_SELF"]."?page=something"); I just upg

[PHP-WIN] Splitting results

2004-07-30 Thread Schalk Neethling
I am trying to split the results from a database query into specific number of columns per row. I know how to create a repeat region but the problem is this either creates a bunch of columns next to each other or a bunch of rows below each other. What I want to be able to do for example is have

[PHP-WIN] Re: Compiling php 5.0.0 Errors

2004-07-30 Thread Mikey
"Anthony Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to compile a custom/streamline php dist using Visual Studio's > nmake. I downloaded the stable source and have built all my dependent libs > (hopefully). But I keep getting an error looking for a "winres.

[PHP-WIN] php_printer extension patch

2004-07-30 Thread Philippe MAES
For my work, i needed the printer extension (for windows), and some problems appeared to me when i used it: - printer_draw_bmp function don't satisfy me because it not use printer resolution. I fixed it by adding 2 parameters (width and height). - printer_set_option doesn't work. I fixed it by a