[PHP] [JOB] PHP/Java Web Developer -- Washington, DC area -- ON SITE

2005-05-25 Thread Alok K. Dhir
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

[PHP] JOB: Developer, Washington DC Area

2004-07-19 Thread Alok K. Dhir
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

[PHP] Php 4.3 fails several XSLT tests

2003-01-01 Thread Alok K. Dhir
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-jpe

[PHP] [JOB] Senior Developer (PHP/Perl/Java/SQL), Washington DC Area

2002-12-02 Thread Alok K. Dhir
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

2002-08-27 Thread Alok K. Dhir
h 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://w

RE: [PHP] session lost when back button hit?

2002-08-16 Thread Alok K. Dhir
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

RE: [PHP] The so-called improvment in PHP 4.2.0

2002-04-22 Thread Alok K. Dhir
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,$_

RE: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Alok K. Dhir
Here's a quick-and-dirty working example: --- 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(); } } --

RE: [PHP] Convert number into percentage????

2002-04-10 Thread Alok K. Dhir
What is a "percentage"? I.e. what do you want as output? The way I read this, you could want one of two things: Assuming $x="040" - 1. string "40%" $percent=intval($x)."%"; 2. float 0.40 $percent=round($x/100,2); > -Original Message- > From: > [EMAIL PROTECTED

[PHP] is_ref?

2002-04-10 Thread Alok K. Dhir
Is there a way to check whether a given variable is a reference in php? I.e. $foo="hi"; $bar=&$foo; if (is_ref($bar)) echo "ref"; Corollary question: What happens to references after a cycle of being stored in and retrieved from the $_SESSION? Do I get copies now, or

[PHP] OO-PHP Style question

2002-04-10 Thread Alok K. Dhir
(sent this to the wrong list the first time - apologies in advance) Given an app with the following overall class structure: Base.class { function Base() { ##initialize stuff } } A.class extends Base { var $var; var $b; function A() {

[PHP] PHP Job opportunity, Washington DC Area

2002-03-01 Thread Alok K. Dhir
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

2002-01-26 Thread Alok K. Dhir
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 PRO

RE: [PHP] Session troubles

2002-01-03 Thread Alok K. Dhir
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:

RE: [PHP] URGENT-PDF

2002-01-02 Thread Alok K. Dhir
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. T

RE: [PHP] Upload file problems on Win 2K

2001-12-26 Thread Alok K. Dhir
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

RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Alok K. Dhir
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 do

RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Alok K. Dhir
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 s

RE: [PHP] Logo proposal - voting script!

2001-12-13 Thread Alok K. Dhir
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

[PHP] PHP 4.1.0 is_dir bug

2001-12-12 Thread Alok K. Dhir
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/)

RE: [PHP] PHPhish Logo

2001-12-12 Thread Alok K. Dhir
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/mr

RE: [PHP] Sharing session data with Perl

2001-07-09 Thread Alok K. Dhir
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. D

[PHP] Sharing session data with Perl

2001-07-09 Thread Alok K. Dhir
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 ses

RE: [PHP] Creating a PDF document from an HTML Page

2001-06-27 Thread Alok K. Dhir
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 A

RE: [PHP] Site search engine suggestion.

2001-05-20 Thread Alok K. Dhir
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: >

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-17 Thread Alok K. Dhir
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 p

RE: [PHP] achive style message center

2001-05-14 Thread Alok K. Dhir
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 hav

RE: [PHP] reverse array for mysql data

2001-05-01 Thread Alok K. Dhir
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

RE: [PHP] db to xls

2001-04-24 Thread Alok K. Dhir
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 funct

[PHP] Session_register

2001-04-20 Thread Alok K. Dhir
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 wa