[PHP] [JOB] PHP/Java Web Developer -- Washington, DC area -- ON SITE
LOCAL INDIVIDUAL CANDIDATES ONLY -- WE ARE NOT LOOKING FOR TELEWORKERS OR CONSULTING COMPANIES. Strongly Desired Skills (2.5+ years): - Large scale, highly available applications development on Unix/Linux platform - PHP - SQL - D/HTML/Javascript/CSS - XML - OO programming - Source code control (CVS) - Good communication skills Desired Skills: - Java/JSP - Perl - C/C++ - Linux/Unix - Windows NT/2000/XP Plusses: - Experience with Java web application servers: Tomcat, JBOSS, Web(logic|sphere), etc - UML - Ability to work under pressure - Leadership ability If you don't meet the skills, but firmly believe you are an outstanding candidate for the job, please don't hesitate to apply, and tell us why we should hire you anyway. Please send a cover letter and resume with salary requirements to [EMAIL PROTECTED] Note, Symplicity does not provide any relocation assistance. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] JOB: Developer, Washington DC Area
We have an immediate opening for an experienced web application developer who meets or exceeds the following criteria: Required skills: - Experience developing and maintaining web based applications - PHP - SQL (Oracle, MySQL preferred) - D/HTML/Javascript/CSS - XML - OO programming - Source code control (CVS) - Ability to work under pressure - Strong written and oral communications skills (English) Desired skills: - Java/JSP - Perl - C/C++ - Linux/Unix administration - Windows NT/2000/XP administration Plusses: - .NET development - Experience with Tomcat, BEA Weblogic, and/or IBM Websphere - Understanding of software development methodologies - Ability to work well individually or part of a team - UML ** Current or near future DC area residents only please. This is not a remote position. ** Symplicity does not currently offer a relocation allowance. If you meet the requirements above, and are interested in working on exciting projects with a strong DC area company, please send a cover letter and resume with salary requirements to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Alok K. Dhir [EMAIL PROTECTED] Symplicity Corporation http://solutions.symplicity.com 703 351 6987 (w) | 703 351-6357 (f) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php 4.3 fails several XSLT tests
After compiling php 4.3 configured as follows: # ./configure --with-java --with-pdflib=/usr/local --with-gd --with-ttf --enable-trans-sid --with-curl --with-openssl --enable-sysvsem --enable-sysvshm --with-zlib --with-mysql=/usr/local/mysql --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-gettext --with-imap --with-imap-ssl --with-ldap --with-kerberos --enable-ftp --with-iodbc=/usr --with-oci8 --with-imagick --enable-xslt --with-xslt-sablot=/usr/local --with-expat-dir=/usr The new 'make test' routine fails several of the XSLT test. I've pasted all the XSLT test results below - note that many are failures. Is this expected behavior? If not, can anyone provide hints as to what might be the problem? Some of these tests seem to point to non-existent functions (xslt_set_object) so perhaps these tests are irrelevant? Thanks PASS Pass long string to 'file' argument, bug #17791 [ext/xslt/tests/bug17791.phpt] PASS Pass object for xslt_error_handler, bug #17931 [ext/xslt/tests/bug17931.phpt] FAIL Relative and absolute arg handling [ext/xslt/tests/bug20177.phpt] FAIL Don't override xslt_set_base (bug #20518) [ext/xslt/tests/bug20518.phpt] PASS Memoryleak in error printing [ext/xslt/tests/xslt-001.phpt] PASS Check for xslt presence [ext/xslt/tests/xslt.phpt] PASS xslt_backend_info: examples for detection of backend features [ext/xslt/tests/xslt_backend_info.phpt] PASS xslt_getopt function [ext/xslt/tests/xslt_getopt.phpt] FAIL Various ways to provide xml and xslt arguments and params [ext/xslt/tests/xslt_process-001.phpt] FAIL Crash xslt_process with reused handler (this test may take a while) [ext/xslt/tests/xslt_process-002.phpt] FAIL xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt] FAIL Set a non-existing scheme handler [ext/xslt/tests/xslt_set_scheme_handlers-001.phpt] FAIL Override Sablotron file handler [ext/xslt/tests/xslt_set_scheme_handlers-002.phpt] FAIL Core dump when returning FALSE in a handler [ext/xslt/tests/xslt_set_scheme_handlers-003.phpt] FAIL xslt_setopt function and public entities [ext/xslt/tests/xslt_setopt.phpt] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] [JOB] Senior Developer (PHP/Perl/Java/SQL), Washington DC Area
We have openings for a couple of experienced web application developers who meet or exceed the following criteria: Required skills (You *must* have 2.5+ years of each): - Large scale applications development on Unix/Linux platform - PHP - Perl - SQL (Oracle, MySQL preferred) - D/HTML/CSS - Javascript - XML - OO programming - Source code control (CVS) Desired skills: - SOAP - WSDL - UDDI - Java/JSP - Linux/Unix - Windows NT/2000/XP - Python - C/C++ Plusses: - UML - RUP - understanding of various software development methodologies - ability to work under pressure - leadership ability If you meet the requirements above, and are interested in working on exciting projects with a strong DC area company, please send a cover letter and resume with salary requirements to [EMAIL PROTECTED] Thanks, Alok K. Dhir [EMAIL PROTECTED] Symplicity Corporation http://solutions.symplicity.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] JOB: Senior Developer, Washington DC Area
We have an immediate opening for an experienced web application developer (read guru) who meets or exceeds the following criteria: Required skills (2.5+ years): - Large scale, highly available applications development on Unix/Linux platform - PHP - Perl - SQL (Oracle, MySQL preferred) - D/HTML/Javascript/CSS - XML - OO programming - Source code control (CVS) Desired skills: - Java/JSP - C/C++ - Linux/Unix - Windows NT/2000/XP Plusses: - Experience with Java web application servers - Web(logic|sphere) - UML, RUP - strong understanding of various software development methodologies - Ability to work under pressure - Leadership ability If you meet the requirements above, and are interested in working on exciting projects with a strong DC area company, please send a cover letter and resume with salary requirements to [EMAIL PROTECTED] Thanks, Alok K. Dhir [EMAIL PROTECTED] Symplicity Corporation http://solutions.symplicity.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] session lost when back button hit?
By any chance, is page one the entrance page to your application? I.e. is there a session id in either the query string of the page URL or was there one passed to it via a POST? Without cookies enabled, there is no way to allow users to use the back button to go back to the entrance page while maintaining the session. One (hackish) solution to this is to cause the entrance page to immediately redirect to itself using either PHP's header function, or a meta refresh. Your goal here is to make it so that hitting back from a secondary page would take you to the post-refreshed entrance page which has the session ID. Good luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .net] On Behalf Of Jean-Christian Imbeault Sent: Friday, August 16, 2002 10:43 AM To: [EMAIL PROTECTED] Subject: [PHP] session lost when back button hit? I have two pages, page one links to page two via a form button. The browser does not accept cookies. On page two I create a session variable with: $_SESSION[id] = 1; But if I hit the back button to go back to page one $_SESSION[id] is not set. If I hit the reload button on page one it is still not set. How can I get a session var to stay set when someone hits the back button? Jc PS I have session.auto_start ON and enabled trans-sid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] The so-called improvment in PHP 4.2.0
Change your scripts. It's relatively easy to cause variables in the superglobal arrays to be set in the global namespace. Code samples for this appear in various places in the the user contributed notes in the PHP documentation. A quick and dirty working example: foreach (array_merge($_POST,$_GET) as $key=$val) { global $$key; $$key=$val; } If you include the above at the top of all your existing scripts, they should continue to function. As always, caveat emptor... Alok -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Leif K-Brooks Sent: Monday, April 22, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: [PHP] The so-called improvment in PHP 4.2.0 I use $formvar for form processing, I don't use the arrays. This is how I was taught to do it. If my host upgrades to 4.2.0, my website is as good as gone! What am I supposed to do?! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] POST form File Upload Progress Bar?
Here's a quick-and-dirty working example: --- script language=Javascript var waitwin; function openWaitWin() { waitwin=window.open(wait.html,wait_window,width=250,height=220,menu bar=no,statusbar=no,toolbar=no); } function closeWaitWin() { if (waitwin!=null) { waitwin.close(); } } /script body onunload='closeWaitWin()' form method=post enctype=multipart/form-data action=myaction.php input type=file name=test br input type=submit value=go onclick='openWaitWin()' --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of CompMan86 Sent: Tuesday, April 16, 2002 11:23 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] POST form File Upload Progress Bar? Hi, Thanks for your response =) I don't know much about javascript, so if you could show me an example that would be great. Weston Houghton [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... My cheap trick around this is to have an onClick event on the form submit button that brings up a small window with a progress note in it, and an animated gif of a prgress bar. As the page does not unLoad until the upload is finished, I use the unLoad event of the body tag to close that progress window. Generally works really well for me. I can show you an example if you like. Wes I have a POST form with a file upload field. Users will be uploading pictures. What would be the most professional way to tell them their file is uploading and to please wait? Since the action page won't execute until after the image is done uploading, is there a way to have an intermediary page load telling them to please wait, and that page will take the image and upload it? Or should I just put a note in the upload form warning them about the long upload times and gray out the submit button with javascript after it's clicked? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Job opportunity, Washington DC Area
We have an immediate position available for an experienced web developer with the following skills: Required skills (1.5+ years in each): - PHP web development in a Linux/Unix environment - SQL (MySQL preferred) - HTML/Javascript Plusses: - Linux/Unix sysadmin experience - OO programming - Perl/Java/JSP - UML - CVS The position is contract to permanent. If you are interested in working on some exciting projects with an strong DC area company, please send a cover letter and resume with salary requirements to [EMAIL PROTECTED] More information at: http://www.symplicity.com/about/solutions.php Alok K. Dhir [EMAIL PROTECTED] Symplicity Corporation http://www.symplicity.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Any Ideas
Regula $string=preg_replace(/\W/,,$string); \W = non-word characters in perl regular expressions. Word characters are 0-9, a-z, A-Z, and _. To kill _ as well, do: $string=preg_replace(/[_\W]/,,$string); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of qartis Sent: Saturday, January 26, 2002 3:22 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Any Ideas I'm guessing something along the lines of: -- $string=str_replace(!,,$string); $string=str_replace(@,,$string); $string=str_replace(#,,$string); $string=str_replace($,,$string); $string=str_replace(%,,$string); $string=str_replace(^,,$string); -- etc. Philip J. Newman [EMAIL PROTECTED] wrote in message 003d01c1a6a5$fa7d60e0$0401a8c0@philip">news:003d01c1a6a5$fa7d60e0$0401a8c0@philip... Any Ideas how I can remove !@#$%^*()_+=-';:/.,? charactors from a string? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Session troubles
FYI - I can confirm Jaime's assertion. I too had the exact same issue with the exact same fix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Jaime Bozza Sent: Thursday, January 03, 2002 9:09 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session troubles Ricardo, I've had some strange problems with session writing, but they always returned back to the fact that return false was being used in the session read function. PHP 4.0.6 wouldn't write out sessions when register_globals was set to off when you were using return false. PHP 4.1.0 crashes with signal 11 after a bit when using return false. I've filed a couple of bug reports with the request that this be fixed. I believe a patch is either being worked on or already submitted, but I'm not positive. Sean's problem is that he's using return false in his session read function. The session read function should return a blank value ('') and not false when there's no data. This was never clear in the documentation (and complaint I made) but is quite true. Once switching over to using ('') instead of (false), I no longer had problems. Jaime Bozza -Original Message- From: Junior, Ricardo [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 8:52 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session troubles Hi Sean ! I had the same problem... this can be resolved using the function session_write_close() at the end of each script you use sessions. It will force PHP to call the write and close function. In some combinations of PHP version, Apache and OS, this problem doesn't happens, but as you, I had this problem too.. :) Put this function in yours PHP scripts and see if now them will work. Here is an exemple of a test script: ?php error_reporting( E_ALL ); ini_set(session.save_handler,user); include( ./mysession.php ); where is my session functions declareted to use database... session_start(); ? html head titleMySQL Session Management: Second Page/title /head body ?php print( SESSION User: $aUserbr ); print( SESSION Account: $aAccountbr ); $aUser = Katie; $aAccount = 2026; print( CHANGED User: $aUserbr ); print( CHANGED Account: $aAccountbr ); session_write_close(); ? /body /html Cheers, _ Ricardo J. A. Júnior, Software Engineer Trainee Bowne Global Solutions Phone +55 21 2515 7713 [EMAIL PROTECTED] www.bowneglobal.com.br -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 2:20 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session troubles On 01-02 07:45, Jaime Bozza wrote: I agree. Perhaps make a feature request that disallows session starting if save_handler=user and you haven't defined a session handler? Then it could spit out a more correct error message. Blast. I am still unable to get my own session handler to work. My session handler's write never gets called; only my session_open and session_read get calledthe default file session handler still works, if I change save_handler back to file instead of user. As for the feature request, I guess I could - is there a mechanism to do this outlined somewhere? -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session troubles On 12-31 09:23, Jaime Bozza wrote: Sean, From your php error_log, it's saying the following: Failed to write session data (user) which sounds like it's having problems writing to the user-defined session handler. Are you using a user-defined session handler? If not, make sure your php.ini file has: session.save_handler = files And *NOT*: session.save_handler = user That will make a big difference. Good eye. That was it. I *did* have it as user because I was trying to do my own user-defined session handler, and then stepped back and was just trying to get the simpler case to work, w/o changing it back. Thanks, it works now! Now, I just need to see if I can get my session_handler working... It's too bad the error message isn't more descriptive for this, BTW... -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 29, 2001 1:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session troubles On 12-29 12:56, David Jackson wrote: Sean -- Don't know if this help but here's what I just worked for me. What ver. of PHP are you using? It seem to me that 3.x.x needs PHPLIB: http://sourceforge.net/projects/phplib to handle sessions? -- David Jackson --- sean.php --- ?php
RE: [PHP] URGENT-PDF
Ps2pdf will do EPS. Make sure you have a recent version (it's part of the ghostscript package). For .doc, look at http://www.wvware.com. It does a reasonable job, but complex documents will convert poorly. I haven't yet found a non-commercial source for converting MS Office documents well. The only decent commercial package for Linux I've found which does the MS Office formats (and many others) is KeyPAK (http://www.keypak.com). Good luck... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Chamarty Prasanna Kumar Sent: Wednesday, January 02, 2002 12:05 AM To: [EMAIL PROTECTED] Subject: [PHP] URGENT-PDF Hi All, Happy New Year. Known that we can use in Linux to convert a file from ps to pdf by using ps2pdf. Is there any such built-in modules in PHP or SHELL commands to convert the following to PDF. .eps, .ppt, .xls, .doc, .html Please do suggest any other way of doing this using Linux OS. Thanks in advance. Cheers, Kumar. -- PHP General Mailing List (http://www.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] Upload file problems on Win 2K
It'd be simpler to help if you posted the releveant portions of the INI files and code... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Mike Baranski Sent: Wednesday, December 26, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: [PHP] Upload file problems on Win 2K Hi, I'm trying to fix upload file problems on Win 2K server. I've got the allow directive set to on in the PHP.ini file, and the permissions set to give everyone full access on the directory specified in the ini file. The file never shows up. I'm using code identical to working code for a linux app, but we need it to run under MS as well. The ini file seems right, are there any major differences, and is there any reason the identical code doesen't work. The file does not ever show up on the server... Thanks Mike B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Logo proposal - voting script!
Good idea. You may want to write a cookie to keep ppl from voting multiple times (I confess, I hit it a couple times on Phrog in order to see if you were checking for this)... Then I read the list and decided I liked Peacock better, so I voted for that too. ;) Although, in retrospect, I think I like Pelican best. It keeps with the aquatic theme of our other favorite open source tools (Linux Penguin, MySQL Dolphin)... Guess I'll go vote again... ;) Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Michael Cronström Sent: Thursday, December 13, 2001 12:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Logo proposal - voting script! OK guys, a voting script! at: http://zoon.se/vote/logo.php try it :) Michael Cronstrom Web Inventor At 13:26 13/12/01, you wrote: I'd kind of ignored this whole thread thinking it was going on and on, but in the end I have to say something :) None of the other animals really captured my attention, but having an Ant would be quite cool. Not because of the ant on its own, but it's usually a whole bunch of ants that really really do achieve something (just remembering all those national geographic programs). It's a bunch of people that have grown PHP into what it is and I think that fits. I'd go for the ant myself :) Someone put up a voting script ! Ade --- i n o v i c a h o s t i n g . c o m -- Powerful hosting from www.inovicahosting.com -Original Message- From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] Sent: 13 December 2001 12:05 To: PHP Subject: Re: [PHP] Logo proposal Aunt is more similar very similar to PHP. Very industrious and powerful ;) - Original Message - From: PHPGalaxy.com [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 1:31 PM Subject: Re: [PHP] Logo proposal Actually I heard it's 50 times it's weight, but I refuse to be anal about it. =) Who's to say ants dont work just as hard in the winter? We can't se em.. unless it's because they're dormant in the winter, in which case I just made myself look INCREDIBLY stupid =) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions
FWIW, and I don't have time to try to debug this right now, so I've rolled back to 4.0.6 on my dev server (never upgraded production), I too am seeing seemingly random segfaults (Sig 11) from php 4.1.0 + Apache 1.3.22. All is well in 4.0.6 (and 1.3.22). I, too, am using a database bound custom session handler - specifically, the one for mysql by Yin Zhang (session_mysql.php), and my site(s) make heavy use of sessions. When I free up a bit, I'll try running some tests (disabling sessions, etc) to see if I can get to the bottom of this. Here's my config line: ./configure --with-mysql=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pdflib=/usr/local \ --with-ttf \ --with-gd \ --enable-trans-sid \ --with-curl \ --with-openssl \ --enable-sysvsem \ --enable-sysvshm \ --with-zlib Redhat 7.1 + kernel 2.4.16. Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Jaime Bozza Sent: Thursday, December 13, 2001 2:36 PM To: 'Yasuo Ohgaki' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions I've been trying to work something up running httpd -X, unfortunately, single user access doesn't seem to help. As near as I can tell, it happens only with concurrent access. Perhaps some type of memory lock or something. I no longer have --with-mm, so it's not trying to use that type of shared memory. Can gdb help with running httpd *without* the -X? I've tried ab, but I think I'm going to try again (running ab multiple times on different pages to try and simulate real world access) and see if I can get anything to come up there. Again, concurrent access seems to be the key as I have been unable to get Apache(PHP) to segfault on a test server with single access only. I took a look at the PostgreSQL session code on Zend (which I believe you've written)... The one's I'm using are quite a bit similar, though yours track counts and such. The core reading/writing is similar, except for the following: The Zend version will still load a session up even if the maxlifetime has been exceeded. Since gc isn't called EVERY time (unless probability is 100), occasionally there could be the possibility of stale session data being loaded up. This is a simple one to fix, but important for me. I notice that you have the row locking in the SELECT for the session_read. Will this cause PostgreSQL to deny read access for another concurrent connection (with the same session_id), or will that second connection wait until the first is done? I guess I'll have to test that out. If you want, I can switch over to your code and to prove it's not the session_handler code itself. How busy are the sites you maintain that use the session handler code? (In requests per minute, etc.) I noticed your comment on the mm code. Like I said, I was a bit confused on that as well. I can certainly write a bug report up for that, but I don't know if you'd classify that as a bug. Jaime Bozza -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:01 PM To: Jaime Bozza Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions Jaime Bozza wrote: I *HAVE* searched the database and there have been similar problems, with the request to try the latest CVS and to produce a short script that duplicates the problem. Since I can't exactly put the CVS version onto a live website (and start having all sorts of other problems) and I can't duplicate the problem consistently on a non-active testing site, I don't really have anything else additional to offer except for Me Too!. My email already stated that I have tried to use --enable-debug and that I'm getting a segfault without any core file whatsoever. The last paragraph explains my attempts on using enable-debug. This is not practical, but you can try to run apache under gdb. If any segfault happens while you are running apache under gdb, you can get backtrace. BTW, did you try benchmarking tools like ab? You may be able to reproduce problem with benchmark tools. -- Yasuo Ohgaki Jaime Bozza -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:04 PM To: [EMAIL PROTECTED]; Jaime Bozza Subject: [PHP] Re: PHP 4.1.0 and User-defined Sessions Search bug database to see if the same problem is reported or not. If you get segfault, buld PHP with --enable-debug and get core file. If it is new, get backtrace as described in bugs.php.net. Submit new bug report. If you found multiple issues, submit bug report separately. There are more
RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions
Also, I saw the faults with little to no load on the server. I.e. just me banging on it. The faults are seemingly random, although I was able to duplicate failing test cases with some consistency. More on this in a day or two. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Alok K. Dhir Sent: Thursday, December 13, 2001 2:49 PM To: 'Jaime Bozza'; 'Yasuo Ohgaki' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions FWIW, and I don't have time to try to debug this right now, so I've rolled back to 4.0.6 on my dev server (never upgraded production), I too am seeing seemingly random segfaults (Sig 11) from php 4.1.0 + Apache 1.3.22. All is well in 4.0.6 (and 1.3.22). I, too, am using a database bound custom session handler - specifically, the one for mysql by Yin Zhang (session_mysql.php), and my site(s) make heavy use of sessions. When I free up a bit, I'll try running some tests (disabling sessions, etc) to see if I can get to the bottom of this. Here's my config line: ./configure --with-mysql=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pdflib=/usr/local \ --with-ttf \ --with-gd \ --enable-trans-sid \ --with-curl \ --with-openssl \ --enable-sysvsem \ --enable-sysvshm \ --with-zlib Redhat 7.1 + kernel 2.4.16. Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Jaime Bozza Sent: Thursday, December 13, 2001 2:36 PM To: 'Yasuo Ohgaki' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions I've been trying to work something up running httpd -X, unfortunately, single user access doesn't seem to help. As near as I can tell, it happens only with concurrent access. Perhaps some type of memory lock or something. I no longer have --with-mm, so it's not trying to use that type of shared memory. Can gdb help with running httpd *without* the -X? I've tried ab, but I think I'm going to try again (running ab multiple times on different pages to try and simulate real world access) and see if I can get anything to come up there. Again, concurrent access seems to be the key as I have been unable to get Apache(PHP) to segfault on a test server with single access only. I took a look at the PostgreSQL session code on Zend (which I believe you've written)... The one's I'm using are quite a bit similar, though yours track counts and such. The core reading/writing is similar, except for the following: The Zend version will still load a session up even if the maxlifetime has been exceeded. Since gc isn't called EVERY time (unless probability is 100), occasionally there could be the possibility of stale session data being loaded up. This is a simple one to fix, but important for me. I notice that you have the row locking in the SELECT for the session_read. Will this cause PostgreSQL to deny read access for another concurrent connection (with the same session_id), or will that second connection wait until the first is done? I guess I'll have to test that out. If you want, I can switch over to your code and to prove it's not the session_handler code itself. How busy are the sites you maintain that use the session handler code? (In requests per minute, etc.) I noticed your comment on the mm code. Like I said, I was a bit confused on that as well. I can certainly write a bug report up for that, but I don't know if you'd classify that as a bug. Jaime Bozza -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:01 PM To: Jaime Bozza Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions Jaime Bozza wrote: I *HAVE* searched the database and there have been similar problems, with the request to try the latest CVS and to produce a short script that duplicates the problem. Since I can't exactly put the CVS version onto a live website (and start having all sorts of other problems) and I can't duplicate the problem consistently on a non-active testing site, I don't really have anything else additional to offer except for Me Too!. My email already stated that I have tried to use --enable-debug and that I'm getting a segfault without any core file whatsoever. The last paragraph explains my attempts on using enable-debug. This is not practical, but you can try to run apache under gdb. If any segfault happens while you are running apache under gdb, you can get backtrace. BTW, did you try benchmarking tools like ab? You may be able to reproduce problem
RE: [PHP] PHPhish Logo
How about the Phrog? It's sort of a marine animal as well... Don't think there are any trademark infringements there. Although my guess is Phish wouldn't mind our using the 'Phish'. PHP is hardly in the same industry as the band... Or - how about Phundulus? http://zeus.mbl.edu/public/mrc/animals.php?func=detailmyID=F3196source _myID=D1 Some quotes from the description: most abundant species very hardy, existing in an environment of extremes Seems appropriate, no? Good PHP metaphors. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Mark Sent: Wednesday, December 12, 2001 3:53 PM To: [EMAIL PROTECTED]; Armin Hartinger Cc: PHP Subject: Re: [PHP] PHPhish Logo On Wed, 12 Dec 2001 09:09:38 -0600, Barton Hodges wrote: The PHP PHish. great idea (and great band too!) with great trademark lawyers! bad idea I think/ :( Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ... Penguin, Dolphin After all, Linux, PHP MySQL is the killer-combo, isn't it? -Armin On Tue, 2001-12-11 at 19:32, Andrew Chase wrote: Maybe an animal beginning with P would be a good Mnemonic device (and good for alliteration; think The PHP Panda or The PHP Platypus.) Hmm, I guess Panda and Platypus aren't particularly powerful animals, though. :/ Other animals beginning with P: Pelican Panther (cheesy) Polliwog Protozoa Of course, the Penguin is already spoken for. :) Personally, I don't have a problem with the current PHP logo... From a marketing standpoint, I don't know; has MySQL become a more attractive prospect to the pointy haired bosses of the world since they streamlined their logo and added a Dolphin? It would be interesting to know. If PHP was going to adopt a mascot, I kinda like the idea of the Platypus. If you want to force a metaphor, think of PHP as an interesting language that fits between traditional scripting languages and the HTTP server - sort of like the Platypus is an interesting critter that fits somewhere between mammal and.. whatever else. :) -Andy -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 2:02 AM To: PHP; Valentin V. Petruchek Subject: RE: [PHP] Logo proposal Chinchillas are fluffy, and I don't think anyone is using them for their logo. -- From: Valentin V. Petruchek [SMTP:[EMAIL PROTECTED]] Sent: 10 December 2001 16:58 To: PHP Subject: [PHP] Logo proposal Hello world of php-programmers! It seemes to me PHP is very powerful tool and very popular among web-programmers, too. As for me I use php for solving web tasks for 2 years and I'm very satisfied with it. It seemes to me current PHP logo (can be found by http://www.php.net/gifs/logo.gif) doesn't suite to PHP. It's common logo without any idea except using title in it. I propose to create and develop new PHP logo corresponding to its power. My propose is WoodPecker (e.g. like Woody). Other propositions? Respectfully, Zliy Pes http://www.zliypes.com.ua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: php-list- [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: php-list- [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 4.1.0 is_dir bug
With PHP 4.1.0, all calls to is_dir which would have returned false now report a stat failed warning as a bonus. Using @is_dir to quiet it for the time being, but I'd imagine this is not the desired effect Alok K. Dhir -- PHP General Mailing List (http://www.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] Sharing session data with Perl
Is there a published spec of the format of the session data string? It would greatly simplify one of my applications if I could share data between PHP and Perl using sessions. Since I use MySQL to store session information, it would be trivial for me to make a call to a Perl script with a session id, and, within Perl, grab the session data, parse it, use it, perhaps even change it, and then return control back to my PHP application. So, if I knew the exact format of the data string, I could avoid having to try to guess at its structure, and write a Perl routine to decode it and store it in a session hash... Has anyone tried this before? 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] Sharing session data with Perl
I thought of this, but have the following reservations: 1. It seems cleaner to implement this on the Perl side since it will be a fairly uncommon requirement. 2. I don't like to mess with working applications (other session-enabled PHP apps on the server). 3. I have as yet been unsuccessful in coming up with the right voodoo to get ini_set and it's associates to work in a consistent manner (in order to affect just this application). Of course, I haven't tried with session.serialize_handler, but I have no reason to believe it will work consistently given my experience with trying to mess with ini_set in other contexts (sendmail_from comes to mind). 4. WDDX as a session serializer is likely significantly less tested than the native serializer, and this is not the type of application where I can afford to be a beta tester. 5. I'd rather not incur the additional overhead that WDDX will likely institute if I make it my default session serializer. Thanks for the quick response. Al -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 9:47 PM To: Alok K. Dhir Cc: 'PHP General (E-mail)' Subject: Re: [PHP] Sharing session data with Perl Is there a published spec of the format of the session data string? It would greatly simplify one of my applications if I could share data between PHP and Perl using sessions. Since I use MySQL to store session information, it would be trivial for me to make a call to a Perl script with a session id, and, within Perl, grab the session data, parse it, use it, perhaps even change it, and then return control back to my PHP application. So, if I knew the exact format of the data string, I could avoid having to try to guess at its structure, and write a Perl routine to decode it and store it in a session hash... Has anyone tried this before? I would use the WDDX serializer if you are interested in cross-platform sharing of the data. In your php.ini file use: session.serialize_handler = wddx Then use the WDDX Perl module to decode it in Perl. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Creating a PDF document from an HTML Page
Your best bet is probably to generate a pdf version of the receipt using pdflib instead of trying to tape together some HTML-PDF solution... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Boaz Yahav Sent: Tuesday, June 26, 2001 10:26 AM To: PHP General (E-mail) Subject: [PHP] Creating a PDF document from an HTML Page Hi I'm trying to create a receipt in a PDF format. I have the receipt as HTML. Is there any class or module in PHP or other language that can read an HTML file and output a PDF file? thanks Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -- PHP General Mailing List (http://www.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] Site search engine suggestion.
The best open source search engines I've seen/used are: ASPSeek http://www.aspseek.org Mnogoseach http://mnogosearch.org/ ht://dighttp://www.htdig.org I've found that I prefer ASPseek to both mnogo and htdig... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Manuel Lemos Sent: Sunday, May 20, 2001 12:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Site search engine suggestion. Hello elias, On 12-May-01 04:04:26, you wrote: Hello guys, I need that badly! I need a suggestion, advise, solution or whatever that might help! I need a Site Search script for a page that mostly have .PHP files some are dynamic and some are not. Basically i was using WebGlimpse but whenever I search using it, It shows the source code of the PHP files! So for example if i search echo , WebGlimpse displays the .PHP file source code! Any suggestion for a better site search program? Try HTDig with this PHP interface class: http://phpclasses.UpperDesign.com/browse.html/package/26 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?[EMAIL PROTECTED] -- E-mail: [EMAIL PROTECTED] URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp -- -- PHP General Mailing List (http://www.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] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?
Just tested your code in both NS3, 4 and 6.01 - works fine in all three... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Brandon Orther Sent: Thursday, May 17, 2001 7:21 PM To: PHP User Group Subject: RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6? This is the HTML that is returned by PHP. Does anyone know why Netscape Would have problems viewing it? html head titleControl Maestro Menu System/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 link rel=stylesheet href=menu.css type=text/css /head body bgcolor=#FF text=#00 MARGINWIDTH=0 LEFTMARGIN=0 MARGINHEIGHT=0 TOPMARGIN=0 background=../html/gray-background.giftable width=100% height=100% border=0 cellspacing=0 cellpadding=0 tr td valign=top table width=100% border=0 cellspacing=0 cellpadding=0 tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Web%20Mailimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Web%20MailWeb Mail/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Account%20Managmentimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Account%20ManagmentAccount Managment/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Supportimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=SupportSupport/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Billingimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=BillingBilling/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Domain%20Managmentimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Domain%20ManagmentDomain Managment/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr tr td width=1% height=15 valign=middlefont class=text a href=menu.php?open=Business%20Centerimg src=closed.gif border=0 /a /font/td td width=99% height=15 valign=middlefont class=text a href=menu.php?open=Business%20CenterBusiness Center/a/font/td tr td background=divide.gifimg src=divide.gif/td td background=divide.gifimg src=divide.gif/td /tr /table /td td background=menu_edge.gif width=8img src=menu_edge.gif/td/tr/table /body /html -Original Message- From: DAve Goodrich [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:02 PM To: Billy Harvey; [EMAIL PROTECTED] Subject: Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else hadproblems with php and Netscape 6? Do you have a URL I could try? I've used PHP to generate a lot of dynamic js and css. DAve on 5/17/01 1:50 PM, Billy Harvey at [EMAIL PROTECTED] wrote: 1. I am not making a JavaScript version at all I don't see where I ever say this. ??? 2. If I copy the html outputted to the browser and past it into an html file it loads good. When I say I suspect this to be something wrong with PHP I mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) Thanks, Brandon Brandon, Neither Netscape nor any other browser has any clue that PHP is being used on the server. All broswers simply interpret the html, javascript, java, etc.that gets sent to them. PHP is not a factor in whatever is causing a browser to misbehave. For Netscape it's often an improperly formed table that causes trouble. I occassionally find that people also use IE-centric code without realizing it (or perhaps without caring initially). Billy -- Dave Goodrich Director of Interface
RE: [PHP] achive style message center
If you're looking primarily for mailing list software with web archiving, look no further than Mailman (www.list.org). If you're looking for web discussion software, then there's tons of good, php based, web discussion forum software out there, a lot of it GPLed. Search freshmeat.net. What I have yet to see is a unified software package which combines all the features of mailing list software with a web discussion system - i.e. true two way interaction support for any boards from either interface (email / web). Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of shaun Sent: Monday, May 14, 2001 1:15 PM To: [EMAIL PROTECTED] Subject: [PHP] achive style message center i was wondering if anyone has or knows were i can find an archive style message system much like the php support archive. im looking for something to create a forum were people can chat and interact without the need of real time preferably the archive should be searchable if anyone could help i would be very appreciative. if you need more information just ask -- PHP General Mailing List (http://www.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] reverse array for mysql data
You're looking in the wrong place. What you want to do should be handled at the database level. I.e. your SQL query should be something like: select title,body from junkyard order by item_number desc, limit 7 Since you refer to what you want as the 'top 7' entries, there is presumably some sort of order that you are attempting to enforce in what you display. The way you currently have your query formed, the results you get back are not guaranteed to have any order. You must add the order by clause. The next problem you're likely to have, is that you don't have any way of enforcing order in your database other than the item number, which is probably not what you want. In this case, what is it that determines whether something is in the 'top 7'? Is it based on time? Is it alphabetical? Whatever it is, you need to sort by the corresponding field. My guess is that you're going to want to add a timestamp column to your database, and order by that, descending (i.e. highest to lowest). Once you do this, you don't need to change your php code at all which executes the query and displays the results. Good luck. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of ktb Sent: Monday, April 30, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: [PHP] reverse array for mysql data I'm new at programing and not getting very far with this. I've looked at array_revers and array_multisort and can't get anything to work. What I have is a mysql table laid out like: item number | title | body text | subject heading What I want to do is pull the top 7 entries off and display them on a web page. I have written some code that will do this but when it prints to the web page the first item is printed at the top and I would like it on the bottom with later entries successively on top. How can I do this? Hear is the code I have so far: $result = mysql_query (SELECT title, body FROM junkyard LIMIT 0, 7); $i = '0'; while ($i 7) { if ($row = mysql_fetch_array ($result)) { echo $row[0] br /$row[1]; ++$i; } } Thanks, kent -- PHP General Mailing List (http://www.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] db to xls
If you really want to create Excel files directly from php, the attached file (untested) may help. I found this somewhere on the net while looking for the same solution. What I wound up using is the _excellent_ Spreadsheet::WriteExcel module for Perl. We simply call the perl CGI for that function of our web app. Works great! It also has a Spreadsheet::ParseExcel companion which works equally well. The only problem we had with this was not being able to get to the contents of the session while in Perl. Could have jumped through some hoops to get it, but wound up hacking around it by using a long query string with the pertinent parameters (ugly, but works). Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Calin Rotaru Sent: Tuesday, April 24, 2001 5:59 PM To: Rahul Bhide; [EMAIL PROTECTED] Subject: Re: [PHP] db to xls You can query the oracle database and generate a text file with tab delimiter. Then you can open this file in Excel. Calin On Tuesday 24 April 2001 10:31, Rahul Bhide wrote: Gurus, I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping it to a csv text file and reading into Excel. Is there a better way to do this?? Is there a php function for this ?? Regards ~Rahul -- PHP General Mailing List (http://www.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] Session_register
Is there a down side to registering a var with the session more than once? I.e. which would be preferred and why in a frequently accessed page in a web application: session_register('var'); or If (!session_is_registered('var') session_register('var'); FWIW - either way seems to work without any apparent issues. Seems the first way avoids a seemingly unnecessary conditional operation. Thanks... Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]