Hi,
Tuesday, March 25, 2003, 4:41:02 PM, you wrote:
RW> How Do, All?
RW> Here's one unsuccessful attempt to add each $val during a for:
RW> for ($z = 0;$z < count($val);$z++)
RW>
{
RW>
Use $num as a global value across all pages, through GET, and use $i for a
per-script counter. Increase both in a loop, add some navigation, and
you're all set...
This should be a starting point...
";
}
$last = $_GET['num'] - $per_page;
if($num > $per_page) {
echo "last {$per_page}";
e
How Do, All?
Here's one unsuccessful attempt to add each $val during a for:
';
?>
Conversely I need to isolate certain elements oof a foreach:
Thank you!
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED] *
http://xend.net*
I Have made my own pagination script, but i am trying give each comment
isn't own number. Which i already did, but when i view the next results it
starts counting from 1 again.
cheers,
Sebastian
- Original Message -
From: "Nikunj Virani" <[EMAIL PROTECTED]>
| Check out:
| http://phpbuil
I need to make some PHP Executables which needs root permissions to run. I currently
use SetUID Perl scripts for the purpose and they works fine. But now i feel PHP would
be better language for the purpose so i want to switch it to PHP. Can any one tell me
how can i make setUID PHP scripts ?
Th
Check out:
http://phpbuilder.com/columns/rod2221.php3
Hope that helps!
Regards,
Nikunj Virani
- Original Message -
From: "Sebastian" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 11:39 AM
Subject: [PHP] counting ..
> Hello all.
>
> rather dumb
part 2:
---
got curl 7.10.3 (latest version)...
recompiled php 4.3.1 with curl. no errors. shows up fine on phpinfo...
testing with:
$ch = curl_init ("http://moo.org";);
$fp = fopen("http://moo.org/index.html";, "r");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEAD
Hello all.
rather dumb question.
I have a pagination system, 25 results per page, which are user comments, I
want to put a number on each comment so i am doing something like:
$num=$num + 1;
$number = $num;
echo $number;
But when i switch to the next 25 results it starts counting from 1 again,
hi all,
i have problems getting fopen() and fsockopen() to work over https..
here is the problem..
from the phpinfo:
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6h 5 Dec 2002
from php -m
# php -m
[PHP Modules]
ctype
mysql
openssl
overload
pcre
posix
session
standard
t
somehow when I have try to develop an application where I read five or six
values into an individual arrays the array who carries the emails has the
email and an additional empty field after the email somehow complex well
they way the information has been stored is that the email was the last
v
Hello,
I have a DBF database with some ASCII characters like ALT+154 (Ü) etc.
I read out the database but instead of an Ü i get an s.
Tried out charsetconverting from/to ASCII, UTF-8/7 and ISO, but nothing gave
me the rigth letter.
Anybody an idea?
THX
Alex
--
PHP General Mailing List (htt
hello,
I send a secure cookie an it should be available as varible
setcookie("pbas_usr", $row[usr], time()+600, "", "", 1);
but the varable is empty. If it send the header without secure flag the
cookie works well
setcookie("pbas_usr", $row[usr], time()+600);
Is there a special way to read out
here is my solution for this...
if (($timestamp = strtotime($_POST['sdate'])) === -1)
die ("The start date is not a valid date format");
if (($timestamp = strtotime($_POST['edate'])) === -1)
die ("The end date is not a valid date format");
if (($timestamp = strtotime($_POST['stime']))
After reading the PHP online documentation for "Chapter 25. Extension
Possibilities" I am confused. I have a set of questions below:
1) compiled versus extension versus dl function:
It appears to say that if an extension is NOT compiled in and IS used as a
shared module that the module is loade
I have a class that does database transactions. If there is an SQL error in
the query, the error line is always from the class. It should be from the
caller/creator of the class so the programmer will know exactly what code
caused the error.
I could have the code that calls the database class p
not sure if this is what you're looking for:
if ( $var > 7 ) {
// do stuff
}
- cheers,
Sebastian
- Original Message -
From: "Richard Whitney" <[EMAIL PROTECTED]>
| Braindead!
|
| I need to evaluate a number if greater than 7 and add a value per
increment.
| I'm frazzled and can't thi
Huh?
Not really following what you want to achieve, but:
$floor)
{
$diff = $n - $floor; //eg 2
// no idea what you want to do from here
}
?>
on 25/03/03 10:58 AM, Richard Whitney ([EMAIL PROTECTED]) wrote:
> Braindead!
>
> I need to evaluate a number if greater than 7 and a
At 23:51 24.03.2003, CPT John W. Holmes said:
[snip]
>If I'm wrong, someone please let me know, but some servers may only accept
>Bcc: instead of bcc: or BCC:, etc... ?? Does anyone know if that matters? If
>it does, is it only dependant upon the sending SMTP
Braindead!
I need to evaluate a number if greater than 7 and add a value per increment.
I'm frazzled and can't think straight.
Thanks Guys!
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED] *
http://xend.net*
602-971-2791
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 4:17 PM
Subject: Re: [PHP] mail() Bcc:
>
> - Original Message -
> From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
> To: "Kevin Stone" <[EMAIL PROTECTED]>; "Oden Odeniu
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; "Oden Odenius"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:51 PM
Subject: Re: [PHP] mail() Bcc:
> > > How can send bcc: with mail()?
> > >
> > From, CC a
I dont know where my brain is today, obviously not with me. I had this
working yesterday and then a server crash casued them to run the backup from
teh day before and wiped all my work out.
Can someone please get me back on track.
HEre is the problem.
I want to list a collection of items. St
> > How can send bcc: with mail()?
> >
> From, CC and BCC are headers to be set in the fourth parameter of the
mail()
> function. Headers must be spearated by end-of-line characters.
>
> $headers = "From: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> BCC: [EMAIL PROTECTED]";
>
> mail($to, $subject,
>> From: "Oden Odenius" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Monday, March 24, 2003 3:44 PM
>> Subject: [PHP] mail() Bcc:
>>
>> How can send bcc: with mail()?
>>
> - Original Message -
> From: "Bryan Brannigan" <[EMAIL PROTECTED]>
> To: "Oden Odenius" <[EMAIL PROTECTED]>;
hi,
i have paresed entire messaage into an array. everything was ok untill i
encountered a message/rfc822 subtype.it was a farwaded message.now my
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is
Array
(
[Date] => Tue, 18 Mar 2003 13:28:07
I had a look in the cgi-bin in the site that's hosting my files and it
contains a binary file called php.dat. Can anyone tell me what the
file is used for?
Regards
Gavin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not everyone has whatever class you seem to be using...
Bryan Brannigan wrote:
$mail->BCC( "[EMAIL PROTECTED]" );
- Original Message -
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with
- Original Message -
From: "Al" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 1:14 PM
Subject: [PHP] File uploads...
> Trying to do what should be rather simple and I have done before.
> Maybe I am just overlooking the obvious but this is the error I get...
>
>
- Original Message -
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 1:44 PM
Subject: [PHP] mail() Bcc:
> How can send bcc: with mail()?
>
>
>
> --
> Programmers are tools for convert coffeine into code... (c) Oden
From, CC and BCC are heade
u etetr reference them with $_FILES['photonew']['tmp_name']
or do a print_r($_FILES); and it'll tell u info in the upload
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP] File uploads...
Trying to do what sh
$mail->BCC( "[EMAIL PROTECTED]" );
- Original Message -
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
At 20:36 24.03.2003, Mike Zornek said:
[snip]
>I'm writing a little script that is parcing a excel generated csv file.
>While all the users will be using windows I'd like to make it safe for all
>file types.
>
>Any one have a quick snippet that I could use to
Trying to do what should be rather simple and I have done before.
Maybe I am just overlooking the obvious but this is the error I get...
Warning: Unable to open 'Array' for reading: No such file or directory
in /var/www/html/nepso_noah/NEPSO/includes/reporters/update_profile.inc
on line 33
This
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
PHP General Mai
Ah! That did it, it's all on Windows and when I tried removing things I
tried at one point removing the \r as i thought the nl2br changed the \n to
Thanks a lot John :)
Jeff
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL
> The data is being entered into a textarea and is being stored as it is
> entered but with an addslashes right before insertion.
>
> On the extract I am doing the following:
>
> $row[description] = stripslashes($row[description]);
You don't have to use stripslashes() on data coming out of a datab
The data is being entered into a textarea and is being stored as it is
entered but with an addslashes right before insertion.
On the extract I am doing the following:
$row[description] = stripslashes($row[description]);
$row[description] = nl2br($row[description]);
$row[description] = trim($row[d
On 24-Mar-2003 shaun wrote:
> Hi,
>
> I have some checkboxes on my form and am using the following code to
> populate it. The box will be checked if the user is allocated to the
> project. My problem is if I uncheck a checkbox and send the form I don't
> know what the $project_id is as it returns
> My server has cURL built into its php module, but it doesn't support
> SSL, and thus doesn't support requests to secure servers, i.e. https. It
> was an effort in itself to get them incorporate cURL, and I was just
> wondering if I should move immediately to a new host - if this were just
> ridic
nl2br() doesn't remove the newlines, it simply adds in the in before
them.
The str_replace should work, how are you trying to use it?
---John Holmes...
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 2:56 PM
Subject: [PHP]
--- Iggy <[EMAIL PROTECTED]> wrote:
> I have a html page with a whole bunch of textfields and checkboxes.
> Once the user fills out the information it is entered it is recorded
> in a mySQL db/table the problem that i am having is with the
> checkboxes. if they are checked everything works fine, bu
My server has cURL built into its php module, but it doesn't support
SSL, and thus doesn't support requests to secure servers, i.e. https. It
was an effort in itself to get them incorporate cURL, and I was just
wondering if I should move immediately to a new host - if this were just
ridiculous.
I am using a SELECT statement to grab all items from a database table and while
looping through the results I am connecting the fields with tabs and adding a new line
at the end of the row to create a tab delimited file.
On one field I do a nl2br in order to preserve the spacing in the field. H
I wish to use the include() and/or the require() functions to include a
block of PHP multiple times in my file. The block contains code for
outputting PDF elements. Although other external code (functions for
example) are successfully referenced using these commands, the PHP's PDF
functions don't s
hi,
I am very new to php so please forgive me if this is somewhat of a dumb
question
I have a html page with a whole bunch of textfields and checkboxes.
Once the user fills out the information it is entered it is recorded in a
mySQL db/table
the problem that i am having is with the checkboxes. if t
CLI does not have time limit by default, and memory should not be a
problem too, but you will need to use unset() more often than it is used
to in web scripts. Also look at direct IO functions, there is something
about serial ports
Jason Young wrote:
After upgrading to RedHat 8.0 and effective
Try str_replace(chr(39),..
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:23 PM
To: DomIntCom
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] can't make str_replace work with single quote
works for me:
echo str_replace('2003','2002', "'2003
thanks Erwin & Jason... I will work with these two, and see what I can come
up with.
"Erwin Kerk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Try this (as found on php.net)
>
> $str = 'Not Good';
> if (($timestamp = strtotime($str)) === -1) {
> echo "The string ($str) is bo
I'm writing a little script that is parcing a excel generated csv file.
While all the users will be using windows I'd like to make it safe for all
file types.
Any one have a quick snippet that I could use to convert a temp file to use
all \n based line endings for consistency?
Thanks.
~ Mike
--
yea - that figures... I was pretty certain I had the syntax correct. this
is kind of a round about way, but I finally did get the following to work;
$ndate = strtr($date, "'" , "\\");
$ndate = stripslashes($ndate);
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
I think there is a module example/template in the php sources
hzqbbc wrote:
>Hi all:
>
> I want to write a small module for php and reduce some overhead while doingthe same
> job with PHP scripts.
>
> But i'm new to php dev, and even don't konw about the archtecture of phpmodule.. So
> could
This is either bug in the extensions, or you give wrong parameters to a
function or method.
Fatih Üstündağ wrote:
I'm using Command Line php and php-xslt functions ( sablotron 0.96 )
I have got an error such that :
php: output.cpp:1554: Bool OutputterObj::eventAttributeStart(Situation &,
const
works for me:
echo str_replace('2003','2002', "'2003-1;1 00:00:01' AND '2003-3-1
23:59:59'");
DomIntCom wrote:
this should be pretty straight forward, but I cannot make this work for some
reason.
$ndate = str_replace("'",'', "'2003-1;1 00:00:01' AND '2003-3-1 23:59:59'");
to extrapolate we have
I think this can be acoplished with some apache configuration
directives. Php has nothing to do with this, as it funtions besides CGI's
Jeremy Russell wrote:
Hello list.. I have an issue..
I have users athenticating to apache using the ldap_mod_auth module,
when they authenticate it populates t
hi,
i have paresed entire messaage into an array. everything was ok untill i
encountered a message/rfc822 subtype.it was a farwaded message.now my
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is
Array
(
[Date] => Tue, 18 Mar 2003 13:28:07
Why not get MySQL to compare your date with today?
e.g.
select if(Booking_Date = curdate(),'booked','free') as Todays_Status ...
$Todays_Status = mysql_result($result,$i, Todays_Status);
echo "you are $Todays_Status today";
I find it is much, much safer to only use the database for finding ou
this should be pretty straight forward, but I cannot make this work for some
reason.
$ndate = str_replace("'",'', "'2003-1;1 00:00:01' AND '2003-3-1 23:59:59'");
to extrapolate we have the following string surrounded by double quotes;
'2003-1;1 00:00:01' AND '2003-3-1 23:59:59'
now - I have even
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo "The string ($str) is bogus";
} else {
echo "$str == ". date('l dS of F Y h:i:s A',$timestamp);
}
Erwin Kerk
Web Developer @ BliXem.nl
Jason Wong wrote:
On Tuesday 25 March 2003 00:39, Dom
On Tuesday 25 March 2003 00:39, DomIntCom wrote:
> can anybody help me out with this? I have figured out checkdate finally,
> but still have nothing that will help me with time validation.
explode() on the time delimiter (probably colon)
check that hour is 1-12 (or 0-23)
check that minute is 0-59
Manual:
string *setlocale* ( mixed category, array locale)
If /locale/ is zero or "0", the locale setting is not affected, only the
current setting is returned.
Martin Towell wrote:
So noone has any ideas at all ? Surely not ?
If my question's too vague, please let me know and I'll try to expand
Hello list.. I have an issue..
I have users athenticating to apache using the ldap_mod_auth module,
when they authenticate it populates the LDAP_USER variable. What I need
is to also populate the REMOTE_USER variable for some other CGI's, I
know I could change them, but there are several written
can anybody help me out with this? I have figured out checkdate finally,
but still have nothing that will help me with time validation.
thanks,
Jeff
"Domintcom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a form that is passing a date variable, and a time variable. I
wi
The system is done with xml and xslt and uses the docbook utilities like
jade, jadetex, sgml and other utilities.
--
Ray
On Mon, 2003-03-24 at 05:48, James wrote:
> I'm refering to the type of documentation that mysql and php has on their
> websites, where you have chapter headings and sections,
If the page does not submit between changes, PHP will not be much help,
that would be JavaScript's job. You could use PHP to prepare the arrays
that JavaScript will use to accomplish this.
- Charles
On Monday, March 24, 2003, at 11:32 AM, Keven Jones wrote:
Hi,
Can someone tell me if I can us
Hi Keven,
> Hi,
>
> Can someone tell me if I can use php to accomplish
> the following:
>
> I would like to create a form that can:
>
> A. Total the sum of a certain number of numerical
> fields, Before the user clicks submit
>
> B. Automatically fill in sections of a form
> based on selection
use javascript
- Original Message -
From: "Keven Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 4:32 PM
Subject: [PHP] Dynamic Form
> Hi,
>
> Can someone tell me if I can use php to accomplish
> the following:
>
> I would like to create a form that can
Hi,
Can someone tell me if I can use php to accomplish
the following:
I would like to create a form that can:
A. Total the sum of a certain number of numerical
fields, Before the user clicks submit
B. Automatically fill in sections of a form
based on selections made by the user. As an example,
if
On Monday 24 March 2003 21:05, mailing wrote:
> I'm new (to the list and php) - be gentle on me!
>
> I'm working on a script that will allow a client to send an email message
> to an email list that is pulled out of a database(mysql). I've got the
> script working sort of..., though it needs more
On Monday 24 March 2003 21:56, Charles Kline wrote:
> Could anyone give me an example of a prepare() and execute() that
> retrieves a simple dataset as an associative array and then prints it
> to the screen? I can only seem to find examples that do an INSERT and I
> am having trouble doing the tr
On Mon, 24 Mar 2003 16:11:00 +0800, Larry Li <[EMAIL PROTECTED]> wrote:
But MS SQL SERVER saved all characters. Only first 255 characters was
shown
in . What's wrong?
Thanks for your input,
Larry
What does the html source look like? Sounds like some sort of html closing
tag prematurely ended
On Mon, 24 Mar 2003 13:06:45 -, Shaun <[EMAIL PROTECTED]> wrote:
Hi,
I have some checkboxes on my form and am using the following code to
populate it. The box will be checked if the user is allocated to the
project. My problem is if I uncheck a checkbox and send the form I don't
know what the
Ben Edwards wrote:
Am talking to a part Bristol City Council in the UK. To persuade them
to use PHP I need to find some high profile reference sites.
You may find some useful references in the archive of this list. I
remember a poster with the subject of: "Is php used by U.S. Government?
By
At 15:50 24-3-03, you wrote:
I'm currently stuck in a project where I need to pull info from a
database and sort it by order of 2 seperate fields and creates a text
report of the results. No problems there but
now what the boss is wanting to do is break it up into slices of 8 records
per file and
Hi Thijs
It would seem it was a problem with the server, and they have now corrected
this. Even though they said it was my scripts.
Thank you for your help all.
Andy
"Thijs Lensselink" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hey andy,
I had this problem a while ago.
And thi
Hey andy,
I had this problem a while ago.
And this is a server problem.
This is what happens if the server is
unable to execute the .php files.
I can't look at my docs right now so can't give
you a clue in how to fix this.
Will have a look when i'm at home.
Thijs
-Oorspronkelijk bericht--
I'm currently stuck in a project where I need to pull info from a
database and sort it by order of 2 seperate fields and creates a text
report of the results. No problems there but
now what the boss is wanting to do is break it up into slices of 8 records
per file and save each file individually s
php-general Digest 24 Mar 2003 13:56:35 - Issue 1957
Topics (messages 140790 through 140847):
Re: Calculating the difference between two dates
140790 by: Don Read
140791 by: Greg Beaver
140817 by: Nenad Djordjevic
Re: reloading a page..
140792 by: Leo Spalteh
hi
Could anyone give me an example of a prepare() and execute() that
retrieves a simple dataset as an associative array and then prints it
to the screen? I can only seem to find examples that do an INSERT and I
am having trouble doing the translation.
Thanks
charles
--
PHP General Mailing List
Yeah, sorry, it's the UNIX_TIMESTAMP() function you want.
FROM_UNIXTIME() will convert a Unix timestamp to a MySQL timestamp,
also.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Do
Thanks!
Could u pls tell me where can I find the said topic?
Is the record in db still valid if the user has disconnected?
rgds
./pl
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This has been discussed before. It depends on what kind of
> authentication you use
Hi,
I have some checkboxes on my form and am using the following code to
populate it. The box will be checked if the user is allocated to the
project. My problem is if I uncheck a checkbox and send the form I don't
know what the $project_id is as it returns zero, so I cant delete the
corresponding
Hi
I'm new (to the list and php) - be gentle on me!
I'm working on a script that will allow a client to send an email message to
an email list that is pulled out of a database(mysql). I've got the script
working sort of..., though it needs more work. Essentially, I
pull the e-mails out of a data
Hi,
I don't think this's the solution... so take this msg only as info. :)
Same problem can happen with old browsers. Solution is to add ".php" to
MIME-Settings of "text/html". I had this problem with eBay (*.dll) some
times ago. :)
But I think it's a problem with your ISP. If there are error
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~jolove/PHP/EMail/EmailPHP.phps
and look at the code ... it really is very short ...
The function send() returns success, yet my mail client, E
Hi Ben
They say that the server is set up for PHP4, and they say it is something to
do with my scripts.
Not sure I believe them.
My pages have the extension .php
Andy
"Ben Edwards" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Server is probably set up wrong or your extensions are
Server is probably set up wrong or your extensions are wrong. Check with
the ISP wether you have PHP facilities, the extension is .php normally but
sometimes .php3.
At 03:55 24/03/2003 +, Andy wrote:
Can someone help?
I have uploaded my PHP pages, created in Dreamweaver MX to my hosting s
Can someone help?
I have uploaded my PHP pages, created in Dreamweaver MX to my hosting server
but when I try to access the page the only option I get is to download it.
What am I doing wrong?
I have created the forms and guestbooks that mail information to me but
these do not work, they are OK
I'm refering to the type of documentation that mysql and php has on their
websites, where you have chapter headings and sections, and people can look
at a contents pages, or can look at individual sections, or can look at one
massive html file with everything in it or can download the entire
docum
You could have also used sprintf, which can be called from C++ as well.
Josh.
On March 24, 2003 07:18 am, Marek Kilimajer wrote:
> number_format
>
> Adriaan Nel wrote:
> >Hi all,
> >
> >I'v got the following:
> >
> >round ($val1,4);
> >
> >echo "$val1";
> >
> >It works fine, but when $val which
This has been discussed before. It depends on what kind of
authentication you use. Sessions are great for this, but you need to use
your own session save handler, save sessions to sql db, and then use
select count(*)
P Lok wrote:
Does anyone know how to count & check # of user logged on (and
number_format
Adriaan Nel wrote:
Hi all,
I'v got the following:
round ($val1,4);
echo "$val1";
It works fine, but when $val which is a float, contains for instance 1.1 I
want it to output 1.1000 instead of just 1.1
I know in C++ this can be done with setprecision(), but I can't seem to fin
Tony, try searching the archives - the regular expression that's required to
get the stuff between the tags has been asked many, many times
before.
Here's a quick bit of code that might get you started:
http://www.yahoo.com/";;
$their_text = implode("", file($file));
# now let's get our match b
Dear Online Business Opportunity Seekers
Why CCI ?
CCI, Core Club International is a 3 year old,
Federally registered non-profit humanitarian
aid, corporation.
Federal EIN # 93-1324671
State Reg. # 036394-99
Established April 17, 2000
CCI was set up to help eradicate poverty in the
world beg
If you store your text "htmlentitied" in the database, you will need to
apply htmlentities to the search string, but not when you bring the data
back from the database tables (to either display in the text editing screen,
or the normal viewing screen. Example:
"; ?>
That will not bring a desirab
Hi all,
I'v got the following:
round ($val1,4);
echo "$val1";
It works fine, but when $val which is a float, contains for instance 1.1 I
want it to output 1.1000 instead of just 1.1
I know in C++ this can be done with setprecision(), but I can't seem to find
anything similar in phpplease h
Does anyone know how to count & check # of user logged on (and not logged off) using
PHP?
Should I use session?
best regards
./pl
Okay, I'm starting to tie myself in knots with this:
Part of my site carries feature articles held in a MySQL database. I've
written an admin page that allows me to edit the articles in an HTML form
before saving them to the database (using INSERT or UPDATE as appropriate).
On the site, I want us
We use it here (although you can't tell because we have set up the extension
to be .html)
http://library.open.ac.uk
It queries a mysql database for the metadata as well as building up the
pages.
Mark Bond
Systems Manager
Open University Library
-Original Message-
From: Ben Edwards [ma
"Ben Edwards" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Am talking to a part Bristol City Council in the UK. To persuade them to
> use PHP I need to find some high profile reference sites.
>
> So..
>
> Can anyone give me some sites who use PHP that the people at Bristol city
>
On Monday 24 March 2003 18:35, Don Read wrote:
> On 24-Mar-2003 Philip J. Newman wrote:
> > $headers .= "MIME-Version: 1.0\r\n";
> > $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
> > $headers .= "From: ".$from_name." <".$from_address.">\r\n";
> > $headers .= "Reply-To: ".$from_name
1 - 100 of 118 matches
Mail list logo