RE: [PHP] Problem with PHP 4.0.5
Jack All I am using is: PHP Test thats all that is in the file, and it was simply called "hello.php", as I say, works fine in IE and not in netscape...I dont get it... Regards and thanks for your help biscut > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: 08 May 2001 19:20 > To: biscut; John Vanderbeck; [EMAIL PROTECTED] > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > are you sure your html is properly formatted? if you like, send > me the small > script you're using, and i'll run it on a pre 4.0.5 release... > if something shows up in ie but not ns that's a browser, not php > problem... > > -jack > > -Original Message- > From: biscut [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 08, 2001 2:00 PM > To: John Vanderbeck; [EMAIL PROTECTED] > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > I have exactly the same problem, if you try viewing the page with IE then > you will probably find that it works fine...if you get any answers then > could you let me know what you did ?? I found that even with using then you still get the same problem... > > Regards > biscut > > > > -Original Message- > > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > > Sent: 08 May 2001 01:33 > > To: [EMAIL PROTECTED] > > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > > > > Try, > > > > > echo "This is a test\n"; > > ?> > > > > Some systems are configured to not allow the shorthand " > REQUIRE the full code start " > > > > > - John Vanderbeck > > - Admin, GameDesign (http://gamedesign.incagold.com/) > > - GameDesign, the industry source for game design and development issues > > > > > > > -Original Message- > > > From: Alvaro Collado [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, May 07, 2001 8:36 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] Problem with PHP 4.0.5 > > > > > > > > > I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. > > > When I run the test no problem, all is OK, but when I run a html > > > index file in Netscape ( LocalHost ) > > > whith a single code like this > > > > > > > > > > > > nothing was display, nothing. > > > > > > When I change the code for an know error for example > > > Netscape prints the full text of the tag > > > "" . > > > > > > Please help me. > > > > > > Thanks > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP 4.0.5
strange...i just ran that and got Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) (using ns on rh linux...) what netscape you running, etc? -jack biscut wrote: > > Jack > All I am using is: > > > PHP Test > > ?> > > > > thats all that is in the file, and it was simply called "hello.php", as I > say, works fine in IE and not in netscape...I dont get it... > > Regards and thanks for your help > biscut > > > -Original Message- > > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > > Sent: 08 May 2001 19:20 > > To: biscut; John Vanderbeck; [EMAIL PROTECTED] > > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > > > > are you sure your html is properly formatted? if you like, send > > me the small > > script you're using, and i'll run it on a pre 4.0.5 release... > > if something shows up in ie but not ns that's a browser, not php > > problem... > > > > -jack > > > > -----Original Message- > > From: biscut [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 08, 2001 2:00 PM > > To: John Vanderbeck; [EMAIL PROTECTED] > > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > > > > I have exactly the same problem, if you try viewing the page with IE then > > you will probably find that it works fine...if you get any answers then > > could you let me know what you did ?? I found that even with using > then you still get the same problem... > > > > Regards > > biscut > > > > > > > -Original Message- > > > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > > > Sent: 08 May 2001 01:33 > > > To: [EMAIL PROTECTED] > > > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > > > > > > > Try, > > > > > > > > echo "This is a test\n"; > > > ?> > > > > > > Some systems are configured to not allow the shorthand " > > REQUIRE the full code start " > > > > > > > > - John Vanderbeck > > > - Admin, GameDesign (http://gamedesign.incagold.com/) > > > - GameDesign, the industry source for game design and development issues > > > > > > > > > > -Original Message- > > > > From: Alvaro Collado [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, May 07, 2001 8:36 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: [PHP] Problem with PHP 4.0.5 > > > > > > > > > > > > I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. > > > > When I run the test no problem, all is OK, but when I run a html > > > > index file in Netscape ( LocalHost ) > > > > whith a single code like this > > > > > > > > > > > > > > > > nothing was display, nothing. > > > > > > > > When I change the code for an know error for example > > > > Netscape prints the full text of the tag > > > > "" . > > > > > > > > Please help me. > > > > > > > > Thanks > > > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem with PHP 4.0.5
Try, \n"; ?> Some systems are configured to not allow the shorthand "http://gamedesign.incagold.com/) - GameDesign, the industry source for game design and development issues > -Original Message- > From: Alvaro Collado [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 07, 2001 8:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Problem with PHP 4.0.5 > > > I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. > When I run the test no problem, all is OK, but when I run a html > index file in Netscape ( LocalHost ) > whith a single code like this > > > > nothing was display, nothing. > > When I change the code for an know error for example > Netscape prints the full text of the tag > "" . > > Please help me. > > Thanks > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP 4.0.5
1. What file extension are you using for your test file? 2. Is this extension found around httpd.conf in a form similar to : AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp When you stated "All works ok except ..." what works ok? Regards, Philip On Mon, 7 May 2001, Alvaro Collado wrote: > > Mr . John Vanderbeck > > None of both codes works, all this test were do. > The Netscape ingnore all the tags with > Thanks > > >--- > Try, > > echo "This is a test\n"; > ?> > > Some systems are configured to not allow the shorthand " REQUIRE the full code start " > - John Vanderbeck > - Admin, GameDesign (http://gamedesign.incagold.com/) > - GameDesign, the industry source for game design and development issues > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem with PHP 4.0.5
I have exactly the same problem, if you try viewing the page with IE then you will probably find that it works fine...if you get any answers then could you let me know what you did ?? I found that even with using -Original Message- > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > Sent: 08 May 2001 01:33 > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > Try, > > echo "This is a test\n"; > ?> > > Some systems are configured to not allow the shorthand " REQUIRE the full code start " > > - John Vanderbeck > - Admin, GameDesign (http://gamedesign.incagold.com/) > - GameDesign, the industry source for game design and development issues > > > > -Original Message- > > From: Alvaro Collado [mailto:[EMAIL PROTECTED]] > > Sent: Monday, May 07, 2001 8:36 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Problem with PHP 4.0.5 > > > > > > I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. > > When I run the test no problem, all is OK, but when I run a html > > index file in Netscape ( LocalHost ) > > whith a single code like this > > > > > > > > nothing was display, nothing. > > > > When I change the code for an know error for example > > Netscape prints the full text of the tag > > "" . > > > > Please help me. > > > > Thanks > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem with PHP 4.0.5
are you sure your html is properly formatted? if you like, send me the small script you're using, and i'll run it on a pre 4.0.5 release... if something shows up in ie but not ns that's a browser, not php problem... -jack -Original Message- From: biscut [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:00 PM To: John Vanderbeck; [EMAIL PROTECTED] Subject: RE: [PHP] Problem with PHP 4.0.5 I have exactly the same problem, if you try viewing the page with IE then you will probably find that it works fine...if you get any answers then could you let me know what you did ?? I found that even with using -Original Message- > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > Sent: 08 May 2001 01:33 > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Problem with PHP 4.0.5 > > > Try, > > echo "This is a test\n"; > ?> > > Some systems are configured to not allow the shorthand " REQUIRE the full code start " > > - John Vanderbeck > - Admin, GameDesign (http://gamedesign.incagold.com/) > - GameDesign, the industry source for game design and development issues > > > > -Original Message- > > From: Alvaro Collado [mailto:[EMAIL PROTECTED]] > > Sent: Monday, May 07, 2001 8:36 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Problem with PHP 4.0.5 > > > > > > I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. > > When I run the test no problem, all is OK, but when I run a html > > index file in Netscape ( LocalHost ) > > whith a single code like this > > > > > > > > nothing was display, nothing. > > > > When I change the code for an know error for example > > Netscape prints the full text of the tag > > "" . > > > > Please help me. > > > > Thanks > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP as CGI
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have php config as a cgi and I put this at the top of my script > > #!/usr/local/bin/php -q > > when ever I run this script at root in > telnet I get this message below. > > Error in argument 1, char 3: option not found > Error in argument 1, char 3: option not found Code snippett would help, but it sounds as if the first line (after the hash-bang) is NOT http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP as CGI
This is not an answer, but a further question on this subject. Do you (or anybody) know of a way to keep the path to PHP from showing up when the PHP CGI script is hit via HTTP? On Wed, 23 May 2001, Stuart J. Browne wrote: > "Richard Kurth" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > I have php config as a cgi and I put this at the top of my script > > > > #!/usr/local/bin/php -q > > > > when ever I run this script at root in > > telnet I get this message below. > > > Error in argument 1, char 3: option not found > > Error in argument 1, char 3: option not found > > Code snippett would help, but it sounds as if the first line (after the > hash-bang) is NOT > I've found that oddities occur without that as the first line of your > script.. > > bkx > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- --- providing the finest in midget technology -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem with PHP as CGI
im not sure that i understand the question, but the way i've got my apache/PHP configured, i dont ever see the actual path to the PHP binary. what type of problem are you having ?? PS: i never use shebang lines in my PHP scripts; i have apache configured to handle *.php files as PHP code. > -Original Message- > From: midget2000x [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 23, 2001 20:33 > To: Stuart J. Browne; [EMAIL PROTECTED] > Subject: Re: [PHP] Problem with PHP as CGI > > > This is not an answer, but a further question on this subject. Do you (or > anybody) know of a way to keep the path to PHP from showing up when the PHP CGI > script is hit via HTTP? > > On Wed, 23 May 2001, Stuart J. Browne wrote: > > "Richard Kurth" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > I have php config as a cgi and I put this at the top of my script > > > > > > #!/usr/local/bin/php -q > > > > > > when ever I run this script at root in > > > telnet I get this message below. > > > > Error in argument 1, char 3: option not found > > > Error in argument 1, char 3: option not found > > > > Code snippett would help, but it sounds as if the first line (after the > > hash-bang) is NOT > > > I've found that oddities occur without that as the first line of your > > script.. > > > > bkx > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- > --- > providing the finest in midget technology > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with php and htmldoc
It is not exactly clear what you are doing. Are you buffering up the HTML file with ob_start, and then flushing the buffer after you run the buffer through htmldoc, that is, are you processing everything before into html before you flush out the page? If you are not buffering, then you probably have a side effect that you are "blaming" on a red herring, namely, "more than ten records". Though I cannot know with the information supplied, it seems that you are not buffering, and ten records just happens to be the amount when the Apache buffer "fills" and sends the first packet. Then, what is left at the end of the built-up HTML, is a fragment in any case of "illegal HTML" that htmldoc will break on... Just what are you doing?? _jef Luis Lebron wrote: > > I am currently having a problem with php and htmldoc. I have a php script > that queries a myql database and creates a series of tables each with a 800 > x 600 product screenshot. The file is then sent to htmldoc to be converted > into a pdf file. Here is my problem, if I request ten records (screenshots) > or less everything works fine, however, if I request more than ten nothing > happens (the php script creates the tables but the pdf file is not created). > I have run htmldoc on the command line with the php created html file and it > works without any problems regardless of the amount of tables(records). I > have tried increasing the max script time and memory usage but it still > doesn't work. Any ideas? > > thanks, > Luis R. Lebron > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP y Phorummail
@ 2:52:49 PM on 9/5/01, Webmaster wrote: > [root@corotu docs]# ./phorummail > php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared > object file: No such file or directory > What can I do for execute this script properly, What I doing it wrong? > I am running Apache 1.3.20 - PHP 4.06 and MySQL 3.23.27 Linux? BSD? Use `locate libmysqlclient.so.6` to find the library. Then, if the path is, for example, /usr/local/mysql/lib/mysql/libmysqlclient.so.6, you'll need to edit /etc/ld.so.conf and add the path /usr/local/mysql/lib/mysql then run `ldconfig` once as root. Then it should work. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP y Phorummail
@ 3:55:04 PM on 9/5/01, Webmaster wrote: > Thanks for your answer, but I can't find libmysqlclient.so.6 in my > server, is not in MySQL lib directory or PHP Lib directory, How I > can do for install or copy this lib?? Do I need reinstall MySQL?? > what use in ./configure line???. Try running updatedb if you're on Linux then run locate again to make sure. Other than that, did you install from source? If you installed from something like a .deb or .rpm you may have to get the source rpm or dev to go along with your binary installation rpm. Make sense? Or no? What OS/distribution? -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP y Phorummail
@ 4:13:46 PM on 9/5/01, Webmaster wrote: > Sorry, I forget this is my previous message, I'm running in Red Hat > Linux 6.0. Been a long time for me and RedHat/RPM, but.. You need to find the MySQL RPM with the same version that you currently have installed, but it'll be labeled as 'MySQL client programs and shared library' -- which I'm guessing is what you need from the Official RedHat RPMs, but I'm not sure. You can see what I mean here: http://www.mysql.com/downloads/mysql-3.23.html I'm also guessing you're running an older version of MySQL since you're using 6.0? Or did you just install the MySQL RPM(s)? If I were you, I'd get rid of your current install and try the RPMs listed at the above URL. If you do that, you might want everything under "RedHat packages" except the "Benchmark/test suites." If you knew you had the same version listed there, then youmight only need one of those RPMs (say, Client shared libraries).. Sorry I couldn't be of much more help.. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP using Java Classes
Fraser, >extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386 Change the above to only list the directory that contains the libphp_java.so. The jdk directories should go to java.library.path (or LD_LIBRARY_PATH or ld.so.conf). Note that java.library.path should also list the location of libphp_java.so (as you had correctly). Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem with PHP using Java Classes
Thanks. I will try this. Fraser On Thu, 18 Jan 2001, Alex Akilov wrote: > Fraser, > > >>extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386 > > Change the above to only list the directory that contains the > libphp_java.so. > The jdk directories should go to java.library.path (or LD_LIBRARY_PATH > or ld.so.conf). Note that java.library.path should also list the > location > of libphp_java.so (as you had correctly). > > Alex > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]