php-general Digest 4 Feb 2001 03:09:01 -0000 Issue 491 Topics (messages 37956 through 38020): PHP hosting - the final frontier. 37956 by: Chris Mason 37981 by: Ben Peter 37984 by: Chris Mason 37985 by: Robert Covell 37989 by: Boaz Yahav 37996 by: Robert Covell 38003 by: Navid Yar Re: "Trim" an array? 37957 by: PHPBeginner.com Re: 200 DOLLARS FOR YOU 37958 by: PHPBeginner.com Re: PHP Hosting 37959 by: PHPBeginner.com Re: select prob. 37960 by: PHPBeginner.com 37971 by: Christian Reiniger 37973 by: Netbrain di M.L. 37974 by: PHPBeginner.com 37976 by: Netbrain di M.L. 37977 by: PHPBeginner.com Re: Animated / Streaming GIF 37961 by: PHPBeginner.com Re: Calendar help 37962 by: PHPBeginner.com Form's and oracle 37963 by: Christoph Kempen 37966 by: Alain Fontaine 37969 by: Christoph Kempen 38001 by: Iván Sánchez Ortega \"MR\" Re: Microsoft's new naming convention... 37964 by: David VanHorn 37965 by: Navid Yar 37967 by: Navid Yar apache/SUexec/PHP 37968 by: Larry Rosenman upgrade installation 37970 by: Vinicius Garcia 38010 by: Michael Hall 38019 by: Michael Hall Re: Querying MySQL using 'AND' / 'OR' 37972 by: Christian Reiniger Including Virtual Paths 37975 by: James Crowley 37979 by: PHPBeginner.com Problem compilieng PHP4 37978 by: Thomas Weber 37980 by: Christian Reiniger CGI vs PHP 37982 by: phpLover 37987 by: Alain Fontaine 38000 by: phpLover 38004 by: Steve Werby Select list with PHP 37983 by: Gerry 38017 by: Steve Edberg try - catch ? 37986 by: Alain Fontaine 37990 by: Teodor Cimpoesu Question about flock() on Linux 37988 by: Andrew Sitnikov Question about flock() on Linux. Part 2 37991 by: Andrew Sitnikov test - please disregard 37992 by: Matthew Clark sessions without cookies 37993 by: Doug Kite getimagesize question 37994 by: Website4S.aol.com 37997 by: Dundee \(Roland\) 38002 by: Tom Meininger 38005 by: Website4S.aol.com Undefined variable 37995 by: Dundee \(Roland\) 37998 by: Steve Werby Re: Problem compiling PHP4 Nr. 2 37999 by: Thomas Weber Invitation to a new Web site on politics and culture 38006 by: editor.schenkreport.com PHP news groups 38007 by: McShen 38008 by: Philip Olson 38009 by: CC Zona Bah, XML 38011 by: szii.sziisoft.com php-nuke? 38012 by: FredrikAT Oracle sessions 38013 by: Christoph Kempen Stringing sql queries? 38014 by: Sandeep Hundal 38018 by: Thomas Weber my bugaboo. 38015 by: Floyd Baker need curl tutorial 38016 by: webbie.deanox.com Re: Syncronizing of mysql-db 38020 by: Michael Dearman Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
I see a lot of traffic regarding php hosting. From experience I know that the general hosting companies provide a minimal PHP environment which is often insufficient for PHP developers. With this in mind, I'm considering offering specialized hosting for PHP projects. The server will be tuned to the needs of PHP projects, and will have the latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and will run php as a apache module for performance. The server will have a low user count and I will offer migration alternatives as user's needs grow. The machines will be hosted at a major data center with multiple large internet feeds, and all the other essential requirements. I plan to be available to users to assist in configuration problems and will stay abreast of developments in PHP to make our projects run faster and better. I'd like to hear from people interested in participating or with configuration suggestions. I'm not looking to start a large hosting company but to be a specialized service provider on a small scale. Let me know what you think, guys. Chris Mason Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 USA Fax (561) 382-7771 Take a virtual tour of the island http://net.ai/ The Anguilla Guide Find out more about NetConcepts www.netconcepts.ai Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]
Chris, This all sounds good but for one thing: I firmly believe that one man with a root password is not enogh to look after even one client. I have hosted with 3 one-man-companies, and it always came to the point where I couldn't reach someone for a week, or I waited for 3 months, only to be granted connect privileges to the mysql database - no offense meant! I think it's just too much for one man, you cannot be available 24/7, and you will want holidays. Still, a PHP-specialized hosting environment would be worth much. Cheers, Ben Chris Mason wrote: > > I see a lot of traffic regarding php hosting. From experience I know that > the general hosting companies provide a minimal PHP environment which is > often insufficient for PHP developers. > With this in mind, I'm considering offering specialized hosting for PHP > projects. > > The server will be tuned to the needs of PHP projects, and will have the > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > will run php as a apache module for performance. The server will have a low > user count and I will offer migration alternatives as user's needs grow. The > machines will be hosted at a major data center with multiple large internet > feeds, and all the other essential requirements. > > I plan to be available to users to assist in configuration problems and will > stay abreast of developments in PHP to make our projects run faster and > better. > > I'd like to hear from people interested in participating or with > configuration suggestions. I'm not looking to start a large hosting company > but to be a specialized service provider on a small scale. > > Let me know what you think, guys. > > Chris Mason > Box 340, The Valley, Anguilla, British West Indies > Tel: 264 497 5670 Fax: 264 497 8463 > USA Fax (561) 382-7771 > Take a virtual tour of the island > http://net.ai/ The Anguilla Guide > Find out more about NetConcepts > www.netconcepts.ai > Talk to me in real time with Instant Messenger: [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]
Yes, I'm very aware of this, but I'm not the only one here, there are three of us. Ben Peter wrote: > Chris, > > This all sounds good but for one thing: I firmly believe that one man > with a root password is not enogh to look after even one client. I have > hosted with 3 one-man-companies, and it always came to the point where I > couldn't reach someone for a week, or I waited for 3 months, only to be > granted connect privileges to the mysql database - no offense meant! I > think it's just too much for one man, you cannot be available 24/7, and > you will want holidays. > > Still, a PHP-specialized hosting environment would be worth much. > > Cheers, > Ben > > Chris Mason wrote: > > > > I see a lot of traffic regarding php hosting. From experience I know that > > the general hosting companies provide a minimal PHP environment which is > > often insufficient for PHP developers. > > With this in mind, I'm considering offering specialized hosting for PHP > > projects. > > > > The server will be tuned to the needs of PHP projects, and will have the > > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > > will run php as a apache module for performance. The server will have a low > > user count and I will offer migration alternatives as user's needs grow. The > > machines will be hosted at a major data center with multiple large internet > > feeds, and all the other essential requirements. > > > > I plan to be available to users to assist in configuration problems and will > > stay abreast of developments in PHP to make our projects run faster and > > better. > > > > I'd like to hear from people interested in participating or with > > configuration suggestions. I'm not looking to start a large hosting company > > but to be a specialized service provider on a small scale. > > > > Let me know what you think, guys. > > > > Chris Mason > > Box 340, The Valley, Anguilla, British West Indies > > Tel: 264 497 5670 Fax: 264 497 8463 > > USA Fax (561) 382-7771 > > Take a virtual tour of the island > > http://net.ai/ The Anguilla Guide > > Find out more about NetConcepts > > www.netconcepts.ai > > Talk to me in real time with Instant Messenger: [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]
I am going to have to disagree on this one. I run a successful (and profitable) hosting company(http://www.rolet.com). My employees total 1 (me, myself and I). The number of clients hosted is roughly 120. I provide a wide variety of services on Linux, FreeBSD, NT, and W2K. Yes it is hard to believe that 1 person can be available 24x7, or not take vacations, but this is what I do and LOVE every second of it. I value customer satisfaction and strive to provide that best Internet services possible. For me this is a career for life, not just a job. So I do believe that 1 person can be available 24x7 and not take vacations. Don't get me wrong, some days it is tough. I would like to have other employees in the future, but don't mind the sacrifices taken to get there. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter Sent: Saturday, February 03, 2001 11:59 AM To: Chris Mason Cc: Php-General Subject: Re: [PHP] PHP hosting - the final frontier. Chris, This all sounds good but for one thing: I firmly believe that one man with a root password is not enogh to look after even one client. I have hosted with 3 one-man-companies, and it always came to the point where I couldn't reach someone for a week, or I waited for 3 months, only to be granted connect privileges to the mysql database - no offense meant! I think it's just too much for one man, you cannot be available 24/7, and you will want holidays. Still, a PHP-specialized hosting environment would be worth much. Cheers, Ben Chris Mason wrote: > > I see a lot of traffic regarding php hosting. From experience I know that > the general hosting companies provide a minimal PHP environment which is > often insufficient for PHP developers. > With this in mind, I'm considering offering specialized hosting for PHP > projects. > > The server will be tuned to the needs of PHP projects, and will have the > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > will run php as a apache module for performance. The server will have a low > user count and I will offer migration alternatives as user's needs grow. The > machines will be hosted at a major data center with multiple large internet > feeds, and all the other essential requirements. > > I plan to be available to users to assist in configuration problems and will > stay abreast of developments in PHP to make our projects run faster and > better. > > I'd like to hear from people interested in participating or with > configuration suggestions. I'm not looking to start a large hosting company > but to be a specialized service provider on a small scale. > > Let me know what you think, guys. > > Chris Mason > Box 340, The Valley, Anguilla, British West Indies > Tel: 264 497 5670 Fax: 264 497 8463 > USA Fax (561) 382-7771 > Take a virtual tour of the island > http://net.ai/ The Anguilla Guide > Find out more about NetConcepts > www.netconcepts.ai > Talk to me in real time with Instant Messenger: [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]
And if, God forbid, something was to happen to you... 120 People / Companies would be left with a server that no one knows the root password too? With all due respect, how can someone in his right mind host with a one man gang company? For all I know you can be a hosting genius and give the best service around but you are still one man. Would you host with you ? :) Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -----Original Message----- From: Robert Covell [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 9:16 PM To: Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. I am going to have to disagree on this one. I run a successful (and profitable) hosting company(http://www.rolet.com). My employees total 1 (me, myself and I). The number of clients hosted is roughly 120. I provide a wide variety of services on Linux, FreeBSD, NT, and W2K. Yes it is hard to believe that 1 person can be available 24x7, or not take vacations, but this is what I do and LOVE every second of it. I value customer satisfaction and strive to provide that best Internet services possible. For me this is a career for life, not just a job. So I do believe that 1 person can be available 24x7 and not take vacations. Don't get me wrong, some days it is tough. I would like to have other employees in the future, but don't mind the sacrifices taken to get there. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter Sent: Saturday, February 03, 2001 11:59 AM To: Chris Mason Cc: Php-General Subject: Re: [PHP] PHP hosting - the final frontier. Chris, This all sounds good but for one thing: I firmly believe that one man with a root password is not enogh to look after even one client. I have hosted with 3 one-man-companies, and it always came to the point where I couldn't reach someone for a week, or I waited for 3 months, only to be granted connect privileges to the mysql database - no offense meant! I think it's just too much for one man, you cannot be available 24/7, and you will want holidays. Still, a PHP-specialized hosting environment would be worth much. Cheers, Ben Chris Mason wrote: > > I see a lot of traffic regarding php hosting. From experience I know that > the general hosting companies provide a minimal PHP environment which is > often insufficient for PHP developers. > With this in mind, I'm considering offering specialized hosting for PHP > projects. > > The server will be tuned to the needs of PHP projects, and will have the > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > will run php as a apache module for performance. The server will have a low > user count and I will offer migration alternatives as user's needs grow. The > machines will be hosted at a major data center with multiple large internet > feeds, and all the other essential requirements. > > I plan to be available to users to assist in configuration problems and will > stay abreast of developments in PHP to make our projects run faster and > better. > > I'd like to hear from people interested in participating or with > configuration suggestions. I'm not looking to start a large hosting company > but to be a specialized service provider on a small scale. > > Let me know what you think, guys. > > Chris Mason > Box 340, The Valley, Anguilla, British West Indies > Tel: 264 497 5670 Fax: 264 497 8463 > USA Fax (561) 382-7771 > Take a virtual tour of the island > http://net.ai/ The Anguilla Guide > Find out more about NetConcepts > www.netconcepts.ai > Talk to me in real time with Instant Messenger: [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]
I shouldn't even reply to this... Yes I would host with me. Have you ever heard of a backup plan. People that would step in if something happens to me? People that I trust to keep the company going if it fails. With all due respect, how do people host with a company that doesn't give a rats ass about them or their business. How many big companies redirect your call, or brush you away when problems occur. I been over backwards for my clients. Providing better service then many of the bigger companies out there. That is why people do and will continue to host with me. Like I said, I plan on hiring people in the near future. Things take time to evolve. I am not saying that my company is for everyone. If you don't like a one man shop then don't go there. People have taken a chance with me and have not been disappointed like so many times before. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 1:38 PM To: 'Robert Covell'; Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. And if, God forbid, something was to happen to you... 120 People / Companies would be left with a server that no one knows the root password too? With all due respect, how can someone in his right mind host with a one man gang company? For all I know you can be a hosting genius and give the best service around but you are still one man. Would you host with you ? :) Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -----Original Message----- From: Robert Covell [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 9:16 PM To: Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. I am going to have to disagree on this one. I run a successful (and profitable) hosting company(http://www.rolet.com). My employees total 1 (me, myself and I). The number of clients hosted is roughly 120. I provide a wide variety of services on Linux, FreeBSD, NT, and W2K. Yes it is hard to believe that 1 person can be available 24x7, or not take vacations, but this is what I do and LOVE every second of it. I value customer satisfaction and strive to provide that best Internet services possible. For me this is a career for life, not just a job. So I do believe that 1 person can be available 24x7 and not take vacations. Don't get me wrong, some days it is tough. I would like to have other employees in the future, but don't mind the sacrifices taken to get there. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter Sent: Saturday, February 03, 2001 11:59 AM To: Chris Mason Cc: Php-General Subject: Re: [PHP] PHP hosting - the final frontier. Chris, This all sounds good but for one thing: I firmly believe that one man with a root password is not enogh to look after even one client. I have hosted with 3 one-man-companies, and it always came to the point where I couldn't reach someone for a week, or I waited for 3 months, only to be granted connect privileges to the mysql database - no offense meant! I think it's just too much for one man, you cannot be available 24/7, and you will want holidays. Still, a PHP-specialized hosting environment would be worth much. Cheers, Ben Chris Mason wrote: > > I see a lot of traffic regarding php hosting. From experience I know that > the general hosting companies provide a minimal PHP environment which is > often insufficient for PHP developers. > With this in mind, I'm considering offering specialized hosting for PHP > projects. > > The server will be tuned to the needs of PHP projects, and will have the > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > will run php as a apache module for performance. The server will have a low > user count and I will offer migration alternatives as user's needs grow. The > machines will be hosted at a major data center with multiple large internet > feeds, and all the other essential requirements. > > I plan to be available to users to assist in configuration problems and will > stay abreast of developments in PHP to make our projects run faster and > better. > > I'd like to hear from people interested in participating or with > configuration suggestions. I'm not looking to start a large hosting company > but to be a specialized service provider on a small scale. > > Let me know what you think, guys. > > Chris Mason > Box 340, The Valley, Anguilla, British West Indies > Tel: 264 497 5670 Fax: 264 497 8463 > USA Fax (561) 382-7771 > Take a virtual tour of the island > http://net.ai/ The Anguilla Guide > Find out more about NetConcepts > www.netconcepts.ai > Talk to me in real time with Instant Messenger: [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]
Actually, there is nothing wrong with a one-manned hosting service. I agree with Robert in this, there are a lot of big hosting companies that don't really have a personal hold of their business to really care about their clients. To them everything is automated and all they do is hire customer service people who are only taught to, well, "serve customers" with answers to questions they don't know in the first place. They just read from the script and have basic step-by-step trouble shooting instructions in front of them to solve a client's problems/requests. If you need an updated software package, like PHP4, froman old PHP3 engine, you'de have to beg for it and you might have to go through several layers of support just for that request to go through. Let me remind you that the software is free of charge. If the request is accepted, then more power to you. If it's not then you'll have to deal with it until you decide to find another host. I have one question for you Robert. XML has been in the market for a long time (since 1998), and the recommendations are now set to a true standard. Why do most hosting services not have support for XML based languages yet? Thanks... Navid Yar -----Original Message----- From: Robert Covell [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 2:40 PM To: Boaz Yahav; Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. I shouldn't even reply to this... Yes I would host with me. Have you ever heard of a backup plan. People that would step in if something happens to me? People that I trust to keep the company going if it fails. With all due respect, how do people host with a company that doesn't give a rats ass about them or their business. How many big companies redirect your call, or brush you away when problems occur. I been over backwards for my clients. Providing better service then many of the bigger companies out there. That is why people do and will continue to host with me. Like I said, I plan on hiring people in the near future. Things take time to evolve. I am not saying that my company is for everyone. If you don't like a one man shop then don't go there. People have taken a chance with me and have not been disappointed like so many times before. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 1:38 PM To: 'Robert Covell'; Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. And if, God forbid, something was to happen to you... 120 People / Companies would be left with a server that no one knows the root password too? With all due respect, how can someone in his right mind host with a one man gang company? For all I know you can be a hosting genius and give the best service around but you are still one man. Would you host with you ? :) Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -----Original Message----- From: Robert Covell [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 9:16 PM To: Ben Peter; Chris Mason Cc: Php-General Subject: RE: [PHP] PHP hosting - the final frontier. I am going to have to disagree on this one. I run a successful (and profitable) hosting company(http://www.rolet.com). My employees total 1 (me, myself and I). The number of clients hosted is roughly 120. I provide a wide variety of services on Linux, FreeBSD, NT, and W2K. Yes it is hard to believe that 1 person can be available 24x7, or not take vacations, but this is what I do and LOVE every second of it. I value customer satisfaction and strive to provide that best Internet services possible. For me this is a career for life, not just a job. So I do believe that 1 person can be available 24x7 and not take vacations. Don't get me wrong, some days it is tough. I would like to have other employees in the future, but don't mind the sacrifices taken to get there. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter Sent: Saturday, February 03, 2001 11:59 AM To: Chris Mason Cc: Php-General Subject: Re: [PHP] PHP hosting - the final frontier. Chris, This all sounds good but for one thing: I firmly believe that one man with a root password is not enogh to look after even one client. I have hosted with 3 one-man-companies, and it always came to the point where I couldn't reach someone for a week, or I waited for 3 months, only to be granted connect privileges to the mysql database - no offense meant! I think it's just too much for one man, you cannot be available 24/7, and you will want holidays. Still, a PHP-specialized hosting environment would be worth much. Cheers, Ben Chris Mason wrote: > > I see a lot of traffic regarding php hosting. From experience I know that > the general hosting companies provide a minimal PHP environment which is > often insufficient for PHP developers. > With this in mind, I'm considering offering specialized hosting for PHP > projects. > > The server will be tuned to the needs of PHP projects, and will have the > latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP, and > will run php as a apache module for performance. The server will have a low > user count and I will offer migration alternatives as user's needs grow. The > machines will be hosted at a major data center with multiple large internet > feeds, and all the other essential requirements. > > I plan to be available to users to assist in configuration problems and will > stay abreast of developments in PHP to make our projects run faster and > better. > > I'd like to hear from people interested in participating or with > configuration suggestions. I'm not looking to start a large hosting company > but to be a specialized service provider on a small scale. > > Let me know what you think, guys. > > Chris Mason > Box 340, The Valley, Anguilla, British West Indies > Tel: 264 497 5670 Fax: 264 497 8463 > USA Fax (561) 382-7771 > Take a virtual tour of the island > http://net.ai/ The Anguilla Guide > Find out more about NetConcepts > www.netconcepts.ai > Talk to me in real time with Instant Messenger: [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]
a simple <snip> for($i=0; $i<sizeof($array); $++) $array[$i]=trim($array[$i]); </snip> will do the trick Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 7:32 AM To: PHP List Subject: [PHP] "Trim" an array? I looked through the archives and couldn't find anything on this. I have a web form which takes 9 values to create a definition for a table that would have up to 9 columns. I made the table so that each form field is submitted as an array so that I can simply step through each value and create the table definition, so: <input type=text name="tblcol[]"> (duplicated 9 times) Now, when I submit the form the resulting array always has 9 elements and some of those will be empty. I would like to do error checking in case people didn't fill anything at all so I thought using if (!count($tblcol)) {.... But that doesn't work since it always has 9 elements. Is there a way to find out if an array contains no values even though it has elements? Sort of like a trim() function on an array to destroy the elements in the array that are empty. Is it possible? -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.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]
For me??? Thanks, but I had my birthday last October .... too late, dude ... <please> Do not post this kind of staff into world's largest and most serious mailing lists </please> Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Matt Spears [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 12:03 PM To: [EMAIL PROTECTED] Subject: [PHP] 200 DOLLARS FOR YOU
www.isamillionaire.com (? check my spelling) in on Linux, but free and has no banners, Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: PHPlover [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 8:56 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Hosting Can anyone receommend free MySQL hosting with PHP. Or if you can find such a hosting on NT, that would be nice. 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]
then, why don't you instead have it NULL, like: <input type=text name=form[name] .. <input type=text name=form[email] .. <select name=form[country]> <option>Select your country <option>------------------- <option value=US>United State <option value=UK>United Kingdom .... then if it's empty it will be skipped ... I think ... I've never done so ... Ciao allo zio e la lista italiana, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 10:24 PM To: [EMAIL PROTECTED] Subject: [PHP] select prob. Hi all, I'm in trouble checking client's value passed via a web form ... In a web form I usally use for the input's name a array var like this: <input type=text name=form[name] .. <input type=text name=form[email] .. <select name=form[country]> <option value=NONE>Select your country <option value=NONE>------------------- <option value=US>United State <option value=UK>United Kingdom .... and to generally check if some value is missing I use a simple routine like this: $manca=array(); foreach($array as $key=>$valore){ if(empty($valore) || $valore=="NONE"){ $manca[$key]++; } } where if $manca is greater then zero means that not all value was set .. My prob is that it never detects if the var $valore is equal to NONE ... I think that is due by my select field but at this moment I don't see how to correctly check if the passed values from it is a real value (as US,UK, etc.) or not (as NONE) ... any ideas? many thanks in advance max ------------------- Please Help Puppies ------------------- x -- 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]
On Saturday 03 February 2001 17:23, PHPBeginner.com wrote: > then, why don't you instead have it NULL, like: > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option>Select your country > <option>------------------- if no "value" is specified, the text in the <option> field is taken as value, i.e. $form['country'] == "Select your country" etc -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world... Indeed, it's the only thing that ever has." - Margaret Mead
x On Sun, 4 Feb 2001, PHPBeginner.com wrote: > then, why don't you instead have it NULL, like: > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option>Select your country > <option>------------------- > <option value=US>United State > <option value=UK>United Kingdom > .... > > > then if it's empty it will be skipped ... I think ... I've never done so ... > > Ciao allo zio e la lista italiana, > > Maxim Maletsky Hmmm, I'm not sure but if not value is set in a select field, the title is passed .. I mean: <option>My Label on the submit action, the val My Label is send to the script ... max ps. ciao anche a te :)
So, where the logic brings us at this point? <input type=text name=form[name] .. <input type=text name=form[email] .. <select name=form[country]> <option value=0>Select your country <option value=0>------------------- <option value=US>United State <option value=UK>United Kingdom .... in your loop then a "0" won't result as a set array ... try it with if($var or isset($var)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 3:34 AM To: PHPBeginner.com Cc: [EMAIL PROTECTED] Subject: RE: [PHP] select prob. x On Sun, 4 Feb 2001, PHPBeginner.com wrote: > then, why don't you instead have it NULL, like: > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option>Select your country > <option>------------------- > <option value=US>United State > <option value=UK>United Kingdom > .... > > > then if it's empty it will be skipped ... I think ... I've never done so ... > > Ciao allo zio e la lista italiana, > > Maxim Maletsky Hmmm, I'm not sure but if not value is set in a select field, the title is passed .. I mean: <option>My Label on the submit action, the val My Label is send to the script ... max ps. ciao anche a te :) -- 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]
Yes, it seems a good solution :) thanks again max ------------------- Please Help Puppies ------------------- x On Sun, 4 Feb 2001, PHPBeginner.com wrote: > So, where the logic brings us at this point? > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option value=0>Select your country > <option value=0>------------------- > <option value=US>United State > <option value=UK>United Kingdom > .... > > > in your loop then a "0" won't result as a set array ... try it with if($var > or isset($var)) > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > [EMAIL PROTECTED] > www.phpbeginner.com > > > > > -----Original Message----- > From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 04, 2001 3:34 AM > To: PHPBeginner.com > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] select prob. > > > x > > On Sun, 4 Feb 2001, PHPBeginner.com wrote: > > > then, why don't you instead have it NULL, like: > > > > <input type=text name=form[name] .. > > <input type=text name=form[email] .. > > <select name=form[country]> > > <option>Select your country > > <option>------------------- > > <option value=US>United State > > <option value=UK>United Kingdom > > .... > > > > > > then if it's empty it will be skipped ... I think ... I've never done so > ... > > > > Ciao allo zio e la lista italiana, > > > > Maxim Maletsky > > Hmmm, I'm not sure but if not value is set in a select field, the title is > passed .. I mean: > > <option>My Label > > on the submit action, the val My Label is send to the script ... > > max > > ps. ciao anche a te :) > > > -- > 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] >
no prob, --max -----Original Message----- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 3:44 AM To: PHPBeginner.com Cc: [EMAIL PROTECTED] Subject: RE: [PHP] select prob. Yes, it seems a good solution :) thanks again max ------------------- Please Help Puppies ------------------- x On Sun, 4 Feb 2001, PHPBeginner.com wrote: > So, where the logic brings us at this point? > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option value=0>Select your country > <option value=0>------------------- > <option value=US>United State > <option value=UK>United Kingdom > .... > > > in your loop then a "0" won't result as a set array ... try it with if($var > or isset($var)) > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > [EMAIL PROTECTED] > www.phpbeginner.com > > > > > -----Original Message----- > From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 04, 2001 3:34 AM > To: PHPBeginner.com > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] select prob. > > > x > > On Sun, 4 Feb 2001, PHPBeginner.com wrote: > > > then, why don't you instead have it NULL, like: > > > > <input type=text name=form[name] .. > > <input type=text name=form[email] .. > > <select name=form[country]> > > <option>Select your country > > <option>------------------- > > <option value=US>United State > > <option value=UK>United Kingdom > > .... > > > > > > then if it's empty it will be skipped ... I think ... I've never done so > ... > > > > Ciao allo zio e la lista italiana, > > > > Maxim Maletsky > > Hmmm, I'm not sure but if not value is set in a select field, the title is > passed .. I mean: > > <option>My Label > > on the submit action, the val My Label is send to the script ... > > max > > ps. ciao anche a te :) > > > -- > 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] >
check out GD library ,... (a whole library was created for it) see PHP.net or start from here ... hmm ... www.php.net/getimmagesize ? Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Hrishi [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 11:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Animated / Streaming GIF hello, is there any way to create an animated GIF [or PNG] image using the php image functions ? thanks, Hrishi
Check out Source Forge ... on the right menu , one of the most active projects is an Online Organizer (quite similar to Outlook at first impression) -- it has a calendar ... It is an Open Source and I am sure you can learn from there on how to use their Super-Cool calendar Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Fang Li [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 6:29 AM To: [EMAIL PROTECTED] Subject: [PHP] Calendar help Hello Has anyone coded a calendar using PHP? when click a date in the calendar,it will sotre the date in a database. Thanks. Fang -- 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]
Hi, I used to work with PHP/mysql.. But since a few weeks we have an oracle server :-) 1 problem occured with the migration... If some text is passed through a html-form all the qoutes have a slash in fromt of them... This is not a problem with mysql, since mysql uses that slash for inserting a qoute in the table. But in oracle this is not a slash, but a qoute... For example: I¹ts a test php: I\¹ts a test But oracle wants: I¹¹ts a test Is there a easy way for converting this. Otherwise I have to write a function that filters them out :-( Thanx, Christoph Kempen
Hi, I think it's one of the "magic_quotes" features that does this. One possibility would be to turn it off, and be sure to escape your quotes by transforming them into double-quotes before sending them to Oracle. "Christoph Kempen" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] Hi, I used to work with PHP/mysql.. But since a few weeks we have an oracle server :-) 1 problem occured with the migration... If some text is passed through a html-form all the qoutes have a slash in fromt of them... This is not a problem with mysql, since mysql uses that slash for inserting a qoute in the table. But in oracle this is not a slash, but a qoute... For example: I¹ts a test php: I\¹ts a test But oracle wants: I¹¹ts a test Is there a easy way for converting this. Otherwise I have to write a function that filters them out :-( Thanx, Christoph Kempen
Hi again, Thanx, there is an option magic_quotes_sybase in the php.ini... Sybase uses the same escape as oracle. If you set this to On the qoutes are handled correctly... Thanx, Christoph > Hi, > > I think it's one of the "magic_quotes" features that does this. One > possibility would be to turn it off, and be sure to escape your quotes by > transforming them into double-quotes before sending them to Oracle. > > "Christoph Kempen" <[EMAIL PROTECTED]> a écrit dans le message news: > [EMAIL PROTECTED] > Hi, > > I used to work with PHP/mysql.. But since a few weeks we have an oracle > server :-) > > 1 problem occured with the migration... > > If some text is passed through a html-form all the qoutes have a slash in > fromt of them... This is not a problem with mysql, since mysql uses that > slash for inserting a qoute in the table. But in oracle this is not a slash, > but a qoute... > > For example: > > I¹ts a test php: I\¹ts a test > > But oracle wants: I¹¹ts a test > > Is there a easy way for converting this. Otherwise I have to write a > function that filters them out :-( > > Thanx, > > Christoph Kempen > > >
"Christoph Kempen" ... > For example: > I¹ts a test php: I\¹ts a test > But oracle wants: I¹¹ts a test I think that a predefined replace function, with ' and " should do the trick...
At 05:03 AM 2/3/01 -0600, Ahmad Navid Yar wrote: >FYI folks... > >Microsoft is planning on a new naming convention for it's latest products. The next OS version is supposed to combine features from ME, CE, and NT, into windows CEMENT. :) -- Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
Wow, i just read the news that they were planning on XP versions. Maybe that's just for the Desktop/NT Windows, rather than all 3 as Cement. I guess we'll find out next week. Thanks for the update... :) -----Original Message----- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 10:25 AM To: [EMAIL PROTECTED]; PHP (E-mail) Subject: Re: [PHP] Microsoft's new naming convention... At 05:03 AM 2/3/01 -0600, Ahmad Navid Yar wrote: >FYI folks... > >Microsoft is planning on a new naming convention for it's latest products. The next OS version is supposed to combine features from ME, CE, and NT, into windows CEMENT. :) -- Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
LOL, I should have caught that. Check this article out... MSFT 60 13/16 -1 9/16 (2.51%) by Matthew Rothenberg, ZDNet News Is Microsoft's "XP" designation a castle made of sand? Will X mark the spot in this year's platform wars? According to my colleague Mary Jo Foley, Linux and Apple Computer Inc.'s Mac OS X may soon have some X-rated company, thanks to Microsoft Corp.'s assimilationist marketing department. Microsoft may not be ready to get jiggy with open-source programming or other excesses of its smaller OS competitors, but the company is apparently prepared to embrace the platform minorities' fondness for the least-used consonant in the alphabet: According to Foley, the next version of Microsoft Office for Windows will bear the moniker "Office XP" instead of "Office 10," and the Whistler Windows 2000 successor will be dubbed "Windows XP." Is the switch from 10 to X the result of residual DNA from Microsoft co-founder Paul Allen, whose worship of "Are You Experienced?" author Jimi Hendrix is as legendary as his fecklessness as a venture capitalist? Does it reflect Microsoft's own aspirations to rival the Roman Empire in its scope of influence? Is it a tacit acknowledgement that, whatever its triumphs, Windows will always be "Brand X" to a significant segment of the PC-wielding world? ZDNet News' TalkBack correspondents were quick to pipe up with their own (X) ratings of Redmond's move. Businessmen, they drink my wine Mac partisans were quick to note the coincidence of Microsoft's change of iconography and the arrival of Mac OS X, the next-generation Apple successor to Mac OS 9 that many of us have wilfully mispronounced for more than two years now. "Another Mac OS X rip-off by Microsoft," complained engineer "R.M." Not only is Microsoft trying to rip off the look of Aqua [Mac OS X's GUI] for Whistler; now they are going to start using the Roman numeral X for 10 in product names just like Apple. Wow! How original. Doesn't anybody at MS have a single idea of their own?" "It's pathetic how MS jumps on any bandwagon it can," agreed Robert Downs. "This X-naming thing takes the cake. What's next, iWindowsXP?" Hendrix aficionados were equally piqued by Microsoft's apparent effort to evoke the fallen guitar god. "'Not necessarily stoned, but beautiful,' " quoted Andy Citron, a Raleigh, N.C., computer programmer. "That's a line from the 'Are You Experienced' song. I can see folks having a field day with that." "May I suggest the Hendrix song 'Manic Depression' instead of 'Are You Experienced' for the next Windows launch?" added Glenn Parizot, an engineer who said he hails from the "third stone from the sun." Other readers--uninfluenced by the cultural legacy of Cupertino or Seattle--struck out in new directions when offering bon mots about Microsoft's plan. "Citrix is already using 'XP' as its moniker for its upcoming product formerly known as Metaframe 2.0," Denver systems engineer Armando Skeen pointed out. "Talk about confusion! I can see the questions now: 'Is Office XP specifically designed for Metaframe XP?' " Meanwhile, Randy Pugh, a Houston graphic designer, got down to brass tacks. "I'm confused," he confessed. "Maybe they should just name it Windows WTF or Office WTF." Got some naming suggestions of your own for Microsoft? Add them to TalkBack's cross-town traffic below! -----Original Message----- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 11:03 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Microsoft's new naming convention... At 10:54 AM 2/3/01 -0600, you wrote: >Wow, i just read the news that they were planning on XP versions. Maybe >that's just for the Desktop/NT Windows, rather than all 3 as Cement. I guess >we'll find out next week. Thanks for the update... :) It's a joke... CEMENT? Dumb as a brick..? -- Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
I noticed today that PHP apps run as the WWW user, not the User/Group specified in httpd.conf for virtualhosts. (Module version of PHP running in Apache 1.3.17). Is there any way to get the PHP module to assume the identity similar to the SUexec module will do for CGI? Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Hi everyone.. When i installed php 4.0.4pl1 i install it with --with-mysql --with-apxs arguments. Now... i wanna put --with-db2... It goes alright.. all... configure, make and make instal.. but.. it doesn't upgrade php.. in phpinfo() it have only --with-mysql --with-apxs arguments. What i need to do to upgrade it... I even try to purge config.cache but doesn't change nothing ANyone can help me? Tks... Sorry for the english - From brazil Scratched
Bom Dia Vinicius: Try this: before you reinstall PHP, make sure you delete the old config.cache file ... it is in the same directory where you do config/make/install. Don't worry, deleting this file is OK. Michael On Sat, 3 Feb 2001, Vinicius Garcia wrote: > Hi everyone.. > > When i installed php 4.0.4pl1 i install it with --with-mysql --with-apxs > arguments. Now... i wanna put --with-db2... > > It goes alright.. all... configure, make and make instal.. > but.. it doesn't upgrade php.. in phpinfo() it have only --with-mysql > --with-apxs arguments. What i need to do to upgrade it... I even try to > purge config.cache but doesn't change nothing > > ANyone can help me? > > Tks... > Sorry for the english - From brazil > Scratched > > > -- > 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] > >
Sorry for the redundant suggestion, I see you've already tried it. Dealing with as much mail as there is on this list, you can see that I often cut corners. If --with-db2 is not working, perhaps it is because you need to install the Berkeley database first. You might have gdbm (Gnome dbm) already installed (my RedHat 6.1 does), or maybe you can install it off a distribution CD. gdbm does much the same as the Berkeley database ... it is configured with: --with-gdbm Hope this helps Michael On Sun, 4 Feb 2001, Michael Hall wrote: > > Bom Dia Vinicius: > > Try this: before you reinstall PHP, make sure you delete the old > config.cache file ... it is in the same directory where you do > config/make/install. Don't worry, deleting this file is OK. > > Michael > > > On Sat, 3 Feb 2001, Vinicius Garcia wrote: > > > Hi everyone.. > > > > When i installed php 4.0.4pl1 i install it with --with-mysql --with-apxs > > arguments. Now... i wanna put --with-db2... > > > > It goes alright.. all... configure, make and make instal.. > > but.. it doesn't upgrade php.. in phpinfo() it have only --with-mysql > > --with-apxs arguments. What i need to do to upgrade it... I even try to > > purge config.cache but doesn't change nothing > > > > ANyone can help me? > > > > Tks... > > Sorry for the english - From brazil > > Scratched > > > > > > -- > > 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] > >
On Saturday 03 February 2001 15:02, James, Yz wrote: > $sql = "SELECT * FROM table > WHERE username = '$username' AND password = '$password' AND > site = 'theirsite' OR site = 'all'"; > So, without writing some if statements, is there any way of rewriting > that $sql check so that it checks whether the user is an admin of > either the individual subdirectory, or all of the sites? Like > > username: foo password: bar site: all > > or > > username: foo password: bar site: subdirectory Simply use brackets to specify the evaluation order: SELECT * FROM table WHERE (username = '$username' AND password = '$password') AND (site = 'theirsite' OR site = 'all') -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world... Indeed, it's the only thing that ever has." - Margaret Mead
Hi, When using ASP, I frequently reference virtual path such as <!--#include virtual="/bin/header.asp"--> However, the PHP include() function doesn't seem to support this... What can I do? I don't want to have to change the reference to reflect its position in the site by adding ../ for every script. Regards, - James Editor, VB Web ================== Web - http://www.vbweb.co.uk Email - [EMAIL PROTECTED] ICQ# - 60612011 ================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 02 February 2001 13:02 To: [EMAIL PROTECTED] Subject: php-general Digest 2 Feb 2001 13:01:55 -0000 Issue 488 php-general Digest 2 Feb 2001 13:01:55 -0000 Issue 488 Topics (messages 37764 through 37827): Re: What version of Linux? 37764 by: Michael Hall Re: encode string with spaces 37765 by: David Robley 37768 by: David Robley Win2000 TCP/IP failure 37766 by: Toby Butzon 37827 by: Alain Fontaine Re: C++ integration with PHP 37767 by: Toby Butzon Re: contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???") 37769 by: Dave VanAuken 37770 by: Ben Peter 37771 by: Maxim Maletsky 37775 by: Steve Werby 37826 by: Robin Vickery Re: Java variables - PHP varialbles 37772 by: Nold, Mark Php Database 37773 by: Vinicius Garcia Mommensohn Re: Why?? SPRINTF("SELECT sequence,prodnum,childdesc....); 37774 by: Steve Werby Re: PHP a lightweight language? 37776 by: Nold, Mark 37783 by: John Hinsley 37784 by: Josh G How do I get last inserted ID? 37777 by: Sandeep Hundal 37778 by: Maxim Maletsky 37779 by: David Robley 37821 by: Andrew Golovin Re: Pricing for PHP programming??? 37780 by: Steve Werby 37781 by: Josh G 37786 by: Josh G 37797 by: Angus Mann Re:What version of Linux? 37782 by: John Hinsley Re: Message status - undeliverable 37785 by: Josh G OT mod_rewrite says goodbye to POST vars (but interesting) 37787 by: Matt Friedman Re: 404 error checker 37788 by: Louis LeBlanc Automatic incoming mail notification 37789 by: Ankur Verma 37790 by: Josh G 37791 by: David Robley 37792 by: Ankur Verma 37793 by: Steve Werby 37802 by: Nicolas Windpassinger - Sun how do I subscribe? 37794 by: David VanHorn 37795 by: Maxim Maletsky Re: Variables within functions, out? 37796 by: Steve Werby configuring headers in mail() ... 37798 by: Maxim Maletsky PGP 37799 by: Martin Thoma 37801 by: Adrian Teasdale Mysql Question 37800 by: Giancarlo Re: Recommended Job Posting sites? Need to hire someone w/ PHP exp. 37803 by: Boaz Yahav Apache won't start after installing php4 37804 by: Frank Passek Zend IDE 37805 by: Alain Fontaine 37811 by: Andi Gutmans 37813 by: Alain Fontaine 37816 by: Zeev Suraski 37817 by: Alain Fontaine Re: reload help!!! 37806 by: Wen Ni Leong passing parameters 37807 by: Stinie Steinbach 37808 by: Alain Fontaine Could PHP connect to Perl Program 37809 by: kn4279 Re: [Q] Domxml: unlink() method? 37810 by: Peter Sabaini JavaScript, PHP and HTML 37812 by: Augusto Cesar Castoldi 37815 by: Juan 37819 by: kaab kaoutar Re: Tab character 37814 by: Martin A. Marques Re: Include " quotes inside textbox 37818 by: Christian Reiniger PHP configure commandline 37820 by: indrek siitan For My Information 37822 by: Dan Malcolm 37823 by: Jon Haworth Re: [PHP-WIN] For My Information 37824 by: Tom Mathews 37825 by: Dan Malcolm Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
it's very simple : include("$DOCUMENT_ROOT/bin/header.asp"); (we are talking about the web root's full path, right ?) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: James Crowley [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 3:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Including Virtual Paths Hi, When using ASP, I frequently reference virtual path such as <!--#include virtual="/bin/header.asp"--> However, the PHP include() function doesn't seem to support this... What can I do? I don't want to have to change the reference to reflect its position in the site by adding ../ for every script. Regards, - James Editor, VB Web ================== Web - http://www.vbweb.co.uk Email - [EMAIL PROTECTED] ICQ# - 60612011 ================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 02 February 2001 13:02 To: [EMAIL PROTECTED] Subject: php-general Digest 2 Feb 2001 13:01:55 -0000 Issue 488 php-general Digest 2 Feb 2001 13:01:55 -0000 Issue 488 Topics (messages 37764 through 37827): Re: What version of Linux? 37764 by: Michael Hall Re: encode string with spaces 37765 by: David Robley 37768 by: David Robley Win2000 TCP/IP failure 37766 by: Toby Butzon 37827 by: Alain Fontaine Re: C++ integration with PHP 37767 by: Toby Butzon Re: contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???") 37769 by: Dave VanAuken 37770 by: Ben Peter 37771 by: Maxim Maletsky 37775 by: Steve Werby 37826 by: Robin Vickery Re: Java variables - PHP varialbles 37772 by: Nold, Mark Php Database 37773 by: Vinicius Garcia Mommensohn Re: Why?? SPRINTF("SELECT sequence,prodnum,childdesc....); 37774 by: Steve Werby Re: PHP a lightweight language? 37776 by: Nold, Mark 37783 by: John Hinsley 37784 by: Josh G How do I get last inserted ID? 37777 by: Sandeep Hundal 37778 by: Maxim Maletsky 37779 by: David Robley 37821 by: Andrew Golovin Re: Pricing for PHP programming??? 37780 by: Steve Werby 37781 by: Josh G 37786 by: Josh G 37797 by: Angus Mann Re:What version of Linux? 37782 by: John Hinsley Re: Message status - undeliverable 37785 by: Josh G OT mod_rewrite says goodbye to POST vars (but interesting) 37787 by: Matt Friedman Re: 404 error checker 37788 by: Louis LeBlanc Automatic incoming mail notification 37789 by: Ankur Verma 37790 by: Josh G 37791 by: David Robley 37792 by: Ankur Verma 37793 by: Steve Werby 37802 by: Nicolas Windpassinger - Sun how do I subscribe? 37794 by: David VanHorn 37795 by: Maxim Maletsky Re: Variables within functions, out? 37796 by: Steve Werby configuring headers in mail() ... 37798 by: Maxim Maletsky PGP 37799 by: Martin Thoma 37801 by: Adrian Teasdale Mysql Question 37800 by: Giancarlo Re: Recommended Job Posting sites? Need to hire someone w/ PHP exp. 37803 by: Boaz Yahav Apache won't start after installing php4 37804 by: Frank Passek Zend IDE 37805 by: Alain Fontaine 37811 by: Andi Gutmans 37813 by: Alain Fontaine 37816 by: Zeev Suraski 37817 by: Alain Fontaine Re: reload help!!! 37806 by: Wen Ni Leong passing parameters 37807 by: Stinie Steinbach 37808 by: Alain Fontaine Could PHP connect to Perl Program 37809 by: kn4279 Re: [Q] Domxml: unlink() method? 37810 by: Peter Sabaini JavaScript, PHP and HTML 37812 by: Augusto Cesar Castoldi 37815 by: Juan 37819 by: kaab kaoutar Re: Tab character 37814 by: Martin A. Marques Re: Include " quotes inside textbox 37818 by: Christian Reiniger PHP configure commandline 37820 by: indrek siitan For My Information 37822 by: Dan Malcolm 37823 by: Jon Haworth Re: [PHP-WIN] For My Information 37824 by: Tom Mathews 37825 by: Dan Malcolm Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, 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]
Hi, i tried to compile PHP4.0.4pl1 on my fresh installed SuSE 7.0 Linux box. But everytime i call make i get errors like: linux/limits.h: No such file or directory linux/errno.h: No such file or directory Both these files are in /usr/inclue/. Why does the make not find these files????? Thanks, Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de
On Saturday 03 February 2001 19:45, Thomas Weber wrote: > linux/limits.h: No such file or directory > linux/errno.h: No such file or directory > > Both these files are in /usr/inclue/. Why does the make not find these > files????? You mean there are both /usr/include/linux/limits.h /usr/include/linux/errno.h If not, install the kernel-headers or kernel-source package -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world... Indeed, it's the only thing that ever has." - Margaret Mead
Can anyone tell how good is PHP when compared to CGI in handling flat file database. Can we handle flat files on PHP? Thanks
Do you know what PHP is? Your question sounds like "How does MS SQL Server compare to a relational database". Anyway, you can do almost everything with PHP, and that includes handling flat files. No problem. ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news: 95hl5r$1su$[EMAIL PROTECTED] > Can anyone tell how good is PHP when compared to CGI in handling flat file > database. Can we handle flat files on PHP? > > 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] >
I am sorry if my question is confusing. What I mean is that CGI is excellent in handling flat file data base, reading and writing files line by line, word by wor. So is PHP equally strong? ----- Original Message ----- From: "Alain Fontaine" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Sunday, February 04, 2001 12:34 AM Subject: Re: [PHP] CGI vs PHP > Do you know what PHP is? Your question sounds like "How does MS SQL Server > compare to a relational database". > > Anyway, you can do almost everything with PHP, and that includes handling > flat files. No problem. > > ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news: > 95hl5r$1su$[EMAIL PROTECTED] > > Can anyone tell how good is PHP when compared to CGI in handling flat file > > database. Can we handle flat files on PHP? > > > > 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] > "Alain Fontaine" <[EMAIL PROTECTED]> wrote in message 95hmg3$est$[EMAIL PROTECTED]">news:95hmg3$est$[EMAIL PROTECTED]... > Do you know what PHP is? Your question sounds like "How does MS SQL Server > compare to a relational database". > > Anyway, you can do almost everything with PHP, and that includes handling > flat files. No problem. > > ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news: > 95hl5r$1su$[EMAIL PROTECTED] > > Can anyone tell how good is PHP when compared to CGI in handling flat file > > database. Can we handle flat files on PHP? > > > > 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] >
"phpLover" <[EMAIL PROTECTED]> wrote: > I am sorry if my question is confusing. What I mean is that CGI is excellent > in handling flat file data base, reading and writing files line by line, > word by wor. So is PHP equally strong? I assume you mean Perl CGI - there are many programming languages that can run as a CGI. PHP installed as an Apache module will in general run scripts faster than a Perl CGI or PHP CGI. PHP works great for file handling scripts, though as your files grow you'll probably want to consider using databases instead of flat files. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/
Hello: I'm trying to create dinamic color SELECT lists with php. I have my database set up as follows: Paint = good bucket = good weight = 100kg Colors = green, blue, red and here is my php: while ($row = mysql_fetch_array($sql_result)) { echo"<tr><td>"; echo $row["paint"]; echo"</td><td>"; echo $row["bucket"]; echo"</td><td>"; echo"<form action=\"http://www.\" method=\"POST\">"; $Color = $row["Color"]; if ($Color == $Color) { $option .= "<OPTION value=\"$Color\" selected>$Color</OPTION>"; } else { $option .= "<OPTION value=\"$Color\">$Color</OPTION>"; } echo"<select name=\"Colors\">"; echo "$option"; echo"</select>"; as you can see I end up with a select menu with this "green, blue, red" as the only option. is there a way I can tell php3 to break it down at "," so I can actually have a drop down menu Thanks ahead: Gerry Figueroa ---------------------------------- Modern Confucius: Man who run in front of car get tired. ----------------------------------
At 3:24 PM -0700 2/3/01, Gerry wrote: >Hello: > >I'm trying to create dinamic color SELECT lists with php. I have my >database set up as follows: > >Paint = good >bucket = good >weight = 100kg >Colors = green, blue, red > >and here is my php: > >while ($row = mysql_fetch_array($sql_result)) { >echo"<tr><td>"; >echo $row["paint"]; >echo"</td><td>"; >echo $row["bucket"]; >echo"</td><td>"; >echo"<form action=\"http://www.\" method=\"POST\">"; Replace this line: >$Color = $row["Color"]; with this: $option = ''; $ColorArray = split(',' $row['Colors']); while (list(, $Color) = each($ColorArray)) { # yes, the comma in the list() should be there! >if ($Color == $Color) { >$option .= "<OPTION value=\"$Color\" selected>$Color</OPTION>"; >} else { >$option .= "<OPTION value=\"$Color\">$Color</OPTION>"; >} and add this here: } >echo"<select name=\"Colors\">"; >echo "$option"; >echo"</select>"; For more information, see http://www.php.net/split Oh - and just in case the 'Colors' column is empty, you might want to do the while statement like - while (is_array($ColorArray) && (list(, $Color) = each($ColorArray))) { - since split() won't return an array if there's nothing to split. - steve > >as you can see I end up with a select menu with this "green, blue, red" >as the only option. > >is there a way I can tell php3 to break it down at "," so I can actually >have a drop down menu > >Thanks ahead: >Gerry Figueroa >---------------------------------- >Modern Confucius: >Man who run in front of car get tired. >---------------------------------- > -- +--- "They've got a cherry pie there, that'll kill ya" ------------------+ | Steve Edberg University of California, Davis | | [EMAIL PROTECTED] Computer Consultant | | http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ | +-------------------------------------- FBI Special Agent Dale Cooper ---+
Hi, Are there any plans on implementing something like Exception handling into future versions of PHP? That would be great.
Alain Fontaine wrote: > > Hi, > > Are there any plans on implementing something like Exception handling into > future versions of PHP? That would be great. > I do remember Zeev saying it is considered for future implementation. I don't remember if it was on this list or php-dev one, though. -- teodor
Hello php-general, Script flock.php: <? $file_name = 'flock.txt'; for($i=0;$i<1000;$i++){ if ($fd = fopen($file_name,'a+')){ if (flock($fd,LOCK_EX)){ fseek($fd,0,SEEK_END); fwrite($fd,$i.' : '.$i."\n"); flock($fd,LOCK_UN); }else{ die('Can not lock file'); } fclose($fd); }else{ echo 'Can not open file'; } } ?> Run it: ab -n 10 -c 10 http://host/flock.php Why file have similar lines ? 432 : 431 : 431 432 433 : 433 ... 84841 : 841 2 : 842 May be flock not working or I do not understand, how it should work ? How correctly to write in a file from different threads? P.S I use Linux-2.2.17+PHP4.0.4pl1 Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109
Hello php-general, This also does not work: flock.php <? $file_name = '/home/sitnikov/tmp/flock.txt'; if ($fd = fopen($file_name,'a+')){ for($i=0;$i<1000;$i++){ if (flock($fd,LOCK_EX)){ fseek($fd,0,SEEK_END); fwrite($fd,$i.' : '.$i."\n"); flock($fd,LOCK_UN); usleep(5); }else{ die('Can not lock file'); } } fclose($fd); }else{ echo 'Can not open file'; } ?> Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109
-- Matthew Clark
How can you get something like: header ("Location: $PHP_SELF?"); to redirect with the sessid in the url? In my tests, it redirects, but does not append the sessid. I have compiled with --enable-trans-sid. Transparent sid is working, I can use it on links like: <A HREF="<?php echo "$PHP_SELF?"; ?>"> and it works. I have put this on the links on my page, so that the session will be kept even if the user has cookies disabled. But if the user (who has cookies disabled) clicks on the browser back button, they go back to the first page and start a new session. Is there a way to redirect this first page back to itself quickly, with the sessid in the url, so that even a user with cookies disabled will not lose the session if they use the browser back or reload buttons? Thanks, Doug
Hi, I`m using the following to get the image size... $size = getimagesize("$Frame"); My problem is $Frame can`t contain the full name of the image for various reasons, so what I need to do is somehow add the rest, something along the lines of this... $size = getimagesize("$Frame'top.gif'"); If $Frame = Hello then the getimagesize would perform on Hellotop.gif but as yet it isn`t working anyone have a suggestion? I have tried a few variations such as ("$Frame" + "top.gif") ("$Frame\"top.gif\"") ($Frame"top.gif") Thanks Ade
To get the imagesize $PictSize = GetImageSize ($file_image_path . $PictName); $pictW = $PictSize[0]; $pictH = $PictSize[1]; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, 3 February 2001 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] getimagesize question Hi, I`m using the following to get the image size... $size = getimagesize("$Frame"); My problem is $Frame can`t contain the full name of the image for various reasons, so what I need to do is somehow add the rest, something along the lines of this... $size = getimagesize("$Frame'top.gif'"); If $Frame = Hello then the getimagesize would perform on Hellotop.gif but as yet it isn`t working anyone have a suggestion? I have tried a few variations such as ("$Frame" + "top.gif") ("$Frame\"top.gif\"") ($Frame"top.gif") Thanks Ade -- 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]
Hi Ade, To combine strings, you simply use a period. For example: $image = $frame . "top.gif"; If $frame is "hello", then $image will come out as "hellotop.gif". Hope that helped... Regards, Tom _____________________________________________________ Tomeeboy.com - Your place for the best stuff on the net! Visit http://www.tomeeboy.com today! ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 03, 2001 3:27 PM Subject: [PHP] getimagesize question > Hi, > > I`m using the following to get the image size... > > $size = getimagesize("$Frame"); > > My problem is $Frame can`t contain the full name of the image for various > reasons, so what I need to do is somehow add the rest, something along the > lines of this... > > $size = getimagesize("$Frame'top.gif'"); > > If $Frame = Hello then the getimagesize would perform on Hellotop.gif but as > yet it isn`t working anyone have a suggestion? I have tried a few variations > such as > > ("$Frame" + "top.gif") > ("$Frame\"top.gif\"") > ($Frame"top.gif") > > Thanks > Ade > > -- > 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] > >
Tom, Thanks for that, worked a treat. Ade
Hello When creating a page(php) on Win2000 I get alot of 'Undefined variable' error messages, but there are no errors at all running the same page on a apache server. How come? Thanks for some hints. Roland
"Dundee (Roland)" <[EMAIL PROTECTED]> wrote: > When creating a page(php) on Win2000 I get alot of 'Undefined variable' > error messages, but there are no errors at all running the same page on a > apache server. Is the variable a user defined variable? If so, my guess is the error reporting level for the two servers is different. See the error handling section of php.ini and see if the default settings differ b/w the two servers. Also see error_reporting() if you're explicitly using that function. If the variable is a PHP or environment variable perhaps the variable is available on Apache, but not on Win2k. I have very little experience with PHP on Windows so it could be something else, but that's where I'd start. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.817.2470 http://www.247computing.com/
I have solved the problem. But now i have another problem: Look at this screenshot: http://electic.hn.org/tunix.gif Thanks, --- Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de ----- Original Message ----- From: "Thomas Weber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 03, 2001 7:45 PM Subject: [PHP] Problem compilieng PHP4 Hi, i tried to compile PHP4.0.4pl1 on my fresh installed SuSE 7.0 Linux box. But everytime i call make i get errors like: linux/limits.h: No such file or directory linux/errno.h: No such file or directory Both these files are in /usr/inclue/. Why does the make not find these files????? Thanks, Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de
This is an invitation to you to visit a new Web site, THE SCHENK REPORT (http://www.SchenkReport.com), where the subjects are politics and culture from a generally liberal point of view. THE SCHENK REPORT features: **Insightful commentary, generally from the left but sometimes veering off in other directions. Regular contributors include: Walt Brasch, an award-winning reporter and editor who is now a professor of journalism in Pennsylvania. Among his virtues is that his writing is often very funny. Arthur Joel Katz, a retired TV and film executive whose favorite causes include defending the First Amendment and pointing out the insanity of the War on Drugs. Charles Schenk, editor and founder of THE SCHENK REPORT. I have 25 years experience in journalism. My special interests include the Balkans, where I lived and taught English for two years. I reported from the Balkans during the NATO bombing of Yugoslavia in 1999. (My "Macedonian Diary" pieces are available at THE SCHENK REPORT. From the Front Page, click on The Columnists, then look for "Macedonian Diary.") **There's a big page of Bushisms and a free Bushisms screensaver guaranteed to irk the Republican in the next cubicle. **Another feature is Abortion Watch, a running chronology of the Bush II administration's assault on a woman's right to choose. **THE SCHENK REPORT has lots of links to other writers, most of them on the left, and to dozens of organizations that help to mobilize and inform liberals. **There's a column for letters to the editor, so readers can talk back to us. In other words, if you're not really busy right now, it's worth a click. The address is http://www.SchenkReport.com. Thanks. Sincerely, Charles Schenk Editor, THE SCHENK REPORT P.S. While you're there, sign up for the free newsletter by email. If you don't have time to visit right now, but want to know about new features as they're added, click on [EMAIL PROTECTED] (You can end your subscription at any time with this email address: [EMAIL PROTECTED])
hi I am just wondering if there are any PHP newsgroups like this one. I am looking for PHP newgroups so that i can ask people questions. mick http://www.celebritieszones.com
This mailing list is also : news.php.net Also, this newsgroup exists (seperate from list) alt.php Philip On Sat, 3 Feb 2001, McShen wrote: > hi > > I am just wondering if there are any PHP newsgroups like this one. I am > looking for PHP newgroups so that i can ask people questions. > > > mick > http://www.celebritieszones.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] >
In article <95i2ch$1u8$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("McShen") wrote: > I am just wondering if there are any PHP newsgroups like this one. There are several newsgroups on PHP, but the only one I'd recommend is the most active of them, <news:alt.php>. The others tend to have much less traffic, and almost all of that is stuff cross-posted or multi-posted to alt.php anyway. > I am looking for PHP newgroups so that i can ask people questions. Well, <shrug> there's no reason why you can't go somewhere else if really want to. Still...you do know that's what this list is for, right? -- CC
Why is this failing....? If I comment out the xml_set_element_handler() call, it's okay... If I comment out the xml_parse() call, it's okay... If I leave both of them in...it core dumps. Ideas? -Szii <?php function startElement($parser, $name, $attrs) { } function endElement($parser, $name) { } $data = "<?xml version=\"1.0\"?><xml></xml>"; $xmlp = xml_parser_create(); xml_set_element_handler($xmlp, "startElement", "endElement"); if (!xml_parse($xmlp, $data, 1)) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xmlp)), xml_get_current_line_number($xmlp))); } xml_parser_free($xmlp); ?>
What is php-nuke? How could I make a php-page execute something (itself?) without entering the site... it starts evry hour?! --------------------------------- Fredrik A. Takle [EMAIL PROTECTED]
Hi, My oracle sessions are getting full all the time... I use a OCILogoff at the end of my script... What could be the problem. I don¹t use a persistent logon. Thanx, Christoph BTW Is there a fast way to release the not-used-sessions in oracle. I try to kill them in svrmgrl, but they only get a pseudo tag...
All, can I string 2 sql queries one after the other? like "select * from $table; select * from $table2;" ??? If I can, does that mean if I use mysql_fetch_array then it'll convert results from both queries into variables? TIA __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Yep, try this: SELECT a.col1, a.col2, b.col3, c.col4 FROM table1 a, table2 b, table3 c This should give you an array [col1,col2,col3,col4] Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de ----- Original Message ----- From: "Sandeep Hundal" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Sunday, February 04, 2001 1:44 AM Subject: [PHP] Stringing sql queries? > All, > can I string 2 sql queries one after the other? > like "select * from $table; select * from $table2;" ??? > > If I can, does that mean if I use mysql_fetch_array then it'll > convert results from both queries into variables? > > TIA > > > __________________________________________________ > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.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] >
Hi.. I have a routine where we input text to fields. When there is an apostrophe it handles it correctly. When the form is brought back for editing, the field values show up in the input fields, with all apostrophes intact, just as it should be. When I upload this script to my isp, it doesn't work.. The apostrophes truncate the rest of the text. 'Don't cry over spilled milk', in a field, turns into 'Don'... I have php4 mod in my win32 devbox. The isp is php3. Is this the problem? What is the best way out of it please? Thanks in advance. Floyd --
Hi. Can somebody point me in the direction of where I can see some good examples and tutorials (manuals) for using PHP curl functions? The PHP-manual for curl functions is a bit inadequate for my experience level. I am new to curl but have it compiled and functioning into PHP. I would like to use it to access various sites - most of which are either https or which require the presense of a cookie containing encrypted username/password sets. Any help would be appreciated. Thanks. Lee Howard
Maybe mysqldump? Something like: mysqldump my_db | mysql -h the.other.org my_db Of course you got to stick a username passwd in there somewhere. In the open? Someone else will have to help if that's a concern, which it should be, I guess. And you might find some of the various options useful. Mike D. [EMAIL PROTECTED] wrote: > > Hi.. > > does annybody know a tool or script which can help me to syncronize two > mysql databases ? > like at my isp is a database for the web, at home my local development > server.. > changes i do at home or online should be "syncronized" by a php script every > xx houres called by cron > > markus > > -- > Sent through GMX FreeMail - http://www.gmx.net > > -- > 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]