[PHP] problems with permissions or getting access to a file

2010-02-10 Thread Pat
problems. Anyone got any Ideas?? Thanks in advance. Pat 6 8 $d = dir('/home/content/j/a/c/jackcards/html/tomdcam/photo/') or die($php_errormsg); 9 while (false !== ($f = $d->read())) { 10 // only match alphabetic names 11 if (preg_match('/testPanasonicCamMotion/&#

[PHP] upgraded apache won't start

2007-10-19 Thread Pat Jones
yntax error in the following line in the apache conf/httpd.conf file. LoadModule php5_module c:/php5/php5apache2.dll It says the specified module can't be found. The module certainly is there and it worked with apache 2 before the upgrade. What am I missing here ? Thanks; Pat -- PHP Genera

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-12 Thread Arbitrio, Pat
restling Entertainment is all about. I'd really appreciate you keeping us in mind if you hear of anyone who is looking. Thx - Pat -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Bullcrap! If you think that nested tables gets you in the "ballpark" quicker, then y

[PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-11 Thread Arbitrio, Pat
* Linux * Dreamweaver * Subversion * Unix Shell/Perl The link to apply is as follows. http://www.wwe-careers.com/wwe/jobboard/SearchPositions.asp?ShowJobID=61 1&Keywords <http://www.wwe-careers.com/wwe/jobboard/SearchPositions.asp?ShowJobID=6 11&Keywords> = Thanks, Pa

Re: [PHP] Dynamic Form List - how to change values

2006-03-01 Thread Pat
Thanks to all who helped. The answer...drumroll arrays for each entry: load routine (partial): print "name='imageqty[]' size='5' value='$qty'>"; print "value='".$row[cialbum]."'>"; print ""; print "value='".$row[ciimage]."'>"; print "value='".$row[cisize]."'>"; retrieval rou

Re: [PHP] Dynamic Form List - how to change values

2006-03-01 Thread Pat
he form outputs something like this: http://.../chkout.php?NATURE-1.jpg=6&continue=Continue+Checkout, which does show the $imageqty of "NATURE-1.jpg" value with the new qty of "6". How can I get the script to pull the value? $imageqty = $row["cialbum"]."-"

[PHP] Dynamic Form List - how to change values

2006-02-28 Thread Pat
utputs something like this: http://.../chkout.php?NATURE-1.jpg=6&continue=Continue+Checkout, which does show the $imageqty of "NATURE-1.jpg" value with the new qty of "6". How can I get the script to pull the value? $imageqty = $row["cialbum"]."-".$row[&quo

Re: [PHP] empty variable

2004-09-19 Thread Pat
So, you have to know, first, what is your meaning of your empty variabe: null, 0, "", array()? For example, "$var = 0;", empty($var) says true... but you? "Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > as suggeted the isset and empty functions are usefull, > or if

[PHP] Re: DROP TABLE IF EXISTS

2004-09-19 Thread Pat
Maybe something like this: http://dev.mysql.com/doc/mysql/en/TRUNCATE.html "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > MySQL question: > > DROP TABLE IF EXISTS > > Instead of dropping the table, I want to truncate the table if it contains something. ANyone

[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 ch

RE: [PHP] Strange coding bug

2004-01-05 Thread Pat Hanna
ERVER, $DB_LOGIN, $DB_PASSWORD; if (@mysql_pconnect($DB_SERVER, $DB_LOGIN, $DB_PASSWORD)) { return 1; } else header("Location: blahblahblah"); } This should establish a permanent connection to the database server. Is there a way to permanatly select a certain database? Pat -O

RE: [PHP] Strange coding bug

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

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 cod

[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 WHE

Re: [PHP] or return problem

2003-10-07 Thread Pat Carmody
o return a value if istrue() failed, otherwise I wanted to continue in the scope of the function. That may not have been obvious because the example was a little contrived. Pat Carmody -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] or return problem

2003-10-07 Thread Pat Carmody
basic syntax page that addresses this. Pat Carmody On Tue, 7 Oct 2003, Robert Cummings wrote: >On Tue, 2003-10-07 at 13:02, Pat Carmody wrote: >> >> >> Calling the following retor_test() function causes a "Parse error: parse >> error, unexpected T_RETURN" mess

[PHP] or return problem

2003-10-07 Thread Pat Carmody
ith the "or return" part. Any ideas why? I realize that I could use an if statement instead, but I'm a lazy, lazy man and I don't want to. Pat Carmody -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Register globals on and off

2003-02-01 Thread Pat Johnston
I've read that an include file in each of your pages with the lines below should do the trick for you with register_globals OFF.. Not sure if this is a valid way to go though... Regards, Pat "Davy Obdam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]&q

[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 i

Re: [PHP] addslashes, stripslashes

2001-11-26 Thread Pat Lashley
dy know a way around this or > can maybe provide some insight about why this is happening? It probably isn't removing it, it's converting it into an EOT character (0x04). That's pretty standard for most environments that do backslash substitution. It should also convert \48 a

[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 mig

[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 shopping

[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 cou

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

[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

[PHP] database

2001-03-07 Thread Pat
Hi I need some scripts written in PHP to interface with a mySQL database. There will be a need for a high level of security. Anyone interested in making some money ? Call me Regards Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[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] directory reading

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

[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 o

[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