What situation would make a mysqli object unclonable? This is a problem
that occurs only on a linux machine with mysql4. I am simply trying to
declare a link resource and I get an error "Trying to clone unclonable
object of type mysqli" If I declare the link using a reference however, the
co
On a Fedora 4 machine running MySQL 4.1 I am having trouble declaring an
instance of a mysqli extension.
class Data extends mysqli {
function __construct($host, $user, $password, $db = null)
{
@parent::__construct($host, $user, $password, $db)
or printf("There was an error
.
Thanks,
Matt
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, Nov 23, 2005 at 01:13:22AM -0500, Matt Monaco wrote:
>> On a Fedora 4 machine running MySQL 4.1 I am having trouble declaring an
>> instance of a mys
Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, Nov 23, 2005 at 06:48:50PM -0500, Matt Monaco wrote:
>> Thanks for your attention Curt, but unfortunatly that is not the issue.
>> Compatibility mode is not on.
>
> What does this say just
What is the best way to pass an object between pages? Currently I am
first
serializing, then doing a base64_encode, this doesn't seem entirely
efficient. (Especially the encode).
I am however using the encode because I have the serialized object as the
value of a hidden form element. I can only
Within grabQuotes(); if you do a var_dump($arg); (where $arg is $res[id]) is
your vehicle name displayed? If it is, and you're using it correctly, make
sure you're returning the value you'd like correctly. It might help to post
your grabQuotes function as well as the code that displays $cars[]
function addAssoc($ary_stat)
{
$ls_statfields = array(.);
while ($assoc = each($ls_statfields)) {
$ary_stat[$assoc['key']] = $ary_stat[$assoc['value']];
}
return $ary_stat;
}
This should do what you want. I'm not sure if you want to remove the
numeric keys entirely,
In php.ini (most likely located in your windows directory) look for the
globals section and turn register_globals = on
Matt
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_POST arrays do not
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Do you mean passing the class statement or the vars? couldn't you format the
vars into mysql and pull them?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> What is the best way
hecked for things like quotes and other
characters that will alter your SQL statement before you actually INSERT
that value into your table.
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Doesn't that cause security problems?
On 11/25/05
erties into a MySQL or other database? Then on a page that you need
the properties you pull them from the table?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> I mean the object itself, not the class (the file containing the class
> definition is included on all necessary pag
I apologize, but I've never been able to access $_POST and $_GET in any
context whatsoever without first turning on the register globals.
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> Somewhat, but its what you n
turned on.
Matt
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> I apologize, but I've never been able to access $_POST and $_GET in any
>> context whatsoever without first turning on the register globals.
In outlook express by default the headers are displayed as some icons and
then subject, from, sent, size. For some people From is displayed in double
quotes, and others not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
There's really no reason making classes for those (unless you'd like to
write an entire HTML class and its children - I'd be happy to use it!).
Matt
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My background is in Object Oriented Pascal (Delphi), however I am having
In your server configuration file (httpd.conf for apache) you specify which
extensions are parsed by the php module. It is perfectly acceptable for you
to specify .html in addition to .php as a parsed extension.
"Oil Pine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I
Create an object with the functionality of your choosing, in the destructor
perform your cleanup operations.
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings
>
> I'm having some trouble on a members online script.
> I use a php script to track member login t
nclude the file using
require_once("Login.class.php");
Matt
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>De: Matt Monaco [mailto:[EMAIL PROTECTED]
>Create an object with the functionality of your choosing, in the destructor
Well if your keys are a straight sequence of numbers instead of a foreach
you can do a for loop and for those whose value is not one, set to zero.
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a form where I am dynamically building a bunch of checkbox
As I learned recently, register_globals should always be off, you do not
need it to enable GET and POST variables. I believe enabling it will do
something like set $_POST["name"] to $name automatically (of course there's
always the 90% chance that I'm absolutely wrong).
You might want to see i
Check your http access file to verify what david and jochem have said, you
should see lines upon lines of access for the pages in question.
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Angelo Zanetti wrote:
>> Hi guys.
>>
>> Been working on my site and then been tr
is valid just as with any other link.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> How can I get the form values submitted from an iframe where the target is
> the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hah, I was looking in the object aggregation functions, that really deserved
a RTFM
"Ray Hauge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That would be get_class( [obj] );
>
> http://us3.php.net/manual/en/function.get-class.php
>
> Matt Monaco
I have the following two methods as part of a class I'm using to transport
data between pages.
static function pack($object)
{
if (session_id() == "") {
session_start();
}
$class = get_class($object);
$_SESSION["cmsSessionArray"][$class] = seri
PROTECTED]
> On Sat, Dec 03, 2005 at 01:28:21PM -0500, Matt Monaco wrote:
>> I have the following two methods as part of a class I'm using to
>> transport
>> data between pages.
>>
>> static function pack($object)
>> {
>> if (sessio
28 matches
Mail list logo