I need to convert (resize, and store as blob's in a mysql db) images my
users can upload. I'm wondering what the best conversion tool is... I'm
considering ImageMagick... Is this the best?
Is their anything that is integrated with PHP itself?
I need a CAPTCHA script Which one is the best? (I dont mind if its
I have to write some PHP backend code for a threaded message board. The db
has a message table, and each message has a parent id.
Does anyone have any advice for someone whos never done this in PHP?
I'm currently thinking that I write function that takes a db row as an
argument, and initially,
I keep wanting to do something, and either I dont know how to do it, or I'm
doing something wrong and need to rethink things.
Quite often, I have a form that submits to a php script via POST and after
doing some processing (or more frequently, asking the user a question), I'd
like to forward
Wow... well, I was certainly not speaking from direct experience, only from
what seemed to make sense to me. This tells me that their is some serious
room for improvement in PHP de-serialization code...
Sorry Tony, I should have been more clear. I already know that
storing session data
Is their a slick way of automatically serializing Objects to the session
when a script exit()'s and de-serialize them in session_start()?
It seems to me that object oriented PHP might actually be useful if I could
persist an object across an entire session, and come to think of it, their
I dont think its so bad.
What I do is keep the PHP and HTML seperate, but in the same file: php on
top, html in a here document at the bottom. I COULD go one step farther and
have the HTML in a seperate file, but I just dont see the point.
On 10/7/06, Thiago Silva [EMAIL PROTECTED]
I am relatively new to PHP... I have about 1.5 years of light PHP work under
my belt... Over the past year or so my PHP coding style has evolved
significantly and I'm curious as to how experienced programmers write PHP...
Basically, here is what I have evolved to:
1) ALL php code is at the top
How about nfs mounting a directory from the image server to a directory on
the lamp server.
This way, the files are never really on the LAMP server...
On 9/30/06, Nick Wilson [EMAIL PROTECTED] wrote:
* and then Google Kreme declared
On 30 Sep 2006, at 03:29 , Nick Wilson wrote:
In a couple of my scripts, I do something like the following when I detect
an improperly submitted form:
**if( !valid_string( $_POST['firstname'] ) )
header( location: $return_url );
I'm helping a friend of mine build a matchmaking website, and we have a
doozy of a problem to solve:
What I need to do is two fold:
#1 Collect whatever geographical information I need from each user to enable
#2 Be able to run query's to find people NEAR (geographically) another
. . .
On 11/9/05 10:10 AM, Tony Di Croce wrote:
The reason I even wanted to do this had more to do with sharing some
data between two sites, and less with really maintaining a login.
It occured to me that I need not share sessions at all. Instead, all
of the data B needs could simply
Are variables that are stored in the $_POST array ever communicated to the
Im using PHP sessions, and I store lots of variables in $_POST... If I use
$_POST to communicate variables from 1 php script to another, is that
for only the most hard core geekstas...
I have a server with a few virtual hosts. All of my scripts use
session_start(), and $_SESSION to share data between invocations of
The problem I'm having is that if a form on site A submits to a script on
site B the values stashed in $_SESSION appear to be lost...
I'm trying to fully chroot my server. Right now, I have Apache running
in a chroot jail, and I need to get php5 working their too... Before I
dive in, I thought I'd just ask if anyone here has any experience
doing this...? Are their any known issues?
Also, I was going to chroot my postgres db,
I AM going to accept CC's on my site. I am NOT going to store them
anywhere... and I DO think the original question is valid. If a hacker
is able to gain root access they may be able to obtain a CCN from
memory on my server... Perhaps a hacker breaks into a number of sites
and harvests 1 or 2
Due to the recent vulnerabilities discovered in phpBB and the content
of this page:
I have decided to consider other options for my forum needs... Does
anyone have any reccomendations for a PHP based forum software?
Send REAL USPS letters from the Web!
First I should say that I have NO plans to store CCN's on my site, but
I do have a related question:
Right now I accept CC info from a posted form and then from a PHP
script submit that to authorize.net... Is their any way to get PHP to
clean up any remnants of any variables that might be in
OK... Here's a slightly different, but related question...
Can database connection resources be serialiazed and re-used in a
different script invocation? For example, can I open a DB connection,
assign it to a $_SESSION variable and then later use it on a
different page? Somehow, I doubt it...
Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?
I'm seeing a pg_connect() error... FATAL: no pg_hba.conf entry for
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am fairly new to PHP, but I am loving it... I have recently gotten
involved in a business venture and I have been using PHP so far...
Recently I have taken on a partner, and he is a big ASP guy...
I am not totally against ASP, but it would have to be pretty good to
get me to switch at this
I am relatively new to web development, but I have been a C/C++
programmer now for about 9 years...
So far, I really love PHP... It just makes web development so much
more convenient... But I sometimes wonder why so much server side work
is done with intrpreted scripting languages... Why haven't
I just started using PHP a week or so ago... And everything is coming
along great... But I have some general question about sessions...
Actually, about PHP's built in session support.
Do I need to call session_start() in every script that needs access to
Would it cause any problems
Mail list logo