*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
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
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
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
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
- I got the feedback, thanks!
Cheers--
--
Stan Stadelman
(925) 336-6473
s...@berkeley.edu
stanley.stadel...@sybase.com
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
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
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
---
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
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.
>
>
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
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
---
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
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
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
-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
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
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
=> 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
This generated HTML puts up a file selection dialog .
echo " \n";
echo " Pick a picture file to examine
...\n";
echo " \n";
echo " \n";
echo "
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
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
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.
Thank you all for your assistance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrew,
Do I feel stupid!
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
- 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
- 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
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
- 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
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
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
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
- 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) {
>
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
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
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
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
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
-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
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
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
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
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]
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
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
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]
52 matches
Mail list logo