st way to debug a problem like this - or how I enable
the debugging options?
Thanks,
Gary
-- Give someone a fish, and he
eats for a day. Give him a fishing rod and he goes hungry until you give
him the dam fish so he has some bait.
;-)
Gary Sanders Sr. Engineer -
replaytvDigital
won’t work if they have cookies turned off. There must be some
global variable that tells me. Could someone help me out?
Thanks in advance,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
advance,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and after 12
would be pm, it would be great if the am and pm could be set via javascript.
Here's my time element:
$contact->addElement ( 'date' , 'Times1' , 'Tee Time First Choice' ,
array('format' => 'g i A','optionIncrement' => array('i' => 10)));
Any suggestions?
Thanks,
Gary
becoming zombie 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
$u && $p");
That's it!
I know it sounds a bit complicated, but after you have all the right
components functional it is quite easy.
Hope this helps all those of you who have requested it.
Respectfully,
Gary
Gary C. New wrote:
What is the best way to detach and run a comm
cb -a tripledes |
encode-base64
echo "" | decode-base64 | mcrypt -dFb -m ecb -a tripledes
I would appreciate any comments or suggestions.
Respectfully,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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)
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
erver
error: IsapiModule / ExecuterequestHandler. I'm stumped! Any help please or
pointers. Thanks Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks David, but my log doesn't tell me anything (I don't think) !! I am
assuming we are referring to the inetpub logs?
-Gary
"David Robley" wrote in message
news:71.4b.09584.6698b...@pb1.pair.com...
Gary Maddock-Greene wrote:
Hi, Don't know if this is the ri
working so I appreciate the help.
-Gary
"Stut" wrote in message
news:a5f019de0812190459w486205a4n5fe8fea317890...@mail.gmail.com...
Please include the list when replying.
2008/12/19 G. Maddock-Greene :
You may be right Stuart ... I am thinking this too. I can access my
database
wi
com...
2008/12/19 Gary Maddock-Greene :
Thanks Stuart,
Logs are no enabled and I generate this line:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
Sorry this is only my 2nd day with php/MySQL an
ery) != 0)
"Stuart" wrote in message
news:a5f019de0812190516r3cdcdacana356320f39a8d...@mail.gmail.com...
2008/12/19 Gary Maddock-Greene :
Thanks Stuart,
Logs are no enabled and I generate this line:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-
Yes .. thanks Stuart. If I comment out that line I now get a different
problem!!
Unable to connect to database.
One step closer!!!
"Stuart" wrote in message
news:a5f019de0812190556g611cd672k25a30b77d02ad...@mail.gmail.com...
2008/12/19 Gary Maddock-Greene :
$sql_query = m
Stuart you have been very helpful thank you. I have learnt a number of
valuable lessons this afternoon.
- Gary
""Gary Maddock-Greene"" wrote in message
news:a4.34.09584.e39ab...@pb1.pair.com...
Yes .. thanks Stuart. If I comment out that line I now get a different
p
Hi, is it possible to de-bug a 'no input file specified' error. I get the
error when trying to run my search script but do not know whats causing it.
Is it a common error?
PHP5 with MySQL adn IIS7
Thanks
- Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Search = "-1";
if (isset($_GET['product_name'])) {
$colname_rsSearch = $_GET['product_name'];
}
mysql_select_db($database_MyDatabase, $MyDatabase);
$query_rsSearch = sprintf("SELECT * FROM products WHERE product_name LIKE
%s", GetSQLValueString("%"
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
wrote:
Hi Philip,
Here is my code ...
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) :
$theValue;
$theValue = function_exists("mysql_rea
$theValue = ($theValue != "") ? $theDefinedValue :
> $theNotDefinedValue; break;
> }
> return $theValue;
> }
> }
>
> $colname_rsSearch = "-1";
> if (isset($_GET['product_name'])) {
> $colname_rsSearch = $_GET['product_name'];
> }
> mysql
the common reason 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
wrote:
the code was generated by Dreamweaver CS3 .. its php!
How do I check the SCRIPT_FILENAME please?
"mike" wrote in mess
basic so I 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" w
arch, $sondia_lighting) or
die(mysql_error());
$row_rsSearch = mysql_fetch_assoc($rsSearch);
$totalRows_rsSearch = mysql_num_rows($rsSearch);
?>
... and the code in the page to generate my region is:
?>
View Product
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
Sorry guys .. resolved it doh!
I was freeing the recordset in
-Gary
""Gary Maddock-Greene"" wrote in message
news:5a.42.33998.4b83e...@pb1.pair.com...
Hi All,
I am getting the following error - Warning: mysql_fetch_assoc(): 3 is not
a valid MySQL result resource
nice post Tedd and useful web site :)
-Gary
"tedd" 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 in the
FROM products WHERE 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($
Thanks Ashley ... I have been trying that but I think my syntax id shot!!
Please click on a product for further information."
?>
?>
View Product
--
- Gary Maddock-Greene
"
--
- Gary Maddock-Greene
"Ashley Sheridan" wrote in message
news:1229875150.4229.9.ca...@localhost.localdomain...
On Sun, 2008-12-21 at 15:40 +, Gary Maddock-Greene wrote:
Thanks Ashley ... I have been trying that but I think my syntax id shot!!
Please click on a product f
ode into the above after the
echo "Please click on a product for further information.". I can't
get the syntax right ...
I appreciate everyones help
--
- Gary Maddock-Greene
"Ashley Sheridan" wrote in message
news:1229878234.4229.12.ca...@localhost.localdomain...
I've corrected those errors thanks but how do I insert this code as the else
statement?
View Product
--
- Gary Maddock-Greene
""Anthony Gentile""
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
"&
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"" wrote in message
news:2ce4207d0812211021g215d5346wb0afcedf039ef...@mail.gmail.com...
Sorry no products were found";
}
so back to the
drawing board for me :)
--
- Gary Maddock-Greene
""Gary Maddock-Greene"" 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-Gr
so back to the
drawing board for me :)
--
- Gary Maddock-Greene
""Gary Maddock-Greene"" 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
&q
further information.";
while ($row_rsSearch = mysql_fetch_assoc($rsSearch)){
echo "
- Gary Maddock-Greene
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ow_rsSearch['product_name']."
". $row_rsSearch['product_subtitle'] ."
View
Product
";
}
}
?>
--
- Gary Maddock-Greene
"Ashley Sheridan" wrote in message
news:1229955502.3530.3.ca...@lo
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"" wrote in message
news:af8726440812220617l6c965cd0x6ae55f57fa96b...@mail.gmail.com...
Also (and I kn
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" wrote in message
news:20081222141852.ovv8i.364383.r...@cdptpa
roducts WHERE 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(
very helpful thank you :)
--
- Gary Maddock-Greene
""Sándor Tamás (HostWare Kft . )"" 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 st
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 . )"" wrote in
message news:dbb55d182b624f26be7f5125e592d...@stgepe...
Yes, the
Note quite there yet here but yes Happy 1234567890 day to you too
--
- Gary Maddock-Greene
"Luke Slater" 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
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 val
> 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
unction.
Does anyone know 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
fo() shows 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://w
fo() shows 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, v
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 som
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 a
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; G
Stephen wrote:
On a php web page I want to generate a random number
between say 1 and 10
and then use that number to reference a particular file in
an include tag.
Is there an easy way to do this?
Get the time and use the last digit converting 0 to 10.
Stephen
rand(1, 10);
--
P
WEISD wrote:
Just starting out, thanks.
So,
I should have prefaced the question with, New to PHP...
""TG"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Here's how you generate a random number:
http://us.php.net/manual/en/function.rand.php
There are a number of things
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
e show php-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
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 believ
501 - 555 of 555 matches
Mail list logo