Hello, I am running windows 2000, apache 1.3.20, and php 4.0.6. I am trying
to set it up so that I could access my webpage as
http://www.site.com/script/1/2 as opposed to
http://www.site.com/script.php?var1=1var2=2. I am using a method similar to
the one descriped here:
I'm trying to sort a listing of albums alphabetically
for LyricsList.com, the problem is that I want the
initial 'The' and 'A' in some albums (A Hard Days
Night, The Wall) to be ignored. So that the list will
look like:
Abbey Road
Dark Side Of the Moon
The Final Cut
A Hard Days Night
Kill
i spent a good day learning how to do this from scratch. I'll post my code
and you can decypher it yourself.
?php
$select_all = mysql_query(SELECT id FROM images WHERE
directory='original');
$select_result = mysql_result($select_all,0);
$select_numrows = mysql_num_rows($select_all);
$i=1;
I need to compare a csv file to a table in the database but only one field
in the database with
one field in the CSV file! Comparing only one field will make it much
easier! When there is any change in the Database compared to the CSV file ,
the database must then be updated or if there are no
On Thu, 13 Sep 2001 16:37, Coenraad Steenkamp wrote:
I need to compare a csv file to a table in the database but only one
field in the database with
one field in the CSV file! Comparing only one field will make it much
easier! When there is any change in the Database compared to the CSV
file
On Windows it should be the latest, because I just downloaded it 2 weeks
ago... On Linux (my client's server) I assume it's one of the latest also...
Matthew Loff [EMAIL PROTECTED] wrote in message
007501c13bc8$520f7fd0$0ce60281@bang">news:007501c13bc8$520f7fd0$0ce60281@bang...
What version of
Could that possibly be triggering the max file limit?
Helen
- Original Message -
From: Jani Rautiainen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 5:27 PM
Subject: Re: [PHP] Problem with Uploading Many Files (22)
On Windows it should be the
hello,
i sent an e-mail before generally describing a seg fault issue i was
having...i did gdb bt and found this:
(this is at the end of the data after running gdb)
Loaded symbols for /lib/libnss_dns.so.2
#0 0x403dab14 in chunk_realloc (ar_ptr=0x4048aba0, oldp=0x82450f0,
oldsize=1444, nb=1560)
On Thu, 13 Sep 2001 16:52, you wrote:
There is a very good reason !
The csv file contains world currency's
The system is updated with the changed currency's only !
The Master field contains all country currency's , this makes it
difficult because if i drop the master table and upload the csv
This is the code i came up with! But it is not 100%
?php
if (isset($Submit)) {
// File is uploaded
if ($uFile ) {
if (!copy($uFile, $move_to_dir./.$uFile_name)) {
echo No File Uploaded;
}
$curr = fopen($move_to_dir./.$uFile_name, r);
while
Thanks! That's exactly what I wanted and it's easy to add the AltBody. I
thought it would be harder. What sort of success have you had with it? I
don't have access to a pine account.
Here's the example from the site for anyone else who wanted to know
$mail-Body = This is the message
HI,
I am new to this PHP thing.
I was working out of my PHP book and website and I noticed some
discrepancies in inputting data into the MySQL database.
I followed the example from my book and I noticed that the syntax for
putting data into a mysql database from PHP was like this:
$sql =
Can someone please just run me through the different sections of the mail
function please cause i understand you can change the from address etc aswell
This is in the manual. Read it, try it and if you can't get it to run
properly ask your question again. Don't forget to describe what you
here's your script,
?
$mem = The Childhood
A Man called lallous
The Long kiss good night
Abbey Road
Dark Side Of the Moon
The Final Cut
The Zombie
A Hard Days Night
Kill 'em All
The Wall;
$mem = split(\n, $mem);
$arr1 = array();
for ($i=0;$icount($mem);$i++)
{
$line = trim($mem[$i]);
In second example you can define which fields to insert, very usefull if you
have a lot of fields.
Niklas
-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent: 13. syyskuuta 2001 10:59
To: [EMAIL PROTECTED]
Subject: [PHP] syntax?
HI,
I am new to this PHP thing.
I was
On Thu, 13 Sep 2001 17:27, Coenraad Steenkamp wrote:
This is the code i came up with! But it is not 100%
?php
if (isset($Submit)) {
// File is uploaded
if ($uFile ) {
if (!copy($uFile, $move_to_dir./.$uFile_name)) {
echo No File Uploaded;
}
Jeoli jesteo profesjonalist1 w swojej dziedzinie
to w3aonie dla Ciebie jest moja niepowtarzalna oferta.
Vipdens 950 P jest niezrównanym podrecznym instrumentem do badania arkuszy
drukarskich lub ewentualnie do kontroli barwnej pracy wydrukowanej.
Vpidens 950p do nabycia za kwote 4,999z3
If you don't put fields name as in: INSERT INTO news VALUES(, )
this means you are going to give values to all the fields in the table (in
their order).
If you specify fields after table name: news(body, date) this means VALUES()
would be adding to these specific fields...
now as for
Sorry - pressed send w/out writing anything. Topic followed up direct
with problem owner.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
There are 2 ways to handle women and I know neither.
--
Cannot load /usr/local/apache_adserv/libexec/libphp4.so into server:
/usr/local/apache_adserv/libexec/libphp4.so: Undefined symbol mpz_add_ui
. . . configure line of
./configure '--with-apxs=/usr/local/apache_adserv/bin/apxs' '--with-mysql=/usr/local'
'--enable-versioning'
I am having a bit of a problem with PHP loosing a session object. $SESSIOM
[cart] is instansiated as a cart object and is a session varable. In
'PHP 4.0.6' which is installed under windows the cart object works
flawlesley. But on the production enviroment which is running 'PHP
4.0.3pl1' as an
another case-insensitive version:
pre
?
$mem = The childhood
A Man called lallous
The Long kiss good night
Abbey Road
Dark Side Of the Moon
The Final Cut
The Zombie
A Hard Days Night
Kill 'em All
The Wall;
$mem = split(\n, $mem);
$arr1 = array();
for ($i=0;$icount($mem);$i++)
{
$line =
I used a Microsoft Object Control to get data from the database and display
it on the page
without refreshing the page!This saves alot of browsing time !
Now there is a little bit of a problem ! I dont know if anyone have done
this before exept me and microsoft. I did it in php microsoft did it
On Tuesday 11 September 2001 19:00, Andreas Gietl wrote:
why is it that nobody answers my question? Does nobody know an answer?
Hi PHP-Users,
I am having problems with php and imap now for several days on several
servers. I just get the following Error:
Warning: Unable to find stream
Hi,
I just started using sessions on my Linux-Server with PHP 4.0.7 and got that
error-message:
Fatal error: Maximum execution time of 30 seconds exceeded in Unknown on
line 0
I used the following scripts:
PHP-Script 1:
?php
session_save_path(directory-where-i-and-php-can-write);
ok I know if I have a URL like /images/$fileName then someone could be
malicious by using .. to get to the root directory.
What I want to know is, if a URL absolutely starts with /images/ on my
website, is there someway that someone can modify the remainder of the path
such that it actually goes
Hi Sean,
What webserver are you using? Is it using the Apache module of PHP or the
CGI version?
Perhaps the extension of your file doesn't have the PHP processor associated
with it (if it is installed as an Apache process)?
Maybe you are using the CGI version incorrectly?
With the command
On Thu, 13 Sep 2001, Peter Houchin Sun Rentals STR Manager wrote:
php.ini mail related line:
sendmail_path = sendmail -t -i ;for unix only, may supply
arguments as well (default is 'sendmail -t -i')
I suggest you put the full path in the sendmai path.
Adrian
--
PHP
Try:
html
head
titlePHP Test Example/title
/head
body
?php
echo hr;
echo date(H:i, jS F);
echo p;
echo Hi, I am a PHP script!p;
echo hr;
On Thu, 13 Sep 2001, Helen wrote:
The logic would be to check if the script is called the first time, then
the sql statement would be select travel.*, city.city from travel, city
where travel.cityid=city.id limit 0,20.
The second time or based on what has been selected on the page (1-20,
hi,
i wrote php scripts with php 4. but my server's php version is php 3. i
used in_array function while i was writing the scripts. i used that
function to check posted variables is available or not.
is there an another way to check this posted variables or another one
likes in_array function?
hi,
how can i change variables that has two or more words to variables that
has + instead of blanks in that variables.
Like this: word1 word2 word3 = word1+word2+word3
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
hi,
how can i change variables that has two or more words to variables that
has + instead of blanks in that variables.
Like this: word1 word2 word3 = word1+word2+word3
thanks
http://www.php.net/manual/en/ref.url.php
jason
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, 13 Sep 2001 14:17:12 +0300, you wrote:
i wrote php scripts with php 4. but my server's php version is php 3. i
used in_array function while i was writing the scripts. i used that
function to check posted variables is available or not.
is there an another way to check this posted
What you are trying to do here sounds like it is done on the client end. I'd
be willing to bet this requires the use of Javascript/Jscript/VBScript and
DHTML.
-Original Message-
From: Coenraad Steenkamp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 2:29 AM
To: [EMAIL
$var=urlencode($var);
may solve your problem.
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
- Original Message -
From: murat [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 1:34 PM
Subject: [PHP] posted urls
hi,
If the page they type on the URL is available it will be displayed.
Security is the remit of the web server not (realy) PHP. However what i do
is have a is_logged_in function which uses session varable. Something like
if ( is_logged_in() ) {
...
do stuff
} esle {
display_error(
It is a little something like this
object id=objlook classid=clsid:333C7BC4-460F-11D0-BC04-0080C7055A83
border=0 width=0 height=0 VIEWASTEXT
param name=DataURL value=EA_Cone010.php3
param name=UseHeader value=True
param name=CaseSensitive value=False
param name=CharSet
you could load all nessecary data once and put in a javascript
array or something, not sure i understand what you have done here
and what's so special about it tho
/Martin
I used a Microsoft Object Control to get data from the
database and display
it on the page
without refreshing the
Sorry, finder troble. The message should read:-
If the page they type on the URL is available it will be displayed.
Security is the remit of the web server not (realy) PHP. However what i do
is have a is_logged_in function which uses session varable. Something like
if ( is_logged_in() ) {
Hello All!!
how to execute PHP in CGI?
Thank You.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
#!/usr/bin/php
print test;
// More code here etc etc
-Original Message-
From: Gershon [mailto:[EMAIL PROTECTED]]
Sent: 13 September 2001 14:11
To: [EMAIL PROTECTED]
Subject: [PHP] how to execute PHP in CGI?
Hello All!!
how to execute PHP in CGI?
Thank You.
--
PHP
Do you want to list all the pages of posts or just a link to the next 20
items?
On the first page, 20 and links to the other items that when selected will
display the list based on the selection.
One thing to remember is that the ids will not be in squence.
Here's a function I wrote to
I have been using the .htpasswd/.htaccess convention to authenticate our
3000 employees.
I want to move away from the .htpasswd/.htaccess convention and use a PHP
form to authenticate against the database.
I can create the PHP authentication page, no problem, but how do I check
authentication on
Coenraad,
Here are some links to relevant sections of the php manual. What you want
to do is not too hard at all.
I'm assuming that you want to upload the csv file via a web page. This
is much less trouble for the user than fooling around with ftp. They
get to browse their computer for the
hi ;)
Recently I've been using the DOM module of php and I have
encountered a few problems. I am working on a quite advanced XML application
and I am forced to use the PHP technology.
I need to dynamically create XML documents. There's no problem with that
when i simply use this statement:
$doc
Rudolf,
I have tried adding the double quotes, and when I do, nothing at all is
displayed. Adding single quotes to the script, just adds single quotes to
the output.
Sean
Rudolf Visagie wrote:
Try:
html
head
titlePHP Test Example/title
/head
body
hi ;)
Recently I've been using the DOM module of php and I have
encountered a few problems. I am working on a quite advanced XML application
and I am forced to use the PHP technology.
I need to dynamically create XML documents. There's no problem with that
when i simply use this statement:
$doc
It sounds like the PHP isn't getting parsed. Check the webserver is
configured correctly for the extension of your file, or that your system
requires you to use the CGI version of the PHP interpreter.
Rudolf,
I have tried adding the double quotes, and when I do, nothing at all is
displayed.
Hi Allen,
What you should do is check the session variable from within PHP. If it
doesn't exist, you redirect to a PHP authentication form.
So at the head of each page you need something like:
?php
session_start();
if(session_is_registered(logged_in) == false)
{
header(location: login.php);
This is what i was talking about in my previous post!
But now i need to get a way of using next and previous with it!
http://www.dev.co.za/devtest/Example/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hello !
I have a php program running under linux that conects into a Sql server 7
under win2k.
When I make a select in a table that doesn't contain any index, my select
returns no results. Otherwise, when the table contains at least one index,
the select works fine.
My question: Is that
This is probably a really stupid question. I've been reading info on
phpbuilder and at iodbc.org and I must just be missing something. What I
want to do is connect to a Progress Database on WinNT from a FreeBSD 4.3
server with PHP 4.0.6. Before I compiled PHP, I was under the impression
I needed
Joseph,
It does appear you have iODBC compiled in already. To confirm for this do a
find for libiodbc.so.
Yes, you do need iODBC here to act as the Driver Manager (a binding point so
PHP can interface with ODBC) but you will still need an actual ODBC driver.
Try the Multi-Tier driver from our
Sir,
I use the following code (courtesy :Richard Lynch )
to search a file.
?php
$url = 'http://php.net';
$key = 'php';
$html = file($url);
$html = implode('', $html);
if (strstr($html, $key){
echo htmlentities($html);
}
?
As I want to search a complete site ,I
Anybody got any tuts/examples of a working graph with PHP?
Cheers
Nic
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
You can go to the google.com searching engine, type ODBCSocketServer and
you will found very good information on ODBC. However this solution uses
Microsoft Access database.
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
hi all,
i have just discovered a bug with internet explorer form submission.
suppose i have a form with 2 submit buttons to do different things eg-
form name=form method=post action=something.php
input type=submit name=update value=update
input type=submit name=delete value=delete
/form
one
Hi Sean,
When I run your code on our Linux Mandrake, Apache server (standard PHP4
installation) without the double quotes it gives:
Parse error: parse error, expecting `','' or `';'' in
/home/httpd/html/rudolf/test.php on line 8
With the double quotes I suggested it gives the expected result,
Hi all. PHP newbie here.
There's a code that one can use in ASP that will print to the browser the
contents of an ascii file:
!-- #include file = filename.txt --
Can anyone tell me what the PHP equivelant might be?
Thanks!
Liam
--
PHP General Mailing List (http://www.php.net/)
To
!-- #include file = filename.txt --
Can anyone tell me what the PHP equivelant might be?
? include(filename.txt); ?
It's interesting ASP uses the same format at SSI includes.
Helen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
At 10:21 AM 9/13/2001, LRW wrote:
I believe that that is server side includes...NOT asp..i could be wrong tho
the PHP equiv is include('filename')
read the manual -
~kurth
Hi all. PHP newbie here.
There's a code that one can use in ASP that will print to the browser the
contents of an ascii
Yeah, it was just brought to my attention what I thought was an ASP
code...is not. =/
As for the manual, would you be able to recommend any good books for
beginning PHP?
Thanks!
Very embarassed,
Liam
Kurth Bemis wrote in message
[EMAIL PROTECTED]...
At 10:21 AM 9/13/2001, LRW wrote:
I
include ( file ); However this simply includes the file ( so it would be
displayed as if it was html). You can also make the include a .php ( dont
forget ? and ? ).
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Although, I must note that include() doesn't work quite the same as the ssi
#include
I think require() works much better
Read about the two differences:
http://www.php.net/require
http://www.php.net/include
(these will redirect to the proper manual page.)
On 9/13/2001 10:32 AM this was
This is a test.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
At 10:29 AM 9/13/2001, LRW wrote:
the PHP manual at PHP.net!!
the only real manual
~kurth
Yeah, it was just brought to my attention what I thought was an ASP
code...is not. =/
As for the manual, would you be able to recommend any good books for
beginning PHP?
Thanks!
Very embarassed,
I just got the book entitled PHP and MySQL web development by Luke
Wellington and Luara Thomson.
I wondering how others liked the book...I haven't gotten a chance to look
at it yet..and I'm wondering if i should :-)
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hello !
I have a php program running under linux that conects into a Sql server 7
under win2k.
When I make a select in a table that doesn't contain any index, my select
returns no results. Otherwise, when the table contains at least one index,
the select works fine.
My question: Is that
If you own it you should read it.
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
http://www.datadrivendesign.com
Phone: (386) 226-8979
Websites That WORK For You
- Original Message -
From: Kurth Bemis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September
I just got the book entitled PHP and MySQL web development by Luke
Wellington and Luara Thomson.
I wondering how others liked the book...I haven't gotten a chance to look
at it yet..and I'm wondering if i should :-)
Now that you've got it you might as well read it. Then you could tell us
This is a rehash of a post earlier today!
I implement security with user hierarchies which I will describe here (and
also a more flexible method, user groups, which I will outline later ).
I use a procedure called ensure_logged_in ( $level ). It is wrapped around
all .PHP where security is
You're doing something wrong! Indexes are only for performance and
possibly they may be used for helping in ensuring uniquenes. sorry cant be
any more help without code.
Marcos Mathias [EMAIL PROTECTED] on 13/09/2001 20:40:40
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
sorry i just figured it out...just panicked...must be the time of year
if(!isset($delete))
{
// do update
}
if(isset($delete))
{
// do delete
}
that should fix the problem
From: [EMAIL PROTECTED] (Christian Haines)
Newsgroups: php.general
Date: Thu, 13 Sep 2001 23:44:30 +1030
To:
so if a particular form button is clicked a different process
will occcur.
well what happens if i press return to enter my form submission?
nothing is set!
so the processing file does nothing
This has been pointed out from time to time on this list. It is a fact: if
the user submits a
Hi,
I don't think there is any other way, at least so easy to extend. The
only improvement will be to combine the system with calls to NIS or a
Kerberos/RADIUS server. If you have such a server (or maybe LDAP ???)
you should combine it for administration easiness.
[EMAIL PROTECTED] wrote:
Hi,
This may be more of an Mysql question than a PHP question.
I am hoping that I can export an Address Book table from my Access
Database and then import that table into Mysql. I am hoping that I can
then use PHP to carry out queries on the information in the table.
I was wondering is
Sample code:
script language=php
$array = array( one, two, three );
while( list( $key, $val ) = each( $array )) {
if( is_string( $key )) {
echo Key is a string\n;
}
echo Key: $key = $val :Val\n;
}
echo \n\n;
$array = array( SS = one, 15 = two, 19 = three
Hi all,
I am using Lasso to authenticate user access to PDF files with the actual
delivery being handled by PHP.
I can download the PDF by clicking a 'submit' button. However, in IE or
Netscape, it puts it into the browser with the name of the php script as the
filename. I would like the
I got a plain test to work...made a test.php that included the following:
htmlheadtitlePHP Test/title/head
body
?php echo Hello Worldp;?
br
?include(texttest.txt);?
br
/body/html
(texttest.txt just has some randome words in it.)
But when I try to make a page with tables, and have it place the
Is this a bug or feature? The only way to include
a minus characher in [] groups in regex is to put
\- right gefore ]
[[A-Za-z0-9\_\-\=\%\.]] won't work with - as it is supposed to
[[A-Za-z0-9\_\=\%\.\-]] is ok
Uh?
--
Andrew Perevodchik
[EMAIL PROTECTED]
--
PHP General Mailing List
are you using a .cfg extension?!?
you are going to need to add the path to php at the top if you are :D
- Original Message -
From: LRW [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 1:31 AM
Subject: [PHP] problems with include()
I got a plain test to
MYSQL_ASSOC did the trick.
Thanks
From: Andrew Perevodchik [EMAIL PROTECTED]
Reply-To: Andrew Perevodchik [EMAIL PROTECTED]
Date: Thu, 13 Sep 2001 08:10:52 +0300
To: Tom Beidler [EMAIL PROTECTED]
Cc: php list [EMAIL PROTECTED]
Subject: Re: [PHP] double values in array
Hello! You wrote:
:::hangs head in utter shame:::
Because I'm a complete idiot and saved the bleeding file to a local
directory instead of under the web server's.
I shall now open my shirt for the flogging. =/
Liam
Lrw wrote in message [EMAIL PROTECTED]...
I got a plain test to work...made a test.php that
Feature. By placing a dash next to the bracket, there is no confusion that
the dash is being used to specify a range.
Kirk
-Original Message-
From: Andrew Perevodchik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] minus in
http://www.aditus.nu/jpgraph/
http://vagrant.sourceforge.net/
haven't used either of them though... but they sure look nice.
On Fri, 10 Aug 2001, Nic Skitt wrote:
Anybody got any tuts/examples of a working graph with PHP?
Cheers
Nic
--
PHP General Mailing List (http://www.php.net/)
On Thu, 13 Sep 2001 11:28:01 -0700, you wrote:
like to be able to check to see that: the email is in the correct format and
the domain actually exists. Can anyone lend a hand?
[putting the try it this way bit first]
The only way to validate an email address is to try to send email to
it.
If
OK, here's a question that should just make me look like a newbie and not an
idiot:
Anyone have any recommendations of good books for PHP beginners?
Something that gives the basics in clear detail and as few errors in the
examples as possible? =)
I've found bad errors in Sam's Teach Yourself
PHP Fast Easy : http://www.thickbook.com/books/index.phtml
-Original Message-
From: LRW [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 8:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Beginner's books?
OK, here's a question that should just make me look like a newbie and
Thanks Much Martin!
--ccma
--snip--
good luck!
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General
I really need help on this one, so someone please!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September
Hi
I have been coding a threaded forum. A simple one. I
have this problem:
I cannot show all the replies in a threaded way. I
tried a recursive method which takes the messageid and
I do like
$messageID = $p_id +1;
showMessages($messageID);
This only works if the messageids are 1 2 3 4 5 6.
It would help if you were a little more descriptive about this...
Are you trying to do this in the To: field, the Cc: or Bcc: fields, actually
in the body of a message, in a flat file, in a DB...
flat file:
$fp = fopen(filename,w);
//emails in array
while ($tmp =
Have you tried:
http://zend.com/codex.php?CID=11
--- Max Mouse [EMAIL PROTECTED] wrote:
I've been looking to check the validity of an email
address when it's
entered by a person on a from. So far, I have found
many different versions
__
Hello! You wrote:
JK Feature. By placing a dash next to the
JK bracket, there is no confusion that the dash
JK is being used to specify a range.
Doesn't slash before dash mean that???
--
Andrew Perevodchik
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Core PHP Programming by Leon Atkins is an excellent book IMHO. Each function
comes with a clear cut example how to use it. I have the first edition and
right now, I'm considering to purchase the second edition since it covers
PHP 4. That was my first PHP book when I started PHP.
Lrw [EMAIL
JK Feature. By placing a dash next to the
JK bracket, there is no confusion that the dash
JK is being used to specify a range.
Doesn't slash before dash mean that???
Could be, I don't know. I always put a dash next to the bracket, instead of
escaping it with a backslash. As is often the
It's not too hard to do the next/previous through all your results, as
has been shown by several people. What is a little trickier, at least
when using mysql and trying to take advantage of the limit clause, is
how to display how many results you have (ie 1 to 10 of 107 results). If
you use
Hi,
I've got an array of items that I've sorted in descending order. I'd
like to select the first ten items only from the array to place in a graph
that's generated later in the script. Here's a sample array I'm trying to
work with.
Array
(
[209.181.49.x] = 2
[64.225.143.x] =
So sprach »Max Mouse« am 2001-09-13 um 11:28:01 -0700 :
the domain actually exists. Can anyone lend a hand?
My try:
function CheckEmail($adr){
// Parameter:
// $adr - Email Adress
// Rückgabewerte:
// TRUE - everything fine
// Else, returns array:
// Array(code, part)
1 - 100 of 181 matches
Mail list logo