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

[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&q

[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] help, please, understanding my problem

2010-02-22 Thread Stan
I have a PHP page that has require_once("genMyOverlay.js.php"); . . . echo ""; echo "doit(\"mydiv\");"; echo ""; genMyOverlay.js.php contains: createDiv() (see below) that creates a and sets it up to overlay a portion of the wbe page and doit()starts it off. invoke the web page once and i

[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

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

2009-03-03 Thread Stan Stadelman
- I got the feedback, 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
s--will help us 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
of this extension and finding 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

[PHP] Re: file_Exists() and case

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

[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. > >

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 (h

[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

[PHP] file_Exists() and case

2008-11-23 Thread Stan
--- The script is running on an UBUNTU v8.04 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: IMagick confusion - SOLVED but still confused

2008-11-23 Thread Stan
ientation = $image->getImageProperty("exif:Orientation"); ---- would not work with everything else the same. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 returns differently. Thanks, Stan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IMagick confusion

2008-11-22 Thread Stan
-clockwise */ $image->rotateImage(new ImagickPixel(), 90); break; case default: break; } echo $image; ?> I'm confused. Can someone please shed light on what's happening? Thanks, Stan

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 text box, FireFox does not. I would assume that anyone using the dialog would expect the behaviour that IE demonstrates. www.w3.org doesn't say anything about the return

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 t

Re: [PHP] Form Input Type="File"

2008-11-22 Thread Stan
=> 6 exif:DateTime => 2002:09:30 11:11:11 . . . . with IE6 SP1 and . picture file = '0033126-R1-042-19A_20.jpg' picture file = '0033126-R1-042-19A_20.jpg' picture file = '0033126-R1-042-19A_20.jpg' Fatal

[PHP] Form Input Type="File"

2008-11-22 Thread Stan
This generated HTML puts up a file selection dialog . echo " \n"; echo " Pick a picture file to examine ...\n"; echo " \n"; echo " \n"; echo "

[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 tag in the row and it works (instead of inside the tag. Sorry. -- 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
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: htt

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 page.

[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
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

2008-11-07 Thread Stan
y has not the class definition been 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] 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
e from start to the end of the function Why after returning from the function I getting this results: 15:57:23 | alloc:13559376 ( -16536392 -54.95% rise), peak: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

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 for

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

2005-03-22 Thread Stan F
to thousands 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] http referer

2005-02-26 Thread Stan F
- Original Message - From: "Sebastian" <[EMAIL PROTECTED]> To: 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 site. > > i know i

Re: [PHP] Difficulty with SQL LIKE clause

2005-02-26 Thread Stan F
- Original Message - From: "David Freedman" <[EMAIL PROTECTED]> To: 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= "SELECT * FROM my

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Stan F
ndex.php just before any inclusion define( '__INDEX__', true ); # in other files if( !defined( '__INDEX__' ) ) die( 'You cannot execute this script' ); Sorry if I didn't get u the right way, I'm too tired.. WBR Stan F > > As of yet, it has elude

Re: [PHP] Php error with MySql

2005-01-07 Thread Stan F
- Original Message - From: "Wil" <[EMAIL PROTECTED]> To: 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 /home/wilmail/public_html/elblog.p

Re: [PHP] bargraph gd not working

2004-12-13 Thread Stan F
the code cuz without it it's not so easy to help. > -- > PHP General Mailing 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] 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

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

2004-07-24 Thread Stan F
Try this: echo ""; print_r( variable_you_wanna_track ); echo ""; 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] 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) { >

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

2003-06-15 Thread Stan Lemon
t->fetchRow(DB_FETCHMODE_ASSOC); ?.> If you need to see my php configuration go to: http://beta.insyderhomielc.com/php.php I'll 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

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] PHP on IIS session problems

2003-03-03 Thread Victor Stan
ed? - Vic -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: sess

[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() [function.sessi

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
-8859-1, utf-8;q=0.66, *;q=0.66 > Keep-Alive: 300 > Connection: keep-alive > Content-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 wh

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

2002-10-29 Thread Stan
Content-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 tc

[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 e

[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

[PHP] Redirect With Authentication Question

2001-05-11 Thread stan
ow can I redirect a web client to a remote 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-11 Thread stan
ow can I redirect a web client to a remote 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

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

[PHP] Redirect With Authentication Question

2001-05-03 Thread stan
nt to a remote 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]