[PHP] is_dir

2001-01-15 Thread Pat Hanna
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

[PHP] picture quality question

2001-01-22 Thread Pat Hanna
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

[PHP] edit plus

2001-01-25 Thread Pat Hanna
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

[PHP] help!

2002-02-06 Thread Pat Hanna
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

[PHP] PHP versus all other languages

2001-11-12 Thread Pat Hanna
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

[PHP] Warning: Page has Expired

2001-07-06 Thread Pat Hanna
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

[PHP] cookies

2001-04-16 Thread Pat Hanna
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

Re: [PHP] cookies

2001-04-16 Thread Pat Hanna
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:13:20 PM on 4/16/2001, Pat Hanna wr

[PHP] Tip for cookies

2001-04-17 Thread Pat Hanna
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

[PHP] Strange coding bug

2004-01-05 Thread Pat Hanna
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

RE: [PHP] Strange coding bug

2004-01-05 Thread Pat Hanna
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 code. I have two

RE: [PHP] Strange coding bug

2004-01-05 Thread Pat Hanna
- From: Jay Blanchard [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

RE: [PHP] Strange coding bug

2004-01-05 Thread Pat Hanna
: 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=mysql_fetch_array($result); When I do 'echo

[PHP] imagejpeg

2004-05-27 Thread Pat Hanna
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