It's not that hard, no imagemagick functions required! Use imagecopy
(part of image functions, built into PHP GD stuff) and a nice 32 bit
PNG image with the opacity exactly the way you like. Browse the PHP
manual for more docs on the exact code, there are lots of examples. I
found it didn't lik
Hi all,
I am creating a user form whereby I will do an "INSERT" , "SELECT" , "UPDATE"
and of course "DELETE" for the form. Right now I am trying to create a form
whereby when user choose to update their info, they wil be directed to a form
where the fields region are EDITABLE , before that,
[EMAIL PROTECTED] wrote:
Hi all,
I am creating a user form whereby I will do an "INSERT" , "SELECT" , "UPDATE"
and of course "DELETE" for the form. Right now I am trying to create a form
whereby when user choose to update their info, they wil be directed to a form
where the fields region ar
Does someone know why do I receive such messages each time I post to the
list ?!?
Original Message
Subject:failure notice
Date: 10 Dec 2003 09:42:41 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi. This is the qmail-send program at pb1.pair.com.
I'm afra
Sophie,
Just to add weight to your comment - I've been receiving identical notices though I
don't know what causes this.
Regards,
Michael Egan
-Original Message-
From: Sophie Mattoug [mailto:[EMAIL PROTECTED]
Sent: 10 December 2003 09:45
To: [EMAIL PROTECTED]
Subject: [PHP] [Fwd: failu
Even worse ! Admin of the list, please take some action !
Original Message
Subject:[ERR] [PHP] [Fwd: failure notice]
Date: Wed, 10 Dec 2003 18:45:17 +0900
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Transmit Report:
To: [EMAIL PROTECTED], 402 Local User Inbox
Sophie Mattoug schrieb:
[EMAIL PROTECTED] wrote:
Hi all,
I am creating a user form whereby I will do an "INSERT" , "SELECT" ,
"UPDATE" and of course "DELETE" for the form. Right now I am trying to
create a form whereby when user choose to update their info, they wil
be directed to a form wher
[EMAIL PROTECTED] schrieb:
Hi all,
I got the error " Constraint Violation " when I did an "INSERT" .
Gone thru the code umpteen times but to no avail..Wondering
where my error
was??...Below is a snip of the block of code:
$db = DB::co
Hi all,
I got the error " Constraint Violation " when I did an "INSERT" .
Gone thru the code umpteen times but to no avail..Wondering where my
error was??...Below is a snip of the block of code:
$db = DB::connect ($dsn); if (DB::isError ($d
Sophie Mattoug wrote:
> Does someone know why do I receive such messages each time I post to the
> list ?!?
[snipped]
Is a Illuminati conspiracy! Argh!
--
Seks, seksić, seksolatki... news:pl.soc.seks.moderowana
http://hyperreal.info { iWanToDie } WiNoNa) (
http://szat
Hi guys,
I'd like to use one of the auth classes from pear.
Any suggestion for the best one?
cheers
alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote:
Sorry if my message sounded melodramatic or something, I remembered the
frustration feeling so strongly from your message that I wanted to
reinforce the other people's messages with a personal "testimonial" if
you wish.
I'm writing a PHP extension for a client. (Written in C as it has to
access native code.)
I'm developing the extension on my own server before deployment.
The question is: how closely do my server's versions of apache and PHP
have to match the clients? Do they have to match exactly, or does it no
Hi List,
I wanna use PHP's session management with output compression,
but I have the following problem:
Session-IDs are not automatically appended to URLs. :-(
The compression works fine and makes the page nice for slow internet
connections.
The session management works also fine, but only wit
Hey,
Thanks for the heads up but I have a heck of a lot of images and the site
has pretty good traffic so I cant afford to do this on the fly, I was
looking for something where you just drop all the images into a folder, run
the script and pick it up in the output folder all ready for the web.
I di
I have an odd issue with mail(). I was working on a project at my office for some time
and we did everything with php
and mysql. I stepped away from the project for a bit but when I left all my scripts,
such as password retrieval and a
few others that used the mail() function were working. Now wh
Ryan A wrote:
Hey,
Thanks for the heads up but I have a heck of a lot of images and the site
has pretty good traffic so I cant afford to do this on the fly, I was
looking for something where you just drop all the images into a folder, run
the script and pick it up in the output folder all ready fo
Hello,
I've got the following header-problems. How can I get this to work:
header("Location: h--p://user:[EMAIL PROTECTED]/securedir/");
I have a directory with password-protection to wich I want to redirect
without the login-popup showing...
I've tried a lot but the popup keeps showing.
Do
I'm doing a build of php 4.3.1. It gave me the error about "your axps
script may be broken", and I've checked the net, and sure enough, my
axps script has some of the bogus value in it. Thing is, I can't find a
complete example of the that section anywhere - I can find some of the
correct value
Is there an equivalent way of doing a ImageMagick
"composite file1.png file2.png file3.png"
using the builtin GD functions?
-Dave
David G. O'Brien
Web Services Coordinator / Systems Administrator
NACCRRA
The Nation's Network of Child Care Resource & Referral
1319 F Street NW, Suite 500
Washin
Manuel, Leif, et al --
...and then Manuel Lemos said...
%
% Hello,
%
% On 12/09/2003 09:42 AM, Leif K-Brooks wrote:
% >
% >My strategy against spam is giving invalid addresses at my domain name,
% >all of which redirect to [EMAIL PROTECTED] No innocent servers besides my
% >own are harmed, and
Slightly OT, but I'm hoping for a few opinions about handling JPG/MOV
files with PHP/MySQL.
I've read that, given the choice, you should never store images in a
database because it makes the database dog slow. But I've got some
parameters and issues that might make a difference:
1. The only wa
Hi Matthias,
--- Matthias Nothhaft <[EMAIL PROTECTED]> wrote:
> I wanna use PHP's session management with output compression,
> but I have the following problem:
>
> Session-IDs are not automatically appended to URLs. :-(
[snip]
> I guess the problem is that PHP can not append SID in (g)ziped
>
[EMAIL PROTECTED] wrote:
Hi all,
I am creating a user form whereby I will do an "INSERT" , "SELECT" , "UPDATE"
and of course "DELETE" for the form. Right now I am trying to create a form
whereby when user choose to update their info, they wil be directed to a form
where the fields region are
Hey,
Thanks for writing.
I did want to check out what Al wrote but got scared as he mentioned "steep
learning curve"
Cheers,
-Ryan
http://Bestwebhosters.com
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Ryan A" <[EMAIL PROTECTED]>
Cc: "Galen" <[EMAIL PROTECTED]
Hello Derrick,
Wednesday, December 10, 2003, 3:56:32 PM, you wrote:
DF> 1. The only way I can store the files in a directory on the server is
DF> to make that directory "wide open" as in chmod 777. I don't have quite
DF> enough control of the server to make that a better situation.
Why is this?
Hello Bart,
Wednesday, December 10, 2003, 3:34:31 PM, you wrote:
B> I've got the following header-problems. How can I get this to work:
B> header("Location: h--p://user:[EMAIL PROTECTED]/securedir/");
B> I have a directory with password-protection to wich I want to redirect
B> without the login-
On Wednesday 10 December 2003 23:56, Chris Shiflett wrote:
> --- Matthias Nothhaft <[EMAIL PROTECTED]> wrote:
> > I wanna use PHP's session management with output compression,
> > but I have the following problem:
> >
> > Session-IDs are not automatically appended to URLs. :-(
>
> [snip]
>
> > I g
hi,
im interested in specific information about removing php end-tags from
include files (which contain php code). it woun't give any warning or error
but will remove all annoying spaces and line breaks before you send your own
header data... how does include function work in these cases? are t
Has anybody seen the seemingly automatic and unexplained conversion of the character
"." to "_" in $_POST var names? I've tested several ways, with and without PHP, and
I've dug around in the HTML specs and can't find a good explanation. Can anybody shed
some light on this? Can this be overri
Ryan, et al --
...and then Ryan A said...
%
% I did want to check out what Al wrote but got scared as he mentioned "steep
% learning curve"
1) He actually meant shallow; there is, indeed, a lot to learn with IM.
2) IM is truly fantastic, and we use it for our gallery application; we
generate th
On 10 December 2003 16:19, ROBERT MCPEAK contributed these pearls of wisdom:
> Has anybody seen the seemingly automatic and unexplained
> conversion of the character "." to "_" in $_POST var names?
Yes. It's PHP automagic by PHP.
> I've tested several ways, with and without PHP, and I've dug
>
--- ROBERT MCPEAK <[EMAIL PROTECTED]> wrote:
> Has anybody seen the seemingly automatic and unexplained conversion of
> the character "." to "_" in $_POST var names?
This is intentional. The "." character is not allowed in a variable name,
so PHP has to translate your HTML form's variable name to
Thanks all. I guessed that it was something built in to PHP, although I was surprised
when I couldn't find a good explanation in the usually excellent docs. -Bob Mc
>>> "Ford, Mike [LSS]" <[EMAIL PROTECTED]> 12/10/03 11:29AM >>>
On 10 December 2003 16:19, ROBERT MCPEAK contributed
I just did something similar to what you are asking to do
I created a mask.png in photoshop with white text at 50% opacity saying
what I wanted
Then I used the ImageMagick composite command line program thru a system call
"composite mask.png image.png image.png" to make the new watermarked images.
Priit Kaasik wrote:
hi,
im interested in specific information about removing php end-tags from
include files (which contain php code). it woun't give any warning or error
but will remove all annoying spaces and line breaks before you send your own
header data... how does include function work
I'm having some basic problems with the following pages, index.php (frames
base), email.php, and body.php.
I can retrieve email from the email account, but when I click on a link in
the email.php to open the email in body.php, $msgid is not defined in
body.php. It's got to be something basic,
Hello,
Wednesday, December 10, 2003, 4:53:18 PM, you wrote:
P> I can retrieve email from the email account, but when I click on a link in
P> the email.php to open the email in body.php, $msgid is not defined in
P> body.php. It's got to be something basic, but right now, it escapes me.
P> Right n
Dear Friends
These is my sample code
test1.html
New Document
test1.php3
Test Page
I am Facing the problem that if i use enctype="multipart/form-data" in form object
then i am unable to retrieve the values passed from .html form.
So if i am using a File Upload
Hello,
I have PHP as Apache so and I wand to use it in the command line as
CGI. As apache module I have running with safe mode in the command
line I want to use PHP without SAFE MODE. My PHP is compiled with so
modules.
If I use this construction:
#!/usr/local/bin/php -c /root/ -q
Hello prashant,
Wednesday, December 10, 2003, 5:20:18 PM, you wrote:
p>
p>
p>
p>
p>
You should have set the max_file_size here, but it's not included.
This must come BEFORE the input type=file and remember the value is in
bytes (not KB), so the above will only let you upload a file of
ap
Dear Friends
These is my sample code
test1.html
New Document
test1.php3
Test Page
I am Facing the problem that if i use enctype="multipart/form-data" in form
object
then i am unable to retrieve the values passed from .html form.
So if i am using a File Upload
Hi all!
I've got a problem when using this combination. Everything works fine for
browsers that send
Accept: */*
requests, but some web spiders say
Accept: text/*
and get 406 error since the actual type is application/...
I worked this around by using type-map and creating .var files for each
doc
Hello,
On 12/10/2003 01:14 PM, Tom Ray wrote:
I have an odd issue with mail(). I was working on a project at my office for some time
and we did everything with php
and mysql. I stepped away from the project for a bit but when I left all my scripts,
such as password retrieval and a
few others tha
That seems to have corrected the problem. Thank you very much.
On 12/10/03 11:56 AM, "Richard Davey" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Wednesday, December 10, 2003, 4:53:18 PM, you wrote:
>
> P> I can retrieve email from the email account, but when I click on a link in
> P> the email.p
On Wed, 2003-12-10 at 07:10, Bogdan Stancescu wrote:
>
> May I point you to the last few lines in my message you're replying to,
> quoted at the top of this message for your convenience. I will highlight
> the key words in there for you here, so it's easier to follow: "I wanted
> to reinforce t
Hello,
Wednesday, December 10, 2003, 5:45:17 PM, you wrote:
>> $msgid = $_GET['msgid'];
P> That seems to have corrected the problem. Thank you very much.
Cool - do you understand why though? I don't mean to sound
patronising, so please don't take offence at my question, just making
sure.
--
Hi Brad,
Thanks for your help,
I'm trying to run this code to know which user is
running my webserver. I think it is the nobody
#!/usr/local/bin/php -q
";
#$output=passthru("rsh rubella ls >
/tmp/salididta.txt",$vari);
$output=system("who am I",$vari);
echo "salida".$vari;
printf("\n%s\n",$ou
I am trying to read in a text file to an array using the following code,
however everytime I try and print the contents of the $table array, it
always says "ARRAY". Why won't it show me the actual contents of the file?
$row = 1;
$handle = fopen ("seclog.txt","r");
while ($data = fgetcsv ($handl
Because it's and array! print and echo take strings, not arrays, I believe. Anyway,
print_r() or a foreach loop will do it for you.
";
}
?>
Something like that.
>>> Brian Sutton <[EMAIL PROTECTED]> 12/10/03 01:26PM >>>
I am trying to read in a text file to an array using the following code,
Derrick Fogle wrote:
> I've read that, given the choice, you should never store images in a
> database because it makes the database dog slow. But I've got some
> parameters and issues that might make a difference:
We (at hyperreal.info) are storing all the
images attached to articles i
Hi,
Wednesday, December 10, 2003, 6:29:43 PM, you wrote:
RM> Because it's and array! print and echo take strings, not
RM> arrays, I believe. Anyway, print_r() or a foreach loop will do it
RM> for you.
Agreed.. print_r() is the best, but if you're outputting all of this
text into the browser (w
Thanks Vail and all!
I use it: rsh -l user host command and
and I can run it!
Kisses!
--- "Vail, Warren" <[EMAIL PROTECTED]> wrote:
> Well, it is not possible directly, but you can try
> some of the following;
>
> $cmd = "rsh -l user host command";// remote shell
> $cmd = "rpc -l user host
Richard Davey wrote:
Hi,
Wednesday, December 10, 2003, 6:29:43 PM, you wrote:
RM> Because it's and array! print and echo take strings, not
RM> arrays, I believe. Anyway, print_r() or a foreach loop will do it
RM> for you.
Agreed.. print_r() is the best, but if you're outputting all of this
tex
Hi all!
I've got a problem when using this combination. Everything works fine for
browsers that send
Accept: */*
requests, but some web spiders say
Accept: text/*
and get 406 error since the actual type is application/...
I worked this around by using type-map and creating .var files for each
doc
Hello,
On 12/10/2003 10:24 AM, Alex Hunsley wrote:
I'm writing a PHP extension for a client. (Written in C as it has to
access native code.)
I'm developing the extension on my own server before deployment.
The question is: how closely do my server's versions of apache and PHP
have to match the c
I tend to disagree. Images in the database, providing they actually
associate with other bits of info, are great. I usually keep images in
a separate table than the data, but it's really easy to keep track of
everything. No file permissions, backup is as easy as standard SQL
backups, etc. I my
Galen wrote:
I tend to disagree. Images in the database, providing they actually
associate with other bits of info, are great. I usually keep images in a
separate table than the data, but it's really easy to keep track of
everything. No file permissions, backup is as easy as standard SQL
backu
On Wednesday 10 December 2003 02:43 pm, Galen wrote:
> If you store images that are played with a lot on
> the disk, it'll likely be slower than MySQL due to MySQL having better
> caching.
I disagree.
Depending on your setup, when a file based image is downloaded to
a user's computer, its cached
Well, it seems to me that the confusion comes from the fact that we are
comparing apples and oranges.
The first example is talking about the performance assuming you have 100's
of people requesting the same picture, where as the second example is
talking about the performance assuming you have th
Hi everyone!
Let's see if you can help me with this odd function i want to do.
Imagine i have to dates,for example:
$date1="2002-10-01"
$date2= "2003-12-10"
I want a function to list all the dates that are between these two.
"2002-10-01"
"2002-10-02"
"2002-10-03"
.
.
"2003-12-09"
On Dec 10, 2003, at 12:47 PM, [EMAIL PROTECTED] wrote:
Well, it seems to me that the confusion comes from the fact that we are
comparing apples and oranges.
I agree. Images in a database mean totally different things to
different usage profiles.
But I would also like to question the extra layer.
',date('l, F
j',$theday),'';
}
?>
Where $i <= 31 is the number of days you want looped
HTH
Jay
-Original Message-
From: Pablo Zorzoli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Date Listing
Hi everyone!
Let's see if you
[snip]
Let's see if you can help me with this odd function i want to do.
Imagine i have to dates,for example:
$date1="2002-10-01"
$date2= "2003-12-10"
I want a function to list all the dates that are between these two.
"2002-10-01"
"2002-10-02"
"2002-10-03"
.
.
"2003-12-09"
"2003-1
how and when to use -> as in
echo "Path: ".$d->path."\n";
what does this mean and how is it used?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-> is for classes / objects...
It points to a variable in the object class (this case $path) or
a function like $d->setColor("green");
http://us4.php.net/manual/en/language.oop.php
OOP is hella cool when you "get it". But it can also be overkill for many
things too. Basically I think of it thi
this code snippet is used to autheticate a user's id. however, it generates
errors pertaining to the script not being able to send headers with the
session data.
// function authenticate()
// {
// import variables to be read from form
import_request_variables
hi,
I was wondering if anyonehad a script to upload files.
Thank You
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can't print any output before you start the session AFAIK.
Daevid Vincent
http://daevid.com
> -Original Message-
> From: obsidianchrysalis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 09, 2003 3:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] problems with starting session
>
Hi, is there a PHP function that will convert MM/DD/ to MMDD?
Also I will need to take into affect some people may put in M/D/ (some
people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way
to do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Try this, its very very simple though
$PicPath="Path/";
if(is_uploaded_file($_FILES['Photo']['tmp_name'])) {
copy ($_FILES['Photo']['tmp_name'],
$PicPath.$_FILES['Photo']['name']);
}
-Original Message-
From: tony [mailto:[EMAIL PROTECTED]
Sent: 10 December 2003 21:34
To: [EMAIL PROTECT
Hi, is there a PHP function that will convert MM/DD/ to MMDD?
Also I will need to take into affect some people may put in M/D/
(some
people may put in 1 instead of 01, 2 instead of 02, etc). Is there a
way
to do this?
take a look at these functions
http://www.php.net/mktime
ht
hi,
I was wondering if anyonehad a script to upload files.
Thank You
http://www.php.net/features.file-upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php