Just substitute strstr() with stristr()
The extra I in stristr() stands for Insensitive.
If I was insensitive, I would say RTFM :)
If you look under http://www.php.net/manual/en/function.strstr.php
It tells you about stristr
[TK]
-Original Message-
From: jtjohnston [mailto:[EMAIL
Hi,
Please, is there anybody who can help me to compile PHP with socket module?
I work under W2000 with VC++ 6!
Thanks in advance
Fred
Don't name the checkboxes all the same, instead:
Option1 input type=checkbox name=ck0br
Option2 input type=checkbox name=ck1br
Option3 input type=checkbox name=ck2br
Then handle it with
function getCheckboxResults($prefix=FALSE)
{
global $_POST ;
$results = NULL ; // needed for
Hello,
I wonder if anyone can help me with a problem I have. I have some sites
hosted on a Cobalt Raq4 server (not sure if this is relevant). I recently
upgraded PHP from a package at www.pkgmaster.com, and since making this
upgrade I have problems with PHP that I cannot find the solution to.
Ok guys, I need help with this one. I am getting the error: Error in
query: SELECT label FROM menu WHERE id = '1'. Why am I getting this
error? It seems right to me. I have the following code to call the class
object, and I listed the class below it (I'm fairly new to classes):
// Object being
On Wednesday 06 March 2002 17:56, Navid Yar wrote:
Ok guys, I need help with this one. I am getting the error: Error in
query: SELECT label FROM menu WHERE id = '1'. Why am I getting this
error? It seems right to me. I have the following code to call the class
object, and I listed the class
I'm thinking that it probably has to do with the quoting scheme or
something else. I tried it on the command line, and it worked fine. I
don't even think it matters what types of quotes I use around the id
field. I tried both (single and double) on the command line, and it
worked just fine. In
php-general Digest 7 Mar 2002 10:17:11 - Issue 1212
Topics (messages 87544 through 87595):
Re: data from service into array
87544 by: Jim Winstead
87549 by: Craig Westerman
87550 by: Jim Winstead
Re: Perl and PHP
87545 by: Steve Cayford
Stopping PHP from
Is there a simple function to generate
the alphabet with php
Thx
Jeroen
On Wednesday 06 March 2002 18:27, Navid Yar wrote:
I'm thinking that it probably has to do with the quoting scheme or
something else. I tried it on the command line, and it worked fine. I
don't even think it matters what types of quotes I use around the id
field. I tried both (single and
something like:
for ($i=ord('A'); $iord('A')+26; $i++) {
$str .= chr($i);
}
print $str;
Greets,
Edward
- Original Message -
From: Jeroen Timmers [EMAIL PROTECTED]
To: [General] [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 11:37 AM
Subject: [PHP] Alphabet
Is there a simple
is any compile time configuration needed to make 'overload()' function
to work ?. when I use the below code it's saying
'undefined function overload'.
Hope some light on this.
Thanks in advance.
?php
class OO
{
var $a = 111;
var $elem = array('b' = 9, 'c' = 42);
On Thursday 07 March 2002 18:42, Edward van Bilderbeek - Bean IT wrote:
something like:
for ($i=ord('A'); $iord('A')+26; $i++) {
$str .= chr($i);
}
print $str;
- Original Message -
From: Jeroen Timmers [EMAIL PROTECTED]
To: [General] [EMAIL PROTECTED]
Sent: Thursday, March
Hello, I use PDF function to generate a PDF file.
It works fine except I cannot generate a document with more than 10 pages !
For each page I use pdf_begin_page($pdf, 595, 842);
I close each page with pdf_end_page
Any ideas ??
jean-arthur
Rasmus/others,
O'Reilly are advertising the imminent release (Mar 2002) of Programming
PHP (http://www.oreilly.com/catalog/progphp/desc.html).
Is that still going ahead?
(I'll submit an advanced purchase order...)
Regards,
=dn
--
PHP General Mailing List (http://www.php.net/)
To
Hey
I'm testing LDAP and I seem to have an error
Call undefined function ldap_connect()
the code is from php.net
Can anybody tell me what I'm doing wrong :-)
Nope, that didn't work...
Jim Winstead [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Alan McFarlane [EMAIL PROTECTED] wrote:
header(location: index.php; target: _top);
header(Location: index.php);
header(Window-target: _top);
jim
--
PHP General
You don't seem to have LDAP support compiled into PHP. Try running
?php
phpinfo();
?
and make sure that you have ldap support.
/bsh/
Sven Jacobs wrote:
Hey
I'm testing LDAP and I seem to have an error
Call undefined function ldap_connect()
the code is from php.net
Can
flock() may not be required - but I'm pretty sure it's damn sensible. As for
using mySQL, well, these routines are part of a simple file-based cache
system (specifically in my case used for caching mySQL data)
Jtjohnston [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
On Thursday 07 March 2002 19:49, Alan McFarlane wrote:
Nope, that didn't work...
Jim Winstead [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Alan McFarlane [EMAIL PROTECTED] wrote:
header(location: index.php; target: _top);
header(Location:
Hi
This line opens in a new window. How can i define the size of the window,
scroll options etc.
echo a href= . $PHP_SELF . ?mode=results target=_blankResults/a;
Thanks in advance
Mohamed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thu, 7 Mar 2002, Administration@myclassguide wrote:
This line opens in a new window. How can i define the size of the window,
scroll options etc.
Javascript.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All,
I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
A Linux Web server running with Apache/PHP4 And IBM DB2 V7.2 Client Install
on it.
When I try to use odbc_connect($dbname, $user,$password);
I received the message:
Warning: SQL error: , SQL state ¿Ë ?=z@éÿ¿ÛË ?=z@?=z in SQLConnect
Jerry wrote:
I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
A Linux Web server running with Apache/PHP4 And IBM DB2 V7.2 Client Install
on it.
When I try to use odbc_connect($dbname, $user,$password);
I received the message:
Warning: SQL error: , SQL state ¿Ë ?=z@éÿ¿ÛË ?=z@?=z in
Brad,
[I've put this back on the list, because someone who's into PHP's MAIL()
from Linux might be able to help]
OK, I 'KISS'ed' it. The line now reads:
mail([EMAIL PROTECTED], Please call if this works, Hi
there,
From: [EMAIL PROTECTED]);
and works fine. BUT, if i put my email address
-Original Message-
From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 05:52
for ($i=1; $i 12; $i++) {
echo state_$i; // This would print out either Yes No or Maybe.
}
Close -- it's actually:
echo ${state_$i};
(For the record, these are
Which version of Apache did you installed to solve the problem ?
Alexander Weber [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jerry wrote:
I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
A Linux Web server running with Apache/PHP4 And IBM DB2 V7.2 Client
Hey
I have a problem with sessions,
with the code below If I post i always seems to get the same session_id
That is not the idea.
I want to generate everytime a unique one
what is wrong with my code
if ($action ==logout){
session_destroy();
print destroy;
}
if ( $action == post
Hi friend,
from morning onwards I am facing the problem with following php
script.
This script functionality as follows:
Getting the date from user and validating it.
I couldn't trace where the error is. Can anybody help me?
Any help greatly appreciable.
Devicetag.php
-Original Message-
From: Christopher J. Crane [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 02:26
The problem is that on the windows platform all information
is returned. On
the linux platform the $Details variable is not populated.
The nothing
changes...so what could it be.
Hi,
If any body have the script for getting the date including the
time from the user and validating it.
If anybody have can u please forward it to me.
Thanks in advance
Balaji
**Disclaimer
Information
You can do:
for ($i=1; $i 12; $i++) {
$n = state_$i;
echo $$n;
}
That should do what you want (if I understood what you want correctly ;)
/nico
Phillip S. Baker [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am not sure I can articulate this well.
$iord('Z') seems easier to me than $iord('A')+26 :)
/Nico
Edward Van Bilderbeek - Bean It [EMAIL PROTECTED] wrote in message
002601c1c5c4$d008e3f0$2d48c23e@VANBILDE01">news:002601c1c5c4$d008e3f0$2d48c23e@VANBILDE01...
something like:
for ($i=ord('A'); $iord('A')+26; $i++) {
$str .=
Did you recieve an error? If so, what was it?
Tyler
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 7:23 AM
Subject: [PHP] Can anybody help me?
Hi friend,
from morning onwards I am facing the problem with
Very true. oops :)
/Nico
- Original Message -
From: David Apthorpe [EMAIL PROTECTED]
To: 'Nico Vrouwe' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 2:34 PM
Subject: RE: [PHP] Alphabet
: Shouldn't it be $i=ord('Z') ?
:
: David Apthorpe
:
: -Original
Or how about:
foreach(range('A', 'Z') AS $val){
echo $val;
}
range('A', 'Z') will produce an array of character A thru Z.
http://www.php.net/manual/en/function.range.php
Robert Zwink
http://www.zwink.net/daid.php
-Original Message-
From: Nico Vrouwe [mailto:[EMAIL
-Original Message-
From: Alan McFarlane [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 03:20
I've seen and successfully used the built-in function
'mkdir()' on several
occasions, but I am having trouble understanding the mode parameter.
I've seen 0771, 0775 and 0777 used on
Do I have to place a session_start() function at the top of a page (.php) before the
headers?
If I am creating a login form with PHP_SELF, can I place the session_start() at any
point in the html where the user has been validated and logged in?
Thanks, Tami
Team GotFusion
.htaccess and pw files are pointless, who wants to maintain potentially
10 or 20 of these things? Furthermore, it's gotta do more than just
serve a single file at a time -- that's simple... I needed
directly-level security.
The solution I came up with was to use a module called mod_auth_any,
$str = strtoupper($str);
John
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 4:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Makeing $string into CAPS
How can I make a $string = hello into $string = HELLO?
Philip J. Newman
Dear Tyler
Thankyou for reply.
I got java script error message!
Line: 478
Char :1
Error:Object expected
Code :0
Otherwise if u have the script (html and java) for getting the
date and time and validating it...
could u plz.
Hi all
I get a variable that is set be a select box on a page.
I want to use this variable to call a function within a class that is based
on it's name.
so if $var = me
I want to call $class-me_function();
or if
$var = you
call
$class-you_function();
How can I use the variable as part
Hi,
someone was helping me with this last night at home, but now I am in work I
am still struggling.
I have a user_auth script what works fine, it registers the username and
password as session variables then matches them to the rows entered in the
database - if they don't match it unregisters
I had the exact same problem too, reference here and you will find the
answer, I assure you:
http://www.phpbuilder.com/forum/read.php3?num=3id=105752thread=104455
-Original Message-
From: Jerry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 6:10 AM
To: [EMAIL PROTECTED]
Could be several things ...
else {
session_register(user_auth_level);
$auth_select = select account_admin_level from account_details where
username='$login_username';
Perhaps echo the sql statement here so you can see what you're trying to do.
$run_auth_select = mysql_query($auth_select);
A quick and easy check is this:
Once logged in as root do an 'su - db2inst1'
The '-' is ins mandatory to get the dbinst profile
Once there, do a 'su' with no '-' to keep the db2inst profile.
Then stop and start apache.
Dan
-Original Message-
From: Jerry [mailto:[EMAIL PROTECTED]]
Sent:
You could try something like this:
eval( \$class- . $var . _function(); );
/nico
Matt Williams [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all
I get a variable that is set be a select box on a page.
I want to use this variable to call a function within
isn't it the easiest way to do something like this:
class test {
function do ($var) {
if ($var=='you') {
$this-you_function();
} else {
$this-me_function();
}
}
function you_function() {
...
}
function
Also you can set up php to show you all warnings and display them for you.
In the php.ini file you can change some values so that you can do some
debugging.
Here are the values you can change:
display_errors = On
display_startup_errors = On
or
error_log
Hi all,
I'm currently experiencing a very strange
probleme. It appears randomly and i'm not
able to debug/diagnostic myself.
I've a php script that connects to my mySQL
database. This works good in most of time,
but sometime i've got the following messages:
Warning: Lost connection to MySQL
It doesn't seem to have been mentioned here unless my newsfeed is very
slow, but phpdeveloper.org has a quick mention of the new addition to
Rasmus' family.
http://www.phpdeveloper.org/
Well, everyone's favorite PHP developer multiplied last night - Rasmus
Lerdorf now has a son (9.0lbs,
I currently working with some free source from CyberGl and am having a
problem with the membership module.
I've inserted the php into the beginning of the page but when I go to test
the page, nothing appears. I don't get a 404 error or any error, the page
just doesn't display.
Any ideas?
Hello,
Does anybody know of a php script that will email the daily userfriendly.org
comic?
Thanks,
Josiah Wallingford
Email = [EMAIL PROTECTED]
Mailing lists:
PHP General - [EMAIL PROTECTED]
BBEdit Talk - [EMAIL PROTECTED]
BBEdit Web Authoring - [EMAIL PROTECTED]
ICRadius -
Good news problem solved ! It was an incorrect modules somewhere and an
error of settings (a missing backslash) by our Linux Expert.
Jerry
Jerry [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello All,
I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
A
Good news problem solved ! It was an incorrect modules somewhere and an
error of settings (a missing backslash) by our Linux Expert.
Jerry
Dan Vande More [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I had the exact same problem too, reference here and you will
Hello all,
I have an .htaccess and .htpasswd file in a directory. This is working
fine, when anyone attempts to enter this directory, they are prompted for a
user name and password, and if correctly entered, the page will load fine.
What I would like is the ability to capture, or trap the user
php script :
?php
$ini_array = parse_ini_file(conf/conf.php);
echo($ini_array[var1]);
?
content of conf/conf.php :
[data]
var1 = xxx
After execution of the php script, it is impossible to delete the conf.php
file.
Any idea ?
greg
--
PHP General Mailing List (http://www.php.net/)
To
On Friday 08 March 2002 00:36, Dave wrote:
Hello all,
I have an .htaccess and .htpasswd file in a directory. This is working
fine, when anyone attempts to enter this directory, they are prompted for a
user name and password, and if correctly entered, the page will load fine.
What I would
Does anyone know when this will be available?
Or if it already is, where it can be downloaded?
Thanks
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The code below is too weird. I spent 15 min writing it but now works:
for(reset($ar),list($k,)=each($ar),$v=$ar[$k];$k;list($k,)=each($ar),$v=$ar[$k]){
var_dump($k,$v);
$v='ather'.($j+++0);
var_dump($k,$v);
}
The $ar array is generated in
http://www.phpdeveloper.org/
Well, everyone's favorite PHP developer multiplied last night - Rasmus
Lerdorf now has a son (9.0lbs, 19.25in. - a big boy) was born at 13:26
PDT on Wednesday March 6, 2002. If you'd like to see some pics from the
family, check out this page - or to send
Firstly i create a session, After that when i close the browser the sesion
can still be seen in tmp directory in apache webserver.
I just wanted to know that If i close the browser, Does the session
terminates ?
Beta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I've the same problem here
If i do logout it doesn't doe a session_destroy :(
-Original Message-
From: Beta [mailto:[EMAIL PROTECTED]]
Sent: jeudi 7 mars 2002 18:54
To: [EMAIL PROTECTED]
Subject: [PHP] Why session is not deleted ???
Firstly i create a session, After that when i close
Yes.
If you know what is garbage collector then you will understand why it is
there. The GC is started from time to time and cleans expired session data.
Best regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
On Thursday 07 March 2002 07:54 pm, you wrote:
Firstly i create a
I was just wondering if anyone could tell me when would be the time to
choose require(), require_once(), or include(). I know a little bit about
using each one, but I am just not sure if there is one that is better than
the other in certain situations.
--
Joshua E Minnie
CIO
[EMAIL PROTECTED]
Dear Mark,
Thanx for your reply.
The solution you mentioned I knew it allready but i cannot change the name
of order to order[] or something else but i still want to know is there any
other way i can solve this issue. I got so many anwer saying that it is
not possible I wonder why because
I wouldn't say .htaccess and .htpasswd files are pointless. They might not
be applicable to your situation, fine, but they're not totally useless. And
.htaccess/passwd files do provide directory-level security -- the directory
they're in, plus any subdirectories if need be.
But there are a
require includes code only once(on the parse), include includes code
everytime it is called. if you have some libs and in two or more you do
require or include of some core lib you have to use require_once or to define
some constant and use it to check. I am sure when but require changed its
Joshua E Minnie wrote:
I was just wondering if anyone could tell me when would be the time to
choose require(), require_once(), or include(). I know a little bit about
using each one, but I am just not sure if there is one that is better than
the other in certain situations.
For all
-Original Message-
From: karthikeyan [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 17:52
[]
I am very sure that there must be some solution to this but
I don't know
how to do this in PHP. I have one solution using GET method
but not with
POST.
Then you're very
If you are not going to save, I wouldn't call it a file :-)
Just store the contents in a string and insert in a TEXT (etc) field.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
You can use a string to keep the file content. And then put it the
mysql(probably a BLOB field)
Best regards,
Andrey Hristov
IcyGEN Corporation
On Thursday 07 March 2002 11:30 pm, you wrote:
hello everyone.
i'm wondering if i can do the following:
FIRST,
using php, can i create/generate
Hi,
I'm about to compile the 4.1.2 version found on php.net. I have the
following configure command:
./configure --with-apache=../apache_1.3.23 --with-mysql
--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir
--with-freetype-dir --with-gd --enable-gd-native-ttf --with-tiff-dir
I changed mysql_db_query() to mysql_query(). I took the quotes away from
the id. It still gives me an error:
Error in query: SELECT label FROM menu WHERE id = 3
Where else could I be going wrong?
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07,
On Thursday 07 Mar 2002 16:22, Josiah Wallingford wrote:
Hello,
Does anybody know of a php script that will email the daily
userfriendly.org comic?
Not sure about this -- Userfriendly.org is maintained by advertising, so
unless you want to pay them a royalty for every page you view they
EXCELLANT!
I have found that
$username = $_SERVER['REMOTE_USER'];
does exactly what I need it to do.
Now, final question is how do I program a LOGOUT button, so when clicked
the person will lose their identity and I can bounce them to a
non-secure page.
Any ideas?
Dave
Jason Wong [EMAIL
On Tuesday 05 Mar 2002 15:07, Erik Price wrote:
On Monday, March 4, 2002, at 06:10 PM, Jonathan Duncan wrote:
I want to make a web site that displays news headlines from my favorite
news
sites.
PEAR has an RSS headline class that's dead easy to use and works for RDF
files.
try this:
?php
echo foo.$i++;
echo \n;
echo bar.($+++0);
?
Thanks for showing that I add new element to the array. This is because on last
iteration $k is null and I access $ar[$k] which automatically adds the new element.
Why? I don't know? Maybe because I refer it by reference!
The fixed
ooops
?php
echo foo.$i++;
echo \n;
echo bar.($j+++0);
?
On Thursday 07 March 2002 09:09 pm, Andrey Hristov wrote:
try this:
?php
echo foo.$i++;
echo \n;
echo bar.($+++0);
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
When uploading image files to my powerpc linux box (derived
from redhat 7.1) running apache + php4.0.4pl1 something
wierd happen.
Images get corrupted by (IMHO) php itself. It adds the
following 2 lines at the top of the file:
Content-Type: image/jpeg^M
^M
...(rergular image file data)
(as
When i upload an image file (i.e. a jpeg) to the server
using php, it gets corrupted. Indeed the GIMP is no
longer able to open it.
Opening the uploaded file with a text editor i found that
the following 2 lines were added at the top (as displayed by
vim, my text editor):
Content-Type:
On Thu, 2002-03-07 at 06:25, Matt Williams wrote:
Hi all
I get a variable that is set be a select box on a page.
I want to use this variable to call a function within a class that is based
on it's name.
so if $var = me
I want to call $class-me_function();
or if
$var = you
Thanks for the information, was definitely very helpful in clearing up that
question.
Joshua E Minnie
[EMAIL PROTECTED]
Don't work for recognition, but always do work worthy of recognition. ~
Unknown
Michael Kimsal [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am having problem with an array filled with an object. I am trying to
access it using current($object_array)-object_var. Here is the line of
code that is giving me the problem, any help that can be provided will be
greatly appreciated.
if((current($retrieved)-beginTime $morning)
Can nobody help? This is so frustrating. I cannot see what's wrong, open
to ANY suggestions!
Thanks.
Paul
Paul [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I wonder if anyone can help me with a problem I have. I have some sites
hosted on a Cobalt
I'm getting this error:
Warning: mcrypt module initialization failed in /home/www/common.php on line
314
When running this code:
?php
function encryptPassword($password) {
$key = randomString();
$code = mcrypt_ecb(MCRYPT_BLOWFISH_128, $key, $password, MCRYPT_ENCRYPT);
print($code = enc
Anyone know of an easy to use library/or code that will read and write
an ini file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michele,
Possible a dumb question, but does the machine you are running it on have PHP
installed and configured to work with the server software?
If so, did you name the file correctly? It may need to be called page.php
rather than page.html...
M
On Thu, 7 Mar 2002, Michele wrote:
I
I'm new to this php thing and I would like to set up a web page were the
users can login and edit their preferences and all that stuff. I have the
basic login stuff worked out and I was passing the username and password as
a hidden input in the form, but then the password can be seen with view
David Johansen wrote:
I'm new to this php thing and I would like to set up a web page were the
users can login and edit their preferences and all that stuff. I have the
basic login stuff worked out and I was passing the username and password as
a hidden input in the form, but then the
Hi list,
I'm new to PHP, but I found it greate. But I have a question. Recently I've
saw a friend using asp and the object record set seems perfect, I mean the
function to count records, navigate in throw record (back and forth)
everything automatic is amazing. There's a way, to implement such
On Thursday, March 7, 2002, at 04:30 PM, gregory hernandez wrote:
i'm wondering if i can do the following:
FIRST,
using php, can i create/generate a text file on-the-fly (not saved to a
server)
THEN,
insert the actual text file (and not its contents) into a mysql
database.
Sorry,
Nick Richardson wrote:
I'm getting this error:
Warning: mcrypt module initialization failed in /home/www/common.php on line
314
When running this code:
?php
function encryptPassword($password) {
$key = randomString();
$code = mcrypt_ecb(MCRYPT_BLOWFISH_128, $key, $password,
On Thursday, March 7, 2002, at 06:05 AM, DL Neil wrote:
Rasmus/others,
O'Reilly are advertising the imminent release (Mar 2002) of Programming
PHP (http://www.oreilly.com/catalog/progphp/desc.html).
Is that still going ahead?
(I'll submit an advanced purchase order...)
Hmmm... on the
Rodrigo Peres wrote:
Hi list,
I'm new to PHP, but I found it greate. But I have a question. Recently I've
saw a friend using asp and the object record set seems perfect, I mean the
function to count records, navigate in throw record (back and forth)
everything automatic is amazing. There's
On Wednesday, March 6, 2002, at 05:11 AM, DL Neil wrote:
My 'rules' are simple:
If the date/time is for processing, keep it as a timestamp (consider
which type).
If the timestamp is being used to keep track of RDBMS activity, then
use a TIMESTAMP column.
By RDBMS activity, do you mean
Erik:
thank for answering my first question:
the word file indicates that this is represented by an entity in a
filesystem -- thus, it would be saved to a server.
now let me rephrase the second part. what i meant to say was the following:
can i insert the actual file (i.e. document.txt, of
Are you planning on using MySQL as a filesystem?
There seems to be great confusion here.
Good luck!
--- gregory hernandez [EMAIL PROTECTED] wrote:
hello everyone.
i'm wondering if i can do the following:
FIRST,
using php, can i create/generate a text file
on-the-fly (not saved to a
Yes, Jason. I posted it earlier, but here it is again.
// Error I'm getting
Error in query: SELECT label FROM menu WHERE id = 3
Warning: Supplied argument is not a valid MySQL result resource in
e:\localhost\menu\menu.class.php on line 47
// Object being called from get.php
?php
Does anybody know of a php script that will email the daily
userfriendly.org comic?
Why not write one yourself? Most of the file names can be guessed,
today is http://www.userfriendly.org/cartoons/archives/02mar/uf004027.gif
for example.
By the way...
Josiah Wallingford
Email = [EMAIL
1 - 100 of 154 matches
Mail list logo