Re: [PHP] Re: [PHP-DB] php-mysql problem

2004-05-15 Thread Burhan Khalid
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

Re: [PHP] Template Engine

2004-05-15 Thread Tom Rogers
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

RE: [PHP] Template Engine

2004-05-15 Thread electroteque
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

[PHP] Carrying Variables

2004-05-15 Thread Ronald \The Newbie\ Allen
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

[PHP] Re: Carrying Variables

2004-05-15 Thread Torsten Roehr
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 -0000 Issue 2764

2004-05-15 Thread php-general-digest-help
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

[PHP] Re: Carrying Variables

2004-05-15 Thread Ronald \The Newbie\ Allen
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]

[PHP] Re: Carrying Variables

2004-05-15 Thread Torsten Roehr
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 '?='

[PHP] Re: Carrying Variables

2004-05-15 Thread Ronald \The Newbie\ Allen
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;

Re: [PHP] Breaks on socket_read

2004-05-15 Thread Marek Kilimajer
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--

[PHP] Re: Carrying Variables

2004-05-15 Thread Ronald \The Newbie\ Allen
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

[PHP] Re: Carrying Variables

2004-05-15 Thread Ronald \The Newbie\ Allen
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

[PHP] New Newbie Question

2004-05-15 Thread Ronald \The Newbie\ Allen
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

Re: [PHP] New Newbie Question

2004-05-15 Thread Travis Low
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

[PHP] Re: New Newbie Question

2004-05-15 Thread Torsten Roehr
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

[PHP] Re: New Newbie Question

2004-05-15 Thread Torsten Roehr
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;

Re: [PHP] New Newbie Question

2004-05-15 Thread John W. Holmes
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:

[PHP] Re: New Newbie Question

2004-05-15 Thread Ronald \The Newbie\ Allen
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

Re: [PHP] New Newbie Question

2004-05-15 Thread Ronald \The Newbie\ Allen
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

RE: [PHP] [AWF-TOPIC] How to duplicate this functionality?

2004-05-15 Thread Robert Cummings
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

Re: [PHP] How to duplicate this functionality?

2004-05-15 Thread Ryan A
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-

RE: [PHP] How to duplicate this functionality?

2004-05-15 Thread Ryan A
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

RE: [PHP] [AWF-TOPIC] How to duplicate this functionality?

2004-05-15 Thread Ryan A
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

[PHP] elseif carry

2004-05-15 Thread Ronald \The Newbie\ Allen
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;

[PHP] mdecrypt_generic problem

2004-05-15 Thread Thomas Trtscher
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

Re: [PHP] Yahoo and PHP

2004-05-15 Thread Chris Shiflett
--- 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

Re: [PHP] Carrying Variables

2004-05-15 Thread Daniel Clark
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

Re: [PHP] Re: Carrying Variables

2004-05-15 Thread Daniel Clark
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;

[PHP] imagedestroy problems with memory

2004-05-15 Thread Merlin
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

Re: [PHP] elseif carry

2004-05-15 Thread Daniel Clark
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

Re: [PHP] elseif carry

2004-05-15 Thread Ronald \The Newbie\ Allen
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

[PHP] GET and POST variables name

2004-05-15 Thread Dino Costantini
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 =

Re: [PHP] mysql blob and phpmysqladmin

2004-05-15 Thread Raj Shekhar
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

Re: [PHP] GET and POST variables name

2004-05-15 Thread Tom Rogers
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 =

Re: [PHP] GET and POST variables name

2004-05-15 Thread Marek Kilimajer
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) {

Re: [PHP] imagedestroy problems with memory

2004-05-15 Thread Marek Kilimajer
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

Re: [PHP] elseif carry

2004-05-15 Thread James Kaufman
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,

Re: [PHP] elseif carry

2004-05-15 Thread Daniel Clark
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

Re: [PHP] GET and POST variables name

2004-05-15 Thread Daniel Clark
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

[PHP] Re: GET and POST variables name

2004-05-15 Thread Martin Visser
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. ?

Re: [PHP] elseif carry

2004-05-15 Thread Ronald \The Newbie\ Allen
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

[PHP] xslt_process

2004-05-15 Thread eoghan
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

Re: [PHP] xslt_process

2004-05-15 Thread Ray Hunter
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

Re: [PHP] elseif carry

2004-05-15 Thread Daniel Clark
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

Re: [PHP] xslt_process

2004-05-15 Thread raditha dissanayake
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

Re: [PHP] Session variables not working

2004-05-15 Thread Andrew Wood
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

Re: [PHP] Carrying Variables

2004-05-15 Thread Ray Hunter
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

Re: [PHP] GD createpng and getting different png formats

2004-05-15 Thread Galen
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.

[PHP] Re: Carrying Variables

2004-05-15 Thread Kim Steinhaug
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

[PHP] Re: accessing $_POST from another page.

2004-05-15 Thread Al
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);

[PHP] Class variable unexpected behavior

2004-05-15 Thread Richard Shaffer
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; } }

Re: [PHP] Class variable unexpected behavior

2004-05-15 Thread Adam Bregenzer
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 --

[PHP] Reposting elseif carry

2004-05-15 Thread Ronald \The Newbie\ Allen
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;

[PHP] PHP and qmail

2004-05-15 Thread Stephen Lake
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:

[PHP] Re: PHP and qmail

2004-05-15 Thread Manuel Lemos
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

[PHP] Release Announcement: Hardened-PHP 0.1.1

2004-05-15 Thread Stefan Esser
_ __ _ ___ _ _ ___ | || | __ _ _ _ __| | ___ _ _ ___ __| | ___ | _ \| || || _ \ | __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___|| _/| __ || _/

RE: [PHP] Release Announcement: Hardened-PHP 0.1.1

2004-05-15 Thread electroteque
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

RE: [PHP] Re: PHP and qmail

2004-05-15 Thread electroteque
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

Re: [PHP] Reposting elseif carry

2004-05-15 Thread Curt Zirzow
* 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

Re: [PHP] Reposting elseif carry

2004-05-15 Thread Daniel Clark
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;