How can I incorporate the text - "This is a square" - under the .jpg file?
The following php script outputs the reduced square but no copy.
Thank you.
Tony Ritter
..
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, vis
Gentlemen,
I wanted to thank you as BOTH of your ideas worked (of course). I know that there
may be some questionable logic in my methods. But as I mentioned before, I am a
newbie. I'm much more at ease behind a drum set! Your expertise helped me out a lot so
thanks again.
"Svensson, B.A.T.
php-windows Digest 11 Mar 2003 19:43:28 - Issue 1629
Topics (messages 18962 through 18977):
Re: Newbie attempting file open...
18962 by: Svensson, B.A.T. (HKG)
18963 by: Svensson, B.A.T. (HKG)
18964 by: Luis Moreira
18970 by: Svensson, B.A.T. (HKG)
189
Why a foreach?
while($row = mysql_fetch_array($result)) {
echo "$row[name]";
}
>= Original Message From <[EMAIL PROTECTED]> =
>Hi
>I am trying to use a FOREACH command to go through a mysql result with 2
>columns.
>They are ID and name
>I need the name one the ID one is just for referre
I've just been through this! Let's say that your variable containing the
name is $lastname, using the following when setting up a form to pass values
by POST worked for me:
blah...blah...name='lastname' value
='".htmlentities(stripslashes($lastname))."'>. etc etc
I actually have a page whe
$path_to_file = "http://www.yourwebsite.com/pdf/this_file.pdf;
If( file_exists( $path_to_file ) )
{
//do stuff
}
chris kranz
fatcuban.com
-Original Message-
From: Herhuth, Ron [mailto:[EMAIL PROTECTED]
Sent: 11 March 2003 16:43
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] testing
How can I check to see if a PDF file exists in a directory on my web server?
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm running into the old add slashes problem and I'm hoping someone might be nice
enough to help me out.
I created a form that lists all the last names in a database. Beside each name I have
a checkbox which contains a value of their last name and because the user might select
multiple names,
Hi Louis,
As you mihgt know, the "macro-function" I wrote is know as
"create-open".
I do understand your point about "why would I like to
read from an empty file?". Indeed this might seams strange,
but if one think twice about it, it might not be that bad
after all with a create open function.
S
What for ?
The option "r" stans for "read".
If what William is doing is try to read a file, and then create one if it
doesn't exist, to me that doesn't make sense (sorry).
If the function would do that it would always return an EMPTY file in the
second situation, right ?
Now I ask "why in God's
Luis, read the code once again
-Original Message-
From: Luis Moreira
To: 'William Fisher '
Cc: [EMAIL PROTECTED]
Sent: 2003-03-11 12:03
Subject: Re: [PHP-WIN] Newbie attempting file open...
No need.
It's the other way around, actually.
The option that creates if the the file does not
It is really odd but it's true. It seems that IE cannot handle properly the
information sent. Has anyone made it work fine?. Leo. AFIP AR
- Original Message -
From: "H Marc Bower" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 12:49 PM
Subject: Re: [PHP-WIN] IE see
Hi,
I have a serious problem (bug ?) in my sript. Let see it :
The goal of my sript is opening a folder and display it (very common).
My sript receive a path called '$path' by POST method when starting.
**
$path=$_POST['path'];
**
$path is a corr
Hi
I am trying to use a FOREACH command to go through a mysql result with 2
columns.
They are ID and name
I need the name one the ID one is just for referrence.
Anyone got the syntax for it?
Thanks tons
>From Shaun Garriock
RGC Webmaster
*** The contents of this message are confidential and are
Hi all. I'm trying to deal with Regular Expressions, but somehow it is
getting more difficult. I´m trying to do the folowing:
Read a text and get all of the PHP code out of it, highlight it and then
print all in nice HTML. I'm using this to get the PHP code:
ereg("<\?.*\?>",$Text,$PHP_code);
It
hi Personal of the list,
I am Brazilian and I added in this list I expect to help you. It has alguem
Brazilian?
[ ]s,
Guilherme Luiz Stolfo
Programmer - Design
College Adventista
TEL.: 5822-6166 R:5273
MSN.: [EMAIL PROTECTED]
_
MS
No need.
It's the other way around, actually.
The option that creates if the the file does not exist is "w". The "r"
option only reads
Luis
- Original Message -
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: "'William Fisher '" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesda
You may want to try something like this:
$fp = @fopen(,"r");
if ($fp)
{
print"An old file was opened!";
} else {
$fp = @fopen(,"w");
fclose($fp);
$fp = @fopen(,"r");
print"New file was created!";
}
-Original Message-
From: William Fisher
To: [EMAIL PROTECTED]
Sent: 2003-03-10
http://www.php.net/manual/en/function.fopen.php
-Original Message-
From: William Fisher
To: [EMAIL PROTECTED]
Sent: 2003-03-10 19:54
Subject: [PHP-WIN] Newbie attempting file open...
The Question: It is my understanding that fopen() using the "r" option
will either open the indicated fi
19 matches
Mail list logo