Jianping Zhu wrote:
Hi, thank you for your respinse.
It the /etc/php.ini i have something like:
;
; extension=modulename.extension
;
; For example:
;
extension=mysql.so
if you go to
http://coopunit.forestry.uga.edu:8080/test.php
you will find mysql is not installed as an extension.
but i do
Hi,
Saturday, May 15, 2004, 6:13:25 AM, you wrote:
GL I was just wondering if anyone had any good advice or tutorials on
GL building a simple template engine system. I am woking on a small project
GL that I would like to distribute, and I would of course like to separate
GL logic from html. I
I use one called phemplate, dont be scared of the same its pretty good and
follows the same ideology as the rest although check out the benchmark tool
of other engines which is supplied on the site.
http://pukomuko.esu.lt/phemplate/
I have been thinking of moving to smarty or i just wish there
How would I carry a variable from one page to another
Here is what I mean
I have a send.php page and this is sent to
insert_into_database.php where the values of the previous page are inserted
into the database.
I then use a meta=refresh to go to another page and evaluate the variable.
The
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How would I carry a variable from one page to another
Here is what I mean
I have a send.php page and this is sent to
insert_into_database.php where the values of the previous page are
inserted
into the
php-general Digest 15 May 2004 10:34:44 - Issue 2764
Topics (messages 186263 through 186287):
Looking For Easy To Use Shopping Cart
186263 by: Ryan Schefke
186266 by: Justin Patrin
186268 by: Dan McCullough
186270 by: Ryan Schefke
186271 by: Justin
This is what I have
insert_into_the_database.php
META HTTP-EQUIV=refresh
content=10; URL=./check.php?? $_POST['Event_Type'] ?
/head
check.php
?
$event = $_GET['Event_Type'];
echo $event;
?
This is still not working for me
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This is what I have
insert_into_the_database.php
META HTTP-EQUIV=refresh
content=10; URL=./check.php?? $_POST['Event_Type'] ?
You have to assign the value to a variable (name) and print the POST value
with '?='
That is it! Thank you very much!
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This is what I have
insert_into_the_database.php
META HTTP-EQUIV=refresh
content=10;
René Fournier wrote:
Can anyone suggest why this script (well, part of the script) fails on
the while(($bug=socket_read... line after it successfully loops
several times? (Of course, it is only after it timesout, but that is
what I need it to do.)
---CODE--
How would you carry two variables?
META HTTP-EQUIV=refresh content=0;
URL=./check.php?Event_Type=?=$_POST['Event_Type'];??logdate=?=$_POST['log
date']; ?
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
That is it! Thank you very much!
Torsten Roehr [EMAIL
OK I am a moron. I looked at your code and the answer is there!!!
META HTTP-EQUIV=refresh content=0;
URL=./check.php?Event_Type=?=$_POST['Event_Type'];?Date_and_Time=?=$_POS
T['Date_and_Time']; ?
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How would you
Here is my problem:
When I get the value of $date and I echo it it shows up just fine
$date = date(Y-m-d H:i);
echo $date;
2004-05-15 16:20
but when I go to insert the value into a form like this
Time:INPUT type=text name=Date_and_Time value=? echo $date; ?
size=50br
it only displays
Change:
value=? echo $date; ?
to
value=? echo $date; ?
or
value=?=$date?
cheers,
Travis
Ronald The Newbie Allen wrote:
Here is my problem:
When I get the value of $date and I echo it it shows up just fine
$date = date(Y-m-d H:i);
echo $date;
2004-05-15 16:20
but when I go to insert the
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is my problem:
When I get the value of $date and I echo it it shows up just fine
$date = date(Y-m-d H:i);
echo $date;
2004-05-15 16:20
but when I go to insert the value into a form like this
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ronald The Newbie Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is my problem:
When I get the value of $date and I echo it it shows up just fine
$date = date(Y-m-d H:i);
echo $date;
Ronald The Newbie Allen wrote:
Time:INPUT type=text name=Date_and_Time value=? echo $date; ?
size=50br
it only displays
2004-05-15
Please learn HTML. You need quotes around your value.
Time:INPUT type=text name=Date_and_Time value=? echo $date; ?
--
---John Holmes...
Amazon Wishlist:
I haved removed the quotes and when it is by itself it works just fine
$date = date(Y-m-d H:i);
echo $date;
2004-05-15 16:20
but I put it in a a form it only displays the date and not the time
Time:INPUT type=text name=Date_and_Time value=? echo $date; ?
size=50br
still only displays
2004-05-15
Travis thanks this worked! It is amazing what one little thing will do
value=?=$date?
Travis Low [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Change:
value=? echo $date; ?
to
value=? echo $date; ?
or
value=?=$date?
cheers,
Travis
Ronald The Newbie
On Sat, 2004-05-15 at 01:08, Will Collins wrote:
Also, I forgot to mention... another little snippet I like to use for
something like this is this meta tag:
META HTTP-EQUIV=Page-Enter Content=blendtrans(duration=.1)
It makes the pages fade into each other, and for two pages that are very
Hey,
-SNIP-
Hmmm..for IE it didnt reload the page...or reloaded the page so fast
that I
couldnt make out the reload and the product just seemed to
disappear...very smoothly...thats why I was impressed...
You might want to complain to your ISP that your connection is too
fast :)
-/SNIP-
It's fairly simple: at the top of your script, have a block of code
similar
to the following, and have the link point to
--
$_SERVER['PHP_SELF'].?rm_id=.$id_to_be_deleted
--
I'll
leave out all but the essential elements.
code
?php
if (isset($_GET['rm_id']))
{
$query = REMOVE FROM
Also, I forgot to mention... another little snippet I like to use for
something like this is this meta tag:
META HTTP-EQUIV=Page-Enter Content=blendtrans(duration=.1)
It makes the pages fade into each other, and for two pages that are
very
similar (like your example) it doesn't look
I have tried both of these statements and neither one works Trying to get
the Date and Time to be carried in the URL. Any Help please.
print 'META HTTP-EQUIV=refresh content=0;
URL=./Conference_Calls.php?Date_and_Time=$_POST[Date_and_Time]';
or
echo 'META HTTP-EQUIV=refresh content=0;
Hi,
trying to use mcrypt/decrypt, but i'm not able to print the decoded text
without the script stopping.
The code below is taken from php.net, supplied by [EMAIL PROTECTED] dot com
07-Apr-2004 07:29.
?
$key = this is a secret key;
$input = Let us meet at 9 o'clock at the secret place.;
$td
--- Jonathan Villa [EMAIL PROTECTED] wrote:
Yahoo, of course, makes heavy use of MySQL, and not only do Yahoo
developers code in PHP, they even hired PHP's creator, Rasmus
Lerdorf.
I was wondering if anyone had some information to further
substantiate this...
Yes, Rasmus works there, and
I uses form variables and method=post to sent them to the next page.
On your 2nd page it's inserting into the database, so past that page, if I want to
retain the variables I either read them again from the database OR
store those variables as $_SESSION variables.
How would I carry a variable
On the URL, use ? to separate the file name from the variables, and to separate each
additional variable.
. logdate=
URL=check.php?Event_Type=?=$_POST['Event_Type'];?logdate=?=$_POST['logdate']; ?
How would you carry two variables?
META HTTP-EQUIV=refresh content=0;
Hi there,
I am having trouble with ram memory. After about a day the system starts to
swap. After doing a bit of research I found that a possible reason could be the
missing of the imagedestroy() function.
There is a question I have on that. Inside a function I add sometimes watermarks
to
I think you want double quotes around the entire line and \ for the internal double
quotes.
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=$_POST['Date_and_Time']';
I have tried both of these statements and neither one works Trying to get
the Date and Time
I did a cut asnd paste to your code and this is the error that I receive
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
T_STRING or T_VARIABLE or T_NUM_STRING in c:\inetpub\wwwroot\check.php on
line 9
Daniel Clark [EMAIL PROTECTED] wrote in message
news:[EMAIL
i know it could be a stupid problem, but i need a help and i hope u could be generous
with me :).
this is my code, it writes the list of POST and GET variables.
?
echo GET:BR;
foreach($_GET as $parole)
{
echo Parola = $parole br;
}
echo brbrPOST:BR;
foreach($_POST as $parole)
{
echo Parola =
On Thu, 13 May 2004 17:53:20 -0400, Jianping Zhu
[EMAIL PROTECTED] wrote:
I have mysql table call com. One colum of table com will store
user's comments. Because user-provided comment might be too big to fit in char(255),
i
use blob. but when i try to see it by use phpmysqladmin, i can only
Hi,
Sunday, May 16, 2004, 1:47:44 AM, you wrote:
DC i know it could be a stupid problem, but i need a help and i
DC hope u could be generous with me :).
DC this is my code, it writes the list of POST and GET variables.
DC ?
DC echo GET:BR;
DC foreach($_GET as $parole)
DC {
DC echo Parola =
foreach($_POST as $key = $parole) {
echo $key = $parole br;
}
Dino Costantini wrote:
i know it could be a stupid problem, but i need a help and i hope u could be generous with me :).
this is my code, it writes the list of POST and GET variables.
?
echo GET:BR;
foreach($_GET as $parole)
{
Merlin wrote:
Hi there,
I am having trouble with ram memory. After about a day the system starts
to swap. After doing a bit of research I found that a possible reason
could be the missing of the imagedestroy() function.
There is a question I have on that. Inside a function I add sometimes
Try this:
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=.$_POST['Date_and_Time'].;
On Sat, May 15, 2004 at 07:47:28PM +0400, Ronald The Newbie Allen wrote:
I did a cut asnd paste to your code and this is the error that I receive
Parse error: parse error,
Oops. Try this.
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=$_POST['Date_and_Time']\ ;
I did a cut asnd paste to your code and this is the error that I receive
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
T_STRING or
http://www.php.net/manual/en/control-structures.foreach.php
Try this.
echo GET:BR;
foreach($_GET as $key = $value)
{
echo $key = $value br;
}
i know it could be a stupid problem, but i need a help and i hope u could be
generous with me :).
this is my code, it writes the list of POST
You also could use:
print_r($_GET);
and print_r($_POST);
an Array will be printed with key and value
Martin
Dino Costantini schreef:
i know it could be a stupid problem, but i need a help and i hope u could be generous with me :).
this is my code, it writes the list of POST and GET variables.
?
Tried it and this is the error that I get
Notice: Undefined index: Date_and_Time in c:\inetpub\wwwroot\check.php on
line 9
META HTTP-EQUIV=refresh content=0;
URL=./Conference_Calls.php?Date_and_Time=
James Kaufman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this:
echo
hi,
im using the xslt_process() function, but want to use a php file with
generated xml content as the xml file i feed the
function but it seems to complain that its a php file
*Warning*: Sablotron error on line 22: XML parser error 4: not
well-formed (invalid token)
when i use a test xml
On Sat, 2004-05-15 at 10:20, eoghan wrote:
hi,
im using the xslt_process() function, but want to use a php file with
generated xml content as the xml file i feed the
function but it seems to complain that its a php file
*Warning*: Sablotron error on line 22: XML parser error 4: not
Ah.
Must have a POST variable in that page called Date_and_Time.
Tried it and this is the error that I get
Notice: Undefined index: Date_and_Time in c:\inetpub\wwwroot\check.php on
line 9
META HTTP-EQUIV=refresh content=0;
URL=./Conference_Calls.php?Date_and_Time=
--
PHP General
eoghan wrote:
hi,
im using the xslt_process() function, but want to use a php file with
generated xml content as the xml file i feed the
function but it seems to complain that its a php file
*Warning*: Sablotron error on line 22: XML parser error 4: not
well-formed (invalid token)
when i use
If a page accesses the session variables does it need to explicity
reset them as well because it would appear that an intermediate PHP
script which also reads the 2 variables is destroying the session for
no apparent reason
On 14 May 2004, at 22:11, Brad Pauly wrote:
On Fri, 2004-05-14 at
On Sat, 2004-05-15 at 02:53, Ronald The Newbie Allen wrote:
How would I carry a variable from one page to another
Here is what I mean
I have a send.php page and this is sent to
insert_into_database.php where the values of the previous page are inserted
into the database.
I then use a
Sam,
File size totally depends on what you're working with. For text and
graphics, PNG is significantly smaller than JPEGs that have quality
settings anywhere near close to looking similar. For other things, it's
tricky.
Certainly, reducing the number of colors is a good way to cut file
size.
You could ofcourse also use sessions.
If you need to store alot of values, this would be the way to go.
If its only a couple of short ones, ofcourse some GET variables
is the simplest and fastest way to go.
--
--
Kim Steinhaug
Save the POST variables in $_SESSION buffers.
Don't forget to 'start_session first thing on the page.
Edward Peloke wrote:
I have a page class which controls what happens within a given page. For
example, the code in my index page is this:
$page=new AdminPage();
$page-action($action);
I am sure this is something I'm doing wrong, but I just can't see it. I
have the following in my test.php file:
html
head
/head
body
?php
class test {
var $a;
var $b = goodbye;
function c($arg) {
$this-$a = $arg;
echo pa = . $this-$a . /p\n;
echo pb = . $this-$b . /p\n;
}
}
On Sat, 2004-05-15 at 06:24, Richard Shaffer wrote:
class test {
var $a;
var $b = goodbye;
function c($arg) {
$this-$a = $arg;
echo pa = . $this-$a . /p\n;
echo pb = . $this-$b . /p\n;
}
}
$this-$a should be $this-a
same with '$b': $this-$b should be $this-b
--
I have tried both of these statements and neither one works Trying to get
the Date_and_Time to be carried in the URL. Any Help please.
print 'META HTTP-EQUIV=refresh content=0;
URL=./Conference_Calls.php?Date_and_Time=$_POST[Date_and_Time]';
or
echo 'META HTTP-EQUIV=refresh content=0;
Hey all,
Can someone tell me how I can send HTML using qmail from a Script? The MTA I
was using was changed from Sendmail to qmail and now my HTML mails actually
show the html tags in the mail body.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
On 05/15/2004 04:14 PM, Stephen Lake wrote:
Can someone tell me how I can send HTML using qmail from a Script? The MTA I
was using was changed from Sendmail to qmail and now my HTML mails actually
show the html tags in the mail body.
That looks like a bug in the mail() function because
_ __ _ ___ _ _ ___
| || | __ _ _ _ __| | ___ _ _ ___ __| | ___ | _ \| || || _ \
| __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___|| _/| __ || _/
please define a hastily written script ?
if this is it i dont know anyone who would ever attempt this
?php
include $aktion;
?
saying that anyone who codes with no security in mind should go back to
school. But i'm sure it could be possible for maybe a web host to have
something dodgy
Could it not be you have to send the html document type in the header of
the mail ?
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 16, 2004 8:55 AM
To: Stephen Lake
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP and qmail
Hello,
On 05/15/2004
* Thus wrote Ronald The Newbie Allen ([EMAIL PROTECTED]):
what I currently have is
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=.$_POST[$Date_and_Time].;
Have you looked at what this is actually outputing?
Tried several things from the string and
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=\.$_POST[\$Date_and_Time\]\;
I have tried both of these statements and neither one works Trying to get
the Date_and_Time to be carried in the URL. Any Help please.
print 'META HTTP-EQUIV=refresh content=0;
60 matches
Mail list logo