*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
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
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
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
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
, thanks!
Cheers--
--
Stan Stadelman
(925) 336-6473
s...@berkeley.edu
stanley.stadel...@sybase.com
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
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
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
---
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
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
the same.
Thanks,
Stan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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\
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
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
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.
happening?
Thanks,
Stan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
Andrew,
Do I feel stupid!
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you all for your assistance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
: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
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
of decent free ones.
---
wbr
Stan F
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- 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=
- 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
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
- 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
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
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
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
- 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 =
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
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()
-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
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
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
-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
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
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
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
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
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]
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]
51 matches
Mail list logo