Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
is usually due to the SCRIPT_FILENAME being incorrect. not the code in the script. On Fri, Dec 19, 2008 at 2:54 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: Hi Philip, Here is my code ... ?php if (!function_exists(GetSQLValueString)) { function GetSQLValueString($theValue, $theType

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
($query_rsSearch, $MyDatabase) or die(mysql_error()); $row_rsSearch = mysql_fetch_assoc($rsSearch); $totalRows_rsSearch = mysql_num_rows($rsSearch); ? - Gary It doesn't look like your code is the problem, how is the file being executed. Through the command line or IIS? In either case it sounds like

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
nginx has a no input file specified - people ask about it all the time. On Fri, Dec 19, 2008 at 3:15 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: the code was generated by Dreamweaver CS3 .. its php! How do I check the SCRIPT_FILENAME please? mike mike...@gmail.com wrote in message

[PHP] Re: de-bug no input file specified

2008-12-20 Thread Gary Maddock-Greene
am not sure what I am looking for. That's always a problem with trying to find or understand a bug .. if you don't know what you should be looking at. How can I check the cgi .. and why could this be causing the problem? Many thanks guys - Gary Nathan Rixham nrix...@gmail.com wrote in message

[PHP] Repeat Region Error

2008-12-21 Thread Gary Maddock-Greene
center /center /div ?php } while ($row_rsSearch = mysql_fetch_assoc($rsSearch)); ? If anyone can assist I would really appreciate it - Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Repeat Region Error

2008-12-21 Thread Gary Maddock-Greene
Sorry guys .. resolved it doh! I was freeing the recordset in ?php mysql_free_result($rsSearch); ? -Gary Gary Maddock-Greene g...@maddock-greene.co.uk wrote in message news:5a.42.33998.4b83e...@pb1.pair.com... Hi All, I am getting the following error - Warning: mysql_fetch_assoc(): 3

Re: [PHP] Image Resizing

2008-12-21 Thread Gary Maddock-Greene
nice post Tedd and useful web site :) -Gary tedd tedd.sperl...@gmail.com wrote in message news:p06240802c573f5a71...@[192.168.1.101]... At 12:38 PM -0800 12/20/08, Stephen Alistoun wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images

[PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
product_name LIKE %s, GetSQLValueString(% . $colname_rsSearch . %, text)); $rsSearch = mysql_query($query_rsSearch, $sondia_lighting) or die(mysql_error()); $row_rsSearch = mysql_fetch_assoc($rsSearch); $totalRows_rsSearch = mysql_num_rows($rsSearch); ? Thanks - Gary Maddock-Greene -- PHP General

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
/a div class=clear/div /div div class=clear/div center /center /div ?php } while ($row_rsSearch = mysql_fetch_assoc($rsSearch)); ? -- - Gary Maddock-Greene Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1229873521.4229.6.ca

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
/a div class=clear/div /div div class=clear/div center /center /div ?php } while ($row_rsSearch = mysql_fetch_assoc($rsSearch)); ? -- - Gary Maddock-Greene Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1229875150.4229.9.ca

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
are present. I cannot seem to add this code into the above after the echo h3Please click on a product for further information./h3. I can't get the syntax right ... I appreciate everyones help -- - Gary Maddock-Greene Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1229878234.4229.12.ca

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
($rsSearch)); ? -- - Gary Maddock-Greene Anthony Gentile asgent...@gmail.com wrote in message news:2ce4207d0812210959k3491690ctbc4f0dbf971ac...@mail.gmail.com... ...missing semicolon and some brackets. ?php if (0 == $totalRows_rsSearch) { echo h3Sorry no products were found/h3; } else { echo h3Please

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
That's got it thanks Anthony. I love when you learn something. It was the back slash \ preceeding the 's in my html that I wasn't aware of. Now I know they are needed if using in your code. Thank you so much for your help. -- - Gary Maddock-Greene Anthony Gentile asgent...@gmail.com wrote

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
thanks for the advice re html and php mashup!! I will research to find the way to do it outside the php. - Gary Maddock-Greene Anthony Gentile asgent...@gmail.com wrote in message news:2ce4207d0812211021g215d5346wb0afcedf039ef...@mail.gmail.com... ?php if (0 == $totalRows_rsSearch) { echo

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
to the drawing board for me :) -- - Gary Maddock-Greene Gary Maddock-Greene g...@maddock-greene.co.uk wrote in message news:b4.82.23981.dee8e...@pb1.pair.com... thanks for the advice re html and php mashup!! I will research to find the way to do it outside the php. - Gary Maddock-Greene Anthony

Re: [PHP] eof bof in php

2008-12-21 Thread Gary Maddock-Greene
to the drawing board for me :) -- - Gary Maddock-Greene Gary Maddock-Greene g...@maddock-greene.co.uk wrote in message news:b4.82.23981.dee8e...@pb1.pair.com... thanks for the advice re html and php mashup!! I will research to find the way to do it outside the php. - Gary Maddock-Greene Anthony Gentile

[PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
./h3; while ($row_rsSearch = mysql_fetch_assoc($rsSearch)){ echo div class=\productitem\img src=\products. $row_rsSearch['product_image'].\ - Gary Maddock-Greene -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
/a div class=\clear\/div /div div class=\clear\/div center /center /div; } } ? -- - Gary Maddock-Greene Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1229955502.3530.3.ca...@localhost.localdomain... On Mon, 2008-12-22 at 14:02 +, Gary Maddock

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
I know you are so right Richard .. beleive me ... I wish I was year down the line so I knew how to get the html out of the php -- - Gary Maddock-Greene Richard Heyes rich...@php.net wrote in message news:af8726440812220617l6c965cd0x6ae55f57fa96b...@mail.gmail.com... Also (and I know the speed

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
Very helpful thanks Wolf. fyi the web site you see was done by my son. This is a live project that I was just asking for help on ... a pointer perhaps. Too much to ask I guess -- - Gary Maddock-Greene Wolf lonew...@nc.rr.com wrote in message news:20081222141852.ovv8i.364383.r...@cdptpa-web15

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
(% . $colname_rsSearch . %, text)); $rsSearch = mysql_query($query_rsSearch, $sondia_lighting) or die(mysql_error()); $row_rsSearch = mysql_fetch_assoc($rsSearch); $totalRows_rsSearch = mysql_num_rows($rsSearch); -- - Gary Maddock-Greene Dan Shirah mrsqua...@gmail.com wrote in message

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
very helpful thank you :) -- - Gary Maddock-Greene Sándor Tamás (HostWare Kft . ) sandorta...@hostware.hu wrote in message news:dbb55d182b624f26be7f5125e592d...@stgepe... Yes, the error is here. You get the record count with a mysql_fetch_assoc(), which reads the first record, and then step

Re: [PHP] First record not diplaying

2008-12-22 Thread Gary Maddock-Greene
so the correct way to do this is remove the $row_rsSearch = mysql_fetch_assoc($rsSearch); from my recordset query code. Thank you SanTa -- - Gary Maddock-Greene Sándor Tamás (HostWare Kft . ) sandorta...@hostware.hu wrote in message news:dbb55d182b624f26be7f5125e592d...@stgepe... Yes

[PHP] Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net

[PHP] Compiling Phpcap

2005-05-27 Thread Gary C. New
-4.3.1 being used for installation. Is there a work around for configuring phpcap-0.2e with php-4.2.3? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Ryan Grange wrote: Gary C. New wrote: Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary I believe you

[PHP] PHP Post forms

2006-04-13 Thread Gary E. Terry
Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a hidden field called 'JobID'. What I am trying to accomplish is if a checkbox is checked, when the form is submitted, I want

RE: [PHP] PHP Post forms

2006-04-14 Thread Gary E. Terry
Sorry, should have posted lastnight.. Stephen Johnson helped out a lot, it's working great now. Thanks for the relpy though -Original Message- From: Joe Henry [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 11:44 AM To: php-general@lists.php.net Cc: Stephen Johnson; Gary E

[PHP] base32/62 mcrypted data

2005-02-14 Thread Gary C. New
of a method or a sample piece of code that can achieve the desired effect? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
that there are a lot less $GLOBALS available under the http location than there are under the https location. I am using Apache 1.39 with Php 4.2.3. Your comments are greatly appreciated. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
that there are a lot less $GLOBALS available under the http location than there are under the https location. I am using Apache 1.39 with Php 4.2.3. Your comments are greatly appreciated. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
It turns out that SCRIPT_URI is a mod_rewrite global. I simply had to turn the RewriteEngine On under the unencrypted (http) location and it worked perfectly. Thank you for the suggestions. Respectfully, Gary pete M wrote: try $_SERVER['SCRIPT_URI']; Gary C. New wrote: I am writing some php code

[PHP] detaching and running php processes in the background

2003-11-21 Thread Gary C. New
processes? Any suggestions on the best way to handle this? Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: detaching and running php processes in the background

2004-01-06 Thread Gary C. New
those of you who have requested it. Respectfully, Gary Gary C. New wrote: What is the best way to detach and run a command line based php script in the background from a web-based php script, without the need for reporting? I have a web-based php script that gathers information

[PHP] web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
comments or suggestions. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/MySQL with Microsoft Word

2004-01-06 Thread Gary C. New
Use MySQLODBC... I use it to manage my databases through MS Access. I haven't integrated it yet with Word, but it is my intention in the near future. Hope this helps. Respectfully, Gary Satch wrote: Is there any way to have a web page (PHP) that draws data from a database (MySQL

[PHP] Re: web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
and the php code off of only 1, so I forced the command line to key off of only 1 passphrase--to no avail. I am obviously missing something. Someone out there has had to have done this at least once before. Any other suggestions would be appreciated. Respectfully, Gary Tom Rogers wrote: Hi

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Gary Maddock-Greene
Note quite there yet here but yes Happy 1234567890 day to you too -- - Gary Maddock-Greene Luke Slater l...@blog-thing.com wrote in message news:200902131812.43295.l...@blog-thing.com... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: non-auto increment question

2009-02-25 Thread Gary W. Smith
Not sure that this is the problem BUT you should probably qualify the name of the variable such that SELECT MAX(id) AS id FROM book. But you don't want max(id) as id but rather max(id) + 1 as id. With that you can then just return the final value. Also, if you don't want to alias the value

RE: [PHP] RE: non-auto increment question

2009-02-26 Thread Gary W. Smith
Being rather new to all this, I understood from the MySql manual that the auto_increment is to b e used immediately after an insertion not intermittently. My application is for administrators (the site owner designates) to update the database from and administration directory, accessed by

<    1   2   3   4   5   6