Hi Jason Sheets, you wrote:
Someone wrote a php module that did this around 6 to 9 months ago. It
was easy to install but you needed access to php.ini.
Do you know where to get/download this module?
Regards,
Matthias
Try using extract with the option to use references so you don't create
a copy
it is your tag. You are missing the closing '>' on the openning
title tag.
Fix that and see what happens
Jim Lucas
- Original Message -
From: "Gloria L. McMillan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 2:00 PM
Subject: Re: [PHP] Tips on print to scr
Someone wrote a php module that did this around 6 to 9 months ago. It
was easy to install but you needed access to php.ini.
Try using extract with the option to use references so you don't create
a copy of the variable just a pointer to it.
Jason
Matthias Nothhaft wrote:
Sorry this all is no
* Thus wrote Matthias Nothhaft ([EMAIL PROTECTED]):
> Hi List,
>
> is there a way (mybe in php5?) to define/declare a global var as a
> superglobal, so that I can use this var like the known superglobals
> ($_GET, $_SESSION, etc.) ???
>
> If not, is there a list for "feature requests"?
You can
Gloria L. McMillan wrote:
Here is the URL of the poll form.
http://dakotacom.net/~glomc/forms/CAT.html
When you do this poll it immiediately attempts to print to screen.
There's also a "VIEW RESPONSES" button so ppl don't have to
answer the poll to view reponses. You can see now that there
is jus
One other thing I noticed:
If you click source code, you get the input replies and the formatting.
None of it shows on screen where I want it, though.
Gloria
"Gloria L. McMillan" wrote:
> Here is the URL of the poll form.
> http://dakotacom.net/~glomc/forms/CAT.html
>
> When you do this poll i
Here is the URL of the poll form.
http://dakotacom.net/~glomc/forms/CAT.html
When you do this poll it immiediately attempts to print to screen.
There's also a "VIEW RESPONSES" button so ppl don't have to
answer the poll to view reponses. You can see now that there
is just a little jumble of lette
Gloria L. McMillan wrote:
I have always had problems in cutting and pasting new forms off old ones.
Often the problem is in the communication that makes the form allow repliers
to view results on screen. This is good to do with opinion polls to start
discussions.
I have a *terrible* time locating
I have always had problems in cutting and pasting new forms off old ones.
Often the problem is in the communication that makes the form allow repliers
to view results on screen. This is good to do with opinion polls to start
discussions.
I have a *terrible* time locating the source of the error.
You need to take a second look at the way you are refering to the
varialbles in the process page.
You are using the POST method in the method='POST' in the form, but on the
process page you are refering to it via $_GET['...'] change this to
$_POST['...'] and you should be fine.
Jim Lucas
-
On Mon, 18 Aug 2003 18:35:09 +0200, Wouter Van Vliet <[EMAIL PROTECTED]>
wrote:
The problem is probably in the 'enctype="multipart/form-data"'. You
should
only use this enctype if you're gonna upload a file through the form. If
not, just leave it away or use text/plain
Wouter
Why would that be
I see a couple have tried my poll.
Please ask and I will send that php file...
Gloria
"Gloria L. McMillan" wrote:
> Hi, all!
>
> I have a working database at:
> http://dakotacom.net/~glomc/forms/CAT.html
>
> It does send info to the database, but only shows "[" at the upper left of screen
>
Ok, I learned I can load extensions in script using ld(), is there a way
to load extensions from a different directory (i.e.$HOME) in a
case where I don't have access to /php/extensions/?
--
Regards, Andu Novac
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Did you get any error (displayed/logged) ?
Test it like that:
print_r($_FILES) // with php < 4.1 use $HTTP_POST_FILES
Now you can find your file at ...['tmp_name']
See also the php manual ;-)
Regards,
Matthias
Matthias Wulkow wrote:
Hallo Jim,
am Samstag, 23. August 2003 um 21:32 hast Du Folg
ok. the key here then is that php is going to erase the uploaded file after
the script has finished processing.
What you have to do is move the file to a different location before the
script ends.
This is the normal behavor for PHP.
More then likely the file is getting transmitted to the server
Hi,
> echo " = 'multipart/form-data'>\n";
I think that the methos should be POST not GET
Second, you may want to save the file first with,
move_uploaded_file (see
http://de.php.net/manual/en/function.move-uploaded-file.php),
then you will be able to see it.
Of course you will f
Hallo Jim,
am Samstag, 23. August 2003 um 21:32 hast Du Folgendes gekritzelt:
JL> how are you checking to see if the files are getting uploaded?
JL> Jim Lucas
I'm looking in /tmp for new files... but there are none. I'm also
looking in the Apache-RootDirectory. No files neither.
SvT
--
W
Damian Brown wrote:
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
There's really no way to do this, only ways to estimate the time.
Assign each u
Damian Brown wrote:
Hi,
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
There is no way to get this exactly!
You cannot record the time a user
is r
- Original Message -
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Jim Lucas" <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 12:27 PM
Subject: Re: [PHP] file upload problem
> Hallo Jim,
>
> am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt:
I want to connect with my PHP - script to a shell that is located on another
Server.
Is there a command to connect via a PHP script to the shell? Perhaps over
IP
It would be very nice if you can help me because
I don´t know how to do it
With best regards
Dennis Dujan
Hallo Jim,
am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt:
JL> when you are uploading files via a form, you must use the POST method.
well, I tried the example from
http://de.php.net/manual/de/features.file-upload.php#features.file-upload.post-method
and that doesn't work nei
The register globals is on with the live server, and off at home (my version
is 4.3.2, the other is 4.1.2). does that matter?
Thanks for the other tip, shall try that ...
Thomas
- Original Message -
From: "Thomas Hochstetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, Aug
Hi,
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
Regards,
Damian
www.phpexpert.org
UK FREEphone 0800 019 0924
--
PHP General Mailing List (htt
when you are uploading files via a form, you must use the POST method.
Jim Lucas
- Original Message -
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 11:16 AM
Subject: [PHP] file upload problem
> Hi ,
>
> I try to upload a file with s
I have been wanting the same thing, but I too have not found a solution, and
do not know if it will come around.
Being able to create your own super-global would be a very nice feature.
Jim Lucas
- Original Message -
From: "Matthias Nothhaft" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
Stevie D Peele wrote:
What is the longest expiration time of a cookie?
Hm, good question ;-)
A day has 86400 seconds.
Multiply it by 'enough' days (eg 365) and always refresh
your cookie's expiration. This might solve your problem.
Regards,
Matthias
Thanks
___
Try this :
Paginator - a class that can help you to split MySQL database query result sets to
pages.
http://www.weberdev.com/get_example.php3?count=3707
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
Share your code : http://addexample.webe
Try this too : http://www.sitepoint.com/article/1165
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
Share your code : http://addexample.weberdev.com
Search for PHP Code from your browser http://toolbar.weberdev.com
-Original Message
Sorry this all is not what I'm looking for.
I see it is not possible at the moment.
It would be nice to have a php-function like
declare_superglobal($_MYFRAMEWORK);
And then use $_MYFRAMEWORK like $_GET.
Thanks nevertheless.
Regards,
Matthias
Ray Hunter wrote:
Well, this is clear, (I'm only new
sdfsdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, August 24, 2003, 3:45:33 AM, you wrote:
MN> Hi List,
MN> is there a way (mybe in php5?) to define/declare a global var as a
MN> superglobal, so that I can use this var like the known superglobals
MN> ($_GET, $_SESSION, etc.) ???
MN> If not, is there a list for "feature requests"?
Hi ,
I try to upload a file with such an input type = 'file' field.
My form looks like:
echo "\n";
...
echo "\n";
...
echo "\n";
echo "\n";
After submition, I can't find the file on the server. Nowhere.
In php.ini, I have /tmp as upload-directory.
I'm using apache2 on linux.
Can somebod
Hi, all!
I have a working database at:
http://dakotacom.net/~glomc/forms/CAT.html
It does send info to the database, but only shows "[" at the upper left of screen
when it is supposed to print to screen.
Could somebody help me find what is wrong in my .php file? Thanks,
Gloria
--
PHP Ge
Hi Ray Hunter, you wrote:
you can define your own superglobals by defining the vars first then
accessing them thru the $GLOBALS var.
example:
function test() {
echo $GLOBALS['var1'];
echo $GLOBALS['var2'];
echo "Test\n"
}
test();
?>
That should get you started with globals.
Well, this i
What is the longest expiration time of a cookie?
Thanks
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
--
PHP General M
php-general Digest 23 Aug 2003 18:07:47 - Issue 2254
Topics (messages 160483 through 160517):
Status Chaing Toggle / Code
160483 by: Tony Pagliocco
160492 by: Robert Cummings
Re: Making a cookie never expire
160484 by: Joe Pemberton
Re: auto_prepend_file
160
Heres the source of the page where I initially enter the data -
-
-
MyPHP Site News v1.0
Your Alias:
Date:
Ex) 2003-08-19
Your News:Enter as much
text as y
you can define your own superglobals by defining the vars first then
accessing them thru the $GLOBALS var.
example:
That should get you started with globals.
--
BigDog
On Sat, 2003-08-23 at 11:45, Matthias Nothhaft wrote:
> Hi List,
>
> is there a way (mybe in php5?) to define/declare a g
Sessions, cookies or thru the get request
--
BigDog
On Sat, 2003-08-23 at 02:21, macromaniac wrote:
> well,
> i have to php pages and i want to send one argument from one to another. I
> tried a few things but I couldn't do it.
>
> is there a special way to do it?
>
>
--
PHP General Mailin
Hi List,
is there a way (mybe in php5?) to define/declare a global var as a
superglobal, so that I can use this var like the known superglobals
($_GET, $_SESSION, etc.) ???
If not, is there a list for "feature requests"?
Regards,
Matthias
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
Sunday, August 24, 2003, 2:32:01 AM, you wrote:
MW> That's the error I find in the apache-log. On the screen, I get
MW> nothing but a white page. By the way I have error_reporting(E_ALL);
MW> but I never get errors reported...
MW> PHP Fatal error: Call to undefined function: () in
/usr/lo
well,
i have to php pages and i want to send one argument from one to another. I
tried a few things but I couldn't do it.
is there a special way to do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hallo Tom,
am Samstag, 23. August 2003 um 17:50 hast Du Folgendes gekritzelt:
TR> Hi,
TR> Saturday, August 23, 2003, 10:01:54 PM, you wrote:
MW>> Hallo Tom,
MW>> am Samstag, 23. August 2003 um 05:14 hast Du Folgendes gekritzelt:
TR>>> This should do it:
TR>>> eval('${"content".$databasepagena
On Thursday, August 21, 2003, at 07:34 PM, Burhan Khalid wrote:
On Friday, August 22, 2003, 2:16:06 AM, Joe wrote:
JH> Hello all. does anyone have any very easy XML tutorials . I have a
JH> simple weather feed I want to implement. but no XML experience
JH> thanks
I have one at my site, complete
Hallo Tom,
am Samstag, 23. August 2003 um 17:50 hast Du Folgendes gekritzelt:
TR> This works for me, what error message do you get? Make sure you use
TR> single quotes in the eval otherwise the string will get substituted
TR> before eval gets a look at it.
TR> $contentarray = array(1=>'testpag
Hi,
Saturday, August 23, 2003, 10:01:54 PM, you wrote:
MW> Hallo Tom,
MW> am Samstag, 23. August 2003 um 05:14 hast Du Folgendes gekritzelt:
TR>> This should do it:
TR>> eval('${"content".$databasepagename}[$i]();');
MW> I'm afraid to say it, but it does not :-(
MW> Yesterday I was also tryin
what is the source for the page that you initially enter the data on the web
form look like?
Jim Lucas
- Original Message -
From: "Stevie D Peele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 6:25 AM
Subject: [PHP] Help with a script
> I've been working on
Try this:
SELECT name FROM table GROUP BY name ORDER BY RAND() LIMIT 3
This will group together all the names and then choose from a list that has
only unique names and then return 3 at random.
Jim Lucas
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Satur
These are all converted into boulean once the config file is read. So it
doesn't matter.
on = yes = 1 = true
off = no = 0 = false
And by what method are you uploading the files?
Can you show the Form and process scripts. If they are large scripts,
please only include the sections that does the
Hello,
I have a general Question about PHP.
Is it Possible to connect via shell from a Webserver
to another Server?
Do you have perhaps some exampels or help pages?
It would be very nice if you can help me :-)
Best regrads
Dennis D.
Hi,
Thanks for the answer.. I'm open for faster ways!!!
>BTW, if a value appears multiple times in a database column then your
>database may be a good candidate for normalisation.
Problem i'm selecting some holidays out of an database but I want to avoid that there
are holiday's presented from
Hi
You can use "select distinct names from table_name order by rand() limit 3".
Hope this helps and let me know.
cheers
Binay
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 6:36 PM
Subject: [PHP] Random selection
> Hi,
>
> Can yo
On Sat, 23 Aug 2003 15:06:32 +0200 (CEST), you wrote:
>In my mysql db i have a colum called names;
>
>In names their are:
>
>Frank
>Frank
>Bob
>Alice
>Bob
>Alice
>Jim
>Alice
>Frank
>
>I want to make a random selection (max 3 value's for example).. Only it may not
>produce two times the same name.
Hey bigdog, that's beautiful! I laughed, I cried, so elegant ;)
Thanks, that did the job nicely.
Salut,
verdon
On 8/23/03 2:02 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> From: Ray Hunter <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 22 Aug 2003 11:03:10 -0600
> To:
I've been working on a script for quite some time now, particulary a site
news script. Heres how it works
1. Information is passed from a form to the database
2. Table is selected to a page to be viewed by the general public.
The problem is, when I use the form, there are no errors in the script,
Hi,
Can you help me with this one??
In my mysql db i have a colum called names;
In names their are:
Frank
Frank
Bob
Alice
Bob
Alice
Jim
Alice
Frank
I want to make a random selection (max 3 value's for example).. Only it may not
produce two times the same name. For example;
This is the outpu
- Original Message -
From: "Thomas Hochstetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 5:33 PM
Subject: [PHP] 2 questions
> Hi guys.
>
> I have two questions for you today:
>
> 1. Weired login problem
> I am developinig a site for a conference where i
Hallo Tom,
am Samstag, 23. August 2003 um 05:14 hast Du Folgendes gekritzelt:
TR> This should do it:
TR> eval('${"content".$databasepagename}[$i]();');
I'm afraid to say it, but it does not :-(
Yesterday I was also trying to find some manual pages about eval()
which would explain me the synta
Hi guys.
I have two questions for you today:
1. Weired login problem
I am developinig a site for a conference where i have a login page for
members. This page is called index.php and includes different types of modules,
according to the type of user logged on. The problem is now following:
i have
Hi,
I had a problem where my upload form was not working on our production
server but was working on two other servers, after checking the phpinfo file
i saw that the others had file_uploads set to ON ON and in the production
server it was 1 1,
So I successfully changed my file_uploads value from
Oops sorry,
Here are the phpinfo files of the other 2:
bestwebhosters.com/phpinfo.php
321go.biz/phpinfo.php
jumac.com/phpinfo.php
I have noticed that in the other two phpinfo files that it shows
file_uploads as "on" but in jumac it shows it as "1" which according to the
manual at the phpinfo si
Code and query look about right -- my guess is you're another one of the
multitude of people who haven't bothered to read the docs about register
globals and how they are now off by default. If the following solves
your problem, then yes indeed, such are you.
include("../../application2.php");
$CF
Actualy, it will not. LIMIT can have only one argument with DELETE.
This will ($count is the number of rows you need to get in a previous
query):
DELETE FROM table ORDER BY timestamp ASC LIMIT $count-40
Marek Kilimajer wrote:
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
unteste
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
untested, but should work
Deadsam wrote:
Hi Im making a chatroom using flash and php, the one problem Im having is
deleting rows.
What I'm looking for is when they click on the button to send the message
into php-->mySql it will also
This DOES correct the error. is like element, white
space and newlines are NOT ignored. Try it for yourself.
Keith Higgs wrote:
Only if you're concerned about those few whitespace characters increasing your file size. Granted, there mey be PHP output related issues to a multi-line whitespace wi
On Friday 22 Aug 2003 10:26 pm, John Taylor-Johnston wrote:
> This is my favourite question. Can I clean up my 'if then' statements a
> tad? Must be a cleaner way?
> Still learning, still having fun :)
> Thanks,
> John
>
> $news = mysql_query($sql) or die(print
> "document.write(\"".mysql_error().
hi,
i have a simple solutions for paging a large query result into pages.
format your SQL Query like this and it will work
$nTotal_No_Of_Results_Shown_On_A_Page=20;
if (empty($nCurrentPage))
$nCurrentPage=1;
$tablename="tblusers"; // table from where the data is comming from
$f
On Thu, 21 Aug 2003, Ted Conn wrote:
> Hi I am new to this newsgroup and I plan on replying to all the posts I can
> for now... but Id like to start out by asking a question. I am trying to
> paginate my sql results in 10 by 10, which I have been able to do no
> problem. but what I want to do is h
Check out php_admin_value, highlighted in the link below
http://216.239.33.104/search?q=cache:mpDXuwrDs_gJ:www.php.net/configuration.changes+php_admin_value+site:www.php.net&hl=en&ie=UTF-8
--
Peter James
Editor-in-Chief, php|architect Magazine
[EMAIL PROTECTED]
php|architect
The Magazine for PHP
You can, however, set the expire date to a date far in the future.
http:// php.net/setcookie - take a look at the 3rd parameter. Something
like time()+A_LOT_OF_SECONDS
-Original Message-
From: Stevie D Peele [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 5:41 PM
To: [EMAIL PRO
Ok , I am slightly confused at the moment, maybe someone can shed me some
light about the situation.
I have a php page that pulls a query of all students in a table that have
fit a criteria, in this case, where
the field, named "web", is set to Y
So when you open the page, all people with Y = web
php-general Digest 23 Aug 2003 06:02:48 - Issue 2253
Topics (messages 160425 through 160482):
Re: Question for you guys and gals
160425 by: CPT John W. Holmes
isset bug?
160426 by: Christian Calloway
160430 by: Curt Zirzow
160435 by: Christian Calloway
Yes, but must be a better way to setup my if.then's ?
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
74 matches
Mail list logo