[PHP] What would you want in a PHP web host?
I have been developing PHP for a while now, and I am wondering how other developers find their PHP hosting company. So far this has not been an issue for me because I am always in full control of my servers (well, as much control as possible with any web server :), but recently we have begun to host other PHP sites. We want to make sure that we are providing appropriate support to our PHP developers. I see too many hosting companies saying that they support PHP, but not having anyone familiar with PHP on hand. We want to have actual support, a developer to call when you have a PHP issue. What do you think a medium sized hosting company could do to give you (the developer) better service and support? Is access to professional PHP developers useful when an issue arises? Are hosting companies reluctant to give you more access rights? Are they willing to re-compile their PHP build to add other options? How long do requested changes to the server take? What other suggestions do you have for improving the relationship between the server administrator and the PHP developer? I spent some time going through the PHP site looking at the list of hosts supporting PHP, but I didn't find any real discussion about what people want in a host (although I did find plenty of things they don't want :). I just figured that I would ask the PHP community exactly what they wanted. Thank you for any insight that you can give me. --derek Derek Del Conte <[EMAIL PROTECTED]> Gambit Design Internet Services 610.444.2443 610.368.9845 cellular 110 East State Street, Suite 18, Kennett Square, PA 19348 -- 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] Example high-profile PHP sites
Incase you still need it. Here is a big one I forgot to mention: http://www.dialpad.com/ Not sure how much of their site is PHP, but their user registration and member backend is PHP driven. -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 1:59 AM To: Maurice Rickard; [EMAIL PROTECTED] Subject: RE: [PHP] Example high-profile PHP sites here are a few: http://www.marketplayer.com: they provide the real-time stock market simulations for sites like etrade.com and smartmoney.com that have these games. http://www.chek.com/ -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Example high-profile PHP sites For a number of reasons, I need to offer a client a list of big, impressive-sounding, high-profile sites using PHP. I went looking for the list on PHP.net, and the closest I could find is http://pt2.php.net/sites.php which, as you'll see, is suffering from a fatal error. I did find a list at http://php.datalogica.com/sites.php which, while helpful, seems a bit dated. Does anyone have some favorite examples that aren't on this list? I've been preparing other arguments as well, but the "all the cool people are doing it" examples will help. Thanks! -- Maurice Rickard http://mauricerickard.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 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] Share Session Vars on 2 servers
Hi Paul, If you have a single database between the 2 servers you could implement your own session handlers using PostgreSQL, Mysql or any other db for that matter. http://php.net/manual/en/function.session-set-save-handler.php Shouldn't be to difficult to do at all I imagine. Hope this helps! - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - - Original Message - From: "Paul R. Jackson" <[EMAIL PROTECTED]> > I have developed a well tested password protection system using session > vars. We have 2 web servers with half of our pages on each (for reasons I > wont go into). What I need to be able to do is have a single login that > would then work on both servers. Which basically means sharing session vars > on 2 servers. > > Yes sure I could use just straight cookies because both servers live under > the same main domain but I have the system already in place and I dont want > to change it. > > I think it could be done by forcing the 2 servers to use the session temp > same directory with 'session.save_path' variable by using a NFS share. But > we would prefer not to do that. And in fact if that was the only solution we > would just do without. > > Is there soemthing else I can do. > > Paul > > > -- 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] mod_perl php4 DBI->connect MySQL bomb segfault solved.
Apache mod_perl children were segfaulting on this: DBI->connect('DBI:mysql:irrelevant:irrelevant', 'irrelevant', 'irrelevant'); (Literally) I fixed it by recompiling Msql-Mysql-modules against a newer version of the MySQL client library. If you are suffering from this problem, make sure you don't have libmysqlclient.so.9 lying about. Easily diagnosed with "strace httpd -X" I guess the moral of the story is to delete all your old libraries when you upgrade your DB, and whip around recompiling everything that breaks (sometimes a brave move). This is fodder for the search engines, in case you couldn't tell. I'm crossing it to the PHP group because this problem has been mentioned there before, because it only crops up when PHP is compiled into Apache. -- _ Andrew Donkin Waikato University, Hamilton, New Zealand -- 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] Share Session Vars on 2 servers
I have developed a well tested password protection system using session vars. We have 2 web servers with half of our pages on each (for reasons I wont go into). What I need to be able to do is have a single login that would then work on both servers. Which basically means sharing session vars on 2 servers. Yes sure I could use just straight cookies because both servers live under the same main domain but I have the system already in place and I dont want to change it. I think it could be done by forcing the 2 servers to use the session temp same directory with 'session.save_path' variable by using a NFS share. But we would prefer not to do that. And in fact if that was the only solution we would just do without. Is there soemthing else I can do. Paul -- 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] MAgic Quotes
How do you turn on/off magic quotes through .htaccess? Is it this posible? -- 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]REPOST: DB logic help...
thanks jon. I think that's a step in the right direction. I've included a sample of the HTML of the links page so you can get a better idea as to how i want things to look. Your code below looks awesome, the only thing I was curious about though was that it would create a table with only one column when it's running through the loop. maybe I'm wrong, what are your thoughts?.. here's the html: http://www.soulive.com"; class="hov1" target="_blank">Soulive http://www.addisongroove.com"; class="hov1" target="_blank">Addison Groove Project http://www.deepbananablackout.com"; class="hov1" target="_blank">Deep Banana Blackout http://www.theslip.com"; class="hov1" target="_blank">The Slip http://www.miracleorchestra.com"; class="hov1" target="_blank">Miracle Orchestra http://www.ulu.net"; class="hov1" target="_blank">ulu http://www.jemstatic.com"; class="hov1" target="_blank">Jem Static http://members.aol.com/weezer1029/"; class="hov1" target="_blank">Premiere http://www.tgqonline.com"; class="hov1" target="_blank">Todd Gaynor Quartet http://www.mp3.com"; class="hov1" target="_blank">MP3.com http://www.soundclick.com"; class="hov1" target="_blank">Soundclick http://www.jambase.com"; class="hov1" target="_blank">Jambase http://www.jambands.com"; class="hov1" target="_blank">Jambands.com http://www.gigcity.com"; class="hov1" target="_blank">GigCity http://www.thesoundboard.com"; class="hov1" target="_blank">thesoundboard http://www.velourmusic.com"; class="hov1" target="_blank">Velour Music http://www.gamelan.tv"; class="hov1" target="_blank">Gamelan Productions http://www.supersonicrecording.com"; class="hov1" target="_blank">Supersonic Studios http://www.ccnow.com"; class="hov1" target="_blank">CCNow http://www.unionst.com"; class="hov1" target="_blank">The Attic I realize all that is very long, but I wanted you to see it all. that's how I need it to come out from the db. thanks a lot, and I'll be working on it myself. chris - Original Message - From: Jon Haworth <[EMAIL PROTECTED]> To: 'Chris Cocuzzo' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 11:57 AM Subject: RE: [PHP]REPOST: DB logic help... > What about something like: > > > $sql_bands = "SELECT Link FROM Table WHERE Category='band'"; > $sql_sites = "SELECT Link FROM Table WHERE Category='site'"; > $sql_other = "SELECT Link FROM Table WHERE Category='other'"; > > $query_bands = mysql_query($sql_bands); > $query_sites = mysql_query($sql_sites); > $query_other = mysql_query($sql_other); > > echo ""; > echo "BandsSitesOther"; > > do { > $data = false; > echo ""; > if ($row_bands = mysql_fetch_array($query_bands)) { > echo "". $row_bands["Link"]. ""; > $data = true; > } else { > echo " "; > } > if ($row_sites = mysql_fetch_array($query_sites)) { > echo "". $row_sites["Link"]. ""; > $data = true; > } else { > echo " "; > } > if ($row_other = mysql_fetch_array($query_other)) { > echo "". $row_other["Link"]. ""; > $data = true; > } else { > echo " "; > } > echo ""; > } while ($data == true); > > echo ""; > > ?> > > It's untested, and fairly inelegant in that you get an empty row at the > bottom, so you could count the rows for each set beforehand as part of the > SQL instead of using $data as I have - but it may be a good starting point. > > HTH > Jon > > > -Original Message- > From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] > Sent: 31 July 2001 16:36 > To: [EMAIL PROTECTED] > Subject: [PHP]REPOST: DB logic help... > > > hey- > > I have a few pages on my website which need to be divided up into different > columns and rows based on a category in a table. for example, on a links > page, I have three different columns, one for bands, one for sites, and one > for other things. I'm storing those things in the table with a category > field, so that when I output the data, it goes to the right place. However > I'm a little unsure of the actual code to do this... > > can someone lend me an example or give me some ideas? > > thanks > chris > > > > > -- > 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: Content Management Systems
>"Ralph Guzman" <[EMAIL PROTECTED]> wrote in message > > I am looking for new alternatives in web development and maintenance. > > Anybody have any suggestions or comments on any open source/commercial > > PHP+mySQL based CMS programs? You could check out my web-based CMS SIMPL. It's written in Perl and only the driver installed on the customer's site is source-readable, but on the bright side it has: 1. easy webmaster interface 2. ability to change site design at the click of the mouse 3. allows up to a three level hierarchy 4. page renderings are quick, usually under 12 seconds on my voice modem 5. owner viewable page view log including referers 6. cheap; it's bundled with my basic hosting plan and I'm running a promotional special right now Check out http://newdiets.com for an example of a SIMPL website, and the SIMPL demo which is on my business site, http://face2interface.com/Demo hth, Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo -- 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] dynamic variable names?
I'll try again... my explanation of my exact problem was not too good last time :P I am working with the following code: $text = "##firstname##"; $text = ereg_replace("##([^#]+)##", $row["\\1"], $text); $row[] is a result of using mysql_fetch_array. I would expect it to replace ##firstname## with the value of $row["firstname"]... but nothing happens. Matthew -- 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: Content Management Systems
Have you tried http://www.hotscripts.com/PHP/Scripts_and_Programs/Content_Management/ -- Gaylen "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am looking for new alternatives in web development and maintenance. > Anybody have any suggestions or comments on any open source/commercial > PHP+mySQL based CMS programs? > > 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] Content Management Systems
Hello, I am looking for new alternatives in web development and maintenance. Anybody have any suggestions or comments on any open source/commercial PHP+mySQL based CMS programs? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: include_once vs require_once
Yes, this is essentially true. Zeev posted this to the list awhile ago, see the following : http://www.faqts.com/knowledge_base/view.phtml/aid/6/ Essentially the difference now is the type of error that's produced, one being a warning (include) while the other being FATAL! (require). Regards, Philip On Tue, 31 Jul 2001, CC Zona wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Mike Cullerton) wrote: > > > so the difference is _when_ they happen. > > > > ok, another question then. > > > > if my script includes the line > > require_once($file); > > > > and $file contains the line > > include_once($other_file); > > > > what happens then? > > Rasmus has stated before that there is no longer any difference between > include_once() vs. require_once(), or include() vs. require(). I forget > which version that became the case, but if you are using a current version > of PHP the above two lines should produce identical results. > > -- > CC > > -- > 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] dynamic variable names?
Nevermind, I forgot about variable variables. Matt Kaufman - Original Message - From: "Matt Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 10:43 PM Subject: Re: [PHP] dynamic variable names? > I don't know if this is what you want, but take a look at > http://www.php.net/manual/en/language.variables.php - You may want to > assign them by reference? > > Matt Kaufman > - Original Message - > From: "Matthew Delmarter" <[EMAIL PROTECTED]> > To: "PHP Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, July 31, 2001 7:58 PM > Subject: [PHP] dynamic variable names? > > > > Is it possible to dynamically assign a variable name? > > > > For example: > > variable name is $var_."name" > > or $var_."$name" > > > > Regards, > > > > Matthew Delmarter > > > > -- > > 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] dynamic variable names?
I don't know if this is what you want, but take a look at http://www.php.net/manual/en/language.variables.php - You may want to assign them by reference? Matt Kaufman - Original Message - From: "Matthew Delmarter" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 7:58 PM Subject: [PHP] dynamic variable names? > Is it possible to dynamically assign a variable name? > > For example: > variable name is $var_."name" > or $var_."$name" > > Regards, > > Matthew Delmarter > > -- > 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] dynamic variable names?
RTFM... Read the Fabulous Manual. :) ha ha... It's possible, and downright easy. http://www.php.net/manual/en/language.variables.variable.php -Original Message- From: Matthew Delmarter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 10:58 PM To: PHP Mailing List Subject: [PHP] dynamic variable names? Is it possible to dynamically assign a variable name? For example: variable name is $var_."name" or $var_."$name" Regards, Matthew Delmarter -- 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] dynamic variable names?
Is it possible to dynamically assign a variable name? For example: variable name is $var_."name" or $var_."$name" Regards, Matthew Delmarter -- 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] Problem Loading php4 module
Hello, I'm trying to get php 4 to work with MySQL and Apache. I can't seem to get the module to load in Apache. In the httpd.conf file the path was shown as lib/apache/libphp4.so. This directory didn't exist so I changed the path to modules/libphp4.so. When I try to restart the server I get the following error message: Cannot load /etc/httpd/modules/libphp4.so into server: libmysqlclient.so.10: Cannot open shared object file: no such file or directory. I created a link to libmysqlclient.so.10, but I get the same error message. I've been struggling with this problem for a couple of nights. Any help is appreciated. I'm running MySQL 3.23.40, PHP 4.0 and Apache 1.3.9 on RedHat 6.1. Thanks for your time, Mark -- 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: include_once vs require_once
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Mike Cullerton) wrote: > so the difference is _when_ they happen. > > ok, another question then. > > if my script includes the line > require_once($file); > > and $file contains the line > include_once($other_file); > > what happens then? Rasmus has stated before that there is no longer any difference between include_once() vs. require_once(), or include() vs. require(). I forget which version that became the case, but if you are using a current version of PHP the above two lines should produce identical results. -- CC -- 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] Sorry... but a good PHP editor for Linux/Unix
I can't speak for terminal usage... I use pico and or vi... pico on console, vi over ssh. When working locally, I use nedit (www.nedit.org) on *nix (with custom PHP syntax highlighting) and EditPlus on windows. Good luck, Ben -Original Message- From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 7:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Sorry... but a good PHP editor for Linux/Unix Sorry about talking about this subject, but a really wanna know if any one nows a good editor for linux/unix. Sometimes I need to work by SSH and I have to use the program pico. I can't use vi, to use it, i'll need to see the manual!! thanks, Augusto -- 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] Sorry... but a good PHP editor for Linux/Unix
Sorry about talking about this subject, but a really wanna know if any one nows a good editor for linux/unix. Sometimes I need to work by SSH and I have to use the program pico. I can't use vi, to use it, i'll need to see the manual!! thanks, Augusto -- 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: include_once vs require_once
cool, so the difference is _when_ they happen. ok, another question then. if my script includes the line require_once($file); and $file contains the line include_once($other_file); what happens then? :) thanks, mike on 7/31/01 6:57 PM, Andrew Sterling Hanenkamp at [EMAIL PROTECTED] wrote: > Did you look at the difference between include() and require()? > Basically, as I understand it, require() and require_once() are replaced > during parsing--before code execution. And include() and include_once() > are replaced during code execution. Thus, a required file is always > imported into the file whereas an included file is only imported if the > include() statement is executed. The same is true for the _once() > versions except that the statement evaluates to nothing if the file has > already been imported by another statement. > > Cheers, > Sterling > > Mike Cullerton wrote: > >> hey folks, >> >> i'm wondering about the difference between include_once and require_once. >> the manual says >> >> The require_once() statement replaces itself with the specified file >> >> The include_once() statement includes and evaluates the specified file >> >> so, what is the difference? it's almost like one is a copy/paste and the >> other is some kind of read. is there any different behavior we should expect >> in scripts using one method vs another. >> >> my first guess was that require_once wouldn't evaluate the file, but i can >> execute code from within a file using either method. >> >> thanks, >> mike >> >> >> -- mike cullerton >> >> >> > -- mike cullerton -- 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] Attitude of B van Ouwerkerk
Ok, I've been following this thread for the last few minutes ... and I have to wonder what is this list for if not to ask questions, thereby learning. Yes there's tons of different resources online, yup, that would mean this is one too. If you don't want to waste your time and read a question, then answer it ... fine, don't, erase it, and move on with your life. But lets not talk down the people who ask questions and make them feel worse for asking. -- 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] NuSphere.. what is it???
Support mainly. Also, each package is different in what it includes, you should take a look at the details for more information. -Roy On Sunday 29 July 2001 20:07, Christian Dechery wrote: > What's the deal with that NuShere stuff... I visited their website and > download a Free version (40MB)... > I just don't get what are they asking 200, 400, 500 and even 5.000 dollars > for. > > It's just a combo of PHP, MySQL and Apache pre-configured, some samples and > some tools... but other than that... I can't see why it's so expensive... > it's all opensource... it's all free... they have phpMyAdmin as the MySQL > client... > > what are we paying for here? > > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer -- 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] Install problem
Hello All, I'm installing php 4.0.5 with apache 1.3.20 set everthing up as per instructions when I restart apache I get [root@tomcat php-4.0.5]# /usr/local/apache/bin/apachectl start Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress looks like libphp is looking for some uncompress routine it can't find this is a pretty stock install of redhat 7.1 anyone seen anything like this?? TIA a response by e-mail would be great Dave -- 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: include_once vs require_once
Did you look at the difference between include() and require()? Basically, as I understand it, require() and require_once() are replaced during parsing--before code execution. And include() and include_once() are replaced during code execution. Thus, a required file is always imported into the file whereas an included file is only imported if the include() statement is executed. The same is true for the _once() versions except that the statement evaluates to nothing if the file has already been imported by another statement. Cheers, Sterling Mike Cullerton wrote: > hey folks, > > i'm wondering about the difference between include_once and require_once. > the manual says > > The require_once() statement replaces itself with the specified file > > The include_once() statement includes and evaluates the specified file > > so, what is the difference? it's almost like one is a copy/paste and the > other is some kind of read. is there any different behavior we should expect > in scripts using one method vs another. > > my first guess was that require_once wouldn't evaluate the file, but i can > execute code from within a file using either method. > > thanks, > mike > > > -- mike cullerton > > > -- 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] include_once vs require_once
hey folks, i'm wondering about the difference between include_once and require_once. the manual says The require_once() statement replaces itself with the specified file The include_once() statement includes and evaluates the specified file so, what is the difference? it's almost like one is a copy/paste and the other is some kind of read. is there any different behavior we should expect in scripts using one method vs another. my first guess was that require_once wouldn't evaluate the file, but i can execute code from within a file using either method. thanks, mike -- mike cullerton -- 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: Syntax Error On Line 1
Uh...this is just a guess, but could it be the line endings are confusing PHP? Perhaps you have DOS formatted files in Unix or Unix files in DOS or Mac files in DOS or DOS files in Mac or ...you get the idea... That is, in DOS lines are ended by \n\r, in Unix by \n, and in Mac by \r. Lacking the correct line endings often leads to confusion for parsers. Cheers, Sterling Php Wannabe wrote: > I recently just started using PHP. I searched this list's archives first, > but couldn't find an answer to my question: > > Whenever I get a "syntax error" it's always reported "on line 1", even > when it's obviously not on line 1. I *never* get an error reported on any > other line #. > > Any thoughts on this? > > Thanks! > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Trouble creating a list on months
Oops! I forgot to include the parameter... function month_select($month) { echo "\n"; $month_names = array(1 => "January", 2 => "February", 3 => "March", 4 => "April", 5 => "May", 6 => "June", 7 => "July", 8 => "August", 9 => "September", 10 => "October", 11 => "November", 12 => "December"); if(!isset($month)) $month = (int)strftime("%m"); for($num_months = 0; $num_months < 12; $num_months++) { echo "\t" . $month_names[$month] . "\n"; $month = ($month == 12? 1 : $month + 1); } echo "\n"; } I didn't get a chance to test this, but you get the idea... Good luck. -Original Message- From: Mario A. Salinas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 8:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble creating a list on months Hello everyone, This is my first posting. I'm hoping someone can help figure this out. I'm using a GNU licensed calendar but there is a bug in it's process for building a list of months. The list is supposed to build a list of months starting with the current month and adding 11 months to the list. In theory, If this is July the should be as follows: July August September October November December January Februrary March April May June The process of building this list is done in a defined function in a 'Required' inclusion of a file. The problem is that the list gets built as follows: July August October October December December January March March May May July The function gets called as follows: $month is defined just before the (above) call as follows: if(!isset($month)) $month=date("n"); The actual function is as follows: function month_select($default=1) { $offset = date("n")-1; // value used to be 'm' echo (""); for($x=1;$x<=12;$x++) { $month = $x + $offset; if($month>12) $month -= 12; echo("".date("F",mktime(0,0,0,$month)).""); } echo (""); } Any Ideas what could be causing the problem? I'm new to this and have been staring at it for a while. Your help is greatly appreciated. Thanks in advance, Mario Salinas -- === The Internet is a Jungle... We can guide you through it safely! === Amazon Networks 1-818/954-0131 mailto:[EMAIL PROTECTED] http://www.amazon-networks.com === A firm that specializes in enabling large and small companies to Dominate the Internet through the development of intelligent Intranet/Extranet solutions and Search Engine Registrations. === "It's because light travels faster than sound that some people seem very bright, until you hear them speak" -- Anonymous === -- 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] Trouble creating a list on months
Try this: function month_list() { echo "\n"; $month_names = array(1 => "January", 2 => "February", 3 => "March", 4 => "April", 5 => "May", 6 => "June", 7 => "July", 8 => "August", 9 => "September", 10 => "October", 11 => "November", 12 => "December"); $month = (int)strftime("%m"); for($num_months = 0; $num_months < 12; $num_months++) { echo "\t" . $month_names[$month] . "\n"; $month = ($month == 12? 1 : $month + 1); } echo "\n"; } -Original Message- From: Mario A. Salinas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 8:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble creating a list on months Hello everyone, This is my first posting. I'm hoping someone can help figure this out. I'm using a GNU licensed calendar but there is a bug in it's process for building a list of months. The list is supposed to build a list of months starting with the current month and adding 11 months to the list. In theory, If this is July the should be as follows: July August September October November December January Februrary March April May June The process of building this list is done in a defined function in a 'Required' inclusion of a file. The problem is that the list gets built as follows: July August October October December December January March March May May July The function gets called as follows: $month is defined just before the (above) call as follows: if(!isset($month)) $month=date("n"); The actual function is as follows: function month_select($default=1) { $offset = date("n")-1; // value used to be 'm' echo (""); for($x=1;$x<=12;$x++) { $month = $x + $offset; if($month>12) $month -= 12; echo("".date("F",mktime(0,0,0,$month)).""); } echo (""); } Any Ideas what could be causing the problem? I'm new to this and have been staring at it for a while. Your help is greatly appreciated. Thanks in advance, Mario Salinas -- === The Internet is a Jungle... We can guide you through it safely! === Amazon Networks 1-818/954-0131 mailto:[EMAIL PROTECTED] http://www.amazon-networks.com === A firm that specializes in enabling large and small companies to Dominate the Internet through the development of intelligent Intranet/Extranet solutions and Search Engine Registrations. === "It's because light travels faster than sound that some people seem very bright, until you hear them speak" -- Anonymous === -- 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: also window.open(javascript)
Javascript occurs on the client side, so the second page you are opening will not be passed the file. If you are going to try and pass the file like this you could try saving the file to disk temporarily in the first PHP script. Then, pass an identifier to the file in the query string of window.open() to identify the file's location. (Sending the filename itself would probably be imprudent security-wise.) Then, the second script can find the file in the temp folder on the server from the passed identifier. Cheers, Sterling Eduardo Kokubo wrote: > I know I sent I message to this list 10 seconds ago, but I have forgot to ask this, >it's a different problem. I asked for a file name to upload via html form and tried >to pass this file to another page using window.open to redirect to a new window (I >submited first and tried to redirect it from the following page) but it didn't work. >Can I do anything about this? > > -- 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: Sort by bigger count(*)
Unless you've used GROUP BY you'll only return one row. I think that something like SELECT x, count(y) FROM table GROUP BY y ORDER BY count(y); Ought to work. Later, Sterling Elias wrote: > Hello, > > I made a query that uses count(*) > now how can i get the results sorted following the biggest count(*) result? > > > > -- 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: Regex question
You're making your expressions too complicated. To test for just that string, eregi("HTTP/1\.[01] 302", $output) should work. Later, Sterling Boaz Yahav wrote: > I'm trying to find if a string exists inside a string. Instead of using > strstr() twice I want to use eregi() once. > > What I want to check is if "HTTP/1.1 302" or "HTTP/1.0 302" exists in > some $output. > > I'm trying something like : > > eregi("[\"HTTP/1.\"]+[0-1]+[\" 302\"]",$output) > eregi("[HTTP/1.]+[0-1]+[ 302]",$output) > eregi("HTTP/1.+[0-1]+ 302",$output) > > But I must be off cause it doesn't work. > > Anyone? > > thanks > > > berber > -- 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] Failure Configuring 4.0.6 on SuSE 7.1
On Tue, Jul 31, 2001 at 11:43:44AM -0400, Chris Anderson produced this golden nugget: > When I try and configure php 4.0.6 I get the following msg: > > checking for flex... lex > checking for yywrap in -ll... no > checking lex output file root ... ./configure: lex: command not found > configure: error: cannot find output from lex; giving up > > can anyone help? > Easy... You haven't got lex installed, or it's installed in a strange place (ie. configure can't find it). What does whereis lex (or locate lex) tell you? -- Andreas D. Landmark / noXtension Let us live!!! Let us love!!! Let us share the deepest secrets of our souls!!! You first. -- 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] Trouble creating a list on months
Hello everyone, This is my first posting. I'm hoping someone can help figure this out. I'm using a GNU licensed calendar but there is a bug in it's process for building a list of months. The list is supposed to build a list of months starting with the current month and adding 11 months to the list. In theory, If this is July the should be as follows: July August September October November December January Februrary March April May June The process of building this list is done in a defined function in a 'Required' inclusion of a file. The problem is that the list gets built as follows: July August October October December December January March March May May July The function gets called as follows: $month is defined just before the (above) call as follows: if(!isset($month)) $month=date("n"); The actual function is as follows: function month_select($default=1) { $offset = date("n")-1; // value used to be 'm' echo (""); for($x=1;$x<=12;$x++) { $month = $x + $offset; if($month>12) $month -= 12; echo("".date("F",mktime(0,0,0,$month)).""); } echo (""); } Any Ideas what could be causing the problem? I'm new to this and have been staring at it for a while. Your help is greatly appreciated. Thanks in advance, Mario Salinas -- === The Internet is a Jungle... We can guide you through it safely! === Amazon Networks 1-818/954-0131 mailto:[EMAIL PROTECTED] http://www.amazon-networks.com === A firm that specializes in enabling large and small companies to Dominate the Internet through the development of intelligent Intranet/Extranet solutions and Search Engine Registrations. === "It's because light travels faster than sound that some people seem very bright, until you hear them speak" -- Anonymous === -- 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 Jock - 1st line syntax
Well, maybe the code is all on one line! I remember another time when I was getting all the errors being on one line when validating SGML documents. It turned out that the problem was that they had been created on a Mac, and the validator was getting confused by only only having Ctrl-M for a line break instead of Ctrl-J or Ctrl-M,Ctrl-J. Maybe worth a look Brian At 16:05 31/07/2001 +0100, Greg Fyans wrote: >you got an example you can show us > >-- >Greg Fyans >www.syntonik.co.uk > > > > I recently just started using PHP. I searched this list's archives first, > > but couldn't find an answer to my question: > > > > Whenever I get a "syntax error" it's always reported "on line 1", even > > when it's obviously not on line 1. I *never* get an error reported on any > > other line #. > > > > Any thoughts on this? > > > > 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] - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [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] in_array() with associate array?
in_array is for testing that a value exists in an array. What you want is if ( isset( $some_array[some_key] ) ) print "HAS KEY"; else print "DOESN'T HAVE KEY"; At 14:23 31/07/2001 -0400, Jaxon wrote: >hi, > >in_array is confusing me :) > >can someone show me an example of how to test if > >$some_array[some_key] > >actually has a value, without outputting the value? > >tia, >jaxon > > >-- >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] - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [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] Visual Login
One way would be to use a database (of any type) to store username/password data, present the user with a form to fill out, authenticate against the database, set session variable if they are valid, and let them use the application.. if they fail, do whatever. => EXTREMELY brief. Can give more detail if you like => Ben -Original Message- From: Steve Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 4:01 PM To: PHP List Subject: [PHP] Visual Login How can i go about doing a visual login on a web page... instead of the pop up window i have at the min like with .htaccess ?? I apologize if this is in the manual, but i couldn't see it Kind Regards, Steve -- 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: Readline and/or split by line break
http://www.php.net/manual/en/function.file.php "Karl J. Stubsjoen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > GlacierHello, > I'm reading a file into memory and I'd like to split each of the individual > lines into an array. How would I do this? > Thanks, > > Karl J. Stubsjoen > www.iexcelinlife.com > [EMAIL PROTECTED] > Phone: 602.447 > > > -- 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] Readline and/or split by line break
GlacierHello, I'm reading a file into memory and I'd like to split each of the individual lines into an array. How would I do this? Thanks, Karl J. Stubsjoen www.iexcelinlife.com [EMAIL PROTECTED] Phone: 602.447 -- 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: Attitude of B van Ouwerkerk
I have to agree with Phil and Mr. van Ouwerkerk. I am a newbie too, and while we may miss things in the manual that are obvious to more experienced programmers, or ask questions that have been asked and answered in the list over and over again (guilty here!), I believe an attempt should at least be made to find the answer before asking the experts in the mailing list. Newbies like myself should remember that most people who are subscribed to this list are very busy with work and projects and are being quite generous to contribute free advice to those of us who are less knowledgeable. Here are some useful resources I turn to when I'm seeking a PHP-related answer: www.phpbuilder.com www.webreference.com www.webmonkey.com www.devshed.com www.weberdev.com Tom Malone http://www.tom-malone.com On Tuesday 31 July 2001 3:05, you wrote: > I've just looked at his emails for the last week, and he is a helpful guy! > Not only is he helpful, I'll wager he's being helpful in a language that's > not his native tongue, so it's utterly unreasonable to expect the subtle > 'gentle' idioms that you might get from a native speaker who had plenty of > time to construct an email, and plenty of patience for someone who should > have RTFM. > > I say, be grateful he is sparing some time to contribute! -- 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: [PHP] dumb mysql_connect issue
Is the error coming from a mysql_query() line or a mysql_select_db() line? Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: CGI GUY <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 6:47 PM Subject: Fwd: Re: [PHP] dumb mysql_connect issue > Okay, well I used the mysql_error() print-out, and it > returned something weird: > > " Access denied for user: 'username@hostname' to > database 'tablename' " > > This is incongruous because: > > 1. The uid/password set I am using has full > privileges. > 2. *tablename* is not a database (the code I listed in > my previous email is syntactically identical to the > script)-- it's a table. > > Why is this happening to me?!?! ;) > > Note: forwarded message attached. > > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.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] -- 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: Trying to avoid code exploits..
"Meir Kriheli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I need another pair of eyes to see if I've overlooked something. SNIP > so > '{pass1}=={pass2}' > > is converted to > '$GLOBALS['pass1']==$GLOBALS['pass2']' > > When to form is validated I'm running eval() to evaluate the expression. I'm > concerned that there's an exploit somewhere, maybe a user entering some > malicious data (I don't like using eval that often). But I'm not using eval() > directly on user entered data, and I can't see where it is possible. Where pass1,pass2,etc came from? I guess from user and you set register_globals=on in your php.ini. If this is the case, your script is exploitable probably. "register_globals=off" in your php.ini and use $HTTP_*_VARS. If you want to protect values set by PHP also, I've posted sample function at zend.com recently. http://www.zend.com/codex.php?id=626&single=1 (Protect values (GET/POST/COOKIE) set by PHP) Regards, -- Yasuo Ohgaki -- 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: Fwd: Re: [PHP] dumb mysql_connect issue
CGI GUY wrote: > " Access denied for user: 'username@hostname' to > database 'tablename' " > > 1. The uid/password set I am using has full > privileges. > 2. *tablename* is not a database (the code I listed in > my previous email is syntactically identical to the > script)-- it's a table. > > Why is this happening to me?!?! ;) FROM table_name.column_name is interpreted as FROM database.table_name Hence the confusion of database and table-names. "FROM table_name" will suffice. regards Wagner -- Madness takes its toll. Please have exact change. -- 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] Counting Multidimensional Arrays, Solution Found
Nevermind. I Found the solution. $m, $y, and $d must be cast to integers. -Original Message- From: Johnny Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting Multidimensional Arrays Given // $Events[2001][07][31][0] = new ZEvent("Some Event 0", "Some Description 0", "07-31-2001"); $Events[2001][07][31][1] = new ZEvent("Some Event 1", "Some Description 1", "07-31-2001"); $Events[2001][07][31][2] = new ZEvent("Some Event 2", "Some Description 2", "07-31-2001"); $Events[2001][08][01][0] = new ZEvent("Some Event 0", "Some Description 0", "08-01-2001"); if I set. $someclass->arrEvents = $Events; and then inside of some class i say. $m = 07; $y = 2001; $d = 31; echo count($this->arrEvents[$y][$m][$d]); Shouldn't I get 3 as my output? For some reason I am getting 0. However, if I do: foreach ($someclass->arrEvents[2001][07][31] as $someevent) { echo $someevent->getName(); } I get the correct output: "Some Event 0Some Event 1Some Event 2" Any ideas on how to get the correct count within someclass? Regards, Johnny Nguyen -- 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] Visual Login
How can i go about doing a visual login on a web page... instead of the pop up window i have at the min like with .htaccess ?? I apologize if this is in the manual, but i couldn't see it Kind Regards, Steve
[PHP] Counting Multidimensional Arrays
Given // $Events[2001][07][31][0] = new ZEvent("Some Event 0", "Some Description 0", "07-31-2001"); $Events[2001][07][31][1] = new ZEvent("Some Event 1", "Some Description 1", "07-31-2001"); $Events[2001][07][31][2] = new ZEvent("Some Event 2", "Some Description 2", "07-31-2001"); $Events[2001][08][01][0] = new ZEvent("Some Event 0", "Some Description 0", "08-01-2001"); if I set. $someclass->arrEvents = $Events; and then inside of some class i say. $m = 07; $y = 2001; $d = 31; echo count($this->arrEvents[$y][$m][$d]); Shouldn't I get 3 as my output? For some reason I am getting 0. However, if I do: foreach ($someclass->arrEvents[2001][07][31] as $someevent) { echo $someevent->getName(); } I get the correct output: "Some Event 0Some Event 1Some Event 2" Any ideas on how to get the correct count within someclass? Regards, Johnny Nguyen -- 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]
Fwd: Re: [PHP] dumb mysql_connect issue
Okay, well I used the mysql_error() print-out, and it returned something weird: " Access denied for user: 'username@hostname' to database 'tablename' " This is incongruous because: 1. The uid/password set I am using has full privileges. 2. *tablename* is not a database (the code I listed in my previous email is syntactically identical to the script)-- it's a table. Why is this happening to me?!?! ;) Note: forwarded message attached. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ or, echo $sql and copy/paste it into an sql client and see what it tells you. on 7/31/01 4:21 PM, Philip Olson at [EMAIL PROTECTED] wrote: > Try putting mysql_error() in your die statements so : > > or die(mysql_error()); > > and see what it tells you. > > Regards, > Philip > > > On Tue, 31 Jul 2001, CGI GUY wrote: > >> Is there anything (add. parameters, etc.) that I'm >> missing that would possibly explain why the following >> code won't execute? >> -- mike cullerton -- 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] Attitude of B van Ouwerkerk
I agree with the "try to answer your own question first" theory that you propose... I have used PHP for almost 2 years now, and just subscribed to this list a month or two ago, but have yet to ask a single question... But I realize we're all at different skill levels, and so far, I haven't done anything as advanced as some of the members of this list. :) I think it's great that the members of this list are as selfless as they are in helping people try to solve their problems and helping newbies learn how to do some great things with PHP, but it seems to me that it is -much- more time intensive to subscribe to this list and post a message saying "how do I send mail with PHP?" than to go to www.php.net and click on "Mail functions" in the manual. :) Perhaps the "Mailing Lists" page on php.net could have a paragraph at the top saying "before asking for help on the PHP mailing lists, check the annotated manual for examples and explanations" ? Anyone else agree? As for the FAQ proposal, I think it would be great for someone to set up a site where FAQ items could be posted (no matter -how- trivial they may seem to an experienced PHP user) and moderated into a heirarchy by subject... The annotations in the PHP manual can be incredibly helpful on occasion. --Matt -Original Message- From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 5:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attitude of B van Ouwerkerk Let me give just one reply.. I did read them all.. I don't hate Kyle Smith /me rather uses the energy needed to hate in a positive way.. Like to write docs for an opensource project. Did a rewrite once.. Phil Driscoll.. you win. I'm Dutch. No I don't have time to go a few times over my mail just to see if I can put things nicer or just in another way. Have to develop some applications.. learn new stuff.. review old code to make it better.. I keep on learning :-) I agree with Justin Farnsworth and Scott [gts].. (And a few others..) I don't think I've got an attitude problem. I don't know everything but I do bother to find information before I start asking questions to others who need to spend their VALUABLE time on MY problem. IMHO someone who found php.net and this list to ask his/her question should also have clicked on the DOCUMENTATION and downloaded the manual of his/her taste. I'd say only ask your question if it's not in the docs (perhaps not 100% clear) or in the archive.. Searchengines can be a great source too.. If it's in the archive it will cost less time then to wait for an answer. Sure you can look over something even if it's staring in your face.. I'm quite sure others will point that out to anyone who send a question.. There's nothing wrong with being a newbie.. the only newbie-problem I see/have is the lazy one.. ask ask ask ask without taking the time to read the manual or to do a search in the archive. Sure there are newbies who read the manual.. get some tutorials.. thats good. They should get all the support they need.. Ask yourself.. who has an attitude problem here.. Someone who didn't read the manual.. or someone (/me) who wrote to RTFM. I find it worth mentioning that he finally downloaded the manual.. Enough bandwith and time wasted. Bye, B. -- 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] dumb mysql_connect issue
on 7/31/01 4:10 PM, CGI GUY at [EMAIL PROTECTED] wrote: > Is there anything (add. parameters, etc.) that I'm > missing that would possibly explain why the following > code won't execute? >in FROM table_name.column_name1,table_name.column_name2 table_name.column_name1 is a column, but "FROM" expects a table. try "select table_name.column_name1,table_name.column_name2 from table_name" -- mike cullerton -- 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] ./buildconf error
I am getting this error when tring to ./buildconf buildconf: checking installation... buildconf: autoconf version 2.50 (ok) buildconf: automake version 1.4-p5 (ok) buildconf: libtool version 1.4 (ok) WARNING: automake and libtool are installed in different directories. This may cause aclocal to fail. continuing anyway aclocal: configure.in: 894: macro `AM_PROG_LIBTOOL' not found in library rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' rebuilding Makefile templates rebuilding configure configure.in:124: warning: AC_PROG_LEX invoked multiple times configure.in:54: error: possibly undefined macro: AM_INIT_AUTOMAKE configure.in:68: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:69: error: possibly undefined macro: AM_MAINTAINER_MODE configure.in:116: error: possibly undefined macro: AM_PROG_CC_STDC configure.in:441: error: possibly undefined macro: PHP_AC_BROKEN_SPRINTF configure.in:894: error: possibly undefined macro: AM_PROG_LIBTOOL configure:9967: error: possibly undefined macro: AC_ADD_INCLUDE rebuilding acconfig.h rebuilding main/php_config.h.in autoheader: error: AC_CONFIG_HEADERS not found in configure.in I have the latest CVS of php4 Zend and TSRM and the lastest autoconf, automake. libtool, bison and flex.
Re: [PHP] dumb mysql_connect issue
or, echo $sql and copy/paste it into an sql client and see what it tells you. on 7/31/01 4:21 PM, Philip Olson at [EMAIL PROTECTED] wrote: > Try putting mysql_error() in your die statements so : > > or die(mysql_error()); > > and see what it tells you. > > Regards, > Philip > > > On Tue, 31 Jul 2001, CGI GUY wrote: > >> Is there anything (add. parameters, etc.) that I'm >> missing that would possibly explain why the following >> code won't execute? >> -- mike cullerton -- 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: Types of table....
Hello Steve, well, you should have the table set, at the very least, something like this: UserId - INT, Primary Key, Auto increment RealFName - varchar(20) RealLName UserName - Varchar (20) PassWord - Varchar (12) The length of the fields is optional, and you should perform checks on the username and password to confirm that they don't contain irregular characters that might give you problems in the future. I'd do something like this (on signup): if (!preg_match("/^[[:alnum:]_]+$/", $username)) { //error } -That'd check if the username contained alphanumeric characters and the underscore ("_") character. I'd take out the underscore for the password. Having the first and last name in separate columns will allow you to perform more informal greets to the user when you use this - Hello $RealFName, how are you? Look up column types in the MySQL manual at mysql.com for more detailed info ;) James. "Steve Wright" <[EMAIL PROTECTED]> wrote in message 00a001c11a07$0d743f60$0615fea9@COM">news:00a001c11a07$0d743f60$0615fea9@COM... HEy, I am still a newbie, and have no idea how to use phpMyAdmin yet, and don't really know much about MySQL databases and setting up tables. My Question:What table type should i use for a users REAL NAME, USERNAME, PASSWORD, how long should i set these to, and should i have anything else clicked while in the process?? Thanks.. Steve -- 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] dumb mysql_connect issue
Try putting mysql_error() in your die statements so : or die(mysql_error()); and see what it tells you. Regards, Philip On Tue, 31 Jul 2001, CGI GUY wrote: > Is there anything (add. parameters, etc.) that I'm > missing that would possibly explain why the following > code won't execute? > > > $connection = > mysql_connect("hostname","username","password") or die > ("Couldn't connect to server"); > > $db = mysql_select_db("database", $connection) or die > ("Couldn't select database"); > > $sql = "SELECT * FROM table_name.column_name1, > table_name.column_name2"; > > $sql_result = mysql_query($sql,$connection) or die > ("Couldn't execute query"); > > ?> > > Thanks in advance. This mailing list rules!!! > > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.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] > -- 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] Execute mixed php code from mysql?
the way i have solved this is to have another column of data_type. switch ($data_type) { case "php": exec($data); break; case "html": include($data); break; } mike on 7/31/01 3:24 PM, Kyle at [EMAIL PROTECTED] wrote: > For example I have in a database: > - In database: > welcome > > if ($something == 'hello') { > echo 'do somethoing'; > }?> > -- Also in Database: > > --- > Now how could i make it so that I have another page that has the following: > index.php - > $db = mysql_connect ($dbhost,$dbuser,$dbpass); > $query = "SELECT code FROM templates WHERE name = 'header'"; > $result = mysql_db_query($dbtabe,$query); > $row = mysql_fetch_array ($result); > echo $row[code]; > ?> > Jump out and have some html content > $db = mysql_connect ($dbhost,$dbuser,$dbpass); > $query = "SELECT code FROM templates WHERE name = 'footer'"; > $result = mysql_db_query($dbtabe,$query); > $row = mysql_fetch_array ($result); > echo $row[code]; > ?> > -- end page -- > For some reason it converts the tags on the php code as it pulls it out, i > figure echo isn't the right function to do this and echo is converting the > ' > I tried eval(), I need a function similar to include(), but can take strings > instead of files. If the content that was in the database and I include()'d > it, it would have the desired effect. > > Thanks in advanced > > - Kyle > > -- mike cullerton -- 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] dumb mysql_connect issue
CGI GUY wrote: > Is there anything (add. parameters, etc.) that I'm > missing that would possibly explain why the following > code won't execute? What does it say? Any errors? Are any of your messages printed? regards Wagner -- Madness takes its toll. Please have exact change. -- 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] dumb mysql_connect issue
Is there anything (add. parameters, etc.) that I'm missing that would possibly explain why the following code won't execute? Thanks in advance. This mailing list rules!!! __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.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]
Re: [PHP] Attitude of B van Ouwerkerk
B. van Ouwerkerk wrote: > Ask yourself.. who has an attitude problem here.. Someone who didn't > read the manual.. or someone (/me) who wrote to RTFM. You didn't even RTFM him. I found it to be more like RTM, the more gentle version (the one without words connected to sexual intercourse). Your answer was short, but not harsh. I thought so, anyway. regards Wagner PS: Enough said. -- Madness takes its toll. Please have exact change. -- 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] Attitude of B van Ouwerkerk
Yes, i did download the manual the reason why i come here first is cause when i ask people who know it alread yi know i will get a straight answer and people will put it in a more understandable way then a lot of the tutorials -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "B. van Ouwerkerk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 2:11 PM Subject: Re: [PHP] Attitude of B van Ouwerkerk > Let me give just one reply.. I did read them all.. > > I don't hate Kyle Smith /me rather uses the energy needed to hate in a > positive way.. Like to write docs for an opensource project. Did a rewrite > once.. > > Phil Driscoll.. you win. I'm Dutch. No I don't have time to go a few times > over my mail just to see if I can put things nicer or just in another way. > Have to develop some applications.. learn new stuff.. review old code to > make it better.. I keep on learning :-) > > I agree with Justin Farnsworth and Scott [gts].. (And a few others..) > > I don't think I've got an attitude problem. I don't know everything but I > do bother to find information before I start asking questions to others who > need to spend their VALUABLE time on MY problem. > IMHO someone who found php.net and this list to ask his/her question should > also have clicked on the DOCUMENTATION and downloaded the manual of his/her > taste. > I'd say only ask your question if it's not in the docs (perhaps not 100% > clear) or in the archive.. Searchengines can be a great source too.. > If it's in the archive it will cost less time then to wait for an answer. > Sure you can look over something even if it's staring in your face.. > I'm quite sure others will point that out to anyone who send a question.. > > There's nothing wrong with being a newbie.. the only newbie-problem I > see/have is the lazy one.. ask ask ask ask without taking the time to read > the manual or to do a search in the archive. Sure there are newbies who > read the manual.. get some tutorials.. thats good. They should get all the > support they need.. > > Ask yourself.. who has an attitude problem here.. Someone who didn't read > the manual.. or someone (/me) who wrote to RTFM. > I find it worth mentioning that he finally downloaded the manual.. > > Enough bandwith and time wasted. > > Bye, > > > > B. > > > -- > 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] Types of table....
HEy, I am still a newbie, and have no idea how to use phpMyAdmin yet, and don't really know much about MySQL databases and setting up tables. My Question:What table type should i use for a users REAL NAME, USERNAME, PASSWORD, how long should i set these to, and should i have anything else clicked while in the process?? Thanks.. Steve
[PHP] Execute mixed php code from mysql?
For example I have in a database: - In database: welcome -- Also in Database: --- Now how could i make it so that I have another page that has the following: index.php - Jump out and have some html content -- end page -- For some reason it converts the tags on the php code as it pulls it out, i figure echo isn't the right function to do this and echo is converting the '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] Attitude of B van Ouwerkerk
Let me give just one reply.. I did read them all.. I don't hate Kyle Smith /me rather uses the energy needed to hate in a positive way.. Like to write docs for an opensource project. Did a rewrite once.. Phil Driscoll.. you win. I'm Dutch. No I don't have time to go a few times over my mail just to see if I can put things nicer or just in another way. Have to develop some applications.. learn new stuff.. review old code to make it better.. I keep on learning :-) I agree with Justin Farnsworth and Scott [gts].. (And a few others..) I don't think I've got an attitude problem. I don't know everything but I do bother to find information before I start asking questions to others who need to spend their VALUABLE time on MY problem. IMHO someone who found php.net and this list to ask his/her question should also have clicked on the DOCUMENTATION and downloaded the manual of his/her taste. I'd say only ask your question if it's not in the docs (perhaps not 100% clear) or in the archive.. Searchengines can be a great source too.. If it's in the archive it will cost less time then to wait for an answer. Sure you can look over something even if it's staring in your face.. I'm quite sure others will point that out to anyone who send a question.. There's nothing wrong with being a newbie.. the only newbie-problem I see/have is the lazy one.. ask ask ask ask without taking the time to read the manual or to do a search in the archive. Sure there are newbies who read the manual.. get some tutorials.. thats good. They should get all the support they need.. Ask yourself.. who has an attitude problem here.. Someone who didn't read the manual.. or someone (/me) who wrote to RTFM. I find it worth mentioning that he finally downloaded the manual.. Enough bandwith and time wasted. Bye, B. -- 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] buildconf
I am getting this error when tring to ./buildconf rebuilding configure ./aclocal.m4:929: error: m4_defn: undefined: _m4_divert_diversion ./aclocal.m4:472: PHP_SUBST is expanded from... ./aclocal.m4:929: the top level rebuilding main/php_config.h.in autoheader: error: shell error while sourcing /tmp/ah12500/traces.sh I have the latest CVS of php4 Zend and TSRM and the lastest autoconf, automake. libtool, bison and flex.
[PHP] path_info
I am running win2k sp1. The following code works with php 4.0.3 installed however fails with versions php 4.0.5 and 4.0.6. Any assistance would be appreciated "; echo $HTTP_SERVER_VARS["PATH_INFO"]; ?> -- 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] issues with __sleep() and __wakeup()
on 7/31/01 1:48 PM, scott [gts] at [EMAIL PROTECTED] wrote: > I am having a problem with __sleep(); > there mere existance of it is causing my object > to not get serialized at all. __wakeup() works fine. > > i am using PHP v4.0.6 / apache / win2k. > > If i keep __sleep() in the object, it will not serialize, > but if i remove it, it serialized fine. Does anyone > know why this happens? i asked this about a month ago and didn't hear anything. i too have never been able to get __sleep to work. i think it's because i couldn't figure out what needed to be returned (or how to return it :) at http://www.php.net/manual/en/language.oop.magic-functions.php it says that __sleep is "supposed to return an array with the names of all variables of that object that should be serialized", but there are no examples of this. in a current project, i have an object that is registed as a session variable. it contains three objects and an array. one of the objects is a PEAR db object, and i don't need to serialize it. i do want to maintain the other two objects and the array. i tried a number of ideas inside __sleep, to no avail. without __sleep, it works. with __sleep, i break it. i do use __wakeup to reinitialize my db object, but i just use $db->disconnect(); at the end of my index file to disconnect . does anyone know the proper way to "clean up the object" in __sleep and how to return the variables that should be serialized? can this even be used when one (or more) of the variables is an object itself? thanks, mike -- mike cullerton -- 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] NuSphere.. what is it???
innodb tables, too. See mysql documentation on table types. You can choose any type for any table in yur database and change the type of the table on the fly. Alexander Wagner schrieb am Montag, 30. Juli 2001, 13:20:55: > Kraa de Simon wrote: >> I agree on most parts, but is there "transaction support" in MySQL? > Berkley-DB tables support transactions. > regards > Wagner -- Herzlich Werner Stuerenburg _ ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen Tel 0(049) 5224-997 407 · Fax 0(049) 5224-997 409 http://pferdezeitung.de -- 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] Flash question, but includes variables!
You need to define the variable early in the movie. Then you simply put the field name with the {} symbols and it will be replace by what the variable value is. In your example, you would put in the text area Hi, {NAME} whats up? In the properties for that text object you also need to make sure it is selected as dynamic text. Hope this helps. Jeff Pearson > -Original Message- > From: Kyle Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 9:20 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Flash question, but includes variables! > > > Anybody who knows flash 5 please help me (sorry to post in a PHP list) > I have a variable named NAME, later in the game how do i make a > dynamic text field say something like Hi, NAME whats up? > > > -lk6- > http://www.StupeedStudios.f2s.com > Home of the burning lego man! > > ICQ: 115852509 > MSN: [EMAIL PROTECTED] > AIM: legokiller666 > > > -- 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] references... found it
Just for the sake of completing this thread, variable functions can be read about here : http://www.php.net/manual/en/functions.variable-functions.php Regards, Philip On Tue, 31 Jul 2001, scott [gts] wrote: > im sorry, but i was trying to do that the hard > way. i figured out how to execute a function > name in a variable. > > $x ="test"; > > print "Hello: $x\n\n"; > > $x(); > > function test() { > print "yee haw"; > } > > -- > 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] references
scott [gts] wrote: > i've been reading over the docs on references, and i > can't see anyway to pass around functions as references. > i know how to do this easily with perl, but i cannot > seem to find the correct syntax for creating a reference > to a function in PHP. >[..] > any and all help is appreciated. I dont't think there is something like that in PHP, but variable functions might help you: http://php.net/manual/en/functions.variable-functions.php call_user_func() is often cleaner, though. http://php.net/manual/en/ref.funchand.php Also have a look at call_user_method() and the other functions in this section of the manual. regards Wagner -- Madness takes its toll. Please have exact change. -- 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] Flash question, but includes variables!
Anybody who knows flash 5 please help me (sorry to post in a PHP list) I have a variable named NAME, later in the game how do i make a dynamic text field say something like Hi, NAME whats up? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] references... found it
im sorry, but i was trying to do that the hard way. i figured out how to execute a function name in a variable. $x ="test"; print "Hello: $x\n\n"; $x(); function test() { print "yee haw"; } -- 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] Attitude of B van Ouwerkerk
I don't think this is just crap. Not everyone keeps up with the manual (too bad) and sending stuff to the list is just the convenient thing do. As the list grows, there will always be new newbies, there will be questions that have been asked before. Long term users might get annoyed. I think what we should do is to respond to this kind of questions by just refering to the documentation, not more. So we don't spoil the newbies, but also we don't need to bash them arround. At 08:29 PM 7/31/2001 -0700, Kyle Smith wrote: >ok just cut the crap now and get back to whats really important, helping >people!!! > > >-lk6- >http://www.StupeedStudios.f2s.com >New address new site > >ICQ: 115852509 >MSN: [EMAIL PROTECTED] >AIM: legokiller666 > > >- Original Message - >From: "Johnson, Kirk" <[EMAIL PROTECTED]> >To: "php" <[EMAIL PROTECTED]> >Sent: Tuesday, July 31, 2001 12:17 PM >Subject: RE: [PHP] Attitude of B van Ouwerkerk > > > > Not for this list specifically, and not as well used as it might be ;) > > > > http://www.php.net/manual/en/faq.php > > > > Kirk > > > > > > > what is up with a faq for this list? is there one? > > > > -- > > 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] Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 "Don't be humble, you're not that great." -- Golda Meir -- 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: What tools do you use to develop PHP?
Homesite and Dreamweaver work well together. Not light on the pocket though. Initially they were pretty rough with PHP support, but enough people griped I guess, latst versions are handy enough. Especially like switching back and forth feature built in to work with both applications at once. Dave >-Original Message- >From: Anton Stroganov [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 1:35 PM >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > >FrontPage has PHP support built-in? who knew... > >At any rate, I recommend UltraEdit - it supports PHP syntax highlighting, >FTP save and get and quite a few other useful features. > >And if you HAVE to have graphical environment, Dreamweaver 4 is not half >bad, what with its customizeable tags and all, with a little work it can be >made work with PHP quite well. > >Anton Stroganov >webmaster >www.artwithin.com > >- Original Message - >From: Matt Rogers <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, July 31, 2001 10:40 >Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > >> Why would I pay $100 for something that I'd get sick of using anyway? >> FrontPage -- Now that's worth paying for! I bought FP98 almost 4 years >ago >> and I still use it to this day. >> >> >> --- >> -- M&D Creations >> - Matt Rogers >> - Web Design Dept. >> - [EMAIL PROTECTED] >> "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message >> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> > Homesite: http://www.allaire.com/products/HomeSite/ >> > >> > -Original Message- >> > From: Matt Rogers [mailto:[EMAIL PROTECTED]] >> > Sent: Monday, July 30, 2001 7:55 AM >> > To: [EMAIL PROTECTED] >> > Subject: [PHP] Re: What tools do you use to develop PHP? >> > >> > I like PHPCoder for Winblowz: >> > >> > http://www.phpide.de >> > >> > >> > There are a couple of others, but this one lets you do all kinds of >stuff >> > built-in. Of course, it's for Windows and you have to download the >> > documentation (mySQL, PHP, and htmlhelp.com's HTML docs) >> > >> > And the fact that it's still kinda buggy But it works and keeps me >> from >> > having to load a bunch of different programs all at once to write, >upload, >> > and test my php scripts. =) >> > >> > (I'm a Beta enthuisiast) >> > --- >> > -- M&D Creations >> > - Matt Rogers >> > - Web Design Dept. >> > - [EMAIL PROTECTED] >> > "Gerry Kirk" <[EMAIL PROTECTED]> wrote in message >> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> > > Hi, >> > > >> > > I'm putting together a PHP development framework for our small group. >We >> > > have worked on a couple of small apps, so now it's time to do things a >> > > little more methodically, i.e. make life easier for everyone. :) >> > > >> > > So, I scanned the web and found quite a few options for code >libraries, >> > > and a few for PHP code editors. >> > > >> > > I'm interested to know what tools / libraries people prefer - >> > > >> > > 1. Code libraries: >> > > a) Metabase (for database abstraction) >> > > b) PHPLib >> > > c) PEAR >> > > d) BinaryCloud >> > > e) other >> > > >> > > 2. What code editor do you use? >> > > >> > > 3. Source code control. CVS appears to be the only real option here. >> > > >> > > TIA, >> > > Gerry >> > > >> > >> > >> > >> > -- >> > 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] HELP!! What wrong with this code...
You have received a number of responses on this. Here is another. When assigning text or html in a variable (or for echo) it is generallly a good idea to use single quotes and exit for variable insertion. That way you don't have to worry about missing one or two errant HTML wuotes. For example echo 'Your feedback has been sent to href="mailto:$address";>'.$name.''; is perfectly valid, and I have found that this method tends to work better with HTML editors as well (with PHP support) as a side note; If you are fond of GUI interfaces like Drwamweaver, you may want to exit and reenter PHP tags to allow you to continue to edit the page in these GUI editors instead of using echo. For example Your feedback has been sent to href="mailto:$address";>'; this is especially usefull when creating multiple nested tables or otherwise sloppy HTML editing since you can usually edit the PHP tag directly from the GUI HTML editor Dave >-Original Message- >From: Steve Wright [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 31, 2001 12:13 PM >To: PHP List >Subject: [PHP] HELP!! What wrong with this code... > > >Hey, i am getting an error passed back for this line of code, the rest >of the code is below: > >echo "Your feedback has been sent to href="mailto:$address";>$name"; > >the error is: > >Parse error: parse error, expecting `','' or `';'' in >/www/customers/stevewrightonline.co.uk/form/do_sendform.php on line 20 > > >Does anyone know y this is?? If i remove the a href tags it works >fine. Can you not use links properly in PHP?? > >-- >$name = "Steven Wright"; >$address ="[EMAIL PROTECTED]"; >$recipient = $address; >$subject = "Auto Form"; >$mailheaders = "From: Auto Form < $address > \n"; >$mailheaders = "Reply-To: $sender_email\n\n"; > >/*The Message*/ >$msg = "Sender:\t mailto:$sender_email \t $sender_name\n\n"; >$msg = "Message:\t$message\n\n"; > >/*Mail to Me*/ >mail($recipient, $subject, $msg, $mailheaders); > > >/*Onscreen confirmation of sending*/ >echo "Form Sent!"; >echo "Thank You, $sender_name"; >echo "Your feedback has been sent to href="mailto:$address";>$name"; >echo ""; >?> > > -- 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] FAQ
A PHP faq resource : http://php.faqts.com/ Regarding an "official" faq, searching the archives works pretty well. Here's a great place to start (one of many places php-general is archived) : http://marc.theaimsgroup.com/?l=php-general Or actually, google archives everything forever : http://www.google.com/ Regarding faqts.com, the search feature is having a few issues right now but I promise it's usually better ;-) And as someone already stated, php.net has a relativly new FAQ that's growing : http://www.php.net/manual/en/faq.php I wrote this awhile ago, maybe it'll help someone, don't hesitate to add/modify it : What are some ways to get PHP support ? --- http://www.faqts.com/knowledge_base/view.phtml/aid/8720 Regards, Philip -- 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] references
i've been reading over the docs on references, and i can't see anyway to pass around functions as references. i know how to do this easily with perl, but i cannot seem to find the correct syntax for creating a reference to a function in PHP. what i'd like to do is something like this: // X is now a reference to test() // but i dont want test() to be executed now $x =& test(); // Now, i want to execute test() with // something like this and see "Hello World" &$x(); function test() { print "Hello World"; } any and all help is appreciated. thanks a lot. -- 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] PHP snapshot & librecode problem
Hi, I have problem to configure php with librecode, always it ended with this error: configure: error: I cannot link librecode (-L../recode/lib -lrecode). Is it installed? My configuration: ./configure --prefix=/www/php --with-apache=../../apache-1.3.20 \ --enable-gd-imgstrttf --enable-ftp --with-gd=../gd --with-mysql=/mysql \ --enable-memory-limit --enable-bcmath --enable-track-vars --with-imap \ --with-mm=/usr/local/mm-1.1.3 --with-curl=../curl-7.8/curl \ --with-ming=../ming-0.1.1 --with-zlib=../zlib-1.1.3 --with-ttf=../freetype \ --with-dbase --enable-gd-native-ttf --with-recode=../recode --disable-posix What I do bad? -- Jan PAVLIK -- [EMAIL PROTECTED], [EMAIL PROTECTED] mobil 0777/555730 ICQ 6611951 -- 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] If Failing - Very strange
I'm not sure, but don't you do something with endif(); ? Matt Kaufman - Original Message - From: "Mitch Vincent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 12:57 PM Subject: [PHP] If Failing - Very strange > Could someone explain this? > >if( $fCredit > $fQuoteTotal ) > $fCredit = $fQuoteTotal; > > ^- Fails. > >if( $fCredit > $fQuoteTotal ) { > > $fCredit = $fQuoteTotal; > > } > > ^- Passes > > if((float)$fCredit > (float)$fQuoteTotal) > $fCredit = $fQuoteTotal; > > ^- Passes. > > The curley braces seem to make all the difference here -- bug? > > Thanks!!! > > -Mitch > > > > -- > 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] issues with __sleep() and __wakeup()
I am having a problem with __sleep(); there mere existance of it is causing my object to not get serialized at all. __wakeup() works fine. i am using PHP v4.0.6 / apache / win2k. If i keep __sleep() in the object, it will not serialize, but if i remove it, it serialized fine. Does anyone know why this happens? Here's my object: class Scott { var $svar = array(); // free-form hash for whatever data function Scott( ) { return $this; } function __sleep() { } function __wakeup() { $this->svar['sleep'] = "I am waking up"; } }// end class and now a test script require_once('class.Scott.php'); $scott = new Scott(); $scott->svar['blah'] = "bacon"; print "object = ". $scott ."\n"; print "blah = ". $scott->svar['blah'] ."\n"; print "\n"; // serialize $ser = serialize($scott); print "serialized = ". $ser ."\n"; // trash the object unset($scott); print "unset object = ". $scott ."\n\n"; // unserialize $scott = unserialize($ser); print "object = ". $scott ."\n"; print "blah = ". $scott->svar['blah'] ."\n"; print "sleep = ". $scott->svar['sleep'] ."\n"; -- 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] FAQ - was "Attitude of B van Ouwerkerk"
How I view this subject as a Newbie I don't care about attitudes, language, remarks, or anything of this nature. What I do care about is having a place where I can ask stupid questions (Most of the time) intelligent question (whenever possible) and get an answer. Someday when I can understand the manuals and have alot more experience with PHP and MySQL I will be glad to pitch in and help. Until then I need your help. Yes I read the manuals, FAQs and anything else I can find. But sometimes, I just flat don't know what the heck I'm reading. So from a Newbie to you Seasoned Vets THANKS!!!-- , /'^ ^'\ -((o)-(o))- --oOOO--(_)--OOOo--- J R Palmer [EMAIL PROTECTED] ICQ 411053 .oooO ( ) Oooo. ---\ (---( )-- \_) ) / (_/ -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 2:14 PM To: php Subject: RE: [PHP] FAQ - was "Attitude of B van Ouwerkerk" An actual "Question and Answer" FAQ is probably not necessary, since there are so many other good information resources out there already, but what seems to be necessary is to provide newbies with a current list of some really good PHP-related sites. (like http://php.net/function -- i use it everyday, but not too many newbies seem to know about it) > -Original Message- > From: mike cullerton [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Attitude of B van Ouwerkerk > > on 7/31/01 12:37 PM, scott [gts] at [EMAIL PROTECTED] wrote: > > > there's a fine line between being terse and being nasty. > > > > please don't misinterpret this, but i think that we > > could all benefit from being less sensitive of the > > style each of us express ourselves in... > > once again, scott, you seem to have a nice concise way of putting things :) > > newbies are part of internet communities, as are old curmudgeons. > thankfully, so too are the wise, willing to share their knowledge. > > recently, Brian White mentioned a propsed faq for the "headers already sent" > question. also, Philip Olson mentioned a link at php.faqts. > > what is up with a faq for this list? is there one? i have been saving good > responses to faq type questions with the intent of putting a faq together. > now is as good a time as any. i'll post something in a couple days. > > that way, we can politley say to newcomers. "hey, nice to have you around. > hope we can help you out some. two places you should go to get started are > php.net and link.to.list.faq" > > let me know if there already is one. > > have a day, > mike > > > -- mike cullerton > > > > -- > 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] emailing the contents of a form in PDF format
Hi, This may be beyond the scope of this list but if I don't ask, I'll never know :) I have a form page with a button at the bottom. When the user clicks on the button, I wish the following to happen: 1) Prompt the user for a target e-mail address. 2) Create a PDF document from the form fields on the current page (I wish to specify the design of the form) and e-mail it to the e-mail address gathered form (1). I'm hoping there's either a module or two that can accomplish this or perhaps, someone has already gone through the hassle and would be willing to share. Otherwise, some pointers to head me in the correct direction would be appreciated. Thanks, Don -- 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] Another simple question (dont hurt me)
Use the mail() function. http://www.php.net/mail Matt Kaufman - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 8:33 PM Subject: [PHP] Another simple question (dont hurt me) In php, oh wait well this is really 2 questions.. 1 in a form how do i make it email a file to someone, and the second how do i make it get recieved as an attatchement...? -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- 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] Another simple question (dont hurt me)
In php, oh wait well this is really 2 questions.. 1 in a form how do i make it email a file to someone, and the second how do i make it get recieved as an attatchement...? -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Attitude of B van Ouwerkerk
ok just cut the crap now and get back to whats really important, helping people!!! -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "Johnson, Kirk" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 12:17 PM Subject: RE: [PHP] Attitude of B van Ouwerkerk > Not for this list specifically, and not as well used as it might be ;) > > http://www.php.net/manual/en/faq.php > > Kirk > > > > what is up with a faq for this list? is there one? > > -- > 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] FAQ - was "Attitude of B van Ouwerkerk"
An actual "Question and Answer" FAQ is probably not necessary, since there are so many other good information resources out there already, but what seems to be necessary is to provide newbies with a current list of some really good PHP-related sites. (like http://php.net/function -- i use it everyday, but not too many newbies seem to know about it) > -Original Message- > From: mike cullerton [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Attitude of B van Ouwerkerk > > on 7/31/01 12:37 PM, scott [gts] at [EMAIL PROTECTED] wrote: > > > there's a fine line between being terse and being nasty. > > > > please don't misinterpret this, but i think that we > > could all benefit from being less sensitive of the > > style each of us express ourselves in... > > once again, scott, you seem to have a nice concise way of putting things :) > > newbies are part of internet communities, as are old curmudgeons. > thankfully, so too are the wise, willing to share their knowledge. > > recently, Brian White mentioned a propsed faq for the "headers already sent" > question. also, Philip Olson mentioned a link at php.faqts. > > what is up with a faq for this list? is there one? i have been saving good > responses to faq type questions with the intent of putting a faq together. > now is as good a time as any. i'll post something in a couple days. > > that way, we can politley say to newcomers. "hey, nice to have you around. > hope we can help you out some. two places you should go to get started are > php.net and link.to.list.faq" > > let me know if there already is one. > > have a day, > mike > > > -- mike cullerton > > > > -- > 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: HELP!! What wrong with this code...
Another solution that some may prefer is the here doc method: Instead of: php; code; here; ?> Your feedback has been sent to Your feedback has been sent to mailto:$address";>$name EOF; Php; code; here; That way you avoid the escaping of quotes, and the multiple flips in and out of php...its just the way I prefer... my $.02, jack -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:04 PM To: php Subject: RE: [PHP] Re: HELP!! What wrong with this code... or, if you're going to be dealing with a lot of data that has lots of quotes in it, you could take the safe route and just exit out of PHP mode lots of times, it's easier than escaping every single " php; code; here; ?> Your feedback has been sent to -Original Message- > From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 12:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: HELP!! What wrong with this code... > > > Escape the double quotes inside the > > echo "Your feedback has been sent to href=\"mailto:$address\";>$name"; > > > -- > > Julio Nobrega. > > 2B||!BB - That's the question. > > "Steve Wright" <[EMAIL PROTECTED]> wrote in message > 02c401c119db$b76a1700$0615fea9@COM">news:02c401c119db$b76a1700$0615fea9@COM... > Hey, i am getting an error passed back for this line of code, the rest of > the code is below: > > echo "Your feedback has been sent to href="mailto:$address";>$name"; > > the error is: > > Parse error: parse error, expecting `','' or `';'' in > /www/customers/stevewrightonline.co.uk/form/do_sendform.php on line 20 > > > Does anyone know y this is?? If i remove the a href tags it works fine. Can > you not use links properly in PHP?? > > -- > $name = "Steven Wright"; > $address ="[EMAIL PROTECTED]"; > $recipient = $address; > $subject = "Auto Form"; > $mailheaders = "From: Auto Form < $address > \n"; > $mailheaders = "Reply-To: $sender_email\n\n"; > > /*The Message*/ > $msg = "Sender:\t mailto:$sender_email \t $sender_name\n\n"; > $msg = "Message:\t$message\n\n"; > > /*Mail to Me*/ > mail($recipient, $subject, $msg, $mailheaders); > > > /*Onscreen confirmation of sending*/ > echo "Form Sent!"; > echo "Thank You, $sender_name"; > echo "Your feedback has been sent to href="mailto:$address";>$name"; > echo ""; > ?> > > > > > > -- > 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] Attitude of B van Ouwerkerk
Not for this list specifically, and not as well used as it might be ;) http://www.php.net/manual/en/faq.php Kirk > what is up with a faq for this list? is there one? -- 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: php_oci8.dll
try using: extension_dir = c:\php\extensions that's what i use on my Win32 machine with an identical install as Liviu. > -Original Message- > From: Liviu Popescu2 [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 11:12 AM > To: [EMAIL PROTECTED] > Subject: [PHP] RE: php_oci8.dll > > > I've installed php in c:\php\ folder: > > Volume in drive C has no label. > Volume Serial Number is E422-FD1C > > Directory of C:\php > > 07/31/2001 03:06p. > 07/31/2001 03:06p.. > 07/19/2001 09:31adlls > 07/19/2001 09:31aextensions > 06/21/2001 06:31p 25,632 install.txt > 07/19/2001 09:31ajava > 05/22/2000 05:56p 3,747 License > 07/19/2001 09:31aMIBS > 07/19/2001 09:31apdf-related > 07/19/2001 09:31apear > 06/22/2001 09:54a 20,480 php.exe > 06/01/2001 05:20a 24,992 php.ini-dist > 06/01/2001 05:20a 25,482 php.ini-optimized > 07/24/1999 09:00p 2,123 php4.gif > 06/22/2001 09:54a 1,036,288 php4ts.dll > 06/22/2001 02:58p 121,318 php4ts.lib > 07/31/2001 03:06p 0 php_files.txt > 06/22/2001 03:27p 53,248 php_oci8.dll > 07/19/2001 09:31asapi > 07/31/2001 02:19psessiondata > 07/31/2001 02:19puploadtemp > 10 File(s) 1,313,310 bytes > 11 Dir(s) 2,438,704,128 bytes free > > and in php.ini I have: > == > > ; Directory in which the loadable extensions (modules) reside. > extension_dir = c:\php > > > > > > -Original Message- > From: Dragos Roua [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 2:29 PM > To: Liviu Popescu2 > Subject: Re: [PHP] php_oci8.dll > > > Try to see if the specified library is in the location specified, > meaning > c:\php\, maybe you named the folder php4 or something like this > > > > I have installed PHP4 manually to use it with Win2000 > > I did everything according to installation guide specifications. > > I uncommented, in php.ini, the line: > > extension=php_oci8.dll > > Afer I stopped and started the Web server, and try to load a page, I > > get: > > "PHP Warning: Unable to load dynamic library 'c:\php/php_oci8.dll' - > The > > specified procedure could not be found. in Unknown on line 0". > > What should I do? > > > > > > > > > > -- > > 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] > > > > > -- > Dragos Roua > Mirabilis Media, > http://www.portal.ro http://www.net-info.ro > http://www.analyser.ro http://www.adserver.ro > http://www.culinar.ro http://www.cartipostale.ro > > > > > -- > 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] FAQ...was - Attitude of B van Ouwerkerk
I'd be happy to host one but I imagine there is one already for the list? Jeff > -Original Message- > From: mike cullerton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 3:08 PM > To: php > Subject: Re: [PHP] Attitude of B van Ouwerkerk > > > on 7/31/01 12:37 PM, scott [gts] at [EMAIL PROTECTED] wrote: > > > there's a fine line between being terse and being nasty. > > > > please don't misinterpret this, but i think that we > > could all benefit from being less sensitive of the > > style each of us express ourselves in... > > once again, scott, you seem to have a nice concise way of putting > things :) > > newbies are part of internet communities, as are old curmudgeons. > thankfully, so too are the wise, willing to share their knowledge. > > recently, Brian White mentioned a propsed faq for the "headers > already sent" > question. also, Philip Olson mentioned a link at php.faqts. > > what is up with a faq for this list? is there one? i have been saving good > responses to faq type questions with the intent of putting a faq together. > now is as good a time as any. i'll post something in a couple days. > > that way, we can politley say to newcomers. "hey, nice to have you around. > hope we can help you out some. two places you should go to get started are > php.net and link.to.list.faq" > > let me know if there already is one. > > have a day, > mike > > > -- mike cullerton > > > > -- > 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: HELP!! What wrong with this code...
or, if you're going to be dealing with a lot of data that has lots of quotes in it, you could take the safe route and just exit out of PHP mode lots of times, it's easier than escaping every single " php; code; here; ?> Your feedback has been sent to -Original Message- > From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 12:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: HELP!! What wrong with this code... > > > Escape the double quotes inside the > > echo "Your feedback has been sent to href=\"mailto:$address\";>$name"; > > > -- > > Julio Nobrega. > > 2B||!BB - That's the question. > > "Steve Wright" <[EMAIL PROTECTED]> wrote in message > 02c401c119db$b76a1700$0615fea9@COM">news:02c401c119db$b76a1700$0615fea9@COM... > Hey, i am getting an error passed back for this line of code, the rest of > the code is below: > > echo "Your feedback has been sent to href="mailto:$address";>$name"; > > the error is: > > Parse error: parse error, expecting `','' or `';'' in > /www/customers/stevewrightonline.co.uk/form/do_sendform.php on line 20 > > > Does anyone know y this is?? If i remove the a href tags it works fine. Can > you not use links properly in PHP?? > > -- > $name = "Steven Wright"; > $address ="[EMAIL PROTECTED]"; > $recipient = $address; > $subject = "Auto Form"; > $mailheaders = "From: Auto Form < $address > \n"; > $mailheaders = "Reply-To: $sender_email\n\n"; > > /*The Message*/ > $msg = "Sender:\t mailto:$sender_email \t $sender_name\n\n"; > $msg = "Message:\t$message\n\n"; > > /*Mail to Me*/ > mail($recipient, $subject, $msg, $mailheaders); > > > /*Onscreen confirmation of sending*/ > echo "Form Sent!"; > echo "Thank You, $sender_name"; > echo "Your feedback has been sent to href="mailto:$address";>$name"; > echo ""; > ?> > > > > > > -- > 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] Attitude of B van Ouwerkerk
on 7/31/01 12:37 PM, scott [gts] at [EMAIL PROTECTED] wrote: > there's a fine line between being terse and being nasty. > > please don't misinterpret this, but i think that we > could all benefit from being less sensitive of the > style each of us express ourselves in... once again, scott, you seem to have a nice concise way of putting things :) newbies are part of internet communities, as are old curmudgeons. thankfully, so too are the wise, willing to share their knowledge. recently, Brian White mentioned a propsed faq for the "headers already sent" question. also, Philip Olson mentioned a link at php.faqts. what is up with a faq for this list? is there one? i have been saving good responses to faq type questions with the intent of putting a faq together. now is as good a time as any. i'll post something in a couple days. that way, we can politley say to newcomers. "hey, nice to have you around. hope we can help you out some. two places you should go to get started are php.net and link.to.list.faq" let me know if there already is one. have a day, mike -- mike cullerton -- 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] Attitude of B van Ouwerkerk
I've just looked at his emails for the last week, and he is a helpful guy! Not only is he helpful, I'll wager he's being helpful in a language that's not his native tongue, so it's utterly unreasonable to expect the subtle 'gentle' idioms that you might get from a native speaker who had plenty of time to construct an email, and plenty of patience for someone who should have RTFM. I say, be grateful he is sparing some time to contribute! -- Phil Driscoll -- 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] Question on Commercial Offerings
and not to mention that almost any form of script protection or source-code encryption can be broken with minimal effort... you'd probably be wasting valuble time trying to protect your scripts that you could better spend improving and maintaining the code. IMO: it's better to spend your time working on the script itself rather than hiding the source code... you'll come out with a better product in the long run - even if the occasional person can duplicate your source for devious purposes. :) > -Original Message- > From: Michael Kimsal [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 28, 2001 12:43 PM > To: Thomas Deliduka > Cc: PHP List > Subject: Re: [PHP] Question on Commercial Offerings > > > Thomas Deliduka wrote: > > >I don't know quite how to word that subject but here's what we want to do. > > > >We have a shopping cart softwre (like a million others out there) which > >based in windows NT with a COM+ object to guard the source code. > > > >We mainly offer this product to our hosting customers as an add-on solution > >to their hosting. > > > >Well, we want to migrate this to PHP/MySQL and I don't know how to protect > >the source code. My boss is suggesting to make a DSO but I really am not a C > >programmer to do all that. I want to make it all in PHP but somehow protect > >the code. Any ideas? > > > > We're in a similar situation, but probably will simply give the source > code with what we sell, > and have purchasers agree to a moderately restrictive license. They > will have the source code if > they need to make changes for their own projects, but won't be able to > resell/redistribute. Giving > people access to the source code can actually be a positive to some > people. Yes, you may lose > some potential sales, but you'll gain sales to people coming over from > more restrictive carts - the kind > where you don't get the source code. :) > > HTH > > Michael Kimsal > http://www.tapinternet.com/php > PHP Training Courses > 734-480-9961 > > > > -- > 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] Failure Configuring 4.0.6 on SuSE 7.1
it seems that your 'lex' is in a non-standard place, and cannot be found in your PATH. make sure you have 'lex' on your machine, find out where, then open up the Makefile and change it's path to lex to the correct one. > -Original Message- > From: Chris Anderson [mailto:null@YAST_ASK] > Sent: Tuesday, July 31, 2001 11:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Failure Configuring 4.0.6 on SuSE 7.1 > > > When I try and configure php 4.0.6 I get the following msg: > > checking for flex... lex > checking for yywrap in -ll... no > checking lex output file root ... ./configure: lex: command not found > configure: error: cannot find output from lex; giving up > > can anyone help? > > > -- > 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] fopen not opening url
i wish i could help you out, but i tried your code (below) and it worked perfectly... i'm running PHP Version 4.0.4pl1 on a Windows 2000 box. perhaps it isn't the fopen() that's failins. $x = fopen("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml","r";) or die("Cannot open!"); print fread($x , 4096); > -Original Message- > From: Jay Paulson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 1:40 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] fopen not opening url > > > yeah i've tried opening it directly in a browser and it works fine... i also > tried your LoadFile function and the problem is when php calls the fopen() > function. It doesn't want to open that file. Here are the errors i get > back from PHP: > > Warning: php_hostconnect: connect failed in > d:\files\htdocs\lbjs\new_websites\krox\xml.php on line 24 > > Warning: > fopen("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml"; > ,"r") - Bad file descriptor in > d:\files\htdocs\lbjs\new_websites\krox\xml.php on line 24 > > I have no idea as to why i'm getting these or what they mean. > > Thanks, > jay > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, July 31, 2001 2:01 AM > Subject: RE: [PHP] fopen not opening url > > > > Are you still having problems? > > > > Things to try: > > > > 1. Try and open the url directly in a browser. > > eg http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml > > > > Does it return data (you may need to change the &o=xml to &o=html though). > > > > Some countries (like the one I'm in China, have moreover access banned via > > some providers) > > > > 2. socket blocking - you may need to enable or disable this dependant on > > your server settings: > > set_socket_blocking ($connection,false); > > > > function LoadFile ($filename,$block=false){ > > $fd = fopen( $filename, "r" ); > > if ($block) set_socket_blocking ($fd,true); > > $contents = fread( $fd, filesize( $filename ) ); > > fclose( $fd ); > > return ($contents); > > } > > > > Without socket blocking > > LoadFile > > ("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml";); > > > > > > With socket blocking > > LoadFile > > > ("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml",true > > ); > > > > 3. I use something like this for reads on difficult servers (some china > mail > > servers are a p.i.a to get at sometimes). > > > > Function GetLine() { > > $timeout=30; > > $iStartTime = time(); > > set_socket_blocking($this->connection, false); > > > > $line = fread($this->connection,128); > > while(empty($line)){ > > $line = fread($this->connection,128); > > usleep(25); > > } > > if ($debug) { > > print ($line) .""; > > System("echo ''"); > > flush; > > } > > > > return ($line); > > } > > > > > > Let me know how you do. > > > > Lawrence. > > -Original Message- > > From: Jay Paulson [mailto:[EMAIL PROTECTED]] > > Sent: July 31, 2001 5:17 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] fopen not opening url > > > > > > here's the code i'm using below to try and open up the url.. :) > > > > thanks! > > jay > > > > $fp = > > > fopen("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o=xml"; > > , "r"); > > $length = filesize($fp); > > $content = fread($fp,$length); > > fclose($fp); > > echo $content; > > > > - Original Message - > > From: "Jack Dempsey" <[EMAIL PROTECTED]> > > To: "'Jay Paulson'" <[EMAIL PROTECTED]> > > Sent: Monday, July 30, 2001 1:52 PM > > Subject: RE: [PHP] fopen not opening url > > > > > > > Hi jay, > > > > > > I've done the exact thing you're trying, and it works...paste in some > > > code so we can see where its going wrong... > > > > > > jack > > > > > > -Original Message- > > > From: Jay Paulson [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, July 30, 2001 2:08 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] fopen not opening url > > > > > > hello- > > > I'm trying to use the fopen() command to open the url below and just > > > read it > > > into another $var. However, I'm having some problems the warning i > > > get > > > is below along with the url in the warning. Anyone know what's going on > > > here?? > > > > > > Thanks, > > > jay > > > > > > Warning: php_hostconnect: connect failed > > > Warning: > > > fopen("http://p.moreover.com/cgi-local/page?c=Music%20business%20news&o= > > > xml" > > > ,"r") - Bad file descriptor > > > > > > > > > > -- > > 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 PROTE
RE: [PHP] Attitude of B van Ouwerkerk
there's a fine line between being terse and being nasty. please don't misinterpret this, but i think that we could all benefit from being less sensitive of the style each of us express ourselves in... -- 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] Attitude of B van Ouwerkerk
PhP'ers I would suggest that people not think too hard about this and continue programming. Thats right get back to work...:) Have Fun! --ccma -- 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: What tools do you use to develop PHP?
TextPad is my personal favourite, but i've also tried ConTEXT and PHP Coder and liked them a lot, so i'd recommend that you check out all three of them. TextPad: http://textpad.com/ PHP Coder: http://synedit.sourceforge.net/ ConTEXT: http://www.fixedsys.com/context/ > -Original Message- > From: Steve Wright [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 2:25 PM > To: PHP List > Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > > I personally use a program called EditPlus, because it supports every darn > language that i can think of, Java, C, C++, PHP, Perl, HTMl, etc.. etc... > > And it is really custimizable too! > > - Original Message - > From: Anton Stroganov <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 31, 2001 6:34 PM > Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > > > FrontPage has PHP support built-in? who knew... > > > > At any rate, I recommend UltraEdit - it supports PHP syntax highlighting, > > FTP save and get and quite a few other useful features. > > > > And if you HAVE to have graphical environment, Dreamweaver 4 is not half > > bad, what with its customizeable tags and all, with a little work it can > be > > made work with PHP quite well. > > > > Anton Stroganov > > webmaster > > www.artwithin.com > > > > - Original Message - > > From: Matt Rogers <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 31, 2001 10:40 > > Subject: Re: [PHP] Re: What tools do you use to develop PHP? > > > > > > > Why would I pay $100 for something that I'd get sick of using anyway? > > > FrontPage -- Now that's worth paying for! I bought FP98 almost 4 years > > ago > > > and I still use it to this day. > > > > > > > > > --- > > > -- M&D Creations > > > - Matt Rogers > > > - Web Design Dept. > > > - [EMAIL PROTECTED] > > > "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > Homesite: http://www.allaire.com/products/HomeSite/ > > > > > > > > -Original Message- > > > > From: Matt Rogers [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, July 30, 2001 7:55 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: [PHP] Re: What tools do you use to develop PHP? > > > > > > > > I like PHPCoder for Winblowz: > > > > > > > > http://www.phpide.de > > > > > > > > > > > > There are a couple of others, but this one lets you do all kinds of > > stuff > > > > built-in. Of course, it's for Windows and you have to download the > > > > documentation (mySQL, PHP, and htmlhelp.com's HTML docs) > > > > > > > > And the fact that it's still kinda buggy But it works and keeps me > > > from > > > > having to load a bunch of different programs all at once to write, > > upload, > > > > and test my php scripts. =) > > > > > > > > (I'm a Beta enthuisiast) > > > > --- > > > > -- M&D Creations > > > > - Matt Rogers > > > > - Web Design Dept. > > > > - [EMAIL PROTECTED] > > > > "Gerry Kirk" <[EMAIL PROTECTED]> wrote in message > > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > Hi, > > > > > > > > > > I'm putting together a PHP development framework for our small > group. > > We > > > > > have worked on a couple of small apps, so now it's time to do things > a > > > > > little more methodically, i.e. make life easier for everyone. :) > > > > > > > > > > So, I scanned the web and found quite a few options for code > > libraries, > > > > > and a few for PHP code editors. > > > > > > > > > > I'm interested to know what tools / libraries people prefer - > > > > > > > > > > 1. Code libraries: > > > > > a) Metabase (for database abstraction) > > > > > b) PHPLib > > > > > c) PEAR > > > > > d) BinaryCloud > > > > > e) other > > > > > > > > > > 2. What code editor do you use? > > > > > > > > > > 3. Source code control. CVS appears to be the only real option here. > > > > > > > > > > TIA, > > > > > Gerry > > > > > > > > > > > > > > > > > > > > > -- > > > > 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 Mai
Re: [PHP] Re: Realm Auth Via Non-Sessions
Day late and a dollar short bro! But thanks anyways. > > When the browser quits, it loses its memory of your username/password. > > That's all there is to it. > Also, I was reading somewhere last week at some hosting companies website that they stream http?? What is that? Is it a gimmick? Or does stream=sessions? I am very famiuliar with webservers and their ilk via linux and I have never heard of streaming http... --ccma -- 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] Attitude of B van Ouwerkerk
This is not to condone discourtesy, but the key to this complaint is "being on the list for a while". In the everyday friction of life, terse emails are easily misinterpreted. I happen to feel that van Ouwerkerk's reponse is not "disgraceful", and attributing it to his "attitude" is a leap of the imagination. Sometimes one feels like being curt to those myriad posts that ask questions, maybe 30-50 percent of the posts on this list, where the answer is in the manual. One could allege "discourtesy" to those people that "abuse" the list by asking questions that are in the manual. The point is, it would be also "legitimate" for anyone to complain about the "disgraceful" attitude of of people who post before looking. I would think it appropriate that the dues for posting should be that at least individuals search the manual first. The occasional poster that missed the item in the search in the manual would certainly be easily tolerated. _jef -- Steve Wright wrote: > > I have to say, after only being a member of the list for a while that the > attitude of B van Ouwerkerk to be disgraceful. > > Everybody needs help sometimes, and no one can know it all.. so if you don't > have anything positive to say, then don't say anything! > > Thanks for reading, -- -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Attitude of B van Ouwerkerk
im gonna stay neutral in this conversation even though i know B Van hates my guts! But hey, im a newbie and yes i do need a kick start, but he doesnt have to be such a moody git. -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "Jeff Lewis" <[EMAIL PROTECTED]> To: "Steve Wright" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 11:23 AM Subject: RE: [PHP] Attitude of B van Ouwerkerk > It's not the first time and I've mentioned it before. I in fact just > emailed all those off list from that thread. > > One reason why PHP has lured many in is it's ease of use and it's FRIENDLY > user community. > > Sure some people come on here and ask "simple" questions, maybe ones that > can be found in the manual but they are starting out and need a bit of a > kick start. > > Lets remain friendly...it's why I'm still around :) > > Jeff > www.hyrum.net > www.xnull.com > > > -Original Message- > > From: Steve Wright [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 31, 2001 2:22 PM > > To: PHP List > > Subject: [PHP] Attitude of B van Ouwerkerk > > > > > > I have to say, after only being a member of the list for a while that the > > attitude of B van Ouwerkerk to be disgraceful. > > > > Everybody needs help sometimes, and no one can know it all.. so > > if you don't > > have anything positive to say, then don't say anything! > > > > > > Thanks for reading, > > > > Steve Wright > > > > > > -- > > 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]