My hosting service recently switched to a newer server and in
transporting the websites (many) over, they set up php different
(vers 4.3.10). I know it's not "nice" to show errors on a published
website, but I don't have a testing server, and I need to debug
scripts once in a while. The pro
An interesting idea. I'll work on this next week and see how it goes. Can I
ask: why two versions of $uriparams?
Terry
-Original Message-
From: Andras Kende <[EMAIL PROTECTED]>
Sent: Jul 14, 2005 9:53 PM
To: 'Terry Romine' <[EMAIL PROTECTED]>,
'
I have a website that has several hundred agents in a mysql database. The
client wants to be able to enter the domain.com/agentname and be redirected to
a standard page where we show the agent information. An example would be an
agent named John Smith whose agentname would be jsmith. So the user
I was setting the $_SESSION by:
$_SESSION['var_name'] = "this";
or
$my_local = "this";
$_SESSION['var_name'] = $my_local;
I had stopped using session_register() some time back.
"Sporatically" meaning that some of my variables are working fine, while others
seem to become empty when referenced b
I'm having a serious pain with globals.. maybe someone can help.
My major client moved her service from one server to another, and with it, PHP
went from 4.1 to 4.2+.
Register Globals was turned off, and when everything failed to work, tech
support turned them back on via .htaccess. I'm plannin
I had a client hosted on Powweb and I dropped that service pretty fast. Now I
host primarily on eHostPros.com (past 2-3 years). I've had a few problems, but
they work pretty close with the clients to handle issues. Maybe a 90-95%
satisfaction rate for me. The nice thing is their billing system;
I have a submit field that may have an address formatted like:
1234 main st
or may just be the street name:
main
I need to split the number off if present so I can test against
database fields.
I need a eregi, split or preg_split that could do that. I've tried a
few and either g
Not quite a mystery, but I wondered if anyone could throw a couple of
suggestions my way.
My client's websites were moved last year from an old php server to a
newer one. At that time, I had to upgrade all her scripts because
set_globals were off on the new server, and so I went to using
$_SES
I have a site that is using $_SESSION['variablename'] for many
variables that are loaded when the user first enters the site
(index.php), and then referenced on each page (display.php):
ex: index.php
session_start();
$agencyID=9;
$agencyName="fremont";
$_SESSI
On Thursday, March 29, 2001, at 08:32 AM, Nick Davies wrote:
> Doesn't the command return 1 or 0 in success or failure?
>
> You may not have a result
>
> Probably wrong but something like
>
> if (mysql_query($query)) {
>
> } else {
>
> }
What I understand is that the return from the query only
I'm having some problems with using addslashes($string) for preparing a text blob for
a MySQL database. The $string can have single or double quotes in it, and depending on
how I pass it on to the insert, it seems to work only for either single or double, but
not for both.
Input can be:
I do this kind of thing all the time.
Consider using hidden for the various values you are passing, and name the
buttons "doAction" and set the values to "Add", "Delete", "View" ...
Then the php file can do:
switch($doAction) {
case "Add":
// your code
break;
case "Delet
12 matches
Mail list logo