Børge Holen wrote:
On Saturday 08 September 2007 12:48, Tony Di Croce wrote:
I need to convert (resize, and store as blob's in a mysql db)
oh oh oh... NO we can slap the horse again ;D
images my
users can upload. I'm wondering what the best conversion tool is... I'm
I've been using ImageMagick pretty much since 1997, I'm probably biased
or ignorant of other tools that are probably available to people these
days :). But, ImageMagick still works wonderfully for me, so.. yes it's
the best :).
Børge Holen wrote:
On Saturday 08 September 2007 13:59, Vidyut
Hi David,
I'd say your best bet is to use memcached. This will allow the
variables you specified to stay in memory, and be accessible to all
other applications.
http://www.danga.com/memcached/
Keep in mind though, just because ASP does it in one way, you don't want
to do a bit for bit copy. You
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen [EMAIL PROTECTED] wrote:
Tanoor Dieng
just for fun, I tried to do what you're doing.
http://www.phpcult.com/jason.phps
http://www.phpcult.com/jason.php to run it..
it seems to be working.. the problem is in your code.. but not PHP properly..
On 2/24/06, Jason Gerfen [EMAIL PROTECTED] wrote:
Christopher Taylor wrote:
I am not
I'm writing a error handler for my scripts, so I went to : http://
us3.php.net/manual/en/function.set-error-handler.php
I noticed something in the example 1 given there.
?php
myErrorHandler($errno, $errstr, $errfile, $errline)
{
switch ($errno) {
case E_USER_ERROR:
.
}
?
and then:
Look into the SELinux settings for your system, if you have that
enabled, by default PHP is not allowed to get that file via the user
nobody.
If you look into /var/log/messages you'll see some selinux messages.
You either need to disable selinux, or set your policy...http://
Exactly,
CONSTANTS are ... eternal truths to the program, they shouldn't
change, constants should not be changing based on arguments being
passed, or other variables.
by definition, it's no longer a constant, and a misuse of the define
() function.
On Jul 28, 2005, at 8:46 AM, Jay
On Jul 28, 2005, at 9:41 AM, Edward Vermillion wrote:
[snip]
I may be misunderstanding you here, but I don't see why you would
not want to use a variable to define a constant. I do it from
time to time, most common would be in a config document where I'll
check if the page is being
Hi Tom,
First of all due to the risks involved in doing something like
this.. are you sure you need to do this as root ?
Secondly, are you sure this script will not be accessible via an
apache server ? (i.e this is not inside your document root?)
Your best bet is to use sudo (man sudo, man
Ok,
If I use the file_get_contents.. how do I actually parse the
contents on /proc/uptime
cat /proc/uptime
1400293.13 1317047.64
What do I do with those two numbers ?
man uptime doesn't really talk about that file.. :/
On Jul 22, 2005, at 2:42 AM, Jasper Bryant-Greene wrote:
Vidyut
Hello,
I have a question on how to get Server side system specific
information via PHP, or just general direction on how to parse some
of the information found in /proc
For example, I want to be able to display the system uptime.. number
of users logged in, and load average.
In the
I don't think so. Considering you won't be able to initiate an ftp
connection via a form.you could write some rpc type thing to do it, but
it'd be more work than just changing your .ini setting.
--
Vidyut Luther
http://www.phpcult.com/
SED wrote:
I have been thinking about a way to upload
If you installed PHP from the Redhat RPMs, you may want to see if the
fedoralegacy project has a newer RPM for your distribution.
Otherwise, you're somewhat on your own. What I would do is, run phpinfo,
it will output the configure options used to build PHP, copy those and then
run them on your
Hello,
I'm looking at the PHP manual which has http://us3.php.net/convert_uuencode
convert_uuencode as a function, but it's only a PHP 5 function. Is
there a PHP 4 equivalent for this function ?.
Really appreciate any help on this.
--
Vidyut Luther
--
PHP General Mailing List (http
Hi,
I'm using the NuSOAP class to get some information from a different
physical server, so far i've gotten the basic methods done, but I was
wondering if it's a good idea to have the server return a complete
html form back via the SOAP envelope, or should I do something else ?.
Just tryin to
try this inside the
Directory /path/to/documentroot
php_admin_flag engine on
php_admin_value include_path
/directory
maybe apache 2 wants something else...
On Mon, 21 Jun 2004 12:18:47 -0700, Jon Drukman [EMAIL PROTECTED] wrote:
in my apache server i have a bunch of virtualhost
The simple but potentially wrong..harmful solution is to turn on
register globals in php.ini,
The right solution is to use $_SERVER['PHP_SELF'];
On Fri, 2002-10-25 at 11:48, Mario Montag wrote:
First time playing with PHP, Apache, and MySQL. I have a simple form error
and I don't know how
and user names so that
it cannot be accessed by anyone, just by allowed users ?
thank you
roman
--
Vidyut Luther
Linuxpowered, Inc
http://www.linuxpowered.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
word/textarea
form
elements reliably.
Write a SMALL test script, test it, and if it ain't working, post the
code
:)
Justin
--
Vidyut Luther
Linuxpowered, Inc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the product with the infamous missing jpeg picture, I would
rather the product be skipped altogether.
I'd like PHP to check to see if the image/picture.jpg exists before
returning the picture. Is this possible?
Thanks!
Doug Coning
American Web Studio
www.americanwebstudio.com
--
Vidyut Luther
Hello,
I have a question regarding array_walk.. I couldn't find any help on
the website or on irc.. didn't know where else to look.
I want to call a method in an object(class) , I can't seem to get it to
work.
the name of the array is $fieldname,
when I run
22 matches
Mail list logo