Re: [PHP] Do any of you provide hosting?
http://cihosts.com/ has always made me drool...you might only be one of 90,000, but they are very very customer-centric. They'll do anything to make you happy it would seem, but if you get a dedicated server...you are basically like a little god to them, lol. 24/7 unlimited tech support, as long as they don't have to actually do anything with your setup. They'll tell you what to do to, say, correctly configure sendmail, but if they have to do it for you it costs money (obviously). Still, their ecommerce plan has the most space I've ever seen for such a low price. 700 megs for 25$ a month *drool* Plus they charge for bandwidth, which is only believable because they are the largest DNR/ASP/ISP around. Or at least they are an "industry leader"...*still drooling over the dedicated servers* Anyway, for cheaper service I've talked to www.elitehosts.com tech support and they are quite nice. They also allow unlimited subdomains, email accounts, and ftp accounts, but their bandwidth and storage space is low. For $14 you get 50mb and 3gigs of transfer. If you are looking to pay under $18, there are plenty of good choices, but for over that I'd go with cihosts. The space they provide is just monstrous...but I don't know about subdomains. I couldn't find a mention on subdomains :( They provide 50 ftp accounts and 10 telnet on the smallest ecommerce plan...bah, but zero mentions of subdomains. You could always ask :) -- Plutarck Should be working on something... ...but forgot what it was. ""Chris Anderson"" [EMAIL PROTECTED] wrote in message 000201c0c373$a1d01d40$b01012d1@null">news:000201c0c373$a1d01d40$b01012d1@null... I currently am using Thehostpros.com for my hosting, but I can't say its been a pleasant experience. I had to have them install PHP because they are more ASP oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months saying they'll install that. Basicly here's what I need: Someone who can host my domain (I own the domain already) Can provide MySQL and PHP. Both up-to-date. Can give around 60 meg of space (ballpark, less should be fine) Also a way to set up subdomains without needing to go through the admin (some hosts can do his). But this isn't necessary. Can anyone help with that? -- PHP General Mailing List (http://www.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] return parse error
This generates a parse error: mysql_connect("localhost", "root", "rootpw") or return("bar"); But all the following work fine: mysql_connect("localhost", "root", "rootpw") or die("bar"); mysql_connect("localhost", "root", "rootpw") or print("bar"); if (!mysql_connect("localhost", "root", "rootpw")) { return("bar"); } Why? mysql_connect returns false on failure either way... I notice die and print are functions but return seems not to be, it doesn't have a 'function.[name].html' file in the manual. *scratches head* I can't see any reason in the manual for this behavior. Am I missing something? PHP is running on Linux 2.2.19 and identifies as '4.0.2'. phpinfo also says: './configure' '--with-mysql' '--with-apache=../apache_1.3.12' '-- enable-track-vars' '--disable-debug' '--disable-xml' -- PHP General Mailing List (http://www.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] ROUND inconsistency
Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I didn't see it. MySQL should not return 2 for round(2.5), but it should return 3. I think it's MySQL bug. How about ask in MySQL mailing list? -- Yasuo Ohgaki ""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message 9b60qv$v9b$[EMAIL PROTECTED]">news:9b60qv$v9b$[EMAIL PROTECTED]... MySQL is returning floor. (I'm not a MySQL heavy user, though :) PHP's result is correct for its function name, I think. If MySQL returns floor for round(), how about use floor() in PHP? Regards, -- Yasuo Ohgaki "Lee Howard" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Using MySQL 3.23.32 on RedHat Linux 7.0... MySQL's ROUND function rounds 5 up when the preceding digit is odd and down when the preceding digit is even. mysql select round(1.5); ++ | round(1.5) | ++ | 2 | ++ 1 row in set (0.00 sec) mysql select round(2.5); ++ | round(2.5) | ++ | 2 | ++ 1 row in set (0.00 sec) I think that this is technically the correct behavior, scientifically, anyway. However, this is not the common "lay-man's" method of rounding, which is to always round 5 up, as exhibited by PHP-4.0.4pl1... ? echo round(1.5); ? br ? echo round(2.5); ? Apache 1.3.14 output for this is: 2 3 This discrepancy causes a difficulty in programming PHP and MySQL together, for example, because all of the rounding must be done in either PHP or MySQL but not both partially unless you want conflicting data. I would like to see MySQL ROUND() syntax expand to be ROUND(X,D,M) where optional M value indicates the method of rounding, the default being the current method. I would also like to see PHP round() syntax expand to be double round (double val [, int precision] [, char method]) where the optional method value indicates the method of rounding, the default being the current method. Thanks. Lee Howard -- PHP General Mailing List (http://www.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] return parse error
At 03:56 AM 4/13/2001, Peter Harkins wrote: This generates a parse error: mysql_connect("localhost", "root", "rootpw") or return("bar"); But all the following work fine: mysql_connect("localhost", "root", "rootpw") or die("bar"); mysql_connect("localhost", "root", "rootpw") or print("bar"); if (!mysql_connect("localhost", "root", "rootpw")) { return("bar"); } Why? mysql_connect returns false on failure either way... I notice die return isn't a function but a language construct. This is why the third working line with the curlybraces works, and without them it doesn't. include() is a language construct too. the particulars of using language constructs (like return() and include()) with control structure syntax are explained on the page for include(). http://us2.php.net/manual/en/function.include.php -j (aka sneak) -- [EMAIL PROTECTED] - 0x514DB5CB he who lives these words shall not taste death becoming nothing yeah yeah forever liquid cool -- PHP General Mailing List (http://www.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] apache module win32
Hello, I am looking for a compiled win32 apache module for php4, I suppose this is a DLL, can anyone tell me where I can find this? Otherwise I'll have to install Visual C or something. The more features the better I suppose. Thanks, Dominick -- PHP General Mailing List (http://www.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] apache module win32
Dominick Vansevenant wrote: I am looking for a compiled win32 apache module for php4, I suppose this is a DLL, can anyone tell me where I can find this? Otherwise I'll have to install Visual C or something. The more features the better I suppose. http://www.php4win.de regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.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] What variable are being sent to my script?
"Brandon Orther" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I there a way for me to find out what variables are being sent to script? Example: http://www.myscript.com/myscript.php?var1=asdfvar2=asdf that above would be $var1 and $var2 if it is a form with post as method you can use this script to see all submitted vars: while (list($key, $value)=each($HTTP_POST_VARS) ) { echo "$key = $value br"; } Johannes -- PHP General Mailing List (http://www.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: [PHP-QA] Looking for users list
Cyril Beaussier wrote: I m looking for a list of PHP business web sites Yahoo, HP, IBM or Amazon use PHP for its official site? Thanks for help The QA in php-qa@ does not stand for "Questions Answers", but for "Quality Assurance". Please ask your question on the php-general mailinglist, thank you. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-bergmann.de bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.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]
[PHP] Re: stdin/stderr
Is there a way to execute a system command and get both stdin and stderr into separate variables (without storing either one of them into a temp file)? -- PHP General Mailing List (http://www.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] apache module win32
Thanks, that was fast :-) D. -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Sent: vrijdag 13 april 2001 11:01 To: Dominick Vansevenant; Php-General Subject: Re: [PHP] apache module win32 Dominick Vansevenant wrote: I am looking for a compiled win32 apache module for php4, I suppose this is a DLL, can anyone tell me where I can find this? Otherwise I'll have to install Visual C or something. The more features the better I suppose. http://www.php4win.de regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.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] no reponse -- Need FTP help
On Friday 13 April 2001 06:09, you wrote: hmm, good idea, but the only access I have to the remote machine is ftp. Can't put a script on it. I am getting the feeling that I Er, yes, that's the point :) You want to move files from host A (webserver with PHP installed) to host B (ftp access only), right? Then you can write a script on A that, using the ftp functions built into PHP, transfers the files to B -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "The number of Unix installations has grown to 10, with more expected." -- The Unix Programmer's Manual, 2nd Edition, June 1972 -- PHP General Mailing List (http://www.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] Easy News Script
On Friday 13 April 2001 04:36, you wrote: It's easy once you get the hang of it. I use: // Format of MySQL DATETIME timestamp. $time = date("Y-m-d H:i:s"); $time is ready for insertion into MySQL. To get the time out though you'll need to use the unix timestamp function in mysql. Using MySQL's NOW() function is a bit easier :) That's a bit tougher to get the hang of :) SELECT FROM_UNIXTIME(time_field) AS foo FROM mytable; -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "The number of Unix installations has grown to 10, with more expected." -- The Unix Programmer's Manual, 2nd Edition, June 1972 -- PHP General Mailing List (http://www.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] Developing new PHP modules
There was an article in the January 2001 issue of Webtechniques (http://www.webtechniques.com) titled "Extending PHP" where Sterling Hughes builds a module for converting between Roman and Arabic numerals. /BoK "Carlos Serro" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I don't know if I'm in the correct mailling list or not, but could someone provide me with some information about the developement of new PHP modules (documentation, source-code, ...) ? Thanks in advance. Best regards, _ Carlos Serro [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel.: +351217903064/+351217903901 Fax: +351217935300 -- Bo Kleve Mail: [EMAIL PROTECTED] Linkoping University Phone: +46 13 281761 Sweden Fax: +46 13 284400 -- PHP General Mailing List (http://www.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: ROUND inconsistency
Lee Howard writes: Using MySQL 3.23.32 on RedHat Linux 7.0... MySQL's ROUND function rounds 5 up when the preceding digit is odd and down when the preceding digit is even. mysql select round(1.5); ++ | round(1.5) | ++ | 2 | ++ 1 row in set (0.00 sec) mysql select round(2.5); ++ | round(2.5) | ++ | 2 | ++ 1 row in set (0.00 sec) I think that this is technically the correct behavior, scientifically, anyway. However, this is not the common "lay-man's" method of rounding, which is to always round 5 up, as exhibited by PHP-4.0.4pl1... ? echo round(1.5); ? br ? echo round(2.5); ? Apache 1.3.14 output for this is: 2 3 This discrepancy causes a difficulty in programming PHP and MySQL together, for example, because all of the rounding must be done in either PHP or MySQL but not both partially unless you want conflicting data. I would like to see MySQL ROUND() syntax expand to be ROUND(X,D,M) where optional M value indicates the method of rounding, the default being the current method. I would also like to see PHP round() syntax expand to be double round (double val [, int precision] [, char method]) where the optional method value indicates the method of rounding, the default being the current method. Thanks. Lee Howard Hi! This topic has been covered in all depth on [EMAIL PROTECTED] Please search the archives on ROUND and you will find all info. Regards, Sinisa __ _ _ ___ == MySQL AB /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED] /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus /*/ /*/ /*/\*\_/*/ \*\_/*/ |*| /*/^^^\*\^^^ /*/ \*\Developers Team -- PHP General Mailing List (http://www.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] MySQL for translation ?
I have a web site for online ads. I want to translate my web site in at least 3 languages. The main problem is that I don't know which solution I should use... I have one solution but I think it will slow down my web site... The solution is: put all the words (or phrases) in a database and just do some selects in the database. the table it will look like this (example): Id WordEn Ro 1 Iagree I agree.Sunt de acord. I will select using "Iagree" identifier and I will get the translation in both languages. The question is... It will slow down a lot this procedure in case of a web site full with pages, search engine, forum, boards etc., and minimum 10.000 visitors a day ? Thanx a lot Marian -- PHP General Mailing List (http://www.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-CVS] cvs: php4 /ext/gd config.m4 gd.c php_gd.h
wez Fri Apr 13 05:00:12 2001 EDT Modified files: /php4/ext/gdconfig.m4 gd.c php_gd.h Log: Added GD 2.0.1 support. Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.54 php4/ext/gd/config.m4:1.55 --- php4/ext/gd/config.m4:1.54 Tue Mar 27 12:34:26 2001 +++ php4/ext/gd/config.m4 Fri Apr 13 05:00:12 2001 @@ -23,7 +23,32 @@ ]) ]) +AC_DEFUN(PHP_GD_PNG,[ +AC_MSG_CHECKING([for libpng (needed by gd-2.0)]) +AC_ARG_WITH(png-dir, +[ --with-png-dir[=DIR] GD: png dir for gd-2.0+],[ + AC_MSG_RESULT(yes) + if test "$withval" = "yes"; then +withval="/usr/local" + fi + jold_LIBS=$LIBS + LIBS="$LIBS -L$withval/lib" + AC_CHECK_LIB(png,png_info_init, [LIBS="$LIBS -lpng"],[AC_MSG_RESULT(no)],) + LIBS=$jold_LIBS + if test "$shared" = "yes"; then +GD_LIBS="$GD_LIBS -lpng" +GD_LFLAGS="$GD_LFLAGS -L$withval/lib" + else +PHP_ADD_LIBRARY_WITH_PATH(png, $withval/lib) + fi + LIBS="$LIBS -L$withval/lib -lpng" +],[ + AC_MSG_RESULT(no) + AC_MSG_WARN(If configure fails try --with-png-dir=DIR) +]) +]) + AC_DEFUN(PHP_GD_XPM,[ AC_MSG_CHECKING([for libXpm (needed by gd-1.8+)]) AC_ARG_WITH(xpm-dir, @@ -44,8 +69,31 @@ AC_MSG_WARN(If configure fails try --with-xpm-dir=DIR) ]) ]) - +AC_DEFUN(PHP_GD_FREETYPE,[ + AC_MSG_CHECKING([for freetype(2) (needed by gd 2.0+)]) + AC_ARG_WITH(freetype-dir, + [ --with-freetype-dir[=DIR]GD: freetype 2 dir for gd 2.0+],[ + for i in /usr /usr/local "$CHECK_FREETYPE" ; do + if test -f "$i/include/freetype2/freetype/freetype.h"; then + FREETYPE2_DIR="$i" + FREETYPE2_INC_DIR="$i/include/freetype/freetype2" + fi + done + if test -n "$FREETYPE2_DIR" ; then + AC_DEFINE(HAVE_LIBFREETYPE,1,[ ]) + PHP_ADD_LIBRARY_WITH_PATH(freetype, $FREETYPE2_DIR/lib) + PHP_ADD_INCLUDE($FREETYPE2_INC_DIR) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no (freetype2 not found)) + fi + ],[ + AC_MSG_RESULT(no) + AC_MSG_RESULT(If configure fails, try +--with-freetype2-dir=DIR) + ]) +]) + AC_DEFUN(PHP_GD_CHECK_VERSION,[ AC_CHECK_LIB(z, compress, LIBS="-lz $LIBS",,) AC_CHECK_LIB(png,png_info_init, LIBS="-lpng $LIBS",,) @@ -58,6 +106,9 @@ AC_CHECK_LIB(gd, gdImageWBMP,[AC_DEFINE(HAVE_GD_WBMP, 1, [ ])]) AC_CHECK_LIB(gd, gdImageCreateFromJpeg, [AC_DEFINE(HAVE_GD_JPG, 1, [ ])]) AC_CHECK_LIB(gd, gdImageCreateFromXpm, [AC_DEFINE(HAVE_GD_XPM, 1, [ ])]) +AC_CHECK_LIB(gd, gdImageCreateTrueColor, [AC_DEFINE(HAVE_LIBGD20, 1, [ ])]) +AC_CHECK_LIB(gd, gdImageSetTile, +[AC_DEFINE(HAVE_GD_IMAGESETTILE, 1, [ ])]) +AC_CHECK_LIB(gd, gdImageSetBrush, +[AC_DEFINE(HAVE_GD_IMAGESETBRUSH, 1, [ ])]) ]) @@ -84,7 +135,9 @@ PHP_WITH_SHARED old_withval=$withval PHP_GD_JPEG + PHP_GD_PNG PHP_GD_XPM + PHP_GD_FREETYPE withval=$old_withval AC_MSG_CHECKING(whether to include GD support) @@ -183,6 +236,8 @@ if test "$with_gd" != "no" test "$ac_cv_lib_gd_gdImageLine" = "yes"; then CHECK_TTF="yes" + + AC_ARG_WITH(ttf, [ --with-ttf[=DIR]GD: Include FreeType 1.x support],[ if test $withval = "no" ; then @@ -191,7 +246,7 @@ CHECK_TTF="$withval" fi ]) - + AC_MSG_CHECKING(whether to include FreeType 1.x support) if test -n "$CHECK_TTF" ; then for i in /usr /usr/local "$CHECK_TTF" ; do Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.121 php4/ext/gd/gd.c:1.122 --- php4/ext/gd/gd.c:1.121 Fri Apr 6 11:01:52 2001 +++ php4/ext/gd/gd.cFri Apr 13 05:00:12 2001 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: gd.c,v 1.121 2001/04/06 18:01:52 sniper Exp $ */ +/* $Id: gd.c,v 1.122 2001/04/13 12:00:12 wez Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -149,6 +149,24 @@ PHP_FE(imagecopymerge, NULL) PHP_FE(imagecopyresized,NULL) PHP_FE(imagecreate, NULL) + + PHP_FE(imagecreatetruecolor,NULL) +
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4
Hi, I'll spare you from the stuff with stupid question and answers http://httpd.apache.org/dist/httpd/binaries/win32/ is the address to the win32 binary. get 1.3.19 cause some more einvironment variables are supported. To set the wholee thing up I can recommend this: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ covers the installation of PHP, Apache, MySQL and SSL. good luck Johannes "Peter Van Dijck" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Apologies if this is off topic, and apologies for double posting to the install list! I'm just completely stuck... for home development I want to install apache and phph and mysql on win NT 4. It's my first time. I was trying to find the apache install for win but I can't seem to find it here: http://httpd.apache.org/dist/httpd/ On this page: http://httpd.apache.org/docs/windows.html it says: "You should download the binary build of Apache for Windows named as apache_1_3_#-win32-with_src.msi if you are interested in the source code, or simply apache_1_3_#-win32-no_src.msi if you don't plan to do anything with the source code and appreciate a faster download" But I can't find that file for download! Is there any idiot's guide to doing these installs? (I'm going to have to turn mod-rewrite on, and maybe a few options for PHP but that will be it) Thanks for any help! I would really love to get this done this weekend asap... Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] getting all variables from session into array
I know this question has been up here before, but all the searches I did turned up with to many or no hits, so I couldn´t find anything. I want to get all the variables from a session and get them into an array like this: $sessionvar[userid] $sessionvar[user] $sessionvar[email] ... I think I remember something call vardump or something, but I could´t find it in the manual. Any thoughts? // Tobias -- PHP General Mailing List (http://www.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] install question: idiot guide to apache and phph and mysql on win NT 4
Ok, I have Apache running, and PHP running. However, when I look at http://localhost/test.php it works (e.g. phpinfo() shows all the info), but I get 3 popups: "Unable to load dynamic library 'php_pdf.dll' - The specified module could not be found." I click OK "The dynamic link library isqlt09a.dll could not be found in the specified path f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;." I click OK "Unable to load dynamic library 'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The specified module could not be found." I click OK So that is weird. Another weird thing is that at the top of any PHP page I put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4 Content-type: text/html " Any help / ideas? Thanks! This is going alright for my first time ever install ... :) Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] getting all variables from session into array
There is already such an array. It is $HTTP_SESSION_VARS -Rasmus On Fri, 13 Apr 2001, Tobias Talltorp wrote: I know this question has been up here before, but all the searches I did turned up with to many or no hits, so I couldn´t find anything. I want to get all the variables from a session and get them into an array like this: $sessionvar[userid] $sessionvar[user] $sessionvar[email] ... I think I remember something call vardump or something, but I could´t find it in the manual. Any thoughts? // Tobias -- PHP General Mailing List (http://www.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] MySQL for translation ?
Why don't you define all of those in seperate text files and include the correct text file according to the users' preference. You can take a look at how Mantis (it's a ligthning fast and small Bug Tracking tool) does this at http://mantisbt.sourceforge.net Oktay -Original Message- From: Marian Vasile [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 8:03 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL for translation ? I have a web site for online ads. I want to translate my web site in at least 3 languages. The main problem is that I don't know which solution I should use... I have one solution but I think it will slow down my web site... The solution is: put all the words (or phrases) in a database and just do some selects in the database. the table it will look like this (example): Id WordEn Ro 1 Iagree I agree.Sunt de acord. I will select using "Iagree" identifier and I will get the translation in both languages. The question is... It will slow down a lot this procedure in case of a web site full with pages, search engine, forum, boards etc., and minimum 10.000 visitors a day ? Thanx a lot Marian -- PHP General Mailing List (http://www.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] Weird Messages upon install upgrade
Hi All, Ive just run into some bizarre problem. I upgraded to a more recent version of PHP and have run into some bizarre problem. We were running version 4.0bsomething on a FreeBSD box with Apache and ive just installed 4.0.3pl1 and ive managed to get pretty much everything working, except for a couple of sites ive designed im coming up with some weird errors on functions which otherwise have been working fine. They only started appearing when I upgraded the version of PHP. Here is the errors im getting when I call the page. --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257 --- Now, line 257 looks like this (ive included the rest of the function, but the first line is line 257) --- function stripe($title,$bgcolor,$fgcolor) { global $darkcolor, $lightcolor; if (!$bgcolor !$fgcolor) { $bgcolor="$darkcolor"; $fgcolor="$lightcolor"; } ? table BORDER=0 WIDTH="100%" BGCOLOR=?echo($bgcolor)?trtd bfont color=?echo($fgcolor)? size=+1 FACE="helvetica,arial"nbsp; ? echo($title) ?/font/b/td/tr/table ? } - This isnt the only function which is causing me problems but this is the smallest one for an example. Is there something I havent compiled into PHP properly? or can there be something else? Any help on this would be greatly appreciated. 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] Parsing HTML tags
Could anyone tell me how to extract a string from between a pair of HTML tags? Specifically, I would like to extract the page title from between the title and /title tags. I have read the regular expression docs and I'm still a bit stuck. Can anyone help? Thanks in advance, Chris Empson [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] getting all variables from session into array
Does it act as a "normal" array like: $array = array(one = "Number One", two = "Number Two"); How would I go about to make this loop work (if I use the above array it works): while(list($key, $val) = each($HTTP_SESSION_VARS)) echo "$key - $val"; } Regards, // Tobias Talltorp "Rasmus Lerdorf" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... There is already such an array. It is $HTTP_SESSION_VARS -Rasmus On Fri, 13 Apr 2001, Tobias Talltorp wrote: I know this question has been up here before, but all the searches I did turned up with to many or no hits, so I couldn´t find anything. I want to get all the variables from a session and get them into an array like this: $sessionvar[userid] $sessionvar[user] $sessionvar[email] ... I think I remember something call vardump or something, but I could´t find it in the manual. Any thoughts? // Tobias -- PHP General Mailing List (http://www.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] Parsing HTML tags
I use this function function title($filename,$dir) { $loc = "path/to/dir/where/file/is"; if(is_file("$loc/$filename")) { $open=fopen("$loc/$filename","r"); while(!feof($open)) { $line=fgets($open,255); $string = $line; while(ereg( 'title([^]*)/title(.*)', $string, $regs ) ) { $string = $regs[2]; } } return $regs[1]; } } call it like so print(title("home.htm","web/articles")); The only drawback is if there is any tags in between the title/title tags it will not get the title, also if the title is on two lines like this titleThis is the title of my page/title it won't get the title either. hth Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Chris Empson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 8:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Parsing HTML tags Could anyone tell me how to extract a string from between a pair of HTML tags? Specifically, I would like to extract the page title from between the title and /title tags. I have read the regular expression docs and I'm still a bit stuck. Can anyone help? Thanks in advance, Chris Empson [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] Parsing HTML tags
// Get the webpage into a string $html = join ("", file ("http://www.altavista.com")); // Using eregi eregi("title(.*)/title", $html, $tag_contents); // Using preg_match (faster than eregi) // The i in the end means that it is a case insensitive match preg_match("/title(.*)\/title/i", $html, $tag_contents); $title = $tag_contents[1]; // Tobias "Chris Empson" [EMAIL PROTECTED] wrote in message 9b6vkl$jpf$[EMAIL PROTECTED]">news:9b6vkl$jpf$[EMAIL PROTECTED]... Could anyone tell me how to extract a string from between a pair of HTML tags? Specifically, I would like to extract the page title from between the title and /title tags. I have read the regular expression docs and I'm still a bit stuck. Can anyone help? Thanks in advance, Chris Empson [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] Calling Functions without all the arguments
On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257 --- Okay, ive managed to do some more playing, and come up with some more info. The above error only shows up when I have a function being called without all the arguments filled in. For example, if I have a function as "function blah($foo,$bar)" and call the function with both $foo and $bar set, it will run just fine. But if I call it with only $foo it comes up with these errors. The thing is, the previous version of PHP must have alowed me to call functions without all the arguments and it never batted an eyelid or gave an error. My question is, is there something I didnt compile into the new PHP, or is there a line in php.ini file I need to modify so that it doesnt show these errors up (or should I adjust my code so that I dont call functions without all the arguments) ? 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 Digest 13 Apr 2001 14:15:39 -0000 Issue 625
php-general Digest 13 Apr 2001 14:15:39 - Issue 625 Topics (messages 48388 through 48446): MySQL Results NULL Error 48388 by: Chris Anderson Fetch_row 48389 by: Mike P 48417 by: Steve Edberg 48418 by: John Keith Re: is_null 48390 by: CC Zona 48398 by: Plutarck removing slashes from template file 48391 by: Franklin Hays 48400 by: Chris Adams 48401 by: Franklin Hays 48402 by: Plutarck 48403 by: Franklin Hays 48404 by: Chris Adams Curser 48392 by: Mike P Re: Newsgroups like this one? 48393 by: Plutarck Re: Easy News Script 48394 by: Plutarck 48431 by: Christian Reiniger Re: Newbie MySQL Table Work 48395 by: Plutarck Re: Problem? 48396 by: Plutarck Re: What variable are being sent to my script? 48397 by: Plutarck 48426 by: Johannes Janson Re: no reponse -- Need FTP help 48399 by: Plutarck 48405 by: David Minor 48406 by: trogers 48407 by: Plutarck 48430 by: Christian Reiniger Re: ROUND inconsistency 48408 by: Yasuo Ohgaki 48421 by: Yasuo Ohgaki 48434 by: Sinisa Milivojevic Getting one of each result from MySQL 48409 by: Plutarck 48410 by: Jason N. Perkins 48411 by: Jason N. Perkins 48412 by: Jason N. Perkins crap! look at the mess that i made! 48413 by: Jason N. Perkins 48415 by: Plutarck Re: Do any of you provide hosting? 48414 by: Richard Kurth 48419 by: Plutarck Problem solved, thanks! 48416 by: Plutarck return parse error 48420 by: Peter Harkins 48422 by: Jeffrey Paul 48423 by: Yasuo Ohgaki apache module win32 48424 by: Dominick Vansevenant 48425 by: Alexander Wagner 48429 by: Dominick Vansevenant Re: [PHP-QA] Looking for users list 48427 by: Sebastian Bergmann Re: stdin/stderr 48428 by: Jake Fan install question: idiot guide to apache and phph and mysql on win NT 4 48432 by: Peter Van Dijck 48436 by: Johannes Janson 48438 by: Peter Van Dijck Re: Developing new PHP modules 48433 by: Bo Kleve MySQL for translation ? 48435 by: Marian Vasile 48440 by: Altunergil, Oktay getting all variables from session into array 48437 by: Tobias Talltorp 48439 by: Rasmus Lerdorf 48443 by: Tobias Talltorp Weird Messages upon install upgrade 48441 by: Chris Aitken Parsing HTML tags 48442 by: Chris Empson 48444 by: Brian Paulson 48445 by: Tobias Talltorp Calling Functions without all the arguments 48446 by: Chris Aitken Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- If I grab values from fields and they contain nothing, and I retrieve them using mysql_field_array, it will give an index out of range. Is there a way to prevent the error or do I have to keep putting a @ in front of the variable declaration? Can I use Mysql fetch_row to specify which row i want to get? Like---$row[5]=mysql_fetch_row($result) ? Mike P [EMAIL PROTECTED] At 2:17 AM + 4/13/01, Mike P wrote: Can I use Mysql fetch_row to specify which row i want to get? Like---$row[5]=mysql_fetch_row($result) ? Mike P [EMAIL PROTECTED] Are you talking about a specific row in the mySQL result set? If so, use the mysql_result() function. However, this function only returns one column at a time, so you'd have to loop, something like: $i=0; unset($row); while ($Value = mysql_result($ResultId, 4, $i)) { $row[] = $Value; $i++; } Note I used row # 4 in the mysql_result() call instead of 5, since (I'm 89% sure) row counts are 0-based. I'm also pretty sure you CANNOT use mysql_result() to position to the desired row, then use mysql_fetch_array() or a similar function to fetch the whole row. See http://www.php.net/manual/en/function.mysql-result.php for more info. You may be able to use the mysql LIMIT functionality to do what you want: $Query = 'SELECT * FROM table ORDER BY name LIMIT 4,1'; This grabs the fifth (again, row counts are 0-based) row. See http://www.mysql.com/doc/S/E/SELECT.html Incidentally, your original statement $row[5]=mysql_fetch_row($result); would simply create a 1-element array $row, with the array index 5. If this was your first fetch statement, $row[5] would still contain the first row of the result set. -steve -- +--- 12 April 2001: Forty years of manned spaceflight ---+ | Steve Edberg University of California, Davis | | [EMAIL PROTECTED] Computer
Re: [PHP] Calling Functions without all the arguments
Chris Aitken [[EMAIL PROTECTED]] wrote: On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257 --- Okay, ive managed to do some more playing, and come up with some more info. The above error only shows up when I have a function being called without all the arguments filled in. For example, if I have a function as "function blah($foo,$bar)" and call the function with both $foo and $bar set, it will run just fine. But if I call it with only $foo it comes up with these errors. The thing is, the previous version of PHP must have alowed me to call functions without all the arguments and it never batted an eyelid or gave an error. My question is, is there something I didnt compile into the new PHP, or is there a line in php.ini file I need to modify so that it doesnt show these errors up (or should I adjust my code so that I dont call functions without all the arguments) ? I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function abc($a='', $b='') // assigns null as parameter defaults that way, every parameter gets a value, even if all the parameters were not supplied in the call. HTH. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.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] Compile Problems
Configuration: Red Hat Linux 7.0 PHP 4.0 PL1 iODBC 3.0.4 Sablotron 0.5.1 Apache 1.3.19 We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support as a static module for Apache 1.3.19. Depending upon the combination of options, the module fails to build or builds and dies with the segmentation violation. Before debugging, I thought I would check around to see if this is a known problem. Thanks in advance. Rohan -- PHP General Mailing List (http://www.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] Calling Functions without all the arguments
On Fri, 13 Apr 2001, Hardy Merrill wrote: I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function abc($a='', $b='') // assigns null as parameter defaults that way, every parameter gets a value, even if all the parameters were not supplied in the call. This works great (thanks for that :). However my question now is, what is the general opinion about how to handle this. Is it better to call functions giving all arguments values (even if its an empty "" value) or is it fine to assign values from within the function as described above ? 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]
Re: [PHP] Calling Functions without all the arguments
If a function has not been defined to take optional arguments, then you *must* provide these arguments when you call the function. The fact that previous versions of PHP incorrectly let you do this was at best an undocumented misfeature, but more likely a bug. And yes, having optional arguments with the default value defined in the function definition is perfectly acceptable. -Rasmus On Sat, 14 Apr 2001, Chris Aitken wrote: On Fri, 13 Apr 2001, Hardy Merrill wrote: I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function abc($a='', $b='') // assigns null as parameter defaults that way, every parameter gets a value, even if all the parameters were not supplied in the call. This works great (thanks for that :). However my question now is, what is the general opinion about how to handle this. Is it better to call functions giving all arguments values (even if its an empty "" value) or is it fine to assign values from within the function as described above ? -- PHP General Mailing List (http://www.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] Compile Problems
I assume you mean PHP 4.0.4pl1 I would go grab a recent snapshot from http://snaps.php.net and see if that solves the problem. If it doesn't, let us know and we can try to track it down. If it does then it is obviously an issue that has been fixed and you can either just stick with the snapshot release or look at the Changelog and figure out which change fixed the issue and apply just that change to the 4.0.4pl1 release you are using. -Rasmus On Fri, 13 Apr 2001, Rohan Amin wrote: Configuration: Red Hat Linux 7.0 PHP 4.0 PL1 iODBC 3.0.4 Sablotron 0.5.1 Apache 1.3.19 We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support as a static module for Apache 1.3.19. Depending upon the combination of options, the module fails to build or builds and dies with the segmentation violation. Before debugging, I thought I would check around to see if this is a known problem. Thanks in advance. Rohan -- PHP General Mailing List (http://www.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] install question: idiot guide to apache and phph and mysql on win NT 4
Hi, thanks for the tips. first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. php_pdf.dll (the first error - the other errors seem to have stopped all by themselves) is actually in the /extensions/ subdir of php. (Php is installed in the cgi bin of Apache, I'm working on win NT 4) if they're there already, they're just not in your path. do whatever needs to be done on your computer to put them in the path (there are different ways to handle this if you're on Win95/98, WinNT, Win2000 and probably WinME. i'm only familiar with the Win95/98 (edit autoexec.bat), WinNT (i forget exactly, but i can find it if i've got it in front of me). no idea where you do that in Win2000 and ME though. what web server are you using? are you trying to do this in apache? if yes, you need to edit httpd.conf to tell it about php. that's easy, just search for the string "php" in httpd.conf and uncomment the relevant lines. it's pretty obvious (one line is Load-Module, the other is Add-Type). ok, did that, uncommented these 2 lines in the apache config file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I already had added these before: ScriptAlias /php4/ "F:/Program Files/Apache group/Apache/cgi-bin/PHP/" Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3 I restarted apache after doing this but I still get the "X-Powered-By: PHP/4.0.4 Content-type: text/html" on every php page. Any ideas? Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] Calling Functions without all the arguments
On Fri, 13 Apr 2001, Rasmus Lerdorf wrote: If a function has not been defined to take optional arguments, then you *must* provide these arguments when you call the function. The fact that previous versions of PHP incorrectly let you do this was at best an undocumented misfeature, but more likely a bug. Yeah, I kinda figured it would have been some sort of oversite with the beta version we were running. I pretty much started learning PHP using this install of PHP4 so I guess I picked up some bad habits learning along the way becase the install of PHP never stopped me, so I never knew there was a problem and never investigated my code. 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] I know POST Uploads, what about downloads?
I have a large script set that allows people I host to manage their files on my server until they have a FTP account setup. Unfortunately the only way they can save an uploaded file is to r-click on the link in the managers listing and choose "Save link target". This obviously doesn't work for PHP or ASP(ugh) because the browser parses them THEN sends it to the client. Is there anyway to allow the client to download the actual unparsed file? Any help would be appreciated ^_^
[PHP] how to get num of sessions vars?
I thought this would work.. $num = count($HTTP_SESSION_VARS); ..but it doesn't. I can access the session vars themselves, so I know they're there. Help. -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]
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4 - solved!
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to the windows/winnt/system32 directory (it was just a hunch) and behold, it worked brilliantly!! Thanks! Now I just have to figure out how to: 1- get mysql to work 2- get virtual domains to worl Peter hello, i'm not an expert on apache/php for windows, so i won't go on the list so as not to pollute it with possibly wrogn answers. the following are generic troubleshooting things, not specific to your question. caveat emptor :). On Fri, 13 Apr 2001, you wrote: "Unable to load dynamic library 'php_pdf.dll' - The specified module could "The dynamic link library isqlt09a.dll could not be found in the specified path f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;." "Unable to load dynamic library 'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The specified module could not be found." first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. if they're not there, you'll need to find them somewhere on the web. or, if you don't need them, find an apache/php installer that doesn't require them. sorry, can't help you there. i work in Unix, i always build my own apache and php with all modules they need. the only time i installed on Windows, it worked like a charm since the module i was installing from already had everything it needed. if they're there already, they're just not in your path. do whatever needs to be done on your computer to put them in the path (there are different ways to handle this if you're on Win95/98, WinNT, Win2000 and probably WinME. i'm only familiar with the Win95/98 (edit autoexec.bat), WinNT (i forget exactly, but i can find it if i've got it in front of me). no idea where you do that in Win2000 and ME though. Another weird thing is that at the top of any PHP page I put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4 Content-type: text/html " what web server are you using? are you trying to do this in apache? if yes, you need to edit httpd.conf to tell it about php. that's easy, just search for the string "php" in httpd.conf and uncomment the relevant lines. it's pretty obvious (one line is Load-Module, the other is Add-Type). if no, then you'll need to find a way to tell the web server about PHP. either that, or you can (somehow) configure PHP to execute with -q, i.e., in "quiet" mode. that stops it from printing those two lines. but then you'll have to make sure on your own that the Content-type is set correctly in your web browser. feel free to quote any of this on the list if you think it might help someone else help you. good luck. tiger -- Gerald Timothy Quimpo [EMAIL PROTECTED] http://members.xoom.com/TigerQuimpo entia non sunt multiplicanda veritas liberabit vos praetere necessitatemmene sakhet ur-seveh ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!
I am so tired of receivng multiple error emails when I post
Re: [PHP] how to get num of sessions vars?
Hey Dave, you can try the following: num = sizeof($HTTP_SESSION_VARS); regards keyur - Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 8:40 PM Subject: [PHP] how to get num of sessions vars? I thought this would work.. $num = count($HTTP_SESSION_VARS); ..but it doesn't. I can access the session vars themselves, so I know they're there. Help. -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 General Mailing List (http://www.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] I know POST Uploads, what about downloads?
Hello, Someone posted this a couple of days ago, might help you. $headertxt = "Content-Disposition: attachment; filename=\"".$filename."\""; header("Content-Type: application/force-download");header($headertxt); py At 09:51 AM 4/13/01 -0400, you wrote: I have a large script set that allows people I host to manage their files on my server until they have a FTP account setup. Unfortunately the only way they can save an uploaded file is to r-click on the link in the managers listing and choose "Save link target". This obviously doesn't work for PHP or ASP(ugh) because the browser parses them THEN sends it to the client. Is there anyway to allow the client to download the actual unparsed file? Any help would be appreciated ^_^ + == + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [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] getting all variables from session into array
On Friday 13 April 2001 16:03, you wrote: Does it act as a "normal" array like: $array = array(one = "Number One", two = "Number Two"); How would I go about to make this loop work (if I use the above array it works): while(list($key, $val) = each($HTTP_SESSION_VARS)) echo "$key - $val"; } Exactly like that -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) I saw God - and she was black. -- PHP General Mailing List (http://www.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] Do any of you provide hosting?
Check out www.eaccounts.net. Im using them for my sites. They support basically everything and anything they dont have they are willing to add. The best part is they charge based on an actual usage instead of charging you for things you dont use because its part of a 'package'. Jeff Pearson -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 7:34 AM To: PHP Subject: [PHP] Do any of you provide hosting? I currently am using Thehostpros.com for my hosting, but I can't say its been a pleasant experience. I had to have them install PHP because they are more ASP oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months saying they'll install that. Basicly here's what I need: Someone who can host my domain (I own the domain already) Can provide MySQL and PHP. Both up-to-date. Can give around 60 meg of space (ballpark, less should be fine) Also a way to set up subdomains without needing to go through the admin (some hosts can do his). But this isn't necessary. Can anyone help with that? -- PHP General Mailing List (http://www.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] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!
I agree. Why do the newsgroup forward some of the messages to this guy? Attack? - Richard ""Chris Anderson"" [EMAIL PROTECTED] wrote in message 005701c0c42d$2b6e5f80$c61012d1@null">news:005701c0c42d$2b6e5f80$c61012d1@null... I am so tired of receivng multiple error emails when I post -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] how to get num of sessions vars?
Thanks, another quick question. That works and I can access the variables still but this for ($x=0;$x$s;$x++) { $tmp = $HTTP_SESSION_VARS[$x]; echo("ptmp=$tmp/p\n"); } outputs tmp= Why? How do I cycle through each session var and get its name and value? ""Keyur Kalaria"" [EMAIL PROTECTED] wrote in message 006501c0c42e$ba839860$2d64a8c0@office">news:006501c0c42e$ba839860$2d64a8c0@office... Hey Dave, you can try the following: num = sizeof($HTTP_SESSION_VARS); regards keyur - Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 8:40 PM Subject: [PHP] how to get num of sessions vars? I thought this would work.. $num = count($HTTP_SESSION_VARS); ..but it doesn't. I can access the session vars themselves, so I know they're there. Help. -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 General Mailing List (http://www.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] What variable are being sent to my script?
Loop through $HTTP_POST_VARS Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 4:28 PM To: PHP User Group Subject: [PHP] What variable are being sent to my script? Hello, I there a way for me to find out what variables are being sent to script? Example: http://www.myscript.com/myscript.php?var1=asdfvar2=asdf that above would be $var1 and $var2 Thanks Brandon -- PHP General Mailing List (http://www.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] file upload
hi! I've php4.0.4pl1 and apache1.3.14 installed and I got a problem after the file is uploaded, using the copy function. The uploaded file was automatically added 2 lines in the beggining of the file, tellling the content-type of the file. Is there any way not to write those line into the uploaded file? 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] Developing new PHP modules
Some potentially useful links : Zend API Documentation : - http://www.zend.com/zend/api.php Extending PHP : - http://www.webtechniques.com/archives/2001/01/junk/ Writing a simple PHP extension : - http://www.uk.research.att.com/~qsf/phpmodule/ A related post on extending PHP : - http://marc.theaimsgroup.com/?l=php-generalm=98033228530307 Another response: - http://marc.theaimsgroup.com/?l=php-generalm=97865440227175 Also have a look around the archives for a few discussions on the matter, there have been a few. Regards, philip On Fri, 13 Apr 2001, Bo Kleve wrote: There was an article in the January 2001 issue of Webtechniques (http://www.webtechniques.com) titled "Extending PHP" where Sterling Hughes builds a module for converting between Roman and Arabic numerals. /BoK "Carlos Serrão" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I don't know if I'm in the correct mailling list or not, but could someone provide me with some information about the developement of new PHP modules (documentation, source-code, ...) ? Thanks in advance. Best regards, _ Carlos Serrão [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel.: +351217903064/+351217903901 Fax: +351217935300 -- Bo Kleve Mail: [EMAIL PROTECTED] Linkoping University Phone: +46 13 281761 Sweden Fax: +46 13 284400 -- PHP General Mailing List (http://www.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] How to I convert the PHP variable back into Javascript?
When I use the form post or get method and when submitted, goes to the next page. I can get the data in PHP by adding the "$" to the javascript / html variable. I have not been able to put the php variable back into javascript variable for javascript scripting. I doubt if it would work if I assign the php variable to the html variable then have the javascript pick it up. Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to I convert the PHP variable back into Javascript?
SF I have not been able to put the php variable back into javascript variable SF for javascript scripting. I doubt if it would work if I assign the php SF variable to the html variable then have the javascript pick it up. You don't have "HTML variables"... you have form's fields with a VALUE. Do something like: INPUT TYPE=text NAME=firstname VALUE="? print $firstname; ?" for all your fields. Cheers, Gianluca -- ALBASOFTWARE C/ Mallorca 186 - 3 1 08036 Barcelona (Spain) Tel. +34 93454009 - +34 934549324 Fax. +34 934541979 @@ ICQ 47323154 @@ [EMAIL PROTECTED] http://www.albasoftware.com http://www.phpauction.org http://www.gianlucabaldo.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] install question:php and mysql on win NT 4
Hi, I installed php4 and apache on Win NT, it all works. Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in So it can't save those session variables. Do I need to change permissions? Or set up a folder? If so where / how? Also: I can't seem to get mysql working. I can install it, but I'm used to using it on *nix. How can I open a command line and start building databases? Thanks for any answers / hints / ideas / links! Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] install question:php and mysql on win NT 4
As far as mysql on windows goes i think you can just use the DOS command line to type mysql as wellas use their MySqlManager.exe. But if you are used to unix stick with the DOS command line and make sure you are in the mysql/bin directory and it should be the same interface - Original Message - From: "Peter Van Dijck" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 10:23 AM Subject: [PHP] install question:php and mysql on win NT 4 Hi, I installed php4 and apache on Win NT, it all works. Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in So it can't save those session variables. Do I need to change permissions? Or set up a folder? If so where / how? Also: I can't seem to get mysql working. I can install it, but I'm used to using it on *nix. How can I open a command line and start building databases? Thanks for any answers / hints / ideas / links! Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] file upload
Is there any way not to write those line into the uploaded file? It's a bug in 4.0.4pl1 on (AFAIK) RH7 and Apache. Will be fixed in 4.0.5. You can't avoid them, but use something like the following to strip them out: /* void fix_broken_header(reference file) * Incorporates fix for problem with Apache PHP 4.0.4p1 * on Red Hat 7, where the content-type header is appended to the image data, * corrupting it. See www.php.net/bugs.php?id=9298 - it took me a *long* time to * figure out what the fsck was going on! * * 02/04/2001 - oddly enough it doesn't happen w/NS4.74 on Win or Linux only IE5 NS6 */ function fix_broken_header($image) { $new_image = "$image.new"; // Open the file for the copy $infile=fopen($image,"rb"); $outfile=fopen($new_image,"w"); // test for broken header $header=fgets($infile,255); if (eregi("content-type:", $header)) { $header=fgets($infile,255); // ditch next line } else { return; // do nothing } // Loop through the remaining file while(!feof($infile)) { $temp = fread($infile,128); fwrite($outfile,$temp,strlen($temp)); } fclose($outfile); fclose($infile); unlink($image); $image = $new_image; } -- PHP General Mailing List (http://www.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] install question:php and mysql on win NT 4
Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in Looks like your session.save_path is set incorrectly - set it to a sensible windows path (eg C:\php\session or similar) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.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] URGENT: Session problem not carrying UserName over
I have this calendar and it's supposed to print out the word "Activity" if there is an event booked on that day. Everything works great except the query isn't finding the username. I did a print "$CUserName is CUserName" and it works great - so I know I started my session and it's accessible but when I put inside the query, it doesn't show up. I tried passing it through the browser and passing the entire session through the browser and still no dice. I also checked my php.ini file and ALL of my globals are on. Here's my coding, I really hope someone can help me figure this thing out. Thanks, Mike ?PHP session_start(); include ("dblib.inc"); ? !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head titleLDSAlberta.com: Personal Calendar/title Link href="arial.css" rel="stylesheet" title="arial" type="text/css" /head body img src="pics/logo.gif" BR div align="center"font size="4"Calendar of Events/font BR hr BR ?PHP mk_drawCalendar($m,$y); ?/div div align="center" ?PHP // Draw the Calendar global $CUserName; function mk_drawCalendar($m,$y) { if ((!$m) || (!$y)) { $m = date("m",mktime()); $y = date("Y",mktime()); if ($m==1) $themonth="jan"; else if ($m==2) $themonth="feb"; else if ($m==3) $themonth="mar"; else if ($m==4) $themonth="apr"; else if ($m==5) $themonth="may"; else if ($m==6) $themonth="jun"; else if ($m==7) $themonth="jul"; else if ($m==8) $themonth="aug"; else if ($m==9) $themonth="sept"; else if ($m==10) $themonth="oct"; else if ($m==11) $themonth="nov"; else if ($m==12) $themonth="dec"; } // get what weekday the first is on / $tmpd = getdate(mktime(0,0,0,$m,1,$y)); $month = $tmpd["month"]; $firstwday= $tmpd["wday"]; $lastday = mk_getLastDayofMonth($m,$y); ? font size=1Click on date to see details/font table cellpadding=2 cellspacing=0 border=1 tr td colspan=7 bgcolor="#99" table cellpadding=0 cellspacing=0 border=0 width="100%" tr th width="100" a href="?=$SCRIPT_NAME??m=?=(($m-1)1) ? 12 : $m-1 ?y=?=(($m-1)1) ? $y-1 : $y ?"lt;lt;/a /th thfont size=2?="$month $y"?/font/th th width="100" a href="?=$SCRIPT_NAME??m=?=(($m+1)12) ? 1 : $m+1 ?y=?=(($m+1)12) ? $y+1 : $y ?"gt;gt;/a /th /tr /table /td /tr tr th width=100 class="tcell"Sunday/th th width=100 class="tcell"Monday/th th width=100 class="tcell"Tuesday /th th width=100 class="tcell"Wednesday/th th width=100 class="tcell"Thursday/th th width=100 class="tcell"Friday/th th width=100 class="tcell"Saturday/th /tr ?PHP $d = 1; $wday = $firstwday; $firstweek = true; //Loop Through to last day while ( $d = $lastday) { //blanks for first week if ($firstweek) { print "tr"; for ($i=1; $i=$firstwday; $i++) { print "th height=100 bgcolor=#CCfont size=2nbsp;/font /th"; } $firstweek = false; } //checks for event if($numrows=1) { //Event exists print "td class='tcell' bgcolor=#CC valign=\"top\" height=\"100\" a href=calendardetails.php?ADay=$dAMonth=$themonthAYear=$y target=\"new_window\"B$d/b/a /td"; } else { //Event doesn't exist print "td class='tcell' bgcolor=#CC valign=\"top\" height=\"100\" a href=calendardetails.php?ADay=$dAMonth=$themonthAYear=$y target=\"new_window\"B$d/b/a"; /// // PROBLEM IS HERE CUserName doesn't show up $eventrows = 0; $query = "SELECT * FROM activities WHERE CUserName='$CUserName' AND ADay='$d' AND AMonth='$themonth' AND AYear='$y'"; print "font size=-1$query/font"; // /// $result = mysql_query($query); $eventrows =
[PHP-CVS] cvs: php4 /ext/standard string.c
thies Fri Apr 13 11:22:14 2001 EDT Modified files: /php4/ext/standard string.c Log: @- Fixed crash in pathinfo() Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.194 --- php4/ext/standard/string.c:1.193Mon Feb 26 07:49:38 2001 +++ php4/ext/standard/string.c Fri Apr 13 11:22:13 2001 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: string.c,v 1.193 2001/02/26 15:49:38 andi Exp $ */ +/* $Id: string.c,v 1.194 2001/04/13 18:22:13 thies Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -902,7 +902,7 @@ int idx; p = strrchr(Z_STRVAL_PP(path), '.'); - if (*p) { + if (p) { idx = p - Z_STRVAL_PP(path); add_assoc_stringl(tmp, "extension", Z_STRVAL_PP(path) + idx + 1, len - idx - 1, 1); } -- PHP CVS Mailing List (http://www.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] install question:php and mysql on win NT 4
more probs: I shut down my machine and restarted, now apache won't run properly. Typing localhost gives server error: The server encountered an internal error or misconfiguration and was unable to complete your request. There is nothing in the server error logs. ... I don't know where to start ... help? Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] URGENT: Session problem not carrying UserName over
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Mike Yuen") wrote: /// // PROBLEM IS HERE CUserName doesn't show up $eventrows = 0; $query = "SELECT * FROM activities WHERE CUserName='$CUserName' AND ADay='$d' AND AMonth='$themonth' AND AYear='$y'"; print "font size=-1$query/font"; // /// Your only other reference to $CUserName prior to this is: ?PHP // Draw the Calendar global $CUserName; Right now that line is outside the function in which $CUserName is called. 'global' should be used *inside any function in which you want to make use of a variable from the global namespace instead of the function's local namespace. -- 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] install question:php and mysql on win NT 4
Apache on NT is a service, check on control panel/services to see if it is running, beyond that i would need more details ... - Original Message - From: "Peter Van Dijck" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 11:46 AM Subject: Re: [PHP] install question:php and mysql on win NT 4 more probs: I shut down my machine and restarted, now apache won't run properly. Typing localhost gives server error: The server encountered an internal error or misconfiguration and was unable to complete your request. There is nothing in the server error logs. ... I don't know where to start ... help? Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.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] how to put javascript array into php array?
Hi! How do I convert the javascript array into the PHP array? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] help with php java support
help! I'm trying to install java support for php here is the java section from php.ini [java] java.class.path=/usr/lib/php/extensions/php_java.jar java.home=/apps/java java.library.path=/usr/lib/php/extensions java.library=/usr/lib/php/extensions/libphp_java.so extension=libphp_java.so here are the contents of my php: ? $s = new Java ("java.lang.String", "This is a test String"); echo "s = $s\n"; ? when I first try and load my page I get: Fatal error: Unable to locate CreateJavaVM function in /var/www/html/java.php on line 2 after a few reloads I get, the following and the phpinfo java section is reset, any ideas? Fatal error: Unable to load Java Library /lib.so, error: /lib.so: cannot open shared object file: No such file or directory in /var/www/html/java.php on line 2 -- Spencer Gibb [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] casting arrays as objects
Can you cast an array to an object of your choosing? If so, will the keys of the array match up with the attributes of your object? Say I have a class like this: class Foo { var $foo; var $bar; function Foo($foo = '', $bar = '') { ... } ... } Then I have an array like: $array['foo'] = "Hello"; $array['bar'] = "world"; If I do this: $foo = new Foo(); $foo = (object)$array; I've seen something similar done, but how do you keep $foo from forgetting which class it belongs to? The second assignment is independent of the first one, so $foo should become a plain object and forget that it's a "Foo" object. Any ideas? By the way, I was thinking this would be a really nifty way to fetch rows from the database into a pre-written class instead of doing it all manually. You'd have all the object properties automatically set by: $my_object = (object)$db-fetchRow(DB_FETCHMODE_ASSOC); I'm just worried about the object losing its membership in its original class. Dean. -- PHP General Mailing List (http://www.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-CVS] cvs: php4(PHP_4_0_5) /ext/standard string.c
thies Fri Apr 13 11:23:08 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard string.c Log: @- Fixed crash in pathinfo() Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.193.2.1 --- php4/ext/standard/string.c:1.193Mon Feb 26 07:49:38 2001 +++ php4/ext/standard/string.c Fri Apr 13 11:23:07 2001 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: string.c,v 1.193 2001/02/26 15:49:38 andi Exp $ */ +/* $Id: string.c,v 1.193.2.1 2001/04/13 18:23:07 thies Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -902,7 +902,7 @@ int idx; p = strrchr(Z_STRVAL_PP(path), '.'); - if (*p) { + if (p) { idx = p - Z_STRVAL_PP(path); add_assoc_stringl(tmp, "extension", Z_STRVAL_PP(path) + idx + 1, len - idx - 1, 1); } -- PHP CVS Mailing List (http://www.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] stdout/stderr
Is there a way to execute a system command and get both stdout and stderr into separate variables (without storing either one of them into a temp file)? -- PHP General Mailing List (http://www.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] Updating Sessions
Hi, I've got a multi page form and I'm using sessions to keep track of all the variables between the pages. SO I fill in page one of the form and add the variables to a session. Then I can go on completeing the rest etc. My problem is that I want my users to be able to go back to the pages they have already visited and edit the data (in the form) and then undate the variables in the session. But I can't update the session, so I thought if I called session_unregister and then session_register again then that would work, but it doesn't? How can I get around this? Thanks for any help, Jord -- PHP General Mailing List (http://www.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] Updating Sessions
In article 01041321314700.01991@localhost, [EMAIL PROTECTED] (Jordan Elver) wrote: Hi, I've got a multi page form and I'm using sessions to keep track of all the variables between the pages. SO I fill in page one of the form and add the variables to a session. Then I can go on completeing the rest etc. My problem is that I want my users to be able to go back to the pages they have already visited and edit the data (in the form) and then undate the variables in the session. But I can't update the session, so I thought if I called session_unregister and then session_register again then that would work, but it doesn't? Just change the variable's value. For instance: //$sess_var="old_val" if($update==TRUE) { $sess_var="new_val"; echo $sess_var //"new_val" } else { echo $sess_var //"old_val" } -- 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] PHP4 parsing canceled
Hello generals, I work since version 3.0.3 with PHP and had until today no problems with it. In this week, three Interpreter have adjusted her service to three same computers, with Win98 and OmniHTTPd, one after the other. I have tested all versions of PHP4, no one works more, also the newest not. Then I have replaced PHP4 with PHP3 and all problems were missing. This participates no lasting solution however since many Scriptes use the advantages of PHP4 which now works no longer. To the better understanding, I have a protocol-departure and the php.ini attached. It will be very happy me, if can be helped me. Therefore thank you in advance. With very hopeful greetings and all a glad Easter Norbert Pfeiffer _ tel+49-(0)2292-681769 mobil +49-(0)177-2363368 - e.o.m. -- PHP General Mailing List (http://www.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] ROUND inconsistency
In article 9b6c4v$m41$[EMAIL PROTECTED] you write: Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I didn't see it. MySQL should not return 2 for round(2.5), but it should return 3. I think it's MySQL bug. How about ask in MySQL mailing list? I don't think it's just a MySQL thing... it occurs in PostgreSQL as well... test= select version(); version PostgreSQL 7.0.3 on i386-unknown-freebsdelf4.1, compiled by gcc 2.95.2 (1 row) test= select round(1.5); round --- 2 (1 row) test= select round(2.5); round --- 2 (1 row) However, you could always do floor(number + .5) to consistent behaviour... -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] undefined symbol error
hello, I'm trying to compile on RedHat 6.1 (latest changes applied). I can compile with mysql support and using the apxs and it compiles fine and it runs. This works for both 3.0.16 and 4.0.4pl1. As soon as I try to compile in --with-imap. it comiles fine, but when I run it I get an undefined symbol and its looking for gss_mech_krb5. anyone have any ideas of what I need to install. I have installed all the latest kerberos packages from redhat, including the development packages. I running with kernel 2.2.17-14 and its apache 1.3.14 Curtis -- PHP General Mailing List (http://www.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] Sessions?
I'm used to building pages that contain links that have variables passed on the URL (somepage.php?var1=1var2=2...) and I'm now looking into building a site that will have quite a bit of these that will have to 'live' from page to page, occasionally getting reset, or changed by new page. I'm told sessions are the way to go (specially since this will have several users using the site). And consequently, now I'm lost. Sessions..okay..how does the variable 'live' from one to the other? What do I have to do different when setting variables that will be used globally across the site (and reset/changed from time to time)? I don't need to STORE any of these (say for a future log-in), however if it's easy (easier?) to do it that way, that's fine as well. I may eventually start making the site customizable on a per user basis. But for right now, I need a startup primer first. AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. | ~ Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. .eFax 248.671.0909 http://www.pcraft.com . 3550 Arapahoe Ave #6 .. . . . . Boulder, CO 80303, USA -- PHP General Mailing List (http://www.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] casting arrays as objects
why mot just ?php $foo = new Foo( $db-fetchRow(DB_FETCHMODE_ASSOC) ); ? If you have to leave this part of the project for any length of time, coming back to the above would be much less confusing. ( i think so anyway :) morgan At 03:12 PM 4/13/2001 -0500, you wrote: Can you cast an array to an object of your choosing? If so, will the keys of the array match up with the attributes of your object? Say I have a class like this: class Foo { var $foo; var $bar; function Foo($foo = '', $bar = '') { ... } ... } Then I have an array like: $array['foo'] = "Hello"; $array['bar'] = "world"; If I do this: $foo = new Foo(); $foo = (object)$array; I've seen something similar done, but how do you keep $foo from forgetting which class it belongs to? The second assignment is independent of the first one, so $foo should become a plain object and forget that it's a "Foo" object. Any ideas? By the way, I was thinking this would be a really nifty way to fetch rows from the database into a pre-written class instead of doing it all manually. You'd have all the object properties automatically set by: $my_object = (object)$db-fetchRow(DB_FETCHMODE_ASSOC); I'm just worried about the object losing its membership in its original class. Dean. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] === Morgan Curley Partner, e4media 212 674 7698 [EMAIL PROTECTED] http://www.e4media.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-CVS] cvs: php4 / TODO-4.1.txt
ssb Fri Apr 13 13:47:13 2001 EDT Added files: /php4 TODO-4.1.txt Log: here's a preliminary list of stuff for 4.1 Index: php4/TODO-4.1.txt +++ php4/TODO-4.1.txt * define PEAR_INSTALL_DIR, PHP_EXTENSION_DIR, PHP_BINDIR and more in main/main.c * always build CGI (--disable-cgi option to disable) * clean up installation directories, start using proper autoconf directories: php.ini goes into $sysconfdir, PEAR stuff goes into $datadir[/php]/pear, extensions go into $libdir[/php]/apispec. * move most extensions and PEAR packages out of the PHP CVS tree, include them again during release packaging -- PHP CVS Mailing List (http://www.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] XML via socket connection
All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP headers and such?). Is there a built in function ; any place with these modules already written ; or should I just write them myself? -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]
Re: [PHP] how to get num of sessions vars?
nevermind ""phpman"" [EMAIL PROTECTED] wrote in message 9b78hr$uvb$[EMAIL PROTECTED]">news:9b78hr$uvb$[EMAIL PROTECTED]... Thanks, another quick question. That works and I can access the variables still but this for ($x=0;$x$s;$x++) { $tmp = $HTTP_SESSION_VARS[$x]; echo("ptmp=$tmp/p\n"); } outputs tmp= Why? How do I cycle through each session var and get its name and value? ""Keyur Kalaria"" [EMAIL PROTECTED] wrote in message 006501c0c42e$ba839860$2d64a8c0@office">news:006501c0c42e$ba839860$2d64a8c0@office... Hey Dave, you can try the following: num = sizeof($HTTP_SESSION_VARS); regards keyur - Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 8:40 PM Subject: [PHP] how to get num of sessions vars? I thought this would work.. $num = count($HTTP_SESSION_VARS); ..but it doesn't. I can access the session vars themselves, so I know they're there. Help. -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 General Mailing List (http://www.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] php, mysql, and wysiwyg.
Hi! I'm starting a news site, and I have one problem. (not with php or mysql, workin' fine!): 1. I want my authors to be able to make the text bold, italic ++, but I can't find anything that works. 2. The best sollution must be something similar to hotmails... I've looked around for ages, but I can't find something... It doesn't have to be something complicated, all I really need is a few buttons over my text-area (form!) - select text, press bold and the phrase changes... Like this: [BOLD] [ Text bla bla2 bla] -- text area.. [SEND] I select/mark bla2 and the text area changes to [Text bla bbla2/b bla] Note: I know that this isn't the right place to ask, I guess this is more Java related... Any help would be appreaciated! Thanks! Best regards Fredrik A. Takle Bergen, Norway - Fredrik A. Takle [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] casting arrays as objects
"Morgan Curley" [EMAIL PROTECTED] wrote: why mot [sic] just ?php $foo = new Foo( $db-fetchRow(DB_FETCHMODE_ASSOC) ); ? If you have to leave this part of the project for any length of time, coming back to the above would be much less confusing. ( i think so anyway :) Good idea. That's what I'm using right now, and it works fine -- besides having to manually assign variables -- probably good in the long-run for security and other concerns. All the same, I'm still interested in whether the original problem (casting an array as an object and the object of the assignment keeping its object membership) can work. Dean. -- PHP General Mailing List (http://www.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] foreach function
My isp uses php3 and some of my scripts have the function 'foreach' which is php4. Is there are way to fix this kenny -- PHP General Mailing List (http://www.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] Any Australian Conferences coming up????
Heya Guys, This question is primarily directed at the PHP Core development team. Is there any plans for the CORE PHP CREW (Zeev, Andrei, Sasha, etc...) coming Down Under to a conference or some such so us Aussie's can have a chance to say 'hi'? Thanx --- Matthew M. Boulter MB Productions, Pty Ltd. m: 0414-912-501 e: [EMAIL PROTECTED] icq: 14626936 --- -- PHP General Mailing List (http://www.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] HTML and PHP?
Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. Thanks. Jason [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-CVS] cvs: php4 / ChangeLog ChangeLog.1999.gz ChangeLog.2000.gz
ssb Fri Apr 13 16:33:50 2001 EDT Added files: /php4 ChangeLog.1999.gz ChangeLog.2000.gz Modified files: /php4 ChangeLog Log: * separated and compressed changelogs from 1999 and 2000 Index: php4/ChangeLog diff -u php4/ChangeLog:1.679 php4/ChangeLog:1.680 --- php4/ChangeLog:1.679Thu Apr 12 18:09:25 2001 +++ php4/ChangeLog Fri Apr 13 16:33:49 2001 @@ -7248,34179 +7248,3 @@ 2001-01-02 Rasmus Lerdorf [EMAIL PROTECTED] * ext/standard/datetime.c: Fix date('r') overflow - -2000-12-27 Sterling Hughes [EMAIL PROTECTED] - -* pear/Numbers/Roman.php: -Add the Numbers_Roman class for converting to and from Roman numerals. - -2000-12-27 Zeev Suraski [EMAIL PROTECTED] - -* ext/standard/basic_functions.c - ext/standard/file.c - ext/standard/info.c - main/main.c - main/php_ini.c - win32/php4dll.dsp: -- Make the INI mechanism thread safe (fix necessary API changes from Zend) -- Make the Win32 non-TS configuration build again - -2000-12-27 Andrei Zmievski [EMAIL PROTECTED] - -* ext/pcre/php_pcre.c: Fix argument check (bug #8421). - -2000-12-26 Zeev Suraski [EMAIL PROTECTED] - -* ext/mysql/libmysql/libmysql.dsp - sapi/isapi/php4isapi.dsp - win32/php4dllts.dsp - win32/php4ts.dsp: -Add Release_TSDbg support. This mode compiles PHP with the release C runtime, -but with optimizations disabled and with debug info. Some crashes can only -be debugged using this mode. - -2000-12-25 James L. Pine [EMAIL PROTECTED] - -* pear/DB/oci8.php: -added quoteString function to override the one in common. replaces single quotes with double single quotes. - -2000-12-24 Sascha Schumann [EMAIL PROTECTED] - -* ext/gmp/tests/002.phpt - ext/mcrypt/tests/001.phpt: -Skip mcrypt/gmp tests, if the extensions are not available. - -* ext/session/tests/001.phpt - ext/session/tests/002.phpt - ext/session/tests/003.phpt - ext/session/tests/004.phpt: Add session tests - -* ext/session/mod_user.c - ext/session/session.c: MFH s/efree/FREE_ZVAL/ change - -* ext/session/tests/004.phpt: Add session_set_save_handler test - -* ext/session/mod_user.c - ext/session/session.c: More instances of s/efree/FREE_ZVAL/ - -* ext/session/mod_user.c: -Not freeing the zval using FREE_ZVAL caused a segfault in -shutdown_memory_manager. - -* ext/session/tests/003.phpt: -Also call some member functions of the deserialized objects - -* build/rules.mk: -Run run-tests.php in srcdir and add top_builddir/pear to the include -path (does not seem to work though yet. The include path does not -seem to get changed at all). - -* ext/session/tests/003.phpt: Add session object deserialization test - -* ext/session/tests/001.phpt - ext/session/tests/002.phpt: -Add two regression tests for the session module - -* ext/standard/var.c: -Fix segfault introduced through recent zend_hash_get_current_key* changes. - -* tests/dirname.phpt: -Sync the expected output with Linux dirname output. The test passes now. -Perhaps this should be split into two tests, because the -Win32 paths don't work properly with PHP's dirname on Unix. - -* build/rules.mk - run-tests.php: Merge test-related changes - -* build/rules.mk - run-tests.php: Fix "make test" in VPATH environments - -2000-12-24 Thies C. Arntzen [EMAIL PROTECTED] - -* ext/xml/xml.c: -revert last fix. the problem is now fixed globally in Zend. - -2000-12-23 Thies C. Arntzen [EMAIL PROTECTED] - -* ext/xml/xml.c: fix #8363. -fix call_user_function when parser-object is not set. - -2000-12-23 Sterling Hughes [EMAIL PROTECTED] - -* pear/Net/Curl.php: 4.0.5-dev is not a release tag for @since... - -changed to 4.0.5 - -2000-12-23 Sascha Schumann [EMAIL PROTECTED] - -* configure.in: -Pass some more variables to AC_SUBST as those are needed for Apache 1.3's -libphp4.module.in. - -2000-12-23 Sterling Hughes [EMAIL PROTECTED] - -* pear/Net/Curl.php: -Add the Net_Curl class which provides a nice friendly OO interface to PHP's curl extension. - -2000-12-22 Sascha Schumann [EMAIL PROTECTED] - -* ext/session/session.c: -(PHP session_unset) Return early, if no session was started. - -PR: #8354 - -* ext/standard/url_scanner_ex.c - ext/standard/url_scanner_ex.re: Support multi-char arg separators. - -PR: #8274 - -* ext/standard/file.c: -Signal an error condition, if write was unable to perform the complete -operation. - -* ext/standard/file.c: -NULL is a valid return value of mmap. Check against (void *) MAP_FAILED. - -* ext/standard/file.c: -(php_file_copy) Use mmap to map the source file into our address space -and then simply write it out to the target file. That avoids switching -between user and
Re: [PHP] return parse error
Small additional info about "expression" and "language construct". Expression is anything that have value. Therefore, if language construct returns value = valid expression. Following code works: ($val) ? include('abc.php') : include('def.php'); Following code does NOT work: ($val) ? echo('abc') : echo('def'); both "include" and "echo" is language construct, but "include" returns value. Thus "include" is valid expression while "echo" is not. "return" does not return value. (It returns value to caller, but not return value for expression context) User defined functions always return value, even if there is no "return" statement = functions are always valid expression. Hope this helps. -- Yasuo Ohgaki "Jeffrey Paul" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 03:56 AM 4/13/2001, Peter Harkins wrote: This generates a parse error: mysql_connect("localhost", "root", "rootpw") or return("bar"); But all the following work fine: mysql_connect("localhost", "root", "rootpw") or die("bar"); mysql_connect("localhost", "root", "rootpw") or print("bar"); if (!mysql_connect("localhost", "root", "rootpw")) { return("bar"); } Why? mysql_connect returns false on failure either way... I notice die return isn't a function but a language construct. This is why the third working line with the curlybraces works, and without them it doesn't. include() is a language construct too. the particulars of using language constructs (like return() and include()) with control structure syntax are explained on the page for include(). http://us2.php.net/manual/en/function.include.php -j (aka sneak) -- [EMAIL PROTECTED] - 0x514DB5CB he who lives these words shall not taste death becoming nothing yeah yeah forever liquid cool -- PHP General Mailing List (http://www.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-CVS] cvs: php4 / TODO-4.1.txt
derick Fri Apr 13 16:52:15 2001 EDT Modified files: /php4 TODO-4.1.txt Log: - Added the note about function names Index: php4/TODO-4.1.txt diff -u php4/TODO-4.1.txt:1.1 php4/TODO-4.1.txt:1.2 --- php4/TODO-4.1.txt:1.1 Fri Apr 13 13:47:12 2001 +++ php4/TODO-4.1.txt Fri Apr 13 16:52:15 2001 @@ -10,3 +10,5 @@ * move most extensions and PEAR packages out of the PHP CVS tree, include them again during release packaging +* renaming functions so that they all are conform to one standard form + -- PHP CVS Mailing List (http://www.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] HTML and PHP?
try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. Thanks. Jason [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] HTML and PHP?
Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. Thanks. Jason [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] Les Neste 678-778-0382 http://www.lesneste.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-CVS] cvs: php4 /ext/gd config.m4
wez Fri Apr 13 17:15:26 2001 EDT Modified files: /php4/ext/gdconfig.m4 Log: When using freetype2, turn off libttf and turn on native gd ttf. Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.55 php4/ext/gd/config.m4:1.56 --- php4/ext/gd/config.m4:1.55 Fri Apr 13 05:00:12 2001 +++ php4/ext/gd/config.m4 Fri Apr 13 17:15:26 2001 @@ -77,20 +77,21 @@ for i in /usr /usr/local "$CHECK_FREETYPE" ; do if test -f "$i/include/freetype2/freetype/freetype.h"; then FREETYPE2_DIR="$i" - FREETYPE2_INC_DIR="$i/include/freetype/freetype2" + FREETYPE2_INC_DIR="$i/include/freetype2/freetype" fi done if test -n "$FREETYPE2_DIR" ; then AC_DEFINE(HAVE_LIBFREETYPE,1,[ ]) PHP_ADD_LIBRARY_WITH_PATH(freetype, $FREETYPE2_DIR/lib) PHP_ADD_INCLUDE($FREETYPE2_INC_DIR) + AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no (freetype2 not found)) fi ],[ AC_MSG_RESULT(no) - AC_MSG_RESULT(If configure fails, try --with-freetype2-dir=DIR) + AC_MSG_RESULT(If configure fails, try +--with-freetype-dir=DIR) ]) ]) @@ -246,7 +247,13 @@ CHECK_TTF="$withval" fi ]) - + + if test "$with_freetype_dir" != "no" ; then +CHECK_TTF="" + else +CHECK_TTF="$withval" + fi + AC_MSG_CHECKING(whether to include FreeType 1.x support) if test -n "$CHECK_TTF" ; then for i in /usr /usr/local "$CHECK_TTF" ; do -- PHP CVS Mailing List (http://www.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] php, mysql, and wysiwyg.
""FredrikAT"" [EMAIL PROTECTED] wrote: Hi! I'm starting a news site, and I have one problem. (not with php or mysql, workin' fine!): 1. I want my authors to be able to make the text bold, italic ++, but I can't find anything that works. 2. The best sollution must be something similar to hotmails... MS has a client-side component you can use for a WYSIWYG editor on IE -- you'll have to search the Microsoft Developer site. If you don't want to use MS (you can't use MS's WYSIWYG editor on Netscape, for instance), then there are some available to license -- but I've not seen any free ones. Yahoo! mail has one, and I guess so does Hotmail -- check the source and see if it's a JavaScript widget. If it is, and it's a lenient license, you can just use the JavaScript source. Dean. -- PHP General Mailing List (http://www.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] XML via socket connection
""phpman"" [EMAIL PROTECTED] wrote: All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP headers and such?). Is there a built in function ; any place with these modules already written ; or should I just write them myself? -Dave If you want to use sockets to get your XML file, see http://www.php.net/manual/en/ref.sockets.php. But more than likely you just want to get it over HTTP (without handling the sockets yourself). In this case, you can just use fopen to get a file at a URL. See http://www.php.net/manual/en/function.fopen.php. Dean. -- PHP General Mailing List (http://www.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] header( )
On 11 Apr 2001 08:12:20 -0700 AD in php.general, Chris Lee said: I'll post you a simple HTTP auth script. but you should realize = something about header() client - server server - client the client sends some HTTP request to the server, then the server sends = some HTTP response to the client. php is strictly server side, you have = full control over the HTTP headers sent to the user, but not from the = user to the server. ie. method=3D'post' that is sending client data to = the server, you will have no control over this at all... There are in fact two different servers: the web server and the PHP server. IMO it should be possible for the PHP server, executing PHP code, to send a request to the web server. It is certainly possible to send a header telling the web server to redirect to another web page. -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ And my God will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- PHP General Mailing List (http://www.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] HTML and PHP?
On 13 Apr 2001 17:39:49 -0700 AD in php.general, Jason Caldwell said: Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. You don't need to make major changes to your HTML pages. Just embed the PHP into your HTML page wherever it's needed. Your web server will still treat a PHP page as an HTML except that the PHP code embedded in it is executed on the web server. However SSI commands will have to be replaced with their PHP equivalents. -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ And my God will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- PHP General Mailing List (http://www.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 Digest 14 Apr 2001 03:17:42 -0000 Issue 626
php-general Digest 14 Apr 2001 03:17:42 - Issue 626 Topics (messages 48447 through 48507): Re: Calling Functions without all the arguments 48447 by: Hardy Merrill 48449 by: Chris Aitken 48450 by: Rasmus Lerdorf 48454 by: Chris Aitken Compile Problems 48448 by: Rohan Amin 48451 by: Rasmus Lerdorf Re: "show tables" in oracle 8-i 48452 by: Adi Wibowo Re: install question: idiot guide to apache and phph and mysql on win NT 4 48453 by: Peter Van Dijck I know POST Uploads, what about "downloads?" 48455 by: Chris Anderson 48460 by: Pierre-Yves Lemaire how to get num of sessions vars? 48456 by: phpman 48459 by: Keyur Kalaria 48464 by: phpman 48491 by: phpman Re: install question: idiot guide to apache and phph and mysql on win NT 4 - solved! 48457 by: Peter Van Dijck [EMAIL PROTECTED] PLEASE UNSUBSCRIBE!!! 48458 by: Chris Anderson 48463 by: Richard Re: getting all variables from session into array 48461 by: Christian Reiniger Re: Do any of you provide hosting? 48462 by: Jeff Pearson Re: What variable are being sent to my script? 48465 by: Jerry Lake file upload 48466 by: luis 48472 by: maatt Re: Developing new PHP modules 48467 by: Philip Olson How to I convert the PHP variable back into Javascript? 48468 by: Scott Fletcher 48469 by: Gianluca Baldo install question:php and mysql on win NT 4 48470 by: Peter Van Dijck 48471 by: Fabian Raygosa 48473 by: Phil Driscoll 48475 by: Peter Van Dijck 48477 by: Fabian Raygosa URGENT: Session problem not carrying UserName over 48474 by: Mike Yuen 48476 by: CC Zona how to put javascript array into php array? 48478 by: Scott Fletcher help with php java support 48479 by: Spencer Gibb casting arrays as objects 48480 by: Dean Hall 48489 by: Morgan Curley 48495 by: Dean Hall stdout/stderr 48481 by: Jake Fan Updating Sessions 48482 by: Jordan Elver 48484 by: CC Zona era2 48483 by: Jerry Lake PHP4 parsing canceled 48485 by: Norbert Pfeiffer Re: ROUND inconsistency 48486 by: Philip Hallstrom undefined symbol error 48487 by: Curtis Maurand Sessions? 48488 by: Ashley M. Kirchner XML via socket connection 48490 by: phpman 48504 by: Dean Hall PHP.NET small error in the date 48492 by: Matthew M. Boulter Turkey's "Biz" Portal 48493 by: http://www.thebizseeker-turkey.com php, mysql, and wysiwyg. 48494 by: FredrikAT 48503 by: Dean Hall foreach function 48496 by: kenny.hibs 48502 by: Dean Hall Any Australian Conferences coming up 48497 by: Matthew M. Boulter HTML and PHP? 48498 by: Jason Caldwell 48500 by: DanO 48501 by: Les Neste 48506 by: Patrick Dunford Re: return parse error 48499 by: Yasuo Ohgaki Re: header( ) 48505 by: Patrick Dunford sorting multi-dimensional arrays 48507 by: Shane43.aol.com Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- Chris Aitken [[EMAIL PROTECTED]] wrote: On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257 --- Okay, ive managed to do some more playing, and come up with some more info. The above error only shows up when I have a function being called without all the arguments filled in. For example, if I have a function as "function blah($foo,$bar)" and call the function with both $foo and $bar set, it will run just fine. But if I call it with only $foo it comes up with these errors. The thing is, the previous version of PHP must have alowed me to call functions without all the arguments and it never batted an eyelid or gave an error. My question is, is there something I didnt compile into the new PHP, or is there a line in php.ini file I need to modify so that it doesnt show these errors up (or should I adjust my code so that I dont call functions without all the arguments) ? I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function abc($a='', $b='') // assigns null as parameter defaults that way, every parameter gets a value, even if all the
Re: [PHP] HTML and PHP?
"Les Neste" [EMAIL PROTECTED] wrote: Cool. Does that work with echo too, do you know? ? echo STOP html Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to test for yourself? ;-) And you can use whatever marker (the 'STOP' above and below) you choose. Just make sure you don't indent the closing marker or the parser will miss it! /html STOP; ? -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.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] HTML and PHP?
oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. Thanks. Jason [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] Les Neste 678-778-0382 http://www.lesneste.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] Reading a file and changing a href tag values
I have been able to find out how to read a file and replace certain matches, but I want to be able to take a web page stored in a string and change the a href tags and add www.mysite.com?page= before the actual link value so the new url would read www.mysite.com?page=original_url. Can I do this and if so will someone give me an idea how? Thanks. Brett -- PHP General Mailing List (http://www.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] HTML and PHP?
actually just test this... don't need slashes... it works GREAT! thanks. ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b8it7$npq$[EMAIL PROTECTED]">news:9b8it7$npq$[EMAIL PROTECTED]... oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. Thanks. Jason [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] Les Neste 678-778-0382 http://www.lesneste.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 General Mailing List (http://www.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] Need a URL....
My hard drive died, lost my bookmarks. Can someone post the url of the site that archives this list...it was marc something or otherneed to find a piece of code I know was posted to this listthank rm __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Need a URL....
it is http://marc.theaimsgroup.com/ regards keyur - Original Message - From: "rm" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 14, 2001 11:23 AM Subject: [PHP] Need a URL My hard drive died, lost my bookmarks. Can someone post the url of the site that archives this list...it was marc something or otherneed to find a piece of code I know was posted to this listthank rm __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]