Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Stan Vassilev
*absolute* trust that the URL won't serve malicious PHP code, or change and break your site. If you need to run this code, it's a lot better to save the file from your browser and store it with your site, then include it locally. It'll be also faster this way. Regards, Stan Vassilev ah, i forgot

[PHP] Re: help, please, understanding my problem

2010-02-23 Thread Stan
It works like it is ... once. What I don't understand is why the client browser(s I have tried it with Firefox and IE 6) can't find the Javascript function the second time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: help, please, understanding my problem

2010-02-23 Thread Stan
Thanks all. I rediscovered DIFF, compared the source for the first and second rendering. Besides the unique variable names there was also the message ... which contained imbedded single quote marks. When I changed them to imbedded double quote marks the problem went away. Stan stanleytbe

[PHP] help, please, understanding my problem

2010-02-22 Thread Stan
I have a PHP page that has require_once(genMyOverlay.js.php); . . . echo body; echo script language=\JavaScript\doit(\mydiv\);/scriptbr; echo /body; genMyOverlay.js.php contains: createDiv() (see below) that creates a DIV ID=mydiv and sets it up to overlay a portion of the wbe page and

[PHP] memcached as session handler 3x more reads then writes

2009-06-03 Thread Stan
which is what we expect but we are confused by set:get ratio. Apart from that session handling seems to be stable and with no problems. Thanks Stan here is memcache stat: [pid] = 12709 [uptime] = 98239 [time] = 1244029678 [version] = 1.2.6 [pointer_size] = 64 [rusage_user

[PHP] How important is your Express or Web Edition database? Please weigh in--

2009-03-03 Thread Stan Stadelman
, thanks! Cheers-- -- Stan Stadelman (925) 336-6473 s...@berkeley.edu stanley.stadel...@sybase.com

[PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Stan Stadelman
understand what databases you need in your professional life, and how to deliver them to you. Happy cooking, and thanks! http://www.surveymonkey.com/s.aspx?sm=Jro0rkoIGJKuQNpfWZV_2bBQ_3d_3d -- Stan Stadelman (925) 336-6473 s...@berkeley.edu

Re: [PHP] filter function vs regular expression

2008-12-20 Thread Stan Vassilev | FM
multiple side effects in the filters I used, I dropped it and went back to regex/strlen/ctype_*/etc. Regards, Stan Vassilev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Enable disable_functions globally and disable for a domain

2008-11-26 Thread Stan Vassilev | FM
Hi, Blacklists are by definition insecure, so I'd advise you to have two setups, one locked down (whitelist effectively) with only the needed extensions and features, and the other one more relaxed. Regards, Stan Vassilev Hi, Can I enable disable_functions globally and disable

[PHP] Re: file_Exists() and case

2008-11-24 Thread Stan
--- realpath($basePicture) returns '/Stan-and-Jeanne.com/pictures/2008 west coast trip/2008-06-10 first week at Chris'/DSC_0011.jpg' when $basePicture is '../pictures/2008 west coast trip/2008-06-10 first week at Chris'/DSC_0011.jpg

[PHP] Re: Form Input Type=File

2008-11-23 Thread Stan
I surrender. My web site is too complex to explain here. I accept that IE 6 SP 1 and FireFox 3.0.4 have implemented what Input Type=File ... returns differently. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: IMagick confusion - SOLVED but still confused

2008-11-23 Thread Stan
the same. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file_Exists() and case

2008-11-23 Thread Stan
LAMP server. Case is supposed to matter, isn't it? Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
Let me attack this in a different way. This started because my camera names files whatever.JPG and my thumbnail generator generates thumbnail files whatever.jpg. Given my workstation (upon which I edit code and run a web browser) is W2K and my web server is APACHE2 on UBUNTU, I sometimes have to

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because it DOESN't exist. -- PHP General Mailing List

[PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
I do NOT want to create an empty file! Nathan Rixham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Stan wrote: How can I do that, please? Do what? Detect, programmatically, FOR SURE and FOR CERTAIN, that a specific file exists. http://uk2.php.net/touch -- PHP General

[PHP] Form Input Type=File

2008-11-22 Thread Stan
This generated HTML puts up a file selection dialog . echo p align=centerspan\n; echo Pick a picture file to examine ...\n; echo form method=\get\ enctype=\text/plain\ action=\Default.php\

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
Default.php sets a session variable named thisSelectedFile before putting the page designated by the ID (in this case PictureProperties.php) up. PictureProperties.php is . ?PHP session_start(); if (isset($_SESSION[Stan-and-Jeanne

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
the browser being used. Ashley Sheridan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 2008-11-22 at 06:57 -0600, Stan wrote: Default.php sets a session variable named thisSelectedFile before putting the page designated by the ID (in this case PictureProperties.php) up

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
Ashley, If you go back to the original append you will see the URLs. IE 6 SP1 returns exactly the string that appears in the input name=\SELECTEDFILE\ type=\file\ / text box, FireFox does not. I would assume that anyone using the dialog would expect the behaviour that IE demonstrates.

[PHP] IMagick confusion

2008-11-22 Thread Stan
happening? Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anchor name on URL

2008-11-18 Thread Stan
FireFox 3.0.4 and IE 6 SP1. Maybe I'm naive to even expect this to work. Should it work? If not, how can I (can I even) position the user at some point into a long page when the page is generated on the fly? Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: anchor name on URL

2008-11-18 Thread Stan
Well ... you got me thinking ... I moved the placement of the named anchor to inside the first td tag in the row and it works (instead of inside the tr tag. Sorry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] object persistence within a session

2008-11-07 Thread Stan
loaded? Did storing the object reference not also store the class definition? What must I do to retain the class definition as part of the session data? Thanks, Stan

Re: [PHP] object persistence within a session

2008-11-07 Thread Stan
Andrew, Do I feel stupid! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] object persistence within a session is resolved

2008-11-07 Thread Stan
Thank you all for your assistance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] object persistence within a session

2008-11-07 Thread Stan
Jochem, So ... what I did was to experiment with the idea of creating a database schema that would allow me to define a web page. One row, one web page. Contained navigation information (bar left, right, bottom, top, none), title, pointer to the file containing the HTML document for the main

Re: [PHP] Replacing with f*ck and f*cking

2008-10-26 Thread Stan Vassilev | FM
the filter and reprocess the messages. Regards, Stan Vassilev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] memory management

2007-03-26 Thread Stan Kuhn
:39399384 | after make hierarchy Where is php wasting so much memory? How to control it? How to free up this memory when needed? Should I stop using referenced variables? I'm a bit confused. Thanks Stan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Paypal IPN and PHP

2006-03-19 Thread Stan Busk
the sales to Excel sheets, one per month and currency, handles refunds, reversed payments and e-checks and handles all kind of errors including sending e-mails. ~/Stan HI All, I am putting together an site and will accept payments via Paypal's IPN. I have came across many classes

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-03-22 Thread Stan F
of decent free ones. --- wbr Stan F -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Difficulty with SQL LIKE clause

2005-02-26 Thread Stan F
- Original Message - From: David Freedman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, February 25, 2005 11:27 PM Subject: [PHP] Difficulty with SQL LIKE clause When I use this query in PHP it works, and I get all things with the YEAR of 1977, as I expected. $query=

Re: [PHP] http referer

2005-02-26 Thread Stan F
- Original Message - From: Sebastian [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, February 26, 2005 8:31 PM Subject: [PHP] http referer ok, so i made a file manager and i need to prevent people from linking directly to files that do not come from another part of the

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Stan F
this script' ); Sorry if I didn't get u the right way, I'm too tired.. WBR Stan F As of yet, it has eluded me... -- 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

Re: [PHP] Php error with MySql

2005-01-07 Thread Stan F
- Original Message - From: Wil [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, January 06, 2005 9:35 PM Subject: [PHP] Php error with MySql I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in

Re: [PHP] bargraph gd not working

2004-12-13 Thread Stan F
List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php HTH Stan F -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nested If...Else...

2004-07-24 Thread Stan F
Try this: echo pre; print_r( variable_you_wanna_track ); echo /pre; The output will be easy-readable. Or try var_dump(). This helps maintaining scripts in more pleasant way. - Original Message - From: Robb Kerr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 24, 2004 8:49

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Stan F
Operations OR and || have different execution priorities. I'd prefer || as it's more important so not so many parentheses needed to ensure the order of interpretation is exactly what u need. - Original Message - From: Tularis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July

Re: [PHP] Very weird issue....

2004-07-20 Thread Stan F
- Original Message - From: Alex Shi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 1:39 AM Subject: [PHP] Very weird issue Hi all, Please take a look at following very simple script; #!/usr/bin/php -q ? echo Hello, world!\n; if (!$tty) { $tty =

[PHP] Re: [PEAR] Trying to install Log

2003-06-15 Thread Stan Lemon
be honest, I am clueless. I don't have a single problem on my harddrive. This is consistent though, I had the same problem on another CPanel based server. - Stan

[PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
I get these errors from a simple session_start(); script. Warning: session_start() [function.session-start]: open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 Warning: session_start()

RE: [PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
-Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:23 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re: [PHP] PHP on IIS session problems I get these errors from a simple session_start(); script. Warning: session_start() [function.session-start

RE: [PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
K, thanks, I tried stopping just the web sites from the control panel, but I guess I had to stop the whole thing and restart. - Vic -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:07 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re

RE: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Victor Stan
First of all, are they paying you to automate or to repurpose the content for the web? Taking a page designed for print and then automating it into a page for the web is the wrong approach, your problem is not technical it is a design problem. Technically it is easy, I think, does Quark not have

Re: [PHP] Plus sign changing to space in html form

2002-10-29 Thread Stan
-Type: application/x-www-form-urlencoded Content-Length: 14 test=1%2B1%3D2 So, that %2B would have to get decoded twice to result in a space. Stan, do you have a way to see what the HTTP request is? You mention being on a BSD box, so I assume you have tcpdump? Also, is this behavior consistent

[PHP] Plus sign changing to space in html form

2002-10-28 Thread Stan
When i post a string containing plus sign with htmp form to a php scritp, the '+' is changed to space. e.g: i enter 'as+df' to a text input but $_POST[] returns 'as df' instead. It must be in php or apache configuration bcause i have this problem only on sytem with FreeBSD. On windows it works as

[PHP] trying to post to credit card authorization gateway - ibill

2002-08-28 Thread Stan
from the .exe gateway program. It may come back, but I am not sure how to get it into my php program so that I can use it and take action. Here is the code I am using... any suggestions? Stan I get the following returned, but want to set up to get the actual credit card authorization string from

Re: [PHP] OT-Please bare with me :)

2001-05-11 Thread stan
Check out http://www.dhtmlab.com for javascript code to create drop-down menus. On Thu, 3 May 2001 10:05:48 -0700 Brandon Orther [EMAIL PROTECTED] wrote: Hello, I am making a suite of php tolls that I want to have all incorporated in one management website. What I would like to

[PHP] Redirect With Authentication Question

2001-05-11 Thread stan
site and include the authentication info as part of the redirect. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Redirect With Authentication Question

2001-05-11 Thread stan
site and include the authentication info as part of the redirect. Thanks, Stan -- PHP General Mailing List (http://www.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] Redirect With Authentication Question

2001-05-03 Thread stan
the authentication info as part of the redirect. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]