Hello all...
I'm embarrassed by this one... I think it should work but it isn't...
$dbh = mysql_connect("localhost", "login", "password") or
die('cannot connect to the database because: ' . mysql_error());
mysql_select_db("database");
$query = 'SELECT * FROM cities';
$result = mysql_qu
is possible.? Or should I just stick with perl or java.
any suggestions. thanks, I appreciate any help in advance.
Steven Kallstrom
Dear List,
So $_SERVER['HTTP_REFERER'] gives us the User Agent... is there anyway
to determine if in general the User-Agent is a bot, or do I have to
check for a specific bot... I want to strip out all GET information
from the URL so that bots can crawl my site session free...
Thanks,
SJK
-
Bk,
You would have to somehow pass all session variables onto the
new host since session variables are stored server-side. You would have
to have a function that took all session variables and passed them to
the new domain including session id... then you would need a function
that would
Steve,
Your best bet is to probably stick those values into an array... then
you can sort it and operate on the largest values...
SJK
> I have 4
> variables that each have a number in them. I need to find which one
has
> the highest number. I then just need to do something with that
number.
Hello,
I have finally figured out sessions a little bit better... but
I have a question... is there a way to pass the Session ID on to the
next page via a simple link without placing the session ID in the URL...
if there were a form the session ID is automatically placed as a hidden
inpu
Ulrik,
For PHP editing in Visual Studio .NET...
http://www.quake-au.net/php/php_and_vsdotnet.htm
SJK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey PHP lovers,
I am creating dynamic drop down lists... I would like to have an
option appear in the drop down list, but have it greyed-out and not be
selectable... I know you can disable selects, but I don't think you can
disable individual options in selects... anyone have any ideas?
Hello,
How do search engines react to PHP pages? If every page of a
site has a .php extension will search engines not react well to that?
If it does, is there a possible way to handle tracking sessions with
php, without being punished by the search engines?
Steve
--
PHP General Maili
Hey,
I'm a newbie looking to secure my site with SSL using PHP.
Currently I am taking orders via e-mail online. The users fill out a
form and that form is sent to me via e-mail. The email resides on the
same server though. Would I need to implement SSL for this. Also, I
could use some
.
$stateselected['$state'] is an array that stores the state that was
selected on the prior form. is there an easier way, to have a default
state picked out of this drop down list.???
Thanks,
Steven Kallstrom
nd then repost the
page with the stored values, the apostrophe appears escaped in the edit
form.
how can I solve this?
2) is it possible to put additional ('nested') php inside a
heredoc, or will that text simply print out?
Thank you,
Steven Kallstrom
12 matches
Mail list logo