//you must make some change :
echo "";
^^
//you must find the max pid from database with query
//"select pid from catalog order by pid desc limit 1"
for ($i=0;$i wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ALL --
> The snipet below is used to generate the table contai
the mail function looks like : mail($to,$subject,$body) ("in a simplistic
manner")
you can use
$to="[EMAIL PROTECTED]";
$subject="test";
for ($i=0;i wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've searched the archive but can't seem to find anything on the mail()
> function o
I've searched the archive but can't seem to find anything on the mail()
function of PHP. I've got the whole function working in a simplistic manner
but I can't do one thing. How is it possible to print arrays inside the
body of the message. I can't seem to run a loop or anything and all I have
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 22:40]:
> Brian --
> So I should change the line:
> echo " >";
> To:
> echo " >";
That should do it.
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Women are probably the
well, if your URL is index.php?links
if (!empty($links))
is similar to what you'd want to use.
> -Original Message-
> From: Brian Clark [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 29, 2001 9:44 PM
> To: PHP is not a drug.
> Subject: Re: [PHP] Real Simple, but i'm new!!
>
>
>
Brian --
So I should change the line:
echo "";
To:
echo "";
Or do I change the value=
Thanks -- David
> * David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001
> 21:41]:
>
> [...]
>
>> My question is how do I process checkbox when multi boxes have
>> been check. I keep thinking a array is created
Sean --
Does you standard (non session) seem to work ok? Such as:
$stuff";
echo "$more_stuff";
echo "$still_more_stuff";
?>
Did you compile Apache and PHP from source? If so
could you provide me with the ./configure --options you used?
This is sound like a config/compile problem to me.
You mig
On 12-29 16:46, David Jackson wrote:
> Sean --
>
> Give the attached scripts a shot, a post the results.
>
> Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
> fine but with Netscape-4.9 it returns var names? But
> when served from Unix/Linux and Apache all 3 work as expected !!
>
> Any
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 21:41]:
[...]
> My question is how do I process checkbox when multi boxes have
> been check. I keep thinking a array is created by check boxes?
Use string[] as the name(s) -- where "string" is the label for the array
you want.
--
Brian Clark
* FiShcAkE ([EMAIL PROTECTED]) [Dec 29. 2001 13:07]:
> Hey,
Howdydo
> I've just started learning php and I need to know this... What are the
> commands I use to get i.e. index.php?links and index.php?newsto
> work?
You can use QUERY_STRING, but you could also use action=news,
action=l
ALL --
The snipet below is used to generate the table containing
product info (product_id(pid), title, amount) and checkboxs.
When submit is clicked the data is passed to "instert into"
sql statement.
My question is how do I process checkbox when multi boxes have
been check. I keep thinking a ar
* Dennis Gearon ([EMAIL PROTECTED]) [Dec 29. 2001 00:56]:
> What WYSIWYG editors are you guys using with PHP templates? I'd like to
> layout pages, frames, multiple levels of graphics with a WYSIWYG editor.
> I looked at an online template from the macromedia site, and it is
> completely unforma
* rick ([EMAIL PROTECTED]) [Dec 29. 2001 03:18]:
> I was Wondering if it would be possible to write a proyect like Control
> Panel , WebMin (both are in Perl ) using PHP instead of PERL ?
> Would it be possible ?
Sure, why not?
> PHP has the power and flexibility like Perl to w
Hello!
Check these out -- they're not filtered as to only search PHP projects:
http://freshmeat.net/search/?site=Freshmeat&q=quiz§ion=projects
The only PHP project in there is Duck.
HTH
Bogdan
Indera wrote:
> I have been looking for a script that I can use to create online quizzes. I also
>
* Gerard Samuel ([EMAIL PROTECTED]) [Dec 29. 2001 00:35]:
> I got a fairly big script with a lot of functions.
> Which is more effiecient to pass global information to functions
> ie
> 50 variables
> 50 constants
> or 1 array with 50 values
I'm not sure I'm the right person to answer this, but
Hello,
I have been looking for a script that I can use to create online quizzes. I also need
to be able to
score them online, save the results to a database, as well as, email the results to
the student and
teacher. The ideal option would use php and a mysql database.
Any suggestions would be
* gaukia 345 ([EMAIL PROTECTED]) [Dec 28. 2001 23:04]:
> The error message was
> Newname will be 'phpnewbox'
> could not create new mailbox: Permission denied
Looks like the user doesn't have write permission to the mailbox directory.
> I logged in as cyrus on the server I'm working on. I type
php-general Digest 30 Dec 2001 01:45:34 - Issue 1081
Topics (messages 79014 through 79042):
Re: Session troubles
79014 by: Miles Thompson
79017 by: Sean LeBlanc
79018 by: David Jackson
79022 by: Sean LeBlanc
79023 by: David Jackson
79026 by: S
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 20:39]:
> I am using red hat 7.2...
Then, what was the problem? IOW, how did you know it didn't work?
(Sounds like I'm asking a stupid question, but you didn't say
exactly what was happening. :-))) )
[...]
> > * Kunal Jhunjhunwala ([EMAI
* Bogdan Stancescu ([EMAIL PROTECTED]) [Dec 28. 2001 18:44]:
> Hello everybody!
Right back atcha
> Apart from the usual best wishes for 2002, I have a question: does
> anyone know of a good security list/newsletter/bulletin for PHP?
> Actually, any kind of good source would be great, even if it
I am using red hat 7.2...
Regards,
Kunal Jhunjhunwala
- Original Message -
From: "Brian Clark" <[EMAIL PROTECTED]>
To: "PHP is not a drug." <[EMAIL PROTECTED]>
Sent: Sunday, December 30, 2001 7:00 AM
Subject: Re: [PHP] pdflib
> * Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 17:17
http://www.php.net/manual/en/function.substr.php
On Sat, 29 Dec 2001 18:28:57 -0600, Carlos Fernando Scheidecker Antunes wrote:
>Hello All,
>
>I've been searching on the online documentation and I'm pretty sure I've done it
>before but I don't recall how.
>
>The problem is. I have a string with
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 17:17]:
> Has anyone successfully installed it with php 4.0.6 ? I have tried
> everything from re-compiling php to compiling pdflib from scratch.. but im
> totally lost.. any help would be great..
What OS/distribution? A few months ago I ins
Hello All,
I've been searching on the online documentation and I'm pretty sure I've done it
before but I don't recall how.
The problem is. I have a string with 17 characteres and I want to copy from the fourth
character 6 characteres. Under Pascal I usually do copy(string,4,6). That means,
c
Woops -- first link is to the site for PHPFastTemplate.
> Lauri --
> You might want to take a look at: http://www.thewebmasters.net/php/
> there's a tutorial located here:
> http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
>
> -- David
>> Hi there!
>>
>> During the last two we
Lauri --
You might want to take a look at: http://www.thewebmasters.net/php/
there's a tutorial located here:
http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
-- David
> Hi there!
>
> During the last two weeks or so, I've been bugged by a question deep
> inside me. It's about v
A great solution for this kind of job is Midgard (www.midgard-project.org). It
provides heaps of features oriented to solving all your possible problems -- user
control/access; separate content and "style" templates, manages includes
automatically so you don't have to fiddle around tens or hundred
Hi there!
During the last two weeks or so, I've been bugged by a question deep inside me.
It's about various templating solutions used with dynamic web applications.
Oftentimes simply embedding the code into the HTML template does the trick.
Othertimes the
include("header.inc");and
include("
I got php4.1.0 sucessfully compiled in and now I get these
exceptions when I try to run the test php scripts.
java.lang.UnsatisfiedLinkError: send
at net.php.servlet.send(Native Method)
at net.php.servlet.service(servlet.java:162)
at net.php.servlet.service(servlet.java:18
found the answer:
point to $TOMCAT_HOME/common
Vincent Stoessel wrote:
>
>
>
> Subject:
>
> [PHP] php-4.1.0 and tomcat 4.x
> From:
>
> Vincent Stoessel <[EMAIL PROTECTED]>
> Date:
>
> Sat, 29 Dec 2001 13:06:05 -0500
>
Hey,
Has anyone successfully installed it with php 4.0.6 ? I have tried
everything from re-compiling php to compiling pdflib from scratch.. but im
totally lost.. any help would be great..
the pdflib site dint help much either.. :(
Regards,
Kunal Jhunjhunwala
--
PHP General Mailing List (http:/
AOL UK say their ADSL service isnt good for hosting because it is
asymmetrical: you can download data faster than you can send it out which is
fine for surfing the net but not so useful for running a server.(I just
think AOL dont want people hosting servers using their service though!)
We have a P
Sean --
Give the attached scripts a shot, a post the results.
Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
fine but with Netscape-4.9 it returns var names? But
when served from Unix/Linux and Apache all 3 work as expected !!
Anywhy give them shot. -- David
--- form.html ---
http:/
Well, I just finished a ftp program that originally used php to catch the
uploaded file, but soon realized the it did load it into memory then dump it
into a file. I finally ended up using perl running with xinetd to capture
the uploaded file and drop it into a file. then let php play with it fr
On 12-29 15:10, David Jackson wrote:
> Sean --
> Do you get the same errors, with Netscape 4.x?
Yep. The very same. I've tried Galeon, Mozilla, Netscape 4.x, and Konqueror.
They all result in the same error.
> > On 12-29 12:56, David Jackson wrote:
> >> Sean --
> >> Don't know if this help but h
Hi Sander,
> I made a database with bookmarks, these bookmarks are catogarized by
> type.
> Now I want to display those bookmarks in tables by category. This works
> already fine.
> The only problem I have is that the tables are very difficult to handle.
>
> I want to make 4 tables in a row (so
Ricardo,
I'd bet that behind a 256kbps connection you'll run out of bandwidth
long before you run out of CPU, memory, or disk on any machine that
costs more than about $500USD - but your mileage may vary depending on
your application. My personal experience is that behind my DSL
connection, I r
Sean --
Do you get the same errors, with Netscape 4.x?
> On 12-29 12:56, David Jackson wrote:
>> Sean --
>> Don't know if this help but here's what I just worked for me.
>> What ver. of PHP are you using? It seem to me that 3.x.x needs
>> PHPLIB: http://sourceforge.net/projects/phplib
>> to han
On 12-29 12:56, David Jackson wrote:
> Sean --
> Don't know if this help but here's what I just worked for me.
> What ver. of PHP are you using? It seem to me that 3.x.x needs
> PHPLIB: http://sourceforge.net/projects/phplib
> to handle sessions? -- David Jackson
>
> --- sean.php ---
>
>
Hello,
I made a database with bookmarks, these bookmarks are catogarized by
type.
Now I want to display those bookmarks in tables by category. This works
already fine.
The only problem I have is that the tables are very difficult to handle.
I want to make 4 tables in a row (so that will be 4 dif
Hey,
I've just started learning php and I need to know this... What are the
commands I use to get i.e. index.php?links and index.php?newsto
work?
I have a site, with the menu down one side, and I need to have the
index.php?news
link to a "news.php" page, etc. etc. I hope this makes
sen
I am trying to get php compiled as a servlet. In the past (tomcat 3.x days)
one would point the php configure option (--with-servlet )to the location of the
servlet.jar
Tomcat 4 seems to have many many servlet jars and I cannot seem to find the correct one
to link against. Is Sam Ruby still out
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle sessions? -- David Jackson
--- sean.php ---
--- seaninc.php --
> On 12-29 09:59, Miles Tho
On 12-29 09:59, Miles Thompson wrote:
> Sean,
>
> What's going on in incl.php. Are you issuing a session_start()?
No, I was not.
> What if it's rearranged like so, as I understand you have to register the session
>variable
> before using it.
>
> include("incl.php");
> session_start();
> sess
I have a win2k machine set-up with iis 5.0, php 4.1.0 and now I want to use
image_copy_resample()
image_copy_resample() is not working in the version of gd included in php
4.1.0.
Where should I download the .dll for version 2.0.1?
Regards
Fredrik A. Takle
--
PHP General Mailing List (http:/
Check the value of the upload_tmp_dir php.ini entry. That's the dir that
PHP would use for storing uploaded files. It can be the same as
session.save_path, but it doesn't have to be...
If it's not set, PHP would use the system-defined TEMP directory, which is
E:\WINNT\TEMP on your system (ap
Sean,
What's going on in incl.php. Are you issuing a session_start()?
What if it's rearranged like so, as I understand you have to register the session
variable
before using it.
include("incl.php");
session_start();
session_register("mine");
$mine++;
echo $mine;
There's the divide and conque
php-general Digest 29 Dec 2001 13:44:47 - Issue 1080
Topics (messages 78988 through 79013):
Including files & variables ...
78988 by: Evansville Scene
78989 by: Bogdan Stancescu
78996 by: Dennis Moore
WebServer
78990 by: rick
78991 by: Miles Thompson
I am involved with creating a website (i am the systems guy not the
website programmer) on an older computer, a p133 with 80meg of
ram. Since php is by default loaded with apache in the slackware
installation I have chosen. I have told the website programmer that he
will have to use php for fil
Kris
take a look here:
http://www.vhconsultants.com/index.htm
--
Serge Yatsenko, web developer
http://www.design-n1.com
"Kris" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know where these have gone, or have them archived somewhere?
> Google h
On this front douse anyone know of any companies who will compile an app as
I cant afford the compiler but will need to do this in the future. Is it a
stand alone and is it easy to install?
Ben
At 14:10 15/10/2001, ~~~i LeoNid ~~ wrote:
>On Sat, 13 Oct 2001 16:14:39 -0400 impersonator of [EMA
[Sorry if this is a re-post but I have been having some email problems and
cant find original in the archive]
I have a PHP application that is working fine on my Windows 98 system but
when I try it on my Windows 2000 setup (which has recently had PHP/MySQL
installed) there is a problem. When
Hey Steve,
> Im need to generate an email and Im trying to keep the exact spacing
> I use when I define the body of the email. When the email is sent and i
> view it with Outlick Express or simply use Pine, the spacing is all out
> of wack. (Too many spaces here, not enough spaces there)
>
> I
Hi,
Does anyone know where these have gone, or have them archived somewhere?
Google hasn't cached them.
http://www.lerdorf.on.ca/nntp.phps
and
http://www.lerdorf.on.ca/nntp.php3
Alternatively, anyone who has/has done code to take the headers, and
only the headers, of posts in a newsgroup and wh
* Jamie Fields wrote:
> toward PHP. The one thing I really need to know is how many concurrent
> users PHP can handle at one time.
That depends on your application. With intelligent caching
on the user level (i.e. caching HTML output in the file system)
there are some PHP applications who can ha
Hi guys ,
I was Wondering if it would be possible to write a proyect like Control
Panel , WebMin (both are in Perl ) using PHP instead of PERL ?
Would it be possible ?
PHP has the power and flexibility like Perl to write TRUE Systems programs that
could be able to manage all
Hi guys ,
I was Wondering if it would be possible to write a proyect like Control
Panel or WebMin (both are in Perl ) using PHP instead or PERL ?
Would it be possible ?
PHP has the power and flexibility like Perl to write TRUE Systems programs that
could be able to manage a
57 matches
Mail list logo