My Database functions are all wrapped up in an easy to use class. The
methods look something like this:
$db = new DB;
$q = "SELECT * FROM ATable";
$db->query($q);
while ($db->next_record()) {
$db->p("SomethingOrOther");
}
For the PHP script itself, the content management system I wrote up
- Original Message -
From: "Andrey Hristov" <[EMAIL PROTECTED]>
> select * from some_table Limit 10,30;
Something to point out, in some of the older versions of MySQL, Offset
starts counting at 0, while in the newer versions, it starts counting at 1.
You'll want to check the documentat
> On Friday 05 October 2001 18:10, you wrote:
> > Use crypt()/decrypt() couple.
> >
> > Andrey Hristov
>From the PHP doumentation on crypt:
There is no decrypt function, since crypt() uses a one-way algorithm." so
that wouldn't have worked.
Joel
--
PHP General Mailing List (http://www.
From: "Nathan" <[EMAIL PROTECTED]>
> Here are some simple xor encoding functions that I wrote. This will keep
> the average joe from peaking at your data.
Exactly what I was looking for.
Thanks
Joel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Does anybody have an easy way to crypt and decrypt a string? I see the Mcrypt
Encryption module but thats a little more gung-ho than I'm looking for. I'm not
trying to encrypt sensitive data rather I'm more trying obfuscate it a variable for a
hidden tag.
Thought I remember seeing something
To see exactly what image functions that are or aren't available to you, try
running this script.
Have:
--";
}
}
?>Don't Have:
";
}
}
?>
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Adrian D'Costa" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
> I always depreciated WYSIWYG software, especially when they mention
> those things about HTML. HTML is the alphabet of the internet and as
> such should be well known by any webmaster and whoever else is
> interested in this kind of software.
>
> Still, it feels like it is better than Dreamveaw
: hi ,
:
: gallerie.php:
:
: Fatal error: Call to a member function on a non-object in
: /home/sites/site76/web/galerie/shop.php on line XX
If I'm following you right and the class code you are trying to run is in
gallerie.php, then your error is in shop.php.
Joel
--
PHP General Mailing List
: I was just wondering if I could call some functions out side of the class
: I'm making? The reason why I want to do this is so that I don't have to
: rewrite the functions as methods in the class and I don't want to get too
: far into what I'm doing before I find out it doesn't work.
Sure you
Hey all,
I've been working on my first OPP driven PHP code and wanted to see what
everyone thought and any ideas anybody can add to the code that I'm working
on. I've had to make some concessions due to the limitations of PHP's OOP
model and the fact that I'm using PHP3 which doesn't functions l
_Sessions WHERE sess_id = '$sess_id'";
$db->query($q);
if ($db->num_rows() == 0) {
show_login("Previous session has expired. Please re-login.");
} else {
$Data = new Unserializable;
$db->next_record();
$Data->unserialize($db->f("session_da
: On Tue, 4 Sep 2001, Jason Murray wrote:
:
: > Nah, in Illegal Monopoly OS, its just as easy as Apache.
:
: Rather than the web server config, I was referring to renaming all the
: .php3 files to have .php extensions, and combing through all the files,
: finding all references to .php3 files, and
I'm tring to get a login system going using PHP3 and MySQL. I'll have two
tables -- one containing the username and passwords of each user plus a
variable called Access which will hold what other parts of the scripts
they'll have access to and another containing the actual logged in sessions.
I'm
> Dear all,
> Now i have an Oracle database. I have created a table contains 43 rows for
example. I use PHP to contact with my oracle. I want to write a script
access my Oracle for display data into table. Each time display 9 rows. So I
dont't know how to program such as "Page 1 2 3 4 Next".Can an
While I try and adhere to good formatting and punctuation practice in my
coding, sometimes in my haste to write code I don't have time to properly
format my code especially when I do a copy and paste and the indents don't
follow the new code.
Are there any apps available that will properly forma
- Original Message -
From: "Ryan Fischer" <[EMAIL PROTECTED]>
> > Are hosting companies reluctant to give you more access rights?
>
> Usually, and that really sucks, because I've found myself having to set
> up my own "pseudo-server" on my computer, with PHP4, Apache, and MySQL,
> just to
From: "Andreas D. Landmark" <[EMAIL PROTECTED]>
> I'd second this suggestion, the general list has become flooded with posts
that
> seems like a pop-quiz taken straight from the manual...
Right. I've just signed up the list and I've all but given up on trying to
follow things. Just way too much
> Similarly the FAQ is easy to find, and I do believe the words "support"
> suggest where help may be found.
Actually my suggestion would be to take a page from way the Python lists are
and call it tutor or PHP-tutor.
Joel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
> > 1) format your harddrive
> > 2) take out your motherboard and spraypaint it
> > bright orange.
Ok I did that.
> > 3) dance around the desk three times holding the
> > motherboard above your head chanting
> > "mail mail, give me mail"
> > "date date, give me date"
> > "ga booga woooga sho
19 matches
Mail list logo