echo "";
>>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 '';
>>
>>or
>>
>> echo '';
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Ronald The Newbie Allen ([EMAIL PROTECTED]):
>
> what I currently have is
>
> echo " 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 either they return a pars
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
please define a hastily written script ?
if this is it i dont know anyone who would ever attempt this
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 on there.
--
PHP General Mailin
_ __ _ ___ _ _ ___
| || | __ _ _ _ __| | ___ _ _ ___ __| | ___ | _ \| || || _ \
| __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___|| _/| __ || _/
|_||_|\__,_|
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 qmail
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: http://www.php.net/unsub
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 '';
or
echo '';
what I currently have is
echo "";
Tried several things from the string and either they return a parsing error
or they return ".$_P
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 "a = " . $this->$a . "\n";
> echo "b = " . $this->$b . "\n";
> }
> }
$this->$a should be $this->a
same with '$b': $this->$b should
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:
$a = $arg;
echo "a = " . $this->$a . "\n";
echo "b = " . $this->$b . "\n";
}
}
$d = new test;
$d->c("hello");
?>
When I load the page, I expect to see the following out
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);
$page->p
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
--
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.
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
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 14:4
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
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
>>http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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 doc
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
wrote in message
news:[EMAIL PROTECTED]
> Try this:
>
> echo " URL=./Conference_Calls.php?Date_and_Time=".$_POST['Date_and_Time'].">";
>
> On Sat, May 15, 2004 at 07:47:28P
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.
";
http://www.php.net/manual/en/control-structures.foreach.php
Try this.
echo "GET:";
foreach($_GET as $key => $value)
{
echo "$key = $value ";
}
>>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
Oops. Try this.
echo "" ;
>>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" <[EMA
Try this:
echo "";
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, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
> T_STRING or T_VARIABLE or T_NUM_STRING in c:\inet
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
water
foreach($_POST as $key => $parole) {
echo "$key = $parole ";
}
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.
";
foreach($_GET as $parole)
{
echo "Parola =
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> echo "GET:";
DC> foreach($_GET as $parole)
DC> {
DC> 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 ca
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.
";
foreach($_GET as $parole)
{
echo "Parola = $parole ";
}
echo "POST:";
foreach($_POST as $parole)
{
echo "Parola = $parole ";
}
?>
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 PRO
I think you want double quotes around the entire line and \" for the internal double
quotes.
echo "';
>>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 '';
>>
>>or
>>
>> echo '';
--
PHP Gener
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 image
On the URL, use ? to separate the file name from the variables, and & to separate each
additional variable.
. &logdate=
URL=check.php?Event_Type=&logdate=">
>>How would you carry two variables?
>>
>>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I uses 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 f
--- 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 th
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.";
$t
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 '';
or
echo '';
The code:
';
} elseif ($event == "Conference_Calls") {
print '';
} elseif ($event == "Outage_Reports") {
echo '';
} else {
echo ''
> > Also, I forgot to mention... another little snippet I like to use for
> > something like this is this meta tag:
> >
> >
> >
> > It makes the pages fade into each other, and for two pages that are
> very
> > similar (like your example) it doesn't look like there's any reload
> at all.
> > It ha
> 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.
>
>
> if (isset($_GET['rm_id']))
> {
> $query = "REMOVE FRO
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 :
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:
>
>
>
> It makes the pages fade into each other, and for two pages that are very
> similar (like your example) it doesn't look like the
Travis thanks this worked! It is amazing what one little thing will do
value=""
"Travis Low" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Change:
>
>value=
>
> to
>
>value=""
>
> or
>
>value=""
>
>
>
> cheers,
>
> Travis
>
> Ronald "The Newbie" Allen wrote:
> > H
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:
size="50">
still only displays
2004-05-15
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in mess
Ronald "The Newbie" Allen wrote:
Time:
size="50">
it only displays
2004-05-15
Please learn HTML. You need quotes around your value.
Time:"
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP Gener
"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");
>
"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
Change:
value=
to
value=""
or
value=""
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 value into a form like this
Time
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:
size="50">
it only displays
2004-05-15
why is this?
Annoying
Master Statio
OK I am a moron. I looked at your code and the answer is there!!!
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How would you carry two variables?
>
>
>
> "Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Th
How would you carry two variables?
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That is it! Thank you very much!
>
>
> "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > "Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> w
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--
$ms
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
> > > content="10; URL=./check.php?">
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is what I have
> insert_into_the_database.php
> content="10; URL=./check.php?">
You have to assign the value to a variable (name) and print the POST value
with '">
This should work.
Regards, Torsten
This is what I have
insert_into_the_database.php
check.php
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]
> > How would I carry a variable
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 Pat
"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
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 proble
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 w
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
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
60 matches
Mail list logo