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
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 Mailing
Sorry, how does this relate to PHP? It seems like you're just trying
to get us to visit your sites to bump up traffic.
On Oct 19, 2006, at 8:44 AM, Chuck Stearns wrote:
hey, check out the bar on the side of the ones with main.html.
http://www.997thelake.com/main.html
http://www.cool929fm.c
This is definitely something you'll want to run by the MySQL mailing
list.
On Oct 19, 2006, at 10:02 AM, Alan Milnes wrote:
PHP 4.4.4
MySQL 4.1.21-community-nt
I have a table in my database that has a Primary key on 2 fields
(MyID and MyChange) and a field that indicates if there is a
How are you running PHP? What are you trying to accomplish with
setting the env var?
On Oct 19, 2006, at 8:16 PM, jekillen wrote:
Hello again;
I'm wondering if it is possible to create an $_ENV var with a php
script running under a web server. I'm not sure where to look
in the manual or othe
graph the usage
whenever you want.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You're asking everyone else to change their email client when the
quickest solution would be for you to change yours.
On Oct 22, 2006, at 10:59 PM, theIggs wrote:
Hello all!
Sorry for the offtopic.
Please, when you reply to PHP mailing lists, put the Re: element right
in front of the subject
Has anyone checked this for security?
On Oct 23, 2006, at 11:26 AM, Daniel Orner wrote:
A big new update for Sparse, the HTML-based framework for writing
MySQL-backed CGI applications easily and quickly. Now, the
generated forms output in fully degradable Ajax, meaning that if a
user doe
default to things like scp when I need secure transfers of data.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Depends on your operating system.
On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote:
Yes, the directory on mapped drive Y does exist.
I do think that it might have something with how PHP and Apache is
running.
How do I chanage how PHP is running under an account? Where do I
tell PHP or
Ap
PC XP Pro, wish they would give me back my Mac.
On 10/23/06, Ed Lazor <[EMAIL PROTECTED]> wrote:
Depends on your operating system.
On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote:
> Yes, the directory on mapped drive Y does exist.
>
> I do think that it might have something w
Hi,
I wanted to give some feedback on PHP 5 hosting in case it helps
someone. I signed up with DreamHost last Thursday. I also signed up
with OCS Solutions to compare the two services. I also maintain a
server with CalPop.
When I signed up with Dreamhost, I discovered that you have to
quot;php
shopping cart"? Which options have you dismissed and why?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Side note on the PHP FTP... I'm sure there are PHP FTP classes out
there for you to use... google "php ftp class" and you'll see a few
options to explore.
On Oct 28, 2006, at 10:47 AM, João Cândido de Souza Neto wrote:
Hi everyone.
I´m in a big doubt about uploading files ins a safe way.
Check php.ini session settings. There are some options in there for
you to use in your scripts. Set up scripts to test whether session
cookies are being saved and then route accordingly.
On Oct 28, 2006, at 12:41 PM, sit1way wrote:
Hey all.
I run a members-only hockey report that relies
Are you just trying to tell whether the form has been submitted? Or
are you just trying to validate form data?
-- verify form submitted -
if (isset($_POST)) {
// form submitted, process data
} else {
// display form
}
---
You posted this earlier and people, myself included, responded. I
don't know why you're reposting your original message rather than
reply to what we went. If you're not happy with the answers we
provided, please rephrase your question in order that have more luck
in answering it.
On O
Use the mysql list :)
On Oct 28, 2006, at 3:01 PM, Beauford wrote:
Hi,
I have a MySQL database with a date field and a bunch of other
fields. The
date field is in the format - 01/01/2006. What I want to do is
query the
database and create a table that shows just the year and how many
in
for each date, not each year. I
need the totals for each year, regardless of the day or month.
This is
why I figured I'd need to use PHP to maybe put it in an array
first or
something.
Thanks
-Original Message-
From: Joe Wollard [mailto:[EMAIL PROTECTED]
Sent: October 28, 2006 10
Side note, it sounds like
$this->result
is an object holding an array, not the array itself and print_r is
automatically traversing the object.
On Oct 29, 2006, at 4:27 AM, Gunnar Beushausen wrote:
Hi!
I've a strange problem with count. I wrote a routine to jump to the
last position of
Is anyone else getting multiple copies of posts?
On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote:
There's nothing wrong with multiple forms on a single page, as long
as all id
attributes in all elements are unique on the entire page, not just
within the
form. Just make sure that each for
PHP can't tell what table the data came from.
On Oct 29, 2006, at 1:34 PM, Børge Holen wrote:
Hi.
I got this working (almost)
How do I decide (inside?) the whileloop the table_nr, 1 to 4 witch
the link is
echo'ed from.
I could add another field in each table telling witch table it is.
Ea
checkout the function mysql_real_escape_string()
On Oct 29, 2006, at 3:13 PM, Dotan Cohen wrote:
On 30/10/06, Paul Novitski <[EMAIL PROTECTED]> wrote:
Hi Dotan,
To get help with your problem, share more of your PHP code with the
list so we can look at what you're doing.
Also, give us a link
Definitely not. Review your design. If you need to know which table
data comes from, then perform table specific queries. If you need to
combine data from more than one table, code your application to
respond accordingly. You may also need to review your database
schema design in order
Depends on the volume and type of data that you're working with. It
also depends on the type of connection between the server and
client. Slower connections, unreliable connections, or general data,
use smaller packets. Reliable connection or higher volumes of data,
use larger packets.
e the source of a record in a union query when the query
itself could simply supply that datum easily.
Of course not. Honestly, I think you're just being critical of what
I said, because you thought I was being harsh and unfair when I
wasn't actually trying to be.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, Ed, I had intended my reply to be friendly as well. I'm
allergic to smiley-face icons, but I should have tried harder to
convey my tone. Dang this poker-faced email!
No worries. It's all good :)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
at is wrong here?
No idea off-hand, but it would probably help if you you included more
information like source code and details about the images that are
not working.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Another idea from what I just sent: try googling "synonym
database". It looks like there are a few leads in there as well.
On Oct 30, 2006, at 6:26 AM, Kevin wrote:
Hi,
Is it possible to automatically search for synonyms related to a
word in a search engine for example if I create a sear
Would this help?
http://us3.php.net/manual/en/function.mb-convert-encoding.php
On Oct 30, 2006, at 7:21 AM, [EMAIL PROTECTED] wrote:
Hi!
I need to be able to encode text to PC-850 but I have big trouble
finding out info about this encoding. Does it even exist? I get a
few google hits, but
It looks like you guys are coming up with some cool solutions, but I
have a question. Wasn't the original purpose of this thread to
prevent sql injection attacks in input from user forms? If so,
wouldn't mysql_real_escape_string be an easier solution?
On Oct 30, 2006, at 8:17 AM, Jochem
/home/index.php?SMC=1&pageID=compiler
http://www.priadoblender.com
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
que". I had to sort through the
results, but it did look like there were a few interesting articles.
Here's one of them: http://developer.apple.com/documentation/
UserExperience/Conceptual/SearchKitConcepts/searchKit_basics/
chapter_2_section_2.html
-Ed
--
PHP General Ma
On Oct 30, 2006, at 9:19 AM, Stut wrote:
Ed Lazor wrote:
It looks like you guys are coming up with some cool solutions, but
I have a question. Wasn't the original purpose of this thread to
prevent sql injection attacks in input from user forms? If so,
wouldn't mysql_real_esc
Someone asked what it was to be used for.
It's for combining 4 forums into one witch shows the latest
movement among
them. More like an introduction sort of...
Sounds cool. Are you using a pre-made forum package?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ata you're
working with end up building upon itself? Just wondering, because it
sounds like you could end up hammering your database server.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-time monitoring?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Oct 30, 2006, at 1:10 PM, Dotan Cohen wrote:
On 30/10/06, Stut <[EMAIL PROTECTED]> wrote:
Ed Lazor wrote:
> It looks like you guys are coming up with some cool solutions,
but I
> have a question. Wasn't the original purpose of this thread to
> prevent sql inject
I suppose I could re-compile my command line version with a different
php.ini file, but that's kind of lame that I have to have two
php.ini files
for what ini_set() SHOULD handle.
Would modifications via .htaccess work for you?
-Ed
--
PHP General Mailing List (http://www.php.net
, the file permissions,
and the file size.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
out
more information, but it does sound like you'll eventually run into
some bottlenecks as system usage increases ( and fairly quickly if
you're collecting data every 30 seconds).
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Oct 30, 2006, at 9:20 PM, Børge Holen wrote:
On Tuesday 31 October 2006 02:27, Ed Lazor wrote:
Someone asked what it was to be used for.
It's for combining 4 forums into one witch shows the latest
movement among
them. More like an introduction sort of...
Sounds cool. Are you using
Just getting, but is there a 0, 1, 2, and 3 channel?
On Oct 31, 2006, at 3:10 AM, dhatri gmail wrote:
Hello,
using function getimagesize();
I am trying to get channels attribute value of image, it returns 3
for cmyk image actually it should return 4, can you tell me why it
happens so?
d news tho, if those don't work
for you, odds are good that you're not going to find what you're
looking for... mainly because PHP is designed to be an interpretive
web language and there are other tools more suited for what you're
trying to accomplish.
-Ed
--
PHP Gener
est bidder within a given time frame. Is that right?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n the data (you'll
lose the ability to POST though).
I'd chose the javascript route personally. You could use PHP's curl
functions to rePOST the data, but that seems like more work than is
necessary.
My .02 cents. :)
-Ed
--
PHP General Mailing List (http://www.php.net/)
T
I think that's what he's trying, but he's missing the fact that he
needs to include the actual "From: " that you've specified.
In other words, I think he's doing:
mail("[EMAIL PROTECTED]", "Subject", "Body", "[EMAIL PROTECTED]");
instead of:
mail("[EMAIL PROTECTED]", "Subject", "Body",
"Fr
Have the lighttpd guys come up with any ideas?
On Nov 1, 2006, at 10:24 AM, [EMAIL PROTECTED] wrote:
Just a shot in the dark, but it's possible that providing a
"Location"
header resets the status response. Try swapping your two header
calls.
Stut:
Flipping the headers doesn't work, unfor
It's great to see Microsoft be so supportive of PHP. Go Andi! :)
Personally I'm unsure. I would like to think that Zend is smart
enough to
realize M$ tactics of embrace/extend and will not allow that to
happen. But
everyone has a price, and you through enough money at something and
you can
ps... I wonder if .NET will ever support PHP *GRIN*
On Nov 1, 2006, at 11:59 AM, Ed Lazor wrote:
It's great to see Microsoft be so supportive of PHP. Go Andi! :)
Personally I'm unsure. I would like to think that Zend is smart
enough to
realize M$ tactics of embrace/extend an
I don't think web browsers are going to send you the name of the
directory the file comes from.
On Nov 1, 2006, at 10:50 AM, Sugrue, Sean wrote:
I'm trying retrieve a directory name and a filename with a form. I
want
to use input type file so the user can browse for the file but keep
the
No variable is part of session data, unless you specifically add it
yourself.
Sorry, can't answer to AJAX, haven't had time to play with it.
On Nov 1, 2006, at 12:50 PM, Meghdad Azriel wrote:
Hello,
The objects in an OO website/program is always alive in the
session, or they
die at th
And writing windows native applications with php under Visual
Studio may be
interesting...
I use RealBasic a lot for cross-platform development... it would be
cool if PHP were the base language, instead of Basic *grin*
-Ed
--
PHP General Mailing List (http://www.php.net/)
To
processing
begins. Then again, there's probably problems related to doing
something like this. Any idea of what they would be?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dejavu!
This thread was just on the mailing list recently... check the
mailing list archives.
-Ed
On Nov 1, 2006, at 1:24 PM, David Négrier wrote:
Hello there,
I'm having a somewhat unusual question here, and I cannot find any
way to solve it.
I have a PHP page that displ
Yes. Check the mailing list archive. We just had a discussion about
2 weeks ago that talked about this and gave a few examples.
On Nov 1, 2006, at 1:30 PM, bruce wrote:
yo rich (or others)...
does php provide the ability to store objects in a session var
-Original Message-
ss and tried to use the same configure as them, but I end up
with the same error. Well, I found some stuff on entropy.ch that I
didn't try, mainly because they were using Apache 1.3 and I'm using
Apache 2.2.3.
Thanks in advance for any ideas you have.
-Ed
configure:5855
Thanks Colin. I'd seen that site and noticed in their forums that
people were reporting problems with PHP 5.1.6. I also noted that
they use Apache 1.3 and I'm trying to use 2.2.
On Nov 2, 2006, at 6:02 AM, Colin Guthrie wrote:
Ed Lazor wrote:
Any ideas on how to get this PHP
ivate/tmp. The /tmp
is a link to /private/tmp. I also tried specifying the --with-mysql-
socket=/private/tmp with no luck.
PHP 5.1.6
Apache 2.2.3
MySQL 5.0.27
Mac OS X 10.4.8
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here's another idea:
display your message in the original browser window, launch a new
browser window for the processing script, have the window set behind
the first with javascript. When your script is finished, have it
output javascript that closes the "processing" window.
On Nov 2, 2
Very very nice. I'm impressed with how easy everything was to
setup. I keep wondering why nobody at PHP/MySQL/Apache ever sets up
stuff like this.
On Nov 2, 2006, at 8:40 PM, Wee Keat Chin wrote:
Ed,
Ed Lazor wrote:
I'm trying to configure and compile PHP 5. The configure is
Thanks Johan, I appreciate the info. I ended up going with MAMP as a
quick solution.
On Nov 2, 2006, at 11:29 PM, Johan Martin wrote:
On 02 Nov 2006, at 5:11 PM, Ed Lazor wrote:
I'm trying to configure and compile PHP 5. The configure is
failing to find the MySQL UNIX socket.
You put the data in a directory outside of the webspace and use PHP
to grab the file and send it to someone. That way you're able to
control access to the file.
By webspace, I'm referring to the directories outside of the ones
used to store and serve your webpages. This directory structur
Very cool example.
Probably best explained with an example:
http://progphp.com/upload.php
Try uploading a 200-300k file.
The source code is at:
http://progphp.com/upload.phps
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
about the silly questions..
Sincerely,
Adam
On 11/4/06, Ed Lazor <[EMAIL PROTECTED]> wrote:
You put the data in a directory outside of the webspace and use PHP
to grab the file and send it to someone. That way you're able to
control access to the file.
By webspace, I'm referrin
I think you pegged it... the benefit is that you save time, the
drawback is that you're limited in what you can do. I think you have
to review each framework and chose one based on your personal
preferences, the project at hand, etc.
On Nov 2, 2006, at 7:37 AM, [EMAIL PROTECTED] wrote:
I
e using PHP for this instead - specifically with
defining style sheets for different target browsers and platforms?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g an array 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
of code as well without errors. There are no real similarities
between the two that I can see.
Thanks,
Ed
//DO COUNTY BY COUNTY SORTED REPORTS (SORTED BY CITY,PRICE)
echo "Starting Standard County By County Reports";
mysql_connect ($local_host, $local_user, $local_pass);
Is there a way to make readdir output filenames alphabetically?
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ed Curtis wrote:
Is there a way to make readdir output filenames alphabetically?
Thanks,
Ed
Never mind. I figured out how to do it using an array and sort.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ppens frequently enough that site users are
complaining.
Any ideas?
-Ed
PHP: 4.3.4. (See below for Configure Command)
Apache: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2
mod_bwlimited/1.4 PHP/
ppens frequently enough that site users are
complaining.
Any ideas?
-Ed
PHP: 4.3.4. (See below for Configure Command)
Apache: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2
mod_bwlimited/1.4 PHP/4.3.4 Fron
Is there a way to enable a confirmation message or change it so that I
get copies of messages I send to the list?
Thanks,
Ed
I did that time... must have been a problem on my email server.
Thanks for helping me verify that it's working now.
-Ed
-Original Message-
> Is there a way to enable a confirmation message or change it so that
I
> get copies of messages I send to the list?
>
> Th
my script with the account
settings (and permissions, possibly) for another user on my host
provider's server. If that's true, wouldn't this quality as a security
issue?
They use open_basedir for security. Isn't that part of PHP? They're
running the latest version of P
ed list of addresses
so only people sending directly to me will have to reply to the initial
confirmation. Or so I hope... as I test yet another anti-spam
solution.
-Ed
-Original Message-----
Yo Ed, this is why you aren't getting replies from the list. I suspect
that after seeing th
now of anything I find.
I received email shortly thereafter saying that they disabled
open_basedir on the server in response.
-Ed
-Original Message-
> It's like PHP is somehow confused and running my script with the
> account settings (and permissions, possibly) for
Make sure you use imagecreatetruecolor() with GD when resizing images or
you'll get some undesirable results. Imagemagick's convert and mogrify
worked well for me although I was resizing an uploaded image.
Ed Curtis
On Thu, 26 Feb 2004, Will wrote:
> Thanks!! I found some doc
Does anyone happen to have the link on microsoft's support site that
addresses the problem with the latest IE 6 hotfix and incomplete headers
being sent? I can't seem to find my bookmark and I can't access the
archive site to find it.
Thanks,
Ed
--
PHP General Mailing List (htt
story - Horror
>
> can anyone help me throught this please ?
Use 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
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
hing - not completely sure how 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
re.
Is it possible to install both 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
Any recommendations on good host providers for PHP 5? Bonus points if they
support SSH access and a PHP compiler like Zend.
Thanks,
Ed
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]'");
ight track. We need the kinds of things you're
developing... but in terms of the IDE, we need a lot more to be convinced to
drop our current editors.
---
Ed Finkler
Supervisor of Web Development
Golden Dome Media
[EMAIL PROTECTED]
219-631-1107
--
PHP General Mailing List (http:/
the download, and
say "When the download and installation is complete press NEXT".
The problem seems to be that the action= for step 2 must do two things:
start a file download AND display the next step of the wizard.
Any advice or examples would be appreciated!
ed
--
PHP General M
If you are using Windows try C:\windows\temp as /tmp directory.
Ed
"Jough Jeaux" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> The very simple following script:
> session_start();
> ?>
>
> Produces an error that says it can't wr
601 - 691 of 691 matches
Mail list logo