Here,.. wait a minute. Let me pull my head out of my arse...
;o}
Many thanks Jay...
-daniel
-Original Message-
From: Jay Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 3:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Mcrypt functions
You're using the same inpu
I'm just a little curious, I've never really don't this before, but is
installing mcrypt usually a very hard thing to do, or will it be pretty
simple for a dolt like me? :)
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim,
Why does the data have to be reindexed??? I don't understand, can you give
me an explenation?
Thanks,
Frank
- Original Message -
From: "Jim Lucas" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 10:30 PM
Subject: Re: [PH
On Tue, 2003-06-03 at 13:20, David Nicholson wrote:
> Hello,
>
> This is a reply to an e-mail that you wrote on Tue, 3 Jun 2003 at 20:04,
> lines prefixed by '>' were originally written by you.
> > I've tried and here's the output:
> > Undefined index: input
> > if ($HTTP_GET_VARS['printout'] != "
Guys
Just another challenge; i've taken the code of Wouter and as you can see i'm
first passing data to the reis table.. Then i retrieve the ID... But when
you have multiple selection's the trouble starts... The first record is o.k.
but then the second record Get's the ID of the first.. How to avo
On Tue, 2003-06-03 at 02:46, Sichta Daniel wrote:
> Another way is to do it on client side (javascript)
>
> DS
Indeed, but then you have to be prepared for it not to work if
the user doesn't have js enabled.
Torben
> -Original Message-
> From: Shaun [mailto:[EMAIL PROTECTED]
> Sent:
On Wednesday 04 June 2003 04:08, Eric D. wrote:
> Thanks. I'm using PHP-4.3.1.
That's good, so again ...
> > If you're using PHP > 4.1.0 then you ought to be using $_SESSION for all
> > your session needs -- see manual for examples.
Reiterate, read: manual > Session handling functions
> The pro
Hi,
First, let me say many thanks to those who responded to my cron tab
question - it's working well now. And now for my next trick ;)
I'm looking for more of an opinion here. I'm doing an alphabetical listing
of members for this site, I've done a general query of my MySQL table to
select al
Hello everybody!
I'm trying to upload a file using the move_uploaded_file function, everyting
works fine when the files have less than 1MB but when I upload one more than
this, IE returns the error The page cannot be displayed and in it's title
shows Cannot find server. I alreary edit php.ini sett
There's a dec2bas() function on this page that might be helpful...
http://us3.php.net/bc - search the page for base32
There are also a number of references that come up quickly on google
that will explain base32 encoding. You should be able to reverse
engineer it.
--- DvDmanDT <[EMAIL PROTECTED]>
Dreamweaver MX has a Live mode.
It uploads the script to a testing server and it shows the output live as
you edit, given whatever post/get/cookie variables you want to pass to it.
Quite clever.
Unfortunately, DW MX is as stable as an elephant on a pole.
"Miles Thompson" <[EMAIL PROTECTED]> wrot
Thanks Kirk! I have all of the conditions you set out met. And still doesn't
work.
I also added session__is_registered("sess_var") to check and it tells me
that it's not registered.
1st script - page1.php:
"; //echos fine here
?>
Next page
2nd script - page2.php:
";}
else
{echo "false"
Thanks Kirk! I have all of the conditions you set out met. And still doesn't
work.
I also added session__is_registered("sess_var") to check and it tells me
that it's not registered.
1st script - page1.php:
"; //echos fine here
?>
Next page
2nd script - page2.php:
";}
else
{echo "false"
if you are using a mysql data base setup and you have any indecies on the
table that you are inserting the data into, then MySQL will automatically
re-index the table each and every time the data in the table is modified.
Jim Lucas
- Original Message -
From: "Frank Keessen" <[EMAIL PROTECT
I'm attempting to upgrade a machine from SLES7 to SLES8 and when I
recompiled apache + php4 + oracle on SLES8, I get this when attempting to
start apache. I can copy the libphp4.so from the old machine over and it
will start, but it won't connect to the database. Is this a bug in php,
Oracle, or
Please dont kill me for posting here. I dont know where else to post. I'm a
newbie and is completly stuck with a php problem :(
I got this code (among with more though...):
***
$i1=hentIngresser($nettstedid,38,$sprakid,$offsetannet,$antallmotor);
$i2=hentIngresser($nettstedid,
Is there any way I can change the state of an already instantiated object?
ex:
$thisone = new Object();
$content = something;
$thisone -> SetContent($content);
$thisone -> Display();
That creates the object. Now if I want to change its content:
$content = something different;
$thisone ->
On Tue, 2003-06-03 at 14:34, [EMAIL PROTECTED] wrote:
> Is there any way I can change the state of an already instantiated object?
>
> ex:
>
> $thisone = new Object();
>
> $content = something;
>
> $thisone -> SetContent($content);
>
> $thisone -> Display();
>
>
> That creates the object. N
I got the same error some time ago, and I almost went nuts trying to find
the cause of this seemingly "insoluble" problem. But it has actually nothing
at all to do with your script or the max_file_size in PHP or the one you
give with the HTML form. Those are offcourse 2 limits which are important,
I have been looking for answer but have not located any thing that will
solve my problem.
The problem I am having is that I cannot get php scripts to run from the
command line, I can run php straight from the command line and it works
and by using -f it parses my file just fine, but when it comes
Set your error reporting to E_ALL, to see if anything else is going on.
Add this line right after session_start() in both files, to make sure the
session ID is getting passed correctly. The same ID should be displayed in
both files:
echo "ID = " . session_id() . "";
> -Original Message-
Try using #!/usr/local/bin/php
My guess is that when you run:
ls -ls /usr/bin | grep php
you will see that php is a symlink to /usr/local/bin/php
-Jackson
On Tue, 2003-06-03 at 16:54, Brian Paulson wrote:
> I have been looking for answer but have not located any thing that will
> solve my probl
move_uploaded_file is copying the temp file to a permanent directory right ?
thats on the server , check if the temp file is there with
$_POST['tmp_name'] or its size value
-Original Message-
From: Yves Daemen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 7:44 AM
To: [EMAIL PROT
At 19:18 03.06.2003, Jackson Miller said:
[snip]
>Maybe I should clarify.
>
>$message = 'Visit http://jaxn.org"; target="_top">My personal
>site to learn more about me.
>Visit http://memigo.com";>memigi to learn about current
>events.';
>
>What I want is to r
List,
I'm trying to install PHP and after each make I get this:
Installing PEAR environment: /usr/lib/php/
[PEAR] Archive_Tar: 'xml' PHP extension is not installed
[PEAR] Console_Getopt: 'xml' PHP extension is not installed
[PEAR] PEAR: 'xml' PHP extension is not installed
[PEAR] DB: 'xm
No it's not possible, you have to see the error to actually believe it ;-)
It goes like this:
You have a form with a file input field, you select a file on your HD, and
almost the "exact" moment you press the "submit"-button, you get a "Page not
found 404".
It's very weird when you see it actuall
Hey everyone,
I find myself building alot of admin control areas, or in otherwords, a
group of forms that lets an end user control data and appearances of his/her
site. What I am looking for is a package of classes/functions that will help
me automate and modularize this process a little more. I a
At 2003-06-01 01:48 -0700, Ralph wrote:
>Maybe it's just that it's late, but can't seem to figure this out. I
>want to show a shipping price depending on the amount of purchase. I
>thought about using a lot of if() statements, but I know this is not the
>best way to go about this.
>
>Can anybody en
Thanks again Kirk.
session_id() is not being passed correctly. The two pages contain different
page ids. I had "display_errors = ON" in php.ini and received the following
msgs:
Notice: Undefined index: sess_var in D:\Program Files\Apache
Group\Apache2\htdocs\page2.php on line 13
sess_var =
So pa
Jason Wong,您好!
As you know,I'm a newbie in PHP,I tried your way last night,but to my surprise,it do
nothing for any way,it didn't delete any line in the TXT-file,even the file
"outputfile.txt" indeed!
Perhaps it because that I haven't understand your thought and absolutely copy your
words to th
I could have sworn buildconf was used to rebuild the configure
script with any new extensions added to the ext/ directory. For
some reason though nothing is being added and I'm getting no
warning for PHP 4.3.2 Anyone have any ideas?
Cheers,
Rob.
--
.-.
Here is how I installed it and got it working. This is straight out of
the PHP manual. You should read it, it helps.
LIV. Mcrypt Encryption Functions
Introduction
This is an interface to the mcrypt library, which supports a wide
variety of block algorithms such as DES, TripleDES, Blowfish (
Hello,
(B
(BI am not sure if this is a PHP problem. I am using strtotime() to convert
(Bdate string to timestamp. But this function fails with date prior to 1970.
(BThe documentation however says that range is Fri, 13 Dec 1901 20:45:54 GMT
(Bto Tue, 19 Jan 2038 03:14:07 GMT
(B
(BTo be specif
> I am not sure if this is a PHP problem. I am using strtotime() to
convert
> date string to timestamp. But this function fails with date prior to
1970.
> The documentation however says that range is Fri, 13 Dec 1901 20:45:54
GMT
> to Tue, 19 Jan 2038 03:14:07 GMT
Actually it says it's "typically"
I'm having a problem I don't think I should be having. Basically, I'm
doing some simple math, and I'm having issues in making PHP do it (with
the brackets in particular).
An example that looks like it -should- work:
$Math = sqrt(81)(5+4)-1;
Well of course that doesn't work because of the (I beli
> I'm having a problem I don't think I should be having. Basically, I'm
> doing some simple math, and I'm having issues in making PHP do it
(with
> the brackets in particular).
>
> An example that looks like it -should- work:
>
> $Math = sqrt(81)(5+4)-1;
Do you mean:
$Math = sqrt(81)*(5+4)-1;
Hello,
I am using php 4.3.2 on NT, and I have set
display_errors to Off in php.ini. However, errors are
still being displayed in the browser. I have tried
setting display_errors to 0, and checked using
phpinfo() that the settings in php.ini are being read.
I have also tried turning display_erro
On Tue, 2003-06-03 at 19:49, Chris Cameron wrote:
> I'm having a problem I don't think I should be having. Basically, I'm
> doing some simple math, and I'm having issues in making PHP do it (with
> the brackets in particular).
>
> An example that looks like it -should- work:
>
> $Math = sqrt(81)(
On Tue, 2003-06-03 at 20:59, Lars Torben Wilson wrote:
> On Tue, 2003-06-03 at 19:49, Chris Cameron wrote:
> >
> > An example that looks like it -should- work:
> >
> > $Math = sqrt(81)(5+4)-1;
> >
> What is the relation between the sqrt(81) and the (5+4)-1? i.e. there
> is no operator there...w
On Tue, 2003-06-03 at 20:02, Chris Cameron wrote:
> On Tue, 2003-06-03 at 20:59, Lars Torben Wilson wrote:
> > On Tue, 2003-06-03 at 19:49, Chris Cameron wrote:
> > >
> > > An example that looks like it -should- work:
> > >
> > > $Math = sqrt(81)(5+4)-1;
> > >
>
> > What is the relation between
Hi guys Im trying to build a login system with a diferential for na administration
login and a partner, where a partner would have certain editing rights and the
administrator would have editing rights for all the articles, but Im having
problems with sessions, and Id like to know where could I
Puzzling as heck, the buildconf just took, perhaps was related to the
timestamp of the config.m4 file changing since it never took untill I
started mucking with that. incidentally it worked even though the
contents weren't changed *pffft* :)
Cheers,
Rob.
Robert Cummings wrote:
>
> I could have s
I've built my own framework over time, and would highly recommend it,
because you get exactly what you want.
but here's a few things that might help:
- some sort of form building/validating class (10's or 100's even at
phpclasses.com)
- read up on some of the large app frameworks... fusebox come
hi everyone
how can i convert database mysql to text file/script file?
Hi,
Anyone interested in helping out with an opensource CMS project.
PHP/MySQL/Smarty Templates/Modules checkout prattcms.sf.net. It's
different from other CMSs in that it is not user-driven. The pages use a
WYSIWYG editor (inline, htmlarea, also open-source).
Thanks!
-Michael
--
PHP General
$short_string = substr($long_string, 0, $length);
"Erich Kolb" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> How do I grab the first X characters of a string?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guys
Just another challenge; i've taken the code of Wouter and as you can see i'm
first passing data to the reis table.. Then i retrieve the ID... But when
you have multiple selection's the trouble starts... The first record is o.k.
but then the second record Get's the ID of the first.. How to avo
On Wednesday 04 June 2003 08:36, poetbox wrote:
> As you know,I'm a newbie in PHP,I tried your way last night,but to my
> surprise,it do nothing for any way,it didn't delete any line in the
> TXT-file,even the file "outputfile.txt" indeed! Perhaps it because that I
> haven't understand your though
hi there , i am building a fulltext search engine which will use the mysql
boolean search features , although it defaults to OR with words between
spaces you have to explictly put a + in front of words so say i typed
"some word" word2 ,to get both i have to do +"some word" +word2
how can i split
There is a mysql command for doing a sql dump (dont remember what it is
though). Also, you might want to check out phpmyadmin at sourceforge. This
has flexible tools for putting databases into a text file.
Chris
From: "agus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PHP] create scr
Hi, I have deveolped a stored procedure within oracle 9.2.0. This procedure
has an output parameter that is a defined as a REF CURSOR and I would to
know if it is posible, using ORA functions in PHP, to run this procedure and
retrieve the data contained by this REF CURSOR.
I would be very grateful
Jason Wong,您好!
Thank you,Mr. Jason Wong,I think what you said is below.If not,tell me
the right way,ok?
=filename:edit.php===(still have
ERRORs)=begin==>
";
for($i=0;$i<$num;$i++)
{
echo "".$news[$i]." DELETE THIS
LINE";
if((
i have this code working perfect to allow users to download songs from my web site,
but the download.php must be in same folder with any song to be downloaded.
but i have songs on another server, so i can't make the file name full path like this:
http://myserver.com/son1.mp3
any help plz !!
If you're getting errors for undefined variables, you can reduce the level
of error reporting in PHP.ini so it only does so for more serious errors. I
had a similar problem and this cleared things up. See the PHP manual...
http://www.php.net/manual/en/ref.errorfunc.php#ini.error-reporting
Also, I
On Wednesday 04 June 2003 14:35, poetbox wrote:
> Thank you,Mr. Jason Wong,I think what you said is below.If not,tell
> me the right way,ok?
[snip]
> Is there any wrong above?Sorry,it do nothing again.
In your original, you had some code which used explode() on the line to
extract
I've decided to require that members for a site need to have cookies enabled
in their browsers to sign-up and use the site. Is there a graceful way to
deal with this when users who have cookies off try to sign-up or log-in to
the site?
Thanks,
Monty
--
PHP General Mailing List (http://www.php
Hi, I have deveolped a stored procedure within oracle 9.2.0. This procedure
has an output parameter that is a defined as a REF CURSOR and I would to
know if it is posible, using ORA functions in PHP, to run this procedure and
retrieve the data contained by this REF CURSOR.
I would be very grateful
May help if the website worked... OR give us a link to the SF project page?
"Michael A Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Anyone interested in helping out with an opensource CMS project.
> PHP/MySQL/Smarty Templates/Modules checkout prattcms.sf.net. It's
>
Try here mate, http://prattcms.sourceforge.net/
> May help if the website worked... OR give us a link to the SF project
> page?
>
> "Michael A Smith" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi,
>>
>> Anyone interested in helping out with an opensource CMS project.
>> PHP/M
I'm looking for a little script like IP atlas:
"IP-Atlas uses NetGeo data to find latitude and longitude coordinates
for a domain or ip address, as well as the city and country. It then
uses GD or CSS to plot it on the globe."
http://xpenguin.com/ip-atlas.php
This script seems to work for me,
Why on earth would you refuse users without cookies?? Take a look at all
the major websites (amazon & msn for starters).
Do they require cookies? No.
Do they require JavaScript? No.
Do they require anything else special on the site? No.
They take advantage of technology where available (DHTML
Check this out , mate.
Fatal error: Failed opening required 'PEAR.php' (include_path='') in
/home/groups/p/pr/prattcms/htdocs/phplayersmenu-2.3.5/lib/layersmenu.inc.php
on line 4
-Oorspronkelijk bericht-
Van: Randum Ian [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, June 04, 2003 11:33 A
Hi,
I have a php page that validates if a username and password are valid. if they are the
php page registers and assignes a session variable a value. Then straight after that
it automatically calls then next php page using the
header("Location: researchpapers2.php"); command. My question is:
THANKS FOR all your help, I found out it was a custom error handling program
that we had that was putting out that error.
"John Coggeshall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Are you using PHP 4.3.2? Try upgrading :)
>
> John
>
> On Tue, 2003-06-03 at 05:23, Diana Castil
You want to get some file from another server by using http fopen
wraper? Then please note, that some functions, e.g. file_exists(),
filesize() don't work across http.
fr r wrote:
i have this code working perfect to allow users to download songs from my web site, but the download.php must be in
Hello,
Anybody got a good solution for capturing errors in php scripts?
I can catch the errors by logging them to a log file (log_errors in php.ini)
My problem is that i'm running a lot of sites on my server and i need to know
wich site generate the error and cant find any way to get this in the
Hello,
I need to connect from my Linux server to DSN (MS Access) on WindowsXP via
ODBC.
Would you helo me?
Thanks
Toma Kubis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Im converting a site from asp to php, Its db driven and some images are
stored in the db.
The previous developer stored the image files in a text string format, Im
assuming I have to convert the text back into a binary format, anyone had
any experience with this or can shed some light on this for
On Wed, 04 Jun 2003 03:08:00 -0400, Monty wrote:
>I've decided to require that members for a site need to have cookies enabled
>in their browsers to sign-up and use the site. Is there a graceful way to
>deal with this when users who have cookies off try to sign-up or log-in to
>the site?
You can
An Image file is just text typically
If you know the format of the images it should be a case of extracting the
'text' that is the file and sending the appropriate headers...
- Original Message -
From: "Craig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003
i found a snippet somewhere which helped me out and i modified it
$value) {
$keyword .= " +".$value;
}
}
echo $keyword;
?>
so basically u can have a heap of keywords with some in exact phrases within
quotes and it adds the + for you to make it an AND boolean search string
FROM:Mr. Nzanga Joseph Mobutu
DIRECT E-MAIL:[EMAIL PROTECTED]
Dear Friend,
I am the first son of the late Mobutu Sese Seko, the former
President of the Congo Republic. I am presently under protective
custody
in
Nigeria as a political refugee.
I got your contact during my search for a stranger that
Will someone ban this f***ing spam...
Anyone believing this is an idiot!
regards,
Dark Angel
-Original Message-
From: MR NZANGA JOSEPH MOBUTU [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 12:56
To: [EMAIL PROTECTED]
Subject: [PHP] My Sincere Greetings
FROM:Mr. Nzanga Joseph Mobutu
DIRE
How about a substring comparison? Select all from your database and then
loop through using an array of the alphabet.
[NOT TESTED]
$alpha_array = array("A","B","C", );
$alpha_count = count($alpha_array);
for($i=0; $i<$alpha_count; $i++){
$sql = "SELECT name FROM table WHERE LEFT(nam
Have you RTFM at
http://us3.php.net/manual/en/ref.odbc.php
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
True that!!!
- Original Message -
From: "Jonathan Wilkes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 13:55
Subject: RE: [PHP] My Sincere Greetings
> Will someone ban this f***ing spam...
>
> Anyone believing this is an idiot!
>
> regard
$resultb = mysql_query("SELECT id,mid FROM bt_message where ch='$ch' ",$db);
while ($result = mysql_fetch_array($resultb)) {
$result2b = mysql_query("SELECT nick FROM bt_member where id ='$result[mid]'
",$db);
$result2 = mysql_fetch_array($result2b);
.
}
Can combine together?
--
PHP Ge
Hey Guys,
If any of you recive a message like this dont just delete it, take a minute
of your time and report it to the US secret service (or your countrys
"Nigerian Scam" law authority)
You can find out where to report it and all the details you ever need by
just running "nigerian scam" on google
good point!
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003 14:25
To: [EMAIL PROTECTED]
Subject: Re: [PHP] My Sincere Greetings
Hey Guys,
If any of you recive a message like this dont just delete it, take a minute
of your time and report it to the US secret
You need to append the session name and id to the header location everytime
you redirect that way. So your header redirect should read:
header('Location: researchpapers2.php?'.session_name().'='.session_id());
When you have normal links to other pages you don't have to do this but on
header redi
How do I round off prices to the like rounding off $24.80 to $25?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
ceil -- Round fractions up
round -- Rounds a float
floor -- Round fractions down
Joe
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 2:51 PM
Subject: [PHP] Round Off $ prices
> How do I round o
I've been getting a warning on one of my scripts since I upgraded from 4.1.2
to the most recent version of PHP. The warning is:
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead
The script at the line that is failing sez:
setlocale ("L
Try removing the double quotes around LC_TIME
Neil
Mike At Spy wrote:
***
This Message Was Virus Checked With : SAVI 3.69 May 2003
Last Updated/Checked 2nd June 2003
**
Hi there
We are looking for an open source banner advertising application to
integrate into a site. The site will be getting a LOT of hits, so something
that will scale well, report well and just work well would be useful. Anyone
got any thoughts on their preferred application? I'd be interested i
The best one without a shadow of a doubt would be phpnewads.
> Hi there
>
> We are looking for an open source banner advertising application to
> integrate into a site. The site will be getting a LOT of hits, so
> something that will scale well, report well and just work well would be
> useful. An
It never ceases to amaze me how much people want for free... ANYWAY,
phpAdsNew seems to be the popular recommendation on this list.
http://www.phpadsnew.com/
Justin
on 05/06/03 12:12 AM, Adrian Teasdale ([EMAIL PROTECTED]) wrote:
> Hi there
>
> We are looking for an open source banner advert
Why pay for something when you can get this for nowt! ;o) I use it on a
large scale site with tens of thousands of hits a day and it works very
well.
> It never ceases to amaze me how much people want for free... ANYWAY,
> phpAdsNew seems to be the popular recommendation on this list.
>
> http://w
I'd guess at:
$resultb = mysql_query("SELECT bt_member.nick FROM bt_member, bt_message
WHERE bt_member.id=bt_message.mid AND bt_message.ch='$ch'", $db);
$result2 = mysql_fetch_array($resultb);
.
-Original Message-
From: Erick [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 13:12
To:
> From: "Randum Ian" <[EMAIL PROTECTED]>
> Why pay for something when you can get this for nowt! ;o)
I love getting things for nowt... like candy from a baby...
:)
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I've been getting a warning on one of my scripts since I upgraded from
4.1.2
> to the most recent version of PHP. The warning is:
>
> Warning: setlocale(): Passing locale category name as string is
deprecated.
> Use the LC_* -constants instead
>
>
> The script at the line that is failing sez:
>
Wouldn't it be easier to "SELECT * from bt_member WHERE ch='$ch' &&
id='$result[mid]',$db);
//I'm not sure of the exact syntax there since I'm a newbie, but wouldn't it
be easier to do that and then do a pulling of the fields that you want?
//ie...
while ($result = mysql_fetch_object($resul
php-general Digest 4 Jun 2003 13:43:27 - Issue 2097
Topics (messages 150095 through 150154):
Problem with strtotime()
150095 by: Sachin Bennur\(DigitalRayInc\)
150096 by: John W. Holmes
Doing simple math
150097 by: Chris Cameron
150098 by: John W. Holmes
YEAH, disregard my message, I was doing what James was doing but didn't see
that you where using ""2"" seperate tables already, sigh been a great
morning already. but there's my idea anyhow!! hehe
David :)
-Original Message-
From: James Lobley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ju
Is there a way to check within an application if the "gd" library has been
installed?
Todd
--
So, how about this?
$resultb = mysql_query("SELECT id,title,mid,lastedit,hit,reply,`lock` FROM
bt_message where ch='$ch' ORDER BY top,lastedit DESC LIMIT $limit,30",$db);
while ($result = mysql_fetch_array($resultb)) {
$result2b = mysql_query("SELECT nick FROM bt_member where id
='$result[mid]'",$
On Wednesday 04 Jun 2003 2:41 pm, Randum Ian wrote:
> The best one without a shadow of a doubt would be phpnewads.
I would have to disagree on that one ;-)
http://oasis.sourceforge.net/
It wipes the floor with phpadsnew, I have used both.
But it can be a bit overkill if you are only a small sit
just use phpinfo() ?
--
"Todd Cary" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
> Is there a way to check within an application if the "gd" library has
> been installed?
>
> Todd
> --
>
> Is there a way to c
When using PHP sessions, if the user's browser supports
cookies, PHP sets the session id as a cookie (so far as I
understand it). So when trying to use the session ID in a
script, a cookie request is sent to the browser to get the ID
and assigns it to the internal variable $PHPSESSID (again,
so f
"Todd Cary" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Is there a way to check within an application if the "gd" library has
> been installed?
>
> Todd
> --
>
> Is there a way to check
101 - 200 of 201 matches
Mail list logo