Re: [PHP] Re: create xml document with PHP
hi another great way of doing what you want to do is to use templates regards, __ Hassan El Forkani http://WarmAfrica.com EveryOne's Africa __ At 21:20 29/01/02, you wrote: >Hello, > >Rodrigo Peres wrote: > > > > Hi list, > > > > I'm new to the xml world, and I need to create a page with data retrieved > > from my database using PHP. The process is the same of create an html > page?? > > I mean I can use echo to output the xml tags and values?? Since this page > > will be dinamically generated what kind of headers I need to use to this > > page become an xml??? > >I don't think serving XML directly to the browser is a good idea because >many browsers would not render it. > > > > I saw many docs in web but all about parse an xml, but not in how to build > > one. > >This PHP class does exactly what you need. See the documentation for a >typical example. > >Regards, >Manuel Lemos > >-- >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] __ hassan el forkani http://WarmAfrica.com EveryOne's Africa __ -- 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] Java-Object
Hello, Are you sure the method renderXmlXsl() returns the rendered document ?, from the output you get, it sounds like it is not returning anything, y'd better document your self on the java class to see if there is another method to use to get the output pdf file back from it. Regards, __ Hassan El Forkani http://WarmAfrica.com EveryOne's Africa __ At 11:09 29/04/02, Bedilu Habte wrote: >Hi everyone, > >I use the apache FOP tool to transform & render an XML-XSL pair to a PDF. >The following code shows my trial to perform the transformation and >rendering >within a php-script. > > 1.$trtool = new Java("de.smc.util.PDFTransformer"); > 2.$result = $trtool->renderXmlXsl('data.xml', 'style.xsl'); > 3.if (!$result) { > 4.die("Cannot process PDF-tarnsformation!"); > 5.} > 6.Header("Content-type: application/pdf\nContent-Length: " . >strlen($result)); > 7.print $result; > 8.$fo = "result.pdf"; > 9.$fp = fopen($fo, "w+"); >10.fwrite($fp, $result); >11.fclose($fp); >?> > >It appears that the transformation and rendering is performed without errors >( according to >the System-output). However, in the context I used, $result contains the 6 >characters >'Object' which was supposed to contain the pdf document. >NB.: 1. de.smc.util.PDFTransformer is a custom class that uses FOP. > 2. renderXmlXsl(xml,xsl) returns a java.io.ByteArrayInputStream. > >Any idea on how to extract the content out of a Java-Object in php? > >hoping... > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php __ hassan el forkani http://WarmAfrica.com EveryOne's Africa __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Newbie needs compile
hi you can also use http://www.webcron.org At 13:29 06/05/02, John Holmes wrote: > > > He did say he did /not/ want to invoke it from a browser :) > > I didn't think that PHP could run w/o one though, so my idea was to >use a > > text browser, have it run the script, then exit out. As I said, I was > > probably wrong ;) > >Actually, that's exactly how it's typically done, using wget or lynx. >Yes, you can compile a standalone version of PHP and use it directly, >but most hosts do not have that. So, you add a line to your cron file >that calls up your PHP script through lynx. Your script shouldn't return >anything, just do what it has to do, or it should redirect output to a >file or email. You can use the -dump switch for lynx to dump any output >that does occur. > >I know he said he did not want to invoke it from a browser, but I think >he meant that he didn't want to have to physically go to and load up the >page himself. > >---John Holmes... > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php ___ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: [EMAIL PROTECTED] Tel : 0021671880014 ___
Re: [PHP] Variables in PHP: public vs. private
HI, as far as i know private vars should be available in the next release of the zend engine, thus, using get and set functions is a good practice to be sure that your apps will still function in future php releases. Regrads. ___ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: [EMAIL PROTECTED] Tel : 0021671880014 ___ At 14:36 17/05/02, Christoph Starkmann wrote: >Hi there! > >I'm just starting to get in touch with >oo programming in PHP. Now I've got a >quite simple question, I guess... > >In an example in the PHP-help, I found >a class definition with accessor functions >like > >dummy->get_some_variable(); > >But AFAIK (and see ;)), variables in PHP >in fact are never private, but always >public, at least within the current script. > >So what would be the sense in having >this kind of functions? Readability? >Just a fake? > >Or can I declare variables as private? >(this would be the best in my eyes, indeed) > >Thanx alot, > >Kiko > >-- >It's not a bug, it's a feature. >christoph starkmann >mailto:[EMAIL PROTECTED] >http://www.gruppe-69.com/ >-- > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php ___ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: [EMAIL PROTECTED] Tel : 0021671880014 ___
[PHP] hosting
hi anybody know of a hosting service that can be setup in a few minutes and i mean a few minutes that's all i got Thank ___ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: [EMAIL PROTECTED] Tel : 0021671880014 ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hosting
OK let me explain, this is an emergency situation i need php 4.XXX with --enable-wddx plus allow remote fopen (the app reads remote xml files) perl binary installed access to one directory outside the web root (to store includes and classes library) mysql database disk space something like 50 megs is ok i will be hosting a domain on the server pop accounts (at least 2) ftp possibly ssh access (not necessary) At 17:28 25/05/02, 1LT John W. Holmes wrote: > > anybody know of a hosting service that can be setup in a few minutes and i > > mean a few minutes that's all i got > >I know of a great one...umm, just give me a few minutes to remember the >name. > >---John Holmes... ___ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: [EMAIL PROTECTED] Tel : 0021671880014 ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Output buffering behaviour
hi, I'm working on content management system entirely written in Object oriented PHP using templates i used output buffering to be able to send header calls in the middle of my classes i have noticed that performance has become "random" meaning that the same script could take from 1 up to 30 seconds in the same conditions, passing exactly the same params. while trying to find a solution, i removed the ob_end_flush() call while keeping the ob_start() call at the beginning of the script and strangely speed of execution came back to normal. output buffering is still on i am not flushing it out the pages are generated just fine without freeing the buffer ?? i would like to know if anyone has had similar experiences with output buffering this behavior occurred on a windows and a linux box both with php 4.1.1 and pretty much the same php.ini settings Regards ______ hassan el forkani http://WarmAfrica.com EveryOne's Africa __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP POSTGRESQL AND WML
Hi. I am trying to send two variables from login.wml to auth.php. But auth.php gets empty variables. here is the code for login.wml: http://www.wapforum.org/DTD/wml_1.1.xml";> Name: Password: Login and here is the code for auth.php: What do i wrong? Please can you help me? __ ComputerBild (15-03) empfiehlt den besten Spam-Schutz: WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021125 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] GMT
Hi, My hosting provider is located somewhere in Houston, TX (EV1). I am using PHP and MySQL and need to store all dates/time in GMT (considering DST also). Appreciate any help! Once the date/time is in GMT, it would be easier for me to display the date base on user preference (time zone difference). Thanks. Hassan
[PHP] About sessions !!
Hi !! I just begin with PHP( but is the same as ASP ) and testing some examples... loock at the code: Page 1- Session.php New Page 1 Hello visitor, you have seen this page times. To continue, click here ___ Page 2- Session1.php New Page 1 Hello visitor, you have seen this page times. Your SID is: Page 1 is ok..but when I click to go to page 2 I receive this results.. Hello visitor, you have seen this page times. Your SID is: SID Who can tell me what happend !! Thank you in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About sessions !!
ok ..register_globals are on !! Ok $myvar always will be 1 ..but when a try to print it is empty !!!..It is just a test about session. Thanks Nicolas !! -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:13 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] About sessions !! You should also check if register_globals is set to ON in your php.ini file. Otherwise you can't access you session variable just with $myvar !! And in your code you never increment $myvar, so even if it works, you'll always get 1. Regards, Nicolas Guilhot -Message d'origine- De : Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Envoyé : mardi 24 avril 2001 16:11 À : [EMAIL PROTECTED] Objet : Re: [PHP] About sessions !! SID does not work unless you enable trans sid. Regards, -- Yasuo Ohgaki "Hassan Arteaga" <[EMAIL PROTECTED]> wrote in message 7F548E90E63BD1118E4600609707771F8BEFAF@goliath">news:7F548E90E63BD1118E4600609707771F8BEFAF@goliath... Hi !! I just begin with PHP( but is the same as ASP ) and testing some examples... loock at the code: Page 1- Session.php New Page 1 Hello visitor, you have seen this page times. To continue, click here ___ Page 2- Session1.php New Page 1 Hello visitor, you have seen this page times. Your SID is: Page 1 is ok..but when I click to go to page 2 I receive this results.. Hello visitor, you have seen this page times. Your SID is: SID Who can tell me what happend !! Thank you in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] -- 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] About sessions !!
Thaks !! Work fine !!! Bye !!! -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:25 AM To: Hassan Arteaga Subject: RE: [PHP] About sessions !! This code works just fine for me (with register_globals = ON), so it should for you. If it doesn't then you have a configuration problem. New Page 1 Hello visitor, you have seen this page times. To continue, click here -Message d'origine- De : Hassan Arteaga [mailto:[EMAIL PROTECTED]] Envoyé : mardi 24 avril 2001 16:23 À : Php (E-mail) Objet : RE: [PHP] About sessions !! ok ..register_globals are on !! Ok $myvar always will be 1 ..but when a try to print it is empty !!!..It is just a test about session. Thanks Nicolas !! -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:13 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] About sessions !! You should also check if register_globals is set to ON in your php.ini file. Otherwise you can't access you session variable just with $myvar !! And in your code you never increment $myvar, so even if it works, you'll always get 1. Regards, Nicolas Guilhot -Message d'origine- De : Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Envoyé : mardi 24 avril 2001 16:11 À : [EMAIL PROTECTED] Objet : Re: [PHP] About sessions !! SID does not work unless you enable trans sid. Regards, -- Yasuo Ohgaki "Hassan Arteaga" <[EMAIL PROTECTED]> wrote in message 7F548E90E63BD1118E4600609707771F8BEFAF@goliath">news:7F548E90E63BD1118E4600609707771F8BEFAF@goliath... Hi !! I just begin with PHP( but is the same as ASP ) and testing some examples... loock at the code: Page 1- Session.php New Page 1 Hello visitor, you have seen this page times. To continue, click here ___ Page 2- Session1.php New Page 1 Hello visitor, you have seen this page times. Your SID is: Page 1 is ok..but when I click to go to page 2 I receive this results.. Hello visitor, you have seen this page times. Your SID is: SID Who can tell me what happend !! Thank you in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] -- 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]
[PHP] About MS SQL
Hi all !! I'm trying to connecto to MS SQL Database I receive this error MSG "Fatal error: Call to undefined function: mssql_connect() in C:\Inetpub\wwwroot\myphp\sqltest.php on line 13 " The line 13 is $Conn=mssql_connect("","",""); Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MS SQL
Thaks Romulo..but I think I have MS SQL the only problem that I talking about MS SQL 2000..What can I do ? ___ ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; extension=php_mssql70.dll _ Thanks !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MS SQL
Ok...I have to try with the ODBC functions ? Thanks !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MS SQL
For example if my SQL installation files are in c:\MSSQL what is the right configuration ? extension_dir=c:\MSSQL; Now I just made the job with ODBC functions but I would like to use SQL function !! thanks !!! -Original Message- From: Romulo Pereira [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] About MS SQL Hello, Your php.ini is not configured correctilly. That is what is doing the php to do not include the MsSQL functions to the php api. Open your php.ini file and find (and correct) the section below: ; ; Paths and Directories ; ; ... extension_dir=./extensions; Your scripts should work then. Have fun, Rom -- 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: RE: RE: [PHP] About MS SQL
I did it ..But nothing 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: RE: RE: [PHP] About MS SQL
No..is on Win98 with Persnal Web Server PC. Regards !! -Original Message- From: Matthew Ralston [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 12:32 PM To: [EMAIL PROTECTED] Subject: Re: RE: RE: [PHP] About MS SQL you might have to restart your webserver/php if it's apache you might need to recompile it or something...i've not compiled php into apache before...am using it as a cgi...so i'm not sure -- Thanks, Matt [EMAIL PROTECTED] < www.mralston.co.uk /> Hassan Arteaga <[EMAIL PROTECTED]> wrote in message 7F548E90E63BD1118E4600609707771F8BF00A@goliath">news:7F548E90E63BD1118E4600609707771F8BF00A@goliath... > I did it ..But nothing > > 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]
[PHP] COM
Hi all !! I have components i made in Visual Basic 6.0 and I would like to use with PHP. I need examples how to create intance from VB COM component... What function I have to use ? com_load - ??? com_invoke - ??? com_propget - ??? com_get - ??? com_propput - ??? com_propset - ??? com_set - ??? Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MySQL
Hello to all: I installed mySQL in my PC running Win98, PHP and PWS..I ran an example and all Ok!!! But I have not still been able to run MS SQL'S example, I didn't understand very well that I should make..in spite of the help that friends of the list have offered me. Thanks again !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] HELP !!!!
Hi all !!! I need URL to download some visual tool to create Databases, tables, etc..for mySQL Thanks -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] HELP !!!!
Thanks to Oktay and Henning !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:03 PM To: 'Hassan Arteaga'; Php (E-mail) Subject: RE: [PHP] HELP Try this if you are using Windows. http://www.anse.de/mysqlfront/ This is a Windows GUI for MySQL. It is very well done but it still has some issues. I don't think you will have a problem if all you'll be doing is creating tables , databases etc. You can also try installing phpMyAdmin on the server side and working on a web browser. phpMyAdmin is also a very nice tool. There are a lot more interfaces to mysql, but I haven't had a pleasent experience with the others. Oktay -Original Message- From: Hassan Arteaga [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:59 PM To: Php (E-mail) Subject: [PHP] HELP Hi all !!! I need URL to download some visual tool to create Databases, tables, etc..for mySQL Thanks -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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]
[PHP] Great for all software !!!!
thanks again !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] COM
Thanks !!! I will try... -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 8:31 AM To: Hassan Arteaga Subject: Re: [PHP] COM Hi Arteaga, Instead of using that functions, use the new one shown bellow: For instantiate an COM object in PHP: $obj = new COM("ApplicationName.ClassApplicationName"); For properties and methods access: $obj->property_name; $obj->method_name; I have used and tested this function and I have obtained success (using PHP on Windows 2000 Server). It work very fine. Regards, Iriton Jonath. - Original Message ----- From: "Hassan Arteaga" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, April 30, 2001 2:57 PM Subject: [PHP] COM Hi all !! I have components i made in Visual Basic 6.0 and I would like to use with PHP. I need examples how to create intance from VB COM component... What function I have to use ? com_load - ??? com_invoke - ??? com_propget - ??? com_get - ??? com_propput - ??? com_propset - ??? com_set - ??? Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] COM
Hi Iriton !! I tested but with errors.. 9 Hello("Hi Hassan"); 12 ?> This is only VB component Hello return the string entered as var...I receive this error.. Parse error: parse error in C:\Inetpub\wwwroot\myphp\com.php on line 10 Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 8:31 AM To: Hassan Arteaga Subject: Re: [PHP] COM Hi Arteaga, Instead of using that functions, use the new one shown bellow: For instantiate an COM object in PHP: $obj = new COM("ApplicationName.ClassApplicationName"); For properties and methods access: $obj->property_name; $obj->method_name; I have used and tested this function and I have obtained success (using PHP on Windows 2000 Server). It work very fine. Regards, Iriton Jonath. - Original Message - From: "Hassan Arteaga" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, April 30, 2001 2:57 PM Subject: [PHP] COM Hi all !! I have components i made in Visual Basic 6.0 and I would like to use with PHP. I need examples how to create intance from VB COM component... What function I have to use ? com_load - ??? com_invoke - ??? com_propget - ??? com_get - ??? com_propput - ??? com_propset - ??? com_set - ??? Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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]
[PHP] About last release
Hi all !! I have PHP 4.0.4 on Win98, PWS PC and I would like to install 4.0.5 but is only for CGI ? I installed PHP 4.0.4 with an exe file...I didn't nothing..only double-click.. I need that file again but with PHP 4.0.5 version..Thanks !!! If not ..then I'll read install file. Thanks -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] COM
Ohhh!!!I installed the last version..and now ..this simple code I can't see nothing... -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 10:50 AM To: Hassan Arteaga Cc: [EMAIL PROTECTED] Subject: Re: [PHP] COM Hi Arteaga, I have tested COM objects using PHP Version 4.0.4pl1 on Windows 2000 Server. The COM function mentioned here were implemented recently in PHP engine, so use this version of PHP or later. Of course, your VB COM component must be registered, so "Has.HasClass" must be a valid "OLE programmatic identifier". Regards, Iriton. - Original Message - From: "Hassan Arteaga" <[EMAIL PROTECTED]> To: "'Iriton Jonath P. Andrade'" <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 8:51 AM Subject: RE: [PHP] COM Hi Iriton !! I tested but with errors.. 9 Hello("Hi Hassan"); 12 ?> This is only VB component Hello return the string entered as var...I receive this error.. Parse error: parse error in C:\Inetpub\wwwroot\myphp\com.php on line 10 Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 8:31 AM To: Hassan Arteaga Subject: Re: [PHP] COM Hi Arteaga, Instead of using that functions, use the new one shown bellow: For instantiate an COM object in PHP: $obj = new COM("ApplicationName.ClassApplicationName"); For properties and methods access: $obj->property_name; $obj->method_name; I have used and tested this function and I have obtained success (using PHP on Windows 2000 Server). It work very fine. Regards, Iriton Jonath. - Original Message - From: "Hassan Arteaga" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, April 30, 2001 2:57 PM Subject: [PHP] COM Hi all !! I have components i made in Visual Basic 6.0 and I would like to use with PHP. I need examples how to create intance from VB COM component... What function I have to use ? com_load - ??? com_invoke - ??? com_propget - ??? com_get - ??? com_propput - ??? com_propset - ??? com_set - ??? Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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]
[PHP] Please !!!!
Hi all !!! I execute a page php with a simple code..the page appears in white..and when I oppress the right click to see the source I obtain this result. _ Untitled ___ Everything was working well until I installed the new version for win32 PHP 4.0.5 Thanks -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] Life easy with MySQL
Who knows about some "Visual Query Generator or/ and Visual Diagram Generator" as MS SQL but for MySQL ? -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] ISAPI
I want to setup PHP on W2000 + IIS 5 PC as ISAPI..When I change from CGI to ISAPI ..I receive this error messages: 500 Internal Server Error Steps followed to install ISAPI.. IIS 4.0+ (isapi): 1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and edit it to fit your needs 2. Start the Microsoft Management Console or the Internet Services Manager, located in your Control Panel 3. Click on your webserver, and select properties 4. If you don't want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under ISAPI Filters, add a new ISAPI filter. Use PHP as the filter name, and supply a path to the php4isapi.dll 5. Under Home Directory, click on the Configuration button. Add a new entry to the Application Mappings. Use the path the php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions, blank, and check the Script engine checkbox 6. Stop IIS completely 7. Start IIS again Thanks !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MySQl and Transactions
Hi all !!! I'd like to implement this pseudocode 1-open connection with MySQL 2-beintransaction 3-add data to table1 4-add data to table2 5-commit transacction or die (rollbacktransacciont) How I implements transaccions in MySQL Thanks all !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About MySQL Recordset pagination...
Hi all !! I'would like to know if exist in MySQL or PHP functions to implement pagination like ADO (This is for WINDOWS PHP programmers) thanks in advanced !! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] About Commit..
Hi all!! I wants to implements transacctions with this code...What can I do ? $Conn=mysql_connect("myserver","myroot","mypass"); $Query_ID1=mysql_db_query ("App", "update FamiliPic set pic_code=4 ", $Conn); //only example $Query_ID2=mysql_db_query ("App", "update DesFam set pic_code=4 ", $Conn); //only example ...other code Thanks !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [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] I need help
Dear Sir, I am facing the problem with the PHP configuration. Whenever I try to load the php_oci8.dll. It gives me an error "Unable to load dynamic library 'C:\php\extensions\php_oci8.dll' - The specified module could not be found" I have tried my best to resolve this problem but all in vain. Please let me know if there is any solution for that. I am using Windows2000 and Oracle 8.1.7 and IIS 5 Web Server. If there is any extra library that I need to load then please tell me about that and how to get it. Thanks and Best Regards _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- 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] my php script is very slow. help?
Hi all I have Linux/PHP/MySQL. Some of my script really run very slowly. painfully slow. All data are fetched from the database. The tables in database are indexed. Still some scripts are very slow. I am using nested while and for loops. Any idea how to make them faster? What should I avoid in my scripting? thanks all Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- 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] threaded forum to display replies
Hi I have been coding a threaded forum. A simple one. I have this problem: I cannot show all the replies in a threaded way. I tried a recursive method which takes the messageid and I do like $messageID = $p_id +1; showMessages($messageID); This only works if the messageids are 1 2 3 4 5 6. but if two consecutive messages have messages ids like 13 and 15 or 14 and 20 for example, this does not work. Please help me here. Thanks in advance hxaaji Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- 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] connect to MySql
Dear Sir I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am working in web design. I am unable to connect to the mysql server. Althought my php files running fine and my mysql server is also running fine. i) i had changed the php.ini-dist file to php.ini. ii)i uncommented the extensions of php_mysql.dll in php.ini file iii)i set the extensions_dir to extension_dir = "D:\PHP\php-5.0.3\ext\" in php.ini file iv)i had copied the libmysql.dll in windows\system32 and windows\system i wrote the following code: but after all these i am still getting the error Fatal error: Call to undefined function mysql_connect() in D:\PHP\teknohub\new.php on line 14 please help me to solve this problem out. Dr. Hassan -------- Hassan Al-Mahdi Associate Lecture Of Computer Science Department of Mathematics and Science Faculty of Petroleum and Mining Engineering Suez Canal University, Suez, Egypt Phone: not available now Email: [EMAIL PROTECTED] Website: http://hassan460.tripod.com - Yahoo! FareChase - Search multiple travel sites in one click.
Re: [PHP] Sorry, what is "PWS"
i have tried both PWS and Apache on a windows98 machine, and franckly Apache is much much better just grab a binary distribution install it and go through the httpd.conf to configure it (that's the trikiest part but the file is very well commented ) voila! best combination: php, apache, Mysql regards 06/05/01 17:28:40, Anuradha Ratnaweera <[EMAIL PROTECTED]> wrote: > >On Sat, 5 May 2001, Thomas Edison Jr. wrote: > >> Latest version of PWS is 4.0! If u're looking for something esy & fast >> to get running, PWS is it. > >It is not something as easy as apache to install. If you install any Linux >or BSD distribution, you get can apache to run out of the box without any >effort! No reason to go to network neighbourhood properties and >whatsoever... > >Anuradha > > >-- >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] remotely include file
there is a way to prevent the remote server from parsing the file before sending it: use an extension that is not associated to php on that server (ie something like .incphp or whatever extension that is not parsed on that server) and add that extension in the "receiving" server's config for instance if y're using apache, y'd add: Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php .incphp this way the sending server would send the file as plain text and your server would include it and parse it i never tried this but it should work the downside with this is that your includes could be easaly downloaded and read by anyone on the host server, but you could restrict access to those files to some hosts. regards hassan el forkani 09/05/01 13:37:55, Ben Cairns <[EMAIL PROTECTED]> wrote: >When PHP does a require or an include on a remote file via http, it sends a >GET request to the http server that the file is on, > >Therefore, if this server has PHP installed on it, then the web server will >parse the file before it spits it out. Thus, all of the PHP tags are stripped >fom the file for output. > >Therefore, you cannot remotely include (via http) a php file. If you could, >this would be a massive security loophole. > > >-- Ben Cairns - Head Of Technical Operations >intasept.COM >Tel: 01332 365333 >Fax: 01332 346010 >E-Mail: [EMAIL PROTECTED] >Web: http://www.intasept.com > >"MAKING sense of >the INFORMATION >TECHNOLOGY age >@ WORK.." > > >-- >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] passing parameters in the url using forward slashes
hmm.. good question i don' t know exactly how it's done but i actually know a site that uses this extensively www.emp3finder.com, they concat strings i think it involves "massive" server configuration regards 09/05/01 14:08:25, "Franklin van Velthuizen" <[EMAIL PROTECTED]> wrote: -- 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] free php web hosting
Hi, can any body know about free php & mysql free web hosting service provder ? i will be greatful if u let me know Kamran H. Hassan
Re: [PHP] free php web hosting
www.f2s.com At 17:20 26/10/01, Kamran H. Hassan wrote: >Hi, > >can any body know about free php & mysql free web hosting service provder >? > >i will be greatful if u let me know > >Kamran H. Hassan -- 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] help needed for multimania.com
Hi, Thanks for the info. about free web hosting www.multimania.com , i will be greateful if any one help in the steps of config. mysql and php on this web hosting, the problem is that site is in non-english language (i think its in french which i dont understand). if any one let me know briefly the steps to upload my website on that web hosting provider i will be very much greateful. i registered a web space at http://khamid.multimania.com hoping for reply and thanks in advance. Kamran H. Hassan _ U wrote | www.multimania.com (php + mysql) | | If you find better ones, please let me know :o) | | See you |
Re: [PHP] referencing arrays in arrays
have you tried doing it using while()? At 01:28 29/06/01, Anette Löfquist wrote: >I have an array, $field, like following: > >Array ( [0] => > Array ( [0] => Array ( [disp] => computer > [index] => computer ) > [1] => Array ( [disp] => or > [index] => @or ) > [2] => Array ( [disp] => title > [index] => @at 1=4 term > [name] => ti ) > ) > [1] => > Array ( [0] => Array ( [disp] => human > [index] => human) > [1] => Array ( [disp] => or > [index] => @or ) > [2] =>Array ( [disp] => subject > [index] => @at 1=5 term > [name] => s ) >) > [2] => > Array ( [0] => Array ( [disp] => > [index] => John) > [1] => Array ( [disp] => or > [index] => @or ) > [2] => Array ( [disp] => tsd > [index] => @at 1=5 term @at >7=44 term > [name] => tsd) >) > [3] => > Array ( [0] => Array ( [disp] => > [index] => Eric) > [1] => and > [2] => Array ( [disp] => subject > [index] => @at 9=5 term > [name] => s ) >) > [4] => >Array ( [0] => Array ( [disp] => >[index] => Main) >[1] => and >[2] => Array ( [disp] => subject >[index] => @at 9=5 term >[name] => s ) > ) > [5] => >Array ( [0] => Array ( [disp] => >[index] => Dog) >[1] => and >[2] => Array ( [disp] => >[index] => >[name] => ) >) >) > >In each string, $field[$j][2]["index"] in the array, will I replace 'term' >with the >word in "{$field[$j][0]["index"]}". >Why doesn't it work like this?: >--- >1.for($j=0; $j<6; $j++){ >2.$temp >=str_replace("term","{$field[$j][0]["index"]}","{$field[$j][2]["index"]}"); >3.echo "temp: $temp"; >4.$field[$j][2]["index"]=$temp; >5.echo "utskrift: ${$field[$j][2][index]}"; >6.} >7.echo "field: "; >8.print_r($field); >- >Line 3 and 6 gives the same, and correct outprint, but in line 8 nothing is >changes from how it looked before the loop. "term" is still term and not >replaced. >What am I doing wrong!? > >Thanks! > >anette > > > > > >Bra att veta: >Hardware is the part of a computer that can be kicked, >if all you can do is swear at it, then it must be software. > >Anette Löfquist e99al >icq#: 69648675 > > > > > > > > > > > > > >-- >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] how to hide dbconnect file if its in published directory?
there should not be any problem if your web server is configured to parse .inc extentions as PHP, in wich case, even if the file is called separately, the server will strip php tags and send normal html output. regards At 00:11 10/07/01, Noah Spitzer-Williams wrote: >Hey guys, > > I come for advice once again. Say i have a file dbconnect.inc which >connects to my database. Now if this file is located in a directory >accessible for to the web is there anyway that if someone types in that file >i can detect it being accessed, instead of included, and redirect them >elsewhere? > >Thanks guys! > >- Noah > > > >-- >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] how to hide dbconnect file if its in published directory?
well... i don't think there should be any problem if the included file is a class (right???) come to think about it, is it possible to create an object by passing a url like this: file.inc?file=new mysql&file->conn() i mean would this run the class?? regards At 05:00 14/07/01, Rasmus Lerdorf wrote: > > there should not be any problem if your web server is configured to parse > > .inc extentions as PHP, in wich case, even if the file is called > > separately, the server will strip php tags and send normal html output. > >Once again, don't do this. > >If you write your .inc files assuming they are going to be running in the >context of a larger framework where they are included into you are likely >to miss things that could be a security problem if they are run by >themselves via something like: file.inc?file=/etc/passswd > >You are better off letting people see the source code to your .inc file as >opposed to letting people execute them out of context. > >Obviously the most secure way is to simply put all your include files >outside of your document_root so they can't be accessed directly. > >Or, alternatively add a simple rule to your httpd.conf: > > > Order allow,deny > Deny from all > > >-Rasmus -- 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] echo vs printf
"whereas to echo it you'd have to concatenate the string." false you don't have to concat strings with echo you can print vars the same way as print regards 16/07/01 17:48:43, "Steve Brett" <[EMAIL PROTECTED]> wrote: >i seem to remember reading somewhere that print acts like (is) a function, >presumably returning false if it cannot print to screen, whereas echo just >dumps it. > >also you can drop vars in print like > >print "you have $points points"; > >whereas to echo it you'd have to concatenate the string. > >Steve > > >"Don Read" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> >> On 16-Jul-01 brother wrote: >> > Why should I use printf instead of echo and vice versa? >> > >> >> printf print-formated >> >> $a=12.3456; >> >> echo $a, ''; >> printf('%1.2f', $a); >> >> 12.3456 >> 12.34 >> >> > As for today I use printf mostly but I don't know why. >> >> You prolly mean print; There may be some minor differences from echo, >> but i've never seen 'em. >> (i think they threw print in PHP to keep JAPHs happy). >> >> Regards, >> -- >> Don Read [EMAIL PROTECTED] >> -- It's always darkest before the dawn. So if you are going to >>steal the neighbor's newspaper, that's the time to do it. > > > >-- >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] Free webspace with PHP&Mysql support
yes: http://www.f2s.com regards 28/07/01 18:05:45, "Minardi boy" <[EMAIL PROTECTED]> wrote: >Is there any reliable provider who offers free webspace with php and Mysql >support? >Cheers >RJ > > > >-- >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] Matching Question
ok, if i understand you correctly, you're taking data from a form and want to check that it is not already in the database, right? then why don't you include the submitted vars in the query like this: $sql = "SELECT First_Name, Last_Name, Address FROM $table_name WHERE (Family_Position = 'H' or Family_Position = 'S') and "first_name = '$form_First_Name' and last_name='$form_last_name' and address='$form_address'"; $result = @mysql_query($sql,$connection) or die(" Couldn't execute query."); $number_of_matches = mysql_num_rows($result); if ($number_of_matches > 0) {print "bla bla"; else{ //submitted info is ok and can be inserted } please correct me if i missunderstood your question regards At 21:52 04/08/01, you wrote: >Here is the query part: > >$sql = "SELECT First_Name, Last_Name, Address FROM $table_name >WHERE Family_Position = 'H' or Family_Position = 'S'"; >//$result = @mysql_query($sql,$connection) or die(" Couldn't execute query."); >if(! $result = mysql_query($sql,$connection)) { > print("ERROR ".mysql_errno().": > ".mysql_error()."\n$sql\n"); > } > > > > > whta does your query look like? > > > > At 19:40 04/08/01, you wrote: > > >After a sign up page I want to check if someone is already entered > > >into a database. The First Name, Last Name and Address all have > > >to match exactly in order for it to be considered a duplicate. However > > >this isn't doing what I want. I get the Error produced if the Address > matches > > >but the name doesn't. Not sure what I'm doing wrong. Thanks. > > >Jeff Oien > > > > > >while ($row = mysql_fetch_array($result)) { > > > $First_Name = $row['First_Name']; > > > $Last_Name = $row['Last_Name']; > > > $Address = $row['Address']; > > > > > > if (($M_First_Name || $F_First_Name == $First_Name) && > > > ($M_Last_Name || $F_Last_Name == $Last_Name) > > > && ($Address1 == $Address)) { > > > echo " > > > Error > > > > > vlink=\"#660099\"> > > > Error > > >etc... > > > > > >-- > > >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] Session problem
indeed it's not working properly, first of all please make sur the pages are not cashed send a header (Cache-control: NO cache) i'm not sure about the syntax so check the manual then try to modify your code like this and tell us what happens: might seem a little overloaded but it's to make sur there is no confusion between count as a session var and the other var; if this is not working then the problem is else whrere and w'll continue lokkin :)) regards At 15:41 07/08/01, you wrote: >Still loses it .. check this out: > >http://www.militarycity.com/classified/realtors/count.php > >The entire code for that page, taken from an example on zend: > >session_register ("count"); >$count++; >?> > >Hello visitor, you have seen this page times. > > >Try loading it about 10 times or so, watch what happens. > >Chad > >-Original Message- >From: hassan el forkani [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 07, 2001 8:34 AM >To: Chad Day >Subject: RE: [PHP] Session problem > > >hello > >At 15:16 07/08/01, you wrote: > >My code: > > > > > > auth.php: > > > > > > session_start(); > > > > > > ... > > > > > > $res = mysql_query("SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND > > > PASSWORD = '$PASSWORD'"); > > > > > > if ($row = mysql_fetch_array($res)) { > >//try adding this: > global $NAME; > > > > $NAME = $row[NAME]; > > > session_register("NAME"); > > > } > > > > > > ... > > > > > > Header("Location: menu.php"); > > >regards -- 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] Session problem
oh i forgot!!! you have to put this at the beginning of your page indeed it's not working properly, first of all please make sur the pages are not cashed send a header (Cache-control: NO cache) i'm not sure about the syntax so check the manual then try to modify your code like this and tell us what happens: might seem a little overloaded but it's to make sur there is no confusion between count as a session var and the other var; if this is not working then the problem is else whrere and w'll continue lokkin :)) regards At 15:41 07/08/01, you wrote: >Still loses it .. check this out: > >http://www.militarycity.com/classified/realtors/count.php > >The entire code for that page, taken from an example on zend: > >session_register ("count"); >$count++; >?> > >Hello visitor, you have seen this page times. > > >Try loading it about 10 times or so, watch what happens. > >Chad > >-Original Message- >From: hassan el forkani [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 07, 2001 8:34 AM >To: Chad Day >Subject: RE: [PHP] Session problem > > >hello > >At 15:16 07/08/01, you wrote: > >My code: > > > > > > auth.php: > > > > > > session_start(); > > > > > > ... > > > > > > $res = mysql_query("SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND > > > PASSWORD = '$PASSWORD'"); > > > > > > if ($row = mysql_fetch_array($res)) { > >//try adding this: > global $NAME; > > > > $NAME = $row[NAME]; > > > session_register("NAME"); > > > } > > > > > > ... > > > > > > Header("Location: menu.php"); > > >regards -- 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] Session problem
this code works on my machines: test it, i think the problem was about starting $count at zero; if it still ait working for you then check your php.ini settings regards At 16:50 07/08/01, Chad Day wrote: >Done, still not working. I know that usually has to be there, I was just >going to copy the example from the manual directly, since the session should >automatically kickoff when it hits the session_register bit. This truly has >me baffled. > >Chad > >-Original Message- >From: hassan el forkani [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 07, 2001 9:37 AM >To: Chad Day >Cc: [EMAIL PROTECTED] >Subject: RE: [PHP] Session problem > > >oh i forgot!!! >you have to put this at the beginning of your page >session_start(); >?> > >indeed it's not working properly, >first of all please make sur the pages are not cashed send a header >(Cache-control: NO cache) i'm not sure about the syntax so check the manual >then try to modify your code like this and tell us what happens: > >if (!HTTP_SESSION_VARS['count']) >{ >global $count; >$count = 0; >session_register ("count"); >echo "Hello visitor, you have seen this page $count; times"; >} >else { >$count = HTTP_SESSION_VARS['count']; >$count++; >session_register ("count"); >echo "Hello visitor, you have seen this page >".HTTP_SESSION_VARS['count']"."; times"; > >?> >might seem a little overloaded but it's to make sur there is no confusion >between count as a session var and the other var; >if this is not working then the problem is else whrere and w'll continue >lokkin :)) > >regards > > > >At 15:41 07/08/01, you wrote: > >Still loses it .. check this out: > > > >http://www.militarycity.com/classified/realtors/count.php > > > >The entire code for that page, taken from an example on zend: > > > > >session_register ("count"); > >$count++; > >?> > > > >Hello visitor, you have seen this page times. > > > > > >Try loading it about 10 times or so, watch what happens. > > > >Chad > > > >-Original Message- > >From: hassan el forkani [mailto:[EMAIL PROTECTED]] > >Sent: Tuesday, August 07, 2001 8:34 AM > >To: Chad Day > >Subject: RE: [PHP] Session problem > > > > > >hello > > > >At 15:16 07/08/01, you wrote: > > >My code: > > > > > > > > auth.php: > > > > > > > > session_start(); > > > > > > > > ... > > > > > > > > $res = mysql_query("SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND > > > > PASSWORD = '$PASSWORD'"); > > > > > > > > if ($row = mysql_fetch_array($res)) { > > > >//try adding this: > > global $NAME; > > > > > > $NAME = $row[NAME]; > > > > session_register("NAME"); > > > > } > > > > > > > > ... > > > > > > > > Header("Location: menu.php"); > > > > > >regards > > > >-- >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] ICMP Ping
look for icmp at http://phpclasses.upperdesigns.com i beilive there is a class that does just that regards At 18:11 07/08/01, you wrote: >Hi, > I'm trying to write a port scanner similar to >http://scan.sygatetech.com to expose security holes in a PC or server. >However, I can't figure out how to perform an ICMP ping. Does anyone >know how? > >Regards, > >- James > >Editor, VB Web >== >Web - http://www.vbweb.co.uk >Email - [EMAIL PROTECTED] >ICQ# - 60612011 >Fax - +44(0)8707052859 >== > > >-- >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] Re: mysql escape character \'
thanks everybody for your help, i actually had the solution before posting :)) my question was not a 'how to' but why do we need to escape single quotes on unix systems and not on windows using the same version of php and mysql? At 21:44 07/08/01, you wrote: >Dear PHP-General (bit of strange, uh?), > >I guess what you are looking for is this: >http://www.php.net/manual/en/function.addslashes.php > >Hope it helps. > >Regards, > >-- > Stefan Hinz > Geschäftsführer / CEO iConnect e-commerce solutions GmbH > # www.js-webShop.com www.iConnect.de > # Gustav-Meyer-Allee 25, 13355 Berlin > # Tel: +49-30-46307-382 Fax: +49-30-46307-388 > >- Original Message - >From: "hassan el forkani" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Tuesday, August 07, 2001 4:32 PM >Subject: mysql escape character \' > > > > greetings; > > > > i'm not sure if this is a mysql or php issue so i'm posting to both >lists, > > > > i'm developping a community web site with news, forums..; > > while working on the admin section i noticed this behaviour: > > > > on my hosting platform (linux) > > i need to replace single quotes by \' to properly insert the data into >the > > database and avoid errors > > on my dev machine (win98) there is no need to do so as single quotes >are > > properly inserted and attempting to escape them actually inserts \' >instead > > of '; > > > > so the same code does not have the same output on windows and linux > > > > can someone explain?? > > > > > > - > > Before posting, please check: > >http://www.mysql.com/manual.php (the manual) > >http://lists.mysql.com/ (the list archive) > > > > To request this thread, e-mail <[EMAIL PROTECTED]> > > To unsubscribe, e-mail ><[EMAIL PROTECTED]> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > > > > >- >Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > >To request this thread, e-mail <[EMAIL PROTECTED]> >To unsubscribe, e-mail ><[EMAIL PROTECTED]> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- 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] OOP message board
hi does anybody know of a message board written in OOP style? thanks for helping; regards -- 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] need real expert (geting outer files) *english/german*
hi that url is 445 characters long; the maximum (i believe) is 255 characters, maybe that's why your file is truncated; just a guess; regards At 09:26 16/08/01, you wrote: >http://www29.gmx.net/v4/register?FILE_POS_OLD=0&ADDR_CHECK=&t=&COMPANY=&TITL >E=Herr&FIRSTNAME=Aaaa&MIDINITIAL=A&LASTNAME=Aaaa&STREET=Strandener Str. >1&ZIPCODE=51079&CITY=koeln&COUNTRYISO=DE&STATE=Nordrhein-Westfalen&LANGUAGES >=,de&PHONE=&MOBILEPHONE=&FAX=&HOMEPAGE=&GENDER=M&BIRTHDAY=01&BIRTHMONTH=1&BI >RTHYEAR=1901&MARRISTAT=S&HOUSEHOLDPERS=1&INCOME=0&EDUCATIONLEVEL=HSA&EMPLOYS >TAT=SC&COMPUTEROWN=0&INTERNETUSE=Private&MPHONE=0 -- 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] Checking FTP server response
if you just want to check for the existence of the server a ping command is sufficient, if you want to have extended info on the server you should connect to it using standard ftp commands(http://www.ualberta.ca/CNS/HELP/filetran/ftp-commands.html) opening a socket and... regards At 01:19 21/08/01, you wrote: >At 03:03 PM 8/20/01 -0700, CC Zona wrote: >>To test for a valid http address, I open a socket, pass a HEAD or GET >>request, and look for a status code in the response headers. What should I >>send to an FTP server to do a similar test? > >Why not just try and connect to it? > > >-- >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] IIS
:)) Microsoft's web server (Internet Information Server) At 16:52 22/08/01, nafiseh saberi wrote: >hi. >what is IIS? > >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] The future of PHP
hi >rasmus: "PHP is not marketed the way Java and .NET is. There are no >multi-billion >dollar corporations behind PHP and asking us, and apparently me >personally, to make that happen is unrealistic"; true, but who can afford java and .net? oracle..., certainly not the small and medium size companies certainly not african companies certainly not south american companies...and i really belive that's where promotional efforts should go; technology awareness is still low there but the potential is huge and we africans are looking just for this: "cheap and reliable technology, that we can learn from" which is exactly what open source is about... regards -- 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] Re: send mail to mailing list using mail() or smtp?
use php for everything from subscription management to email authoring and use a perl script to effectively send the emails At 10:08 25/08/01, Niklas Lampen wrote: >I'm sending a huge amount of mails with php. How can I send mail directly to >the smtp server? Right now I'm using pipe to send each mail to sendmail. >Works fine with about 35 000 mails, but it takes ages to run. > >What would be the smartest way? > > >Thanks! > > >-Original Message- >From: Richard Lynch [mailto:[EMAIL PROTECTED]] >Sent: 25. elokuuta 2001 3:54 >To: [EMAIL PROTECTED] >Subject: [PHP] Re: send mail to mailing list using mail() or smtp? > > > > My question - is this going to work for a few thousand emails? > >Depends on your server. > > > What > > about 100,000? > >No way. > > > Would it be better to send the mail directly to the > > smtp server? > >Yes. > > > Can you foresee any problems? > >Several. The first one is you didn't read the archives or look for >pre-existing code to talk to SMTP directly. :-) > >Manuel's upperdesign.com has one, and there are plenty of others. You could >roll your own -- I did, so it can't be too tricky. :-) > >Also, at that volume, I think you're going to run into trouble just in >talking to the all the SMTP servers. I *BELIEVE* one major speed-up can be >achieved by sorting the outgoing emails by their recipient's domains... > >You may want to research how "real" mailing list software deals with this if >you actually expect to hit 100K addresses. > >If they're all the same email, you'd be *WAY* better off just interfacing to >majordomo, ezmlm, SmartList, or whatever other mailing list software was >designed to handle this. > >-- >WARNING [EMAIL PROTECTED] address is an endangered species -- Use >[EMAIL PROTECTED] >Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm >Volunteer a little time: http://chatmusic.com/volunteer.htm > > > >-- >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] Print..
works only on windows and you must have the printer extension installed and configured in your php.ini file At 13:02 27/08/01, * R&zE: wrote: > >From: Daniel Antonio de Lima <[EMAIL PROTECTED]> >Date: Tue, Aug 27, 2019 at 07:55:33AM -0300 >Message-ID: <001d01d55cc5$f38cc7a0$[EMAIL PROTECTED]> >Subject: [PHP] Print.. > > > Good Morning > > > > I am working with PHP 4.0.6, and I do not obtain to send given of the page > > for the printer. I use function " PRINTER_OPEN() ", I make the manual in > > accordance with, exactly thus it gives an error to me of indefinite > > function. What it can be? > > Fatal error: Call you undefined function:printer_open() > > > > $print = printer_open(); > > $print = printer_open("LPT1 "); > > printer_write($print, " Test of printer "); > > printer_write($print, " Test of printer "); > > printer_write($print, " Test of printer "); > > $print = printer_close(); > > > > e this error it even gives to me with function " PRINTER_WRITE() ", could > > give tips of that he can be happening. > > > > Yours truly. > > > > Daniel > > > > > > > > > >Don't know which OS you're using, but the printer-functions only >work with Windows: > >http://www.php.net/manual/en/ref.printer.php > > > >-- > >* R&zE: > > >-- >-- Renze Munnik >-- DataLink BV >-- >-- E: [EMAIL PROTECTED] >-- W: +31 23 5326162 >-- F: +31 23 5322144 >-- M: +31 6 21811143 >-- >-- Stationsplein 82 >-- 2011 LM HAARLEM >-- Netherlands >-- >-- http://www.datalink.nl >-- > >-- >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] Print..
hi check this out before posting: http://php.net/manual/en/ref.printer.php windows specific functions regards At 13:59 27/08/01, MBK wrote: >the function printer_open() or printer_write() doesn't exist in php. >I don't know where you saw those functions. > >- Original Message - >From: "Daniel Antonio de Lima" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, August 27, 2019 12:55 PM >Subject: [PHP] Print.. > > >Good Morning > >I am working with PHP 4.0.6, and I do not obtain to send given of the page >for the printer. I use function " PRINTER_OPEN() ", I make the manual in >accordance with, exactly thus it gives an error to me of indefinite >function. What it can be? >Fatal error: Call you undefined function:printer_open() > >$print = printer_open(); >$print = printer_open("LPT1 "); >printer_write($print, " Test of printer "); >printer_write($print, " Test of printer "); >printer_write($print, " Test of printer "); >$print = printer_close(); > >e this error it even gives to me with function " PRINTER_WRITE() ", could >give tips of that he can be happening. > >Yours truly. > >Daniel > > > > > > >-- >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] Re: Problem using session
yes and be carefull to put that before any aoutput is sent to the browser (even a blank space is an output) regards At 14:20 28/08/01, Rosen wrote: >And one question: >Should I use "session_start()" in every php file on my site ? > >Thanks, >Rosen > > > > > >-- >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] Re: Plese help me
hi just a suggestion as itworked for me, try to edit the dll in notepad and do a string search for "dll" without the quotes make sure all the dlls you find exist in your windows/system folder that kind of error usually happens when there are some dlls referenced in the extension; www.php4win.de provide everything that is needed regards At 11:20 03/09/01, _lallous wrote: >are you sure that php_oci.dll is located in c:/php/extentions/ folder? >are you sure you have that file? > >"Soawarat Weangkawe" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > We have installed PHP4.06 manually to use it with IIS 5 on win2000server > > > > We did everything the installation guide told us to do. > > We uncommented some options in php.ini including > > > > extension=php_oci8.dll > > > > Afer we stopped and started the Web server every dll was loaded except > > php_oci.dll > > > > "unable to load dynamic library 'C:/PHP/extentions/php_oci.dll'-The > > specified procedure could not be found." > > > > What should I do? > > Your help will be very appreciated > > > > _ > > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > > > >-- >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] a bug???
hi, i'm recently observing a strange behaviour of php when using a combination of ob_start() and ignore_user_abort() in the same page, php hangs (after the script is executed) and is unable to create/write to /destroy sessions!! i'm observing this on my win98 machine with apache 1.20 and php 4.06 as .exe; if i remove one of the above functions everything returns to normal... everything works fine on my linux machine; has anybody experienced something similar? regards; Hassan El Forkani http://www.warmafrica.com -- 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] a bug???
hi, i'm recently observing a strange behaviour of php when using a combination of ob_start() and ignore_user_abort() in the same page, php hangs (after the script is executed) and is unable to create/write to /destroy sessions!! i'm observing this on my win98 machine with apache 1.20 and php 4.06 as .exe; if i remove one of the above functions everything returns to normal... everything works fine on my linux machine; has anybody experienced something similar? regards; Hassan El Forkani http://www.warmafrica.com -- 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] Any Free Web Hosts that still support the mail( ) function out there?
hi try this one http://www.f2s.com , free space , no ads, most php features supported (including mail) regards At 11:44 22/09/01, Meir Kriheli wrote: >On Friday 21 September 2001 23:51, Salty Marine wrote: > > Greetings to Felix and All: > > > > I must agree that http://coolfreepages.com/ is a really good free hosting > > service that supports PHP. However, soon as you use mail( ), it generates > > an error message: > > Fatal error: Call to undefined function: mail() in ... > > > > Regards, > > Salty > >You can use some SMTP class to send mail without the mail() function if you >have a mail account to use. You can search for it on > >http://phpclasses.upperdesign.com > >And the SMTP class is found at > >http://phpclasses.upperdesign.com/browse.html/package/14 >-- >Meir Kriheli > > > > -Original Message- > > From: Felix [mailto:[EMAIL PROTECTED]] > > Sent: Friday, September 21, 2001 4:58 PM > > To: Salty Marine; [EMAIL PROTECTED] > > Subject: Re: [PHP] Any Free Web Hosts that still support the mail( ) > > function out there? > > > > > > Try coolfreepages.com > > > > Felix > > - Original Message - > > From: "Salty Marine" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, September 21, 2001 2:20 PM > > Subject: [PHP] Any Free Web Hosts that still support the mail( ) function > > out there? > > > > > Greetings to You: > > > > > > Any Free Web Hosts that still support the mail( ) function out there? > > > > > > Regards, > > > Salty > >-- >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] instant session expiration problem
hi don't put an expiry date in the cookie, this way it should expire when the browser window is closed, just aguess... regards At 22:07 30/09/03, Ryan Mahoney wrote: >When a client date is ahead of my server or incorrect the cookie that php >uses to maintain the session is expired immediately by the web >browser. This is an incredible pain! I had once come across some >document by Rasmus describing this problem but can't seem to find it >now. Does anyone know how to resolve this problem? > >Thanks in advance for any help you can provide! Please e-mail me directly. > >Ryan Mahoney > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01 > >-- >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] Anyone know whats the best way to learn PHP
Hi Anyone know whats the best way to learn PHP? Every time I open an php book or look the codes online, my mind goes "oh man, So many stuffs to learn and gets frustrated before i even start" but on the other hand, I don't know why some how the brain keep on nagging me to learn PHP. I guess what's the fun way to learn php? Any good books?
[PHP] Auto CRUD Generator
is there any class/script that can automatically create a CRUD [Create,Read,Update,Delete] grid table for any database table .?
[PHP] Auto CRUD Generator
is there any class/script that can automatically create a CRUD [Create,Read,Update,Delete] grid table for any database table .?
[PHP] need help
hay i m a C++ programmer and new to web development with basic knowledge of HTML, CSS and j.script now i want to start learning PHP anybody can direct me to some good/fast track tutorials \ books for getting start
[PHP] how PHP is batter?
ASP.net VS PHP? how PHP is batter?
[PHP] I'm newbie in PHP
Hi all: Sorry if this question become a very simple but i'm getting errors when i try to connect to MySQL Server. I setup the PHP correctly..As example I run from one web site I have been created. Then testing MySQL server with this simple code i got this error *Fatal error*: Call to undefined function mysql_connect() in * D:\WEB\aplicaciones\TestPHP\testmysql.php* on line *2* Any Help please ? best regards -- MSc.Hassan Arteaga Rodríguez Microsoft Certified System Engineer IT Specialist. ColdFusion & .NET Programmer