Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Eric Wood
Govinda wrote: I have a mysterious "f" character (Yes, just the letter " f " ) appearing in my HTML between these two seemingly benign HTMl tags: On same computer, do a view source in other browsers too - IE, Chrome, Safari etc. F still there? There could be a FireFox addon module injec

Re: [PHP] echo SESSION var doesn't work if unset after echo

2008-12-09 Thread Eric Wood
;]; // unset($_SESSION["Ecomm"]); } Then I *CAN* see the Ecomm code in the in the right-click -> View Page Source as well as the "View Generated Source". I am very humbled right now. -eric wood - Original Message - From: <[EMAIL PROTECTED]> My theor

[PHP] echo SESSION var doesn't work if unset after echo

2008-12-09 Thread Eric Wood
s if php is doing this: if(isset($_SESSION["Ecomm"])) { unset($_SESSION["Ecomm"]); echo $_SESSION["Ecomm"]; } No kernel, apache, or php updates have happened. An there's not errors logged. Truely strange. Any ideas? -Eric Wood

[PHP] What kind of handler used for a dba file?

2008-11-04 Thread Eric Wood
I used dba-open (http://us2.php.net/manual/en/function.dba-open.php) to create a simple database file. The linux file command tells me that the file is just "data": # file test.db test.db: data I assume this is refered to a "Constant Database" or a DB2 file. I'm able to insert, fetch, and de

Re: [PHP] $_SESSION problem

2008-04-10 Thread Eric Wood
tedd wrote: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the same php-info -- so, why do they behave differently re sessions? Strange. I've run into issues whenever I use

Re: [PHP] session var not changed if file not found error

2008-03-25 Thread Eric Wood
use I'm using a template layout, you know). Therefor, the session file is obviously getting trampled on with these custom 404s.Wow, I would not have figured that out anytime soon. I just need to get less fancy with my 404 page, huh? Thanks, -eric wood -- PHP General Mailing List (htt

[PHP] session var not changed if file not found error

2008-03-25 Thread Eric Wood
e set fine. I've even enabled detailed php error reporting and I get no errors. Is this normal session behavior? Please say no. Any ideas? I can't understand why missing links would cause a session variable's annihilation. -eric wood -- PHP General Mailing List (http://www

Re: [PHP] when does php stop php executing when user clicks stop

2007-12-28 Thread Eric Wood
Eric Wood wrote: > If database operations are underway when a user accesses a web page, > then user clicks stop on the browser, does the php stop immediately too? > > I'd rather the php continue behind the scenes to fullfill all the > actions I need it do to whether the user wa

[PHP] when does php stop php executing when user clicks stop

2007-12-28 Thread Eric Wood
onder how modphp keeps the code executing even if the browser drops the connection via stop. Any insight is greatly appreciated. thanks, -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] tidy memory corruption problem

2007-12-11 Thread Eric Wood
-tidy-5.1.6-4.fc6 libtidy-0.99.0-12.20070228.fc6.1 Does the below code work on someone else's FC6 by chance? thanks, -eric wood The code is: PHP Tidy Test Text EOX; ?> Becomes... TRUE, 'input-xml' => TRUE, 'output-xml'

[PHP] How to clean up extended charset or ASCII characters on form input?

2007-09-12 Thread Eric Wood
ger as it double encodes on each submission. newegg.com does a good job to maintaining extended characters (presenting them back to the user) and keeps them from getting out of hand. How do other do this? thanks, -Eric Wood

Re: [PHP] Re: Barcodes [Solved]

2005-04-18 Thread Eric Wood
- Original Message - From: "Mike Smith" I'm using a script to generate the barcodes (3 of 9 or Code39): http://www.sid6581.net/cs/php-scripts/barcode/ This script seems to limit the input barcode to 15 characters... um... -eric woo -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Need function to process tab delimited file using associative array

2004-10-25 Thread Eric Wood
o be > looped through often. > Justin French Justin, Your fgetcsv() function was what I was needing. I found this in it notes: Quick and dirty script to take a csv file and turn it into a multidimensional associative array structure using the first line of the csv as the hash key names. Th

[PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Eric Wood
the title row, and rows 2 onward are the data. So that I can: read row 1 into array print 'FName','LName' for each row print_r('FName')."\t".print_r('Phone').'\n'; next row This would allow me to ignore all the other colums I don&

[PHP] Missing $_POST data from a Outlook Express email form

2004-09-23 Thread Eric Wood
nderbird with same missing data problem. I'm at my wits end on this one. -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload progress

2004-04-06 Thread Eric Wood
in is changed as the relative dir and image links will break. But my customers really love the progress bar. -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] .ini of .conf file generate/parser solution?

2004-04-01 Thread Eric Wood
Anyone know of a php script that can dynamically build and maintain my own kind of conf file (like a smb.conf or httpd.conf) but I make up the content. Thanks, -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Counting back 90 days...

2004-01-05 Thread Eric Wood
to support negative timestamps ... which means you > can't skimp on your testing if you decide to go this route. ;-) In Business Basic I use Julian Dates: http://www.basis-documentation.com/commands/jul_function.htm. This lets me easily calculate days between dates just by substracting

Re: [PHP] bi-linear image resizing function?

2003-12-16 Thread Eric Wood
Eric Wood wrote: > I'm currently using a script that uses the GD library to resize > images: http://kentung.f2o.org/scripts/thumbnail/ > > The problem is that I don't like the way it does bi-cubic sampling - > makes the thumbnail look pixelated. Does anyone know of a

[PHP] bi-linear image resizing function?

2003-12-16 Thread Eric Wood
I'm currently using a script that uses the GD library to resize images: http://kentung.f2o.org/scripts/thumbnail/ The problem is that I don't like the way it does bi-cubic sampling - makes the thumbnail look pixelated. Does anyone know of a way to make thumbnails with bi-linear sampli

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Eric Wood
logic to correct pricing. I say, if an incomplete cart hasn't been touched more than 2 hours *and* you do cleanup processing at 3:00am, then that'll be safe enough, especially if you have few international orders. -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Execute programs

2003-11-22 Thread Eric Wood
- Original Message - > > If you start a program using this function and want to leave it running in > > the background, you have to make sure that the output of that program is > > redirected to a file or some other output stream or else PHP will hang until > > the execution of the progra

Re: [PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Eric Wood
n't appear. The child window just stay blank. I'm going to try and not launch a child window and see if that curses the problem. -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Eric Wood
Launching a PDF form from PHP is easy (got the code below from php.net). Anyway this method works with Acrobat 5 readers and not Acrobat 6. Does anyone know why? thanks, -eric wood <<<<<<<<>>>>>>> $fdfdata = "%FDF-1.2\n%~B~D~\~T\n"; $fdfda

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Eric Wood
bottompost? That said, I think bottom posting (with proper stripping of the original message) is overall the best way to go. -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] "back" works in opera but not in internet explorer

2003-08-25 Thread Eric Wood
To fix this, I put: session_cache_limiter ('private, must-revalidate'); at the beginning of all my pages. Seems to work. -eric wood anders thoresson wrote: > When I push the back buttom in Opera, I get back to the previous > (database/php-generated) page in my site, but w

Re: [PHP] max_execution_time and set_time_limit() problem.

2003-03-04 Thread Eric Wood
Even set_time_limit(0) does extend the timeout. Always a 30 second timeout. Any other ideas? thanks, -eric wood > I'm uploading a large file through my web page and after 30 seconds, the > fails with an error. I bumbed the max_execution_time parameter in > /etc/php.ini to 6

[PHP] max_execution_time and set_time_limit() problem.

2003-03-03 Thread Eric Wood
dling script... still errors at 30 seconds. Is this just a good 'ol bug in my Redhat 7.3 version of PHP?: $ rpm -q php php-4.1.2-7.3.6 Thanks, -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] calendar, msg board, chat in PHP

2001-08-07 Thread Eric Wood
I'm looking to give each of my virtual domain accounts a calendar, msg board, and maybe a chat function to their web site. Anyone know of a php program that has messaging and calendaring working together? Thanks! -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] web traffic report

2001-08-03 Thread Eric Wood
Has anyone figured a way to purge access-log files after webalizer is done using to data only so far back? -eric - Original Message - > I'm rather fond of Webalizer (www.mrunix.net/webalizer). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] mail() and command line headers

2001-07-05 Thread Eric Wood
I can easliy add addional email header using the php mail() function. Does 'mail' or 'sendmail' have this same ability to add email headers from the command line? Thanks, -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE