I'm trying to create thumbnails for my images and everything seems to
work correctly except for trying to save them. I've tried outputting
directly with imagejpeg($im) and that works, but when trying
imagejpeg($im, "new.jpeg") it does not create a new image in the current
directory. I even tried ch
riginal Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 3:20 PM
To: Pat Hanna; php help
Subject: RE: [PHP] Strange coding bug
[snip]
$query="SELECT * FROM products WHERE stock_number = '$item_number'";
$result=mysql_query($query); $row=mys
mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 3:32 PM
To: Pat Hanna; Brad Pauly
Cc: php help
Subject: RE: [PHP] Strange coding bug
[snip]
I have tried printing out the query and got the exact same thing on both
pages. The only relevent code is the code I included. The $item_number
a hit.
Pat
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 3:28 PM
To: Pat Hanna
Cc: 'php help'
Subject: Re: [PHP] Strange coding bug
On Mon, 2004-01-05 at 12:59, Pat Hanna wrote:
> I cannot seem to find the problem in my cod
I cannot seem to find the problem in my code. I have two pages. Both
need to select a product from a database. The first page works fine, the
product is found and I use the data in the page. The second one does not
fetch the product. The code is exactly the same:
$query="SELECT * FROM products WHE
This may or may not have anything to do with PHP but my goal deals with it.
I have a box that I'm trying to turn into a linux box for php purposes. I
have reformatted the hard drive so I could install it. The problem is that
when I try to partition the disk during the installation, my hard drive i
I'm doing my senior exit project on database languages online. I'm asking
for help from anyone who can provide any information on the comparison
between the different languages. I'm comparing languages such as PHP, ASP,
ColdFussion, perl and any others that I might not know about that you guys
mig
When using sessions with forms, a user presses the back button and gets the
message: Page has Expired. How can I get around this happening? I have to
use sessions because I store many different variables at a time for a
shopping cart. Forms are submitted depending on what item the user is
shopping
I found out today after suffering from minor headaches and hair loss that if
you have functions defined in and outside file name 'foo.php', and in those
functions you use cookies, you must pass those cookies to the function
called. I tried using a value from a cookie in a function and it never cou
I've tried that but they still don't go away.
- Original Message -
From: "Brian Clark" <[EMAIL PROTECTED]>
To: "PHP is not a drug." <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 6:23 PM
Subject: Re: [PHP] cookies
> Hi Pat,
>
> @ 6
I'm setting cookies for a shopping cart and they are setting fine but they
will not delete. I've tried every way of deleting them and they just won't
go away. Someone please help.
--
Patrick Hanna
Database integration--E-commerce solutions
The Wentworth Company
Anyone who uses Edit Plus. Can you send me the php function files and auto
complete file. The edit plus web page has the links but none of them work.
Thanks
Pat
I'm trying to read the contents of a directory and it's subdirectories. I
use w while loop with readdir($handle) and then an if statement with
filetype($file)=="dir" and that works that far. The contents of the
subdirectory is listed. After that breaks out of the if statement though,
the script go
I have these pictures that I'm using for my webpage. Their background
changes from blue to white. When I loaded them onto the server, they looked
very nice and they always looked good on netscape browsers. Every once and a
while though, the background turns bad and all the pictures look terrible o
I have a snipet of code i'm using for a file maintanance program. I have no
idea why but when the main loop repeats, the is_dir function doesn't return
true even though it prints out a directory in the server.
chdir("/certain/place/for/files/");
$handle=opendir(".");
$file=readdir($handle); //to
15 matches
Mail list logo