Maybe he's talking about the ability to post data to a website, like
using PHP to simulate a user submitting a webpage form. If so, check
out curl.
On Oct 18, 2006, at 8:00 AM, Miles Thompson wrote:
At 11:48 AM 10/18/2006, M.Sokolewicz wrote:
Ross wrote:
Looked on google and not found a
essential PHP Security, by Chris Shiflett. Pro PHP Security by Chris
Snyder.
On Oct 18, 2006, at 9:04 AM, Angelo Zanetti wrote:
HI,
can anyone recommend a really good book on security with PHP?
Thanks in advance
--
--
On Oct 18, 2006, at 8:43 AM, Justin Cook wrote:
I believe he is talking about the concept of postback in ASP.Net.
PHP does not have anything built in for this.
_
Is that where the same script displays a form and processes the data
when the form is submitted?
--
PHP General
Hi Guys :) I'm off today, so I'll follow-up with you tomorrow.
Meanwhile, have a great day :)
-Ed
On Oct 17, 2006, at 2:20 AM, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-10-16 16:40:34 -0700:
On Oct 16, 2006, at 6:20 PM, Roman Neuhauser wrote:
Modern filesystems cope well
the
boutique benefits, if you're running multiple sites on one server,
which is common. I agree with the other stuff you said about
serialization :)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that case, I agree with you whole heartedly. Security and
scalability are definitely important.
Yeah, sure, in a shared hosting environment, a really bad script can
be problematic -- I know, cuz I've gotten those emails from my webhost
:-)
So you're the one! ;) hehe
-Ed
--
PHP General Mailing
can test this on?
Meanwhile, I'll check one of my boxes to see if I can use it. If
anything, it'll be interesting to see if two systems report the same.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd like to have Apache cache this file.
Mod_File_Cache doesn't look like it will do the trick as this
module only
works with static content, and Mod_Cache seems to require a GET
request,
among other requirements, in order to perform file caching.
Apache: reverse proxy
--
PHP General
H, does mod_proxy perform file caching? It appears to just
redirect
urls to and from a proxy server.
Yes.
http://httpd.apache.org/docs/1.3/mod/mod_proxy.html
Note the difference between forward and reverse proxy.
You can also use Squid http://www.squid-cache.org
Note Transparent
uses
files, but hopefully you don't hit them very often, especially when
you're dealing with the same table records. Also, having raw data is
always faster than having to process it before you can use it. Make
sense?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
because you avoid stale data. What do you think?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, but maybe it will work?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to do something similar. The limit IP stuff from
Roman also looks interesting.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the server platforms that Apache/PHP
work under. I've seen examples of .NET being implemented under UNIX;
they didn't work all that well from what I saw, but researching this
might also add to your pool of knowledge on which direction to go.
-Ed
--
PHP General Mailing List (http
information that it's better
to just store the user id in session data and grab the rest of their
information from the db - not much of a difference in performance,
plus you end up avoiding stale data. Anyway, I like your distinction
between simple and complex objects.
-Ed
--
PHP General Mailing
is edit these files to include business logic and any
customisations.
Is the Radicore framework still available?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
library that Stut uses.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Oct 13, 2006, at 12:12 PM, Richard Lynch wrote:
On Fri, October 13, 2006 11:05 am, André Medeiros wrote:
I am working on a backup system that needs to be called through a
webpage to start the process. I am trying to do this on a
one-file-only sollution.
The thing is, the first request to
a solution?
Not a solution, but an idea... the dos chdir comand. Maybe you can
run it from within your script. It tells you the current working
directory and you end up indirectly knowing the location of the
php.exe that you're using.
-Ed
--
PHP General Mailing List (http://www.php.net
that says something like server
busy, try again in a moment.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the feedback Kyle, much appreciated. DreamHost does look
pretty good price-wise. Two others I was referred to are
HostBaby.com and OCSSolutions.com.
Have a good one :)
-Ed
On Oct 11, 2006, at 10:12 PM, Kyle wrote:
Hello,
I would suggest dreamhost at www.dreamhost.com
On Oct 12, 2006, at 10:18 AM, Richard Lynch wrote:
I can't architect a good OOP solution to a problem that hasn't been
fully defined, any more than one can architect a house without knowing
all the rooms that are needed...
Sorry to jump into the middle of the conversation, but I thought this
performance hog following all the best practices in the world.
Definitely agree with you there.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
methodologies.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Until someone has more specific information, my first thought was to
wonder which version of PHP and GD you're using in case they aren't
the latest and greatest. If you're aren't, then I'd upgrade, retest,
and go from there. I'd also check to see if you run into the problem
with images
leave a
message... bep... pretty scary if you ask me.
Anyway, thanks in advance for any recommendations you have.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
looking for.
Ed Curtis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as 'item'. What I need for it to be is
'item1' so when the customer chooses another product I can increase $count
by 1 and have the next array with values stored as 'item2'.
Thanks for any help,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Thanks for all the help guys. I now have a better understanding of multi
dimensional arrays and can use it for what I'm trying to accomplish. This
list is the greatest!!
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
out of the results I get from it but it
will only output the size values when it's building the array, never when
I try to loop back through it and output the values.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Make sure to parse the input, instead of using $_GET... it's too easy for
hackers to embed stuff...
Shawn McKenzie [EMAIL PROTECTED] wrote:
$result = yoursqlfunc(SELECT person FROM sometable WHERE
firstname='$_GET[fn]' AND lastname='$_GET[ln]');
Any recommendations on good host providers for PHP 5? Bonus points if they
support SSH access and a PHP compiler like Zend.
Thanks,
Ed
to trigger this, but I think it's something
to do with having executables signed - I'd appreciate if you have any advice
on how to do this also.
Thanks,
Ed
PHP 4 and PHP 5 on a single web server, have
scripts all use the php extension, and somehow specify in the script itself
which version of PHP should be used?
-Ed
uot;3" and is looking at gallery "page" three,
then I don't want the number three to be a link -- and maybe it should be bolder
or lighter or something. Any ideas? I was thinking of nesting an "if then"
inside the "for next" but can't seem to make anything
wo
ot;,"boat"). Any ideas for how to "sniff" out a folder
to determine how many files are in it and then create an array with the file
names in it?
Thanks,
Ed
Ed
DorschDevelopment
CommunicationsUniversity of Oregon541.346-0605
"You can't wait for
inspiration. You have
']['tmp_name'] to see if it
exists before moving it to wherever I'm moving it too?
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
element?
You can however use the onChange event to call another PHP script that
will perform the function. Not nearly as many keystrokes :)
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 10 Feb 2005, Richard Lynch wrote:
Ed Curtis wrote:
On Thu, 10 Feb 2005, Richard Lynch wrote:
In honor of our recent Super Bowl, here is a slow-motion instant replay:
Bob: Well, it's a great day so far for PHP today, isn't it Jim?
Jim: You've got that right, Bob! Now let's
I've been looking at the docs and found preg_match and preg_match_all but
these functions only seem to match 1 specific search item. I want to make
sure a variable (say $mlsnumber) contains only numbers and no spaces. What
would I use to accomplish this?
Thanks
Ed
--
PHP General Mailing List
DISTINCT in your query, maybe?
SELECT DISTINCT Cattegory from tablename;
Hope that helps.
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The most strange thing is, that the problem appeared at a
time, when no
changes to the program was made.
ANYBODY RAN INTO SOME SIMILAR THING?
I haven't run into this, but it'll be easier to help troubleshoot this if
you could post sample code.
Ed Lazor, President
http://RPGStore.com
it will only
equate to one
character more or less.
Check out the user contributed notes in manual for substr. There's an
example there of how to keep words intact and it sounds like it might apply
to your situation.
Ed Lazor, President
http://RPGStore.com
Up to 50% off. Over 20,000 items
and irrelevant to me, because placing a
$tmpsting .= microtime().br\n; into each loop and then echoing it
shows, that there are randomly processing gaps between two cycles when
running as a part of the whole.
Have you tried to increase the amount of memory available to this script?
-Ed
--
PHP General
Do you mean an integer? As in
$i = 5;
Print $i;
?
-Original Message-
From: Juan Pablo Herrera [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 10:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] intenger
Please, i need output a intenger, what function can i use for
to respond based on information that's entered. For example, if the
first form asks for the client's city, follow-up forms may prompt for data
specific to that city.
Hope this helps,
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 6:40 AM
To: php-general
Subject: [PHP] Muti-Dimensional Array Help Please
hello all,
I have some text files in a directory that contain newline delimited IP
addresses. Here is what i
PHP is installed from rpm's. Is it possible to install mcrypt / libmcrypt
from rpm and enable it in PHP without having to recompile?
Thanks,
Ed
$mail_from = From: Sagar;
-Original Message-
Hi all,
I'm using mail([EMAIL PROTECTED],$subject,$message,$mail_from);
But i get an email with a from address as anonymous@myserver.com
I want to show the from address to be like From : Sagar
plzz help me out
/sagar
--
PHP
Can you do an .htaccess solution? If so, you could probably just set
session save path with PHP_VALUE in the .htaccess file
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session_save_path
My
Did you install it and PHP automatically recognized things or did you have
to enable something in php.ini and restart? I checked the php.ini file on
the server and there's nothing mycrypt or crypt.
-Original Message-
On Thu, 7 Oct 2004 08:37:19 -0700, Ed Lazor [EMAIL PROTECTED] wrote
On Friday 01 October 2004 05:52, Ed Lazor wrote:
Images take up more space when stored in the db, because you're storing
raw
binary data. Gif and jpeg are compression methods that convert binary
data
into something smaller that can be stored in a file.
??
If you store a jpeg file
Thanks Manuel, I'll check it out.
-Ed
-Original Message-
http://www.ups.com/content/us/en/bussol/offering/technology/automated_ship
pi
ng/online_tools.html
You may want to take a look at this class that supports UPS:
http://www.phpclasses.org/shiptrack
--
PHP General
Chapter 1 of Advanced PHP Programming, by George Schlossnagle, ISBN
0-672-32561-6.
http://www.blueshoes.org/en/developer/coding_guidelines/
-Original Message-
So I'm sitting here writing code and I'm thinking about my own style of
writing
and formatting my php code(I use a mix of
You have the correct order. Exif relies on functionality provided by
mbstring.dll, therefore it must be loaded after it.
-Original Message-
I'm trying to use the EXIF extension (PHP 5, Windows
XP). Order didn't seem to matter before (PHP 4). But
now, if my php.ini is like:
the
customer when products ship, rather than when the order is received. Or, if
the customer decides to have instock items ship now and back ordered items
ship when they arrive - which results in two shipping charges.
How do you guys handle this?
-Ed
--
PHP General Mailing List (http://www.php.net
Has anyone integrated the UPS Online Tools with their site using PHP?
http://www.ups.com/content/us/en/bussol/offering/technology/automated_shippi
ng/online_tools.html
-Ed
) {
return strcmp($a[Title], $b[Title]);
}
uasort($list, cmp);
-Ed
-Original Message-
Sorry for the empty reply (miss slide of the finger on my touch pad).
You can use array_multisort(); The code would look something like
this, remember, this is untested code so be warned before any
Any ideas on how I could sort this array by Title?
$menu[1][ID] = 5;
$menu[1][Title] = Test 1;
$menu[2][ID] = 3;
$menu[2][Title] = Test 4;
$menu[3][ID] = 56;
$menu[3][Title] = Test 8;
$menu[4][ID] = 44;
$menu[4][Title] = Test 3;
Thanks,
-Ed
.
-Ed
-Original Message-
HEre is a question that I have been wondering about:
- Does the image file use more space in the db or as a file itself
(Do Not count the extra data that one would store in the db along with
the image... ie. ID number)
--
PHP General Mailing List (http
-Original Message-
Not Really.
Are you sure?
http://dev.mysql.com/doc/mysql/en/Stored_Procedures.html
On 30 Sep 2004, at 21:50, Sagar C Nannapaneni wrote:
Hi folks,
I wonder whether Mysql supports procedures and triggers
:?
/sagar
--
PHP General Mailing
Thanks to everyone who sent in patterns =) They worked like a charm =)
$pattern = /\{\$(.+?)\}/i;
$replacement = \\.\$$1\.\;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a wrapper with gettype to handle that in the meanwhile.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
who don't know any better. This is the
goal of the ideas I've presented.
The ideas won't do anything to stop those who don't care, but maybe the
number of non-PHP questions will decrease overall. It seems worth a try.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
them. Just giving the
information.
Ed
On Sat, 18 Sep 2004, raditha dissanayake wrote:
Michael Mao wrote:
Is there a way to capture a snapshot of a html page and save it as a
jpg using php?
This is something that's very very hard to do with PHP but can be easily
done with Java
again,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This has got to be one of the funniest threads I've seen on the PHP list in
a really long time. However, unless someone can come up with more humorous
replies, I vote that it be killed.
-Ed
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Saturday
-Original Message-
What side is that? Doesn't it depend on national preference?
When I overtake others, I usually take to the other lane ... is that the
wrong side, or the right side of the road, for what I'm doing ?
Depends on your perspective :P hehe
-Ed
--
PHP General Mailing
can be a URL
or it can be a file path. If you want it to access a URL, the URL needs to
be fully formed - ie. Including the http://.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
isn't an issue and ease
of tracking tens of thousands of images is important.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it. Thanks Jason.
-Original Message-
Imagejpeg($im); // successfully displays image
Use the ob_*() functions to capture the output. See archives for details.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from the
database in a way that I can continue to manipulate it with the image
functions, like imagejpeg($data)?
Thanks,
Ed
-Original Message-
From: Ed Lazor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 5:20 PM
To: 'Jason Wong'; [EMAIL PROTECTED]
Subject: RE: [PHP
Check out the manual on the date function. It allows you to get names from
dates. The PEAR date stuff will allow you to do date math.
-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 10:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MS Outlook
Here's one way, but this may not be completely what you want because the
value of variable foo doesn't change.
-Ed
Class foo
{
Static $foo;
Function foo() {
$this-foo = 10;
}
}
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED
Here's another option as well, in case it helps out:
$var1 = Pizza;
$var2 = var1;
$var3 = $$var2;
print var3 = $var3br;
Output:
var3 = Pizza
-Original Message-
Ok, assuming everything's working correctly except for the use of
$prevtime in the SESSION, then here's one answer:
How come the output to this script is World Trade Center instead of Pizza
Delivery?
Thanks,
Ed
?php
class test {
private $var1;
function __construct() {
$this-var1 = World Trade Center
of the
created image based on the dimensions of the original.
Paul Birnstihl wrote:
Ed Lazor wrote:
Is there a way to get the size of an image created using the
imagecreate
function?
I'm guessing it would be xsize x ysize x colour depth = size in bits ?
--
PHP General Mailing
Because test's var1 is private.
test-var1 isn't accessible by class testing, so the assignment you're
doing in testing's constructor is assigning Pizza Delivery to
testing-var1 instead.
When you call $test2-get_var1() you're calling the parent's get_var1()
method, which prints out the
on this?
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
guys think.
Thanks,
Ed
Scripts:
-
Test.php
-
?php
class Test {
public $value1 = 0;
function set_value1($data) {
$this-value1 = $data;
}
function get_value1
Add to php.ini
Extension=php_soap.dll
I didn't see a line in php.ini to uncomment, but I found a page that
confirmed this:
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_21080398
.html
-Original Message-
From: John Smith [mailto:[EMAIL PROTECTED]
Sent:
$plaintext/p/html;
Season to taste. Or explain exactly what you mean.
Sounds almost like they're talking about
http://www.interaktonline.com/products/KTML/
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
On Friday 10 September 2004 06:59, Ed Lazor wrote:
Is there a way to get the size of an image created using the imagecreate
function?
Size as in ... ?
I was looking for the size of the image in bytes.
-Ed
--
PHP General Mailing List (http://www.php.net
.
Thanks,
Ed
Thanks everyone for the recommendations =)
-Original Message-
On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor [EMAIL PROTECTED] wrote:
Any recommendations on the best PHP5 OOP book to get? I have Advanced
PHP
Programming by George Schlossnagle. It's turning out to be a great book
Is there a way to get the size of an image created using the imagecreate
function?
The PHP manual section on image functions mentions getimagesize, but that
only works on remote or local files.
Thanks,
Ed
-Original Message-
Ed Lazor wrote:
Is there a way to get the size of an image created using the imagecreate
function?
I'm guessing it would be xsize x ysize x colour depth = size in bits ?
What's the default color depth?
-Ed
--
PHP General Mailing List (http://www.php.net
Is it bad practice for a class to have a variable and method of the same name?
For example:
class product {
var $Name;
function Name() {
return stripslashes($this-Name);
}
}
Thanks,
-Ed
This message
which window is
which. There are times where I'll branch windows further and end up needing
to communicate to back and forth, but then I just use Javascript on the
client-side using the window.opener objects.
Hope that helps =)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Google: how to copyright
-Original Message-
From: Kevin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 8:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] General copyright question
Hi there,
I have seen some scripts that are copyrighted and one can not modify or
use
-Original Message-
Does anyone know of Blog sw available in the marketplace written in PHP
and
maybe MySQL?
Go to Google and search for blog php. I just did and there were several
options available.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I feel it may actually be a PHP error with mbstring regex in the
newest PHP 5.0.1 - but won't know until another PHP user on another
platform gives it a try.
Have you checked OS library dependencies?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
-Original Message-
joshua wrote:
If you wish to have more
information on this project, please contact me off-list:
joshua$abbott[at]crystalstream[dot]net
replacing:
$ with .
[at] with @
[dot] with .
I am interested. Can you please contact me at
-Original Message-
Of course, we tried very hard to make this one have a fair amount of value
but not just be difficult for the sake of being difficult.
Why not offer multiple PHP certifications varied by topic and complexity?
Will certs expire?
=)
--
PHP General Mailing List
, uml, user docs)
Some what like the ISO 9002 certification but more software oriented.
It sounds like you're describing what I'd expect to see from someone with an
IS / IT degree.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The site has a spot where you can search for locations in your area that
give the test. Buy a voucher and then call the nearest place giving the
test and schedule to take it.
-Original Message-
From: Matt M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 9:30 PM
To: Curt
somebody idea?
I'm not sure, but I don't think this is something that can be specified by
the website. The user has to go into their IE settings and toggle whether
they want to accept third party cookies.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I've been looking through the online docs and man is this one confusing.
Seems there are plenty of different ways to use this. Using this with
forms, what is the best setting to avoid back button mishaps?
(none,private, etc..)
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net
Does anyone have information on PHP and FirstPay.net? I'm looking at using
them to do credit card processing and wondering how easy it will be to
communicate back and forth with them, whether scripts are available, etc..
Thanks,
Ed
101 - 200 of 685 matches
Mail list logo